Version: v1.0.48 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 9 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type CFClient added in v1.0.0

type CFClient interface {
	DeleteOrg(guid string, recursive, async bool) error
	CreateOrg(req cfclient.OrgRequest) (cfclient.Org, error)
	UpdateOrg(orgGUID string, orgRequest cfclient.OrgRequest) (cfclient.Org, error)
	UnshareOrgPrivateDomain(orgGUID, privateDomainGUID string) error
	SupportsMetadataAPI() (bool, error)
	UpdateOrgMetadata(orgGUID string, metadata cfclient.Metadata) error
	OrgMetadata(orgGUID string) (*cfclient.Metadata, error)
	RemoveOrgMetadata(orgGUID string) error

type DefaultManager added in v1.0.0

type DefaultManager struct {
	Cfg       config.Reader
	OrgReader organizationreader.Reader
	SpaceMgr  space.Manager
	Client    CFClient
	Peek      bool

DefaultManager -

func (*DefaultManager) ClearMetadata added in v1.0.41

func (m *DefaultManager) ClearMetadata(org cfclient.Org) error

func (*DefaultManager) CreateOrg added in v1.0.0

func (m *DefaultManager) CreateOrg(orgName string, currentOrgs []string) error

func (*DefaultManager) CreateOrgs added in v1.0.0

func (m *DefaultManager) CreateOrgs() error

CreateOrgs -

func (*DefaultManager) DeleteOrg added in v1.0.0

func (m *DefaultManager) DeleteOrg(org cfclient.Org) error

func (*DefaultManager) DeleteOrgByName added in v1.0.0

func (m *DefaultManager) DeleteOrgByName(orgName string) error

func (*DefaultManager) DeleteOrgs added in v1.0.0

func (m *DefaultManager) DeleteOrgs() error

DeleteOrgs -

func (*DefaultManager) RenameOrg added in v1.0.9

func (m *DefaultManager) RenameOrg(originalOrgName, newOrgName string) error

func (*DefaultManager) UpdateOrg added in v1.0.0

func (m *DefaultManager) UpdateOrg(orgGUID string, orgRequest cfclient.OrgRequest) (cfclient.Org, error)

func (*DefaultManager) UpdateOrgMetadata added in v1.0.26

func (m *DefaultManager) UpdateOrgMetadata(org cfclient.Org, metadata cfclient.Metadata) error

func (*DefaultManager) UpdateOrgsMetadata added in v1.0.26

func (m *DefaultManager) UpdateOrgsMetadata() error

type Manager

type Manager interface {
	CreateOrgs() error
	DeleteOrgs() error
	UpdateOrg(orgGUID string, orgRequest cfclient.OrgRequest) (cfclient.Org, error)
	RenameOrg(originalOrgName, newOrgName string) error
	UpdateOrgsMetadata() error

Manager -

func NewManager added in v0.0.7

func NewManager(client CFClient, orgReader organizationreader.Reader, spaceMgr space.Manager, cfg config.Reader, peek bool) Manager


Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL