export

package
v1.0.48 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const LDAP string = "ldap"

LDAP Represents constant for value ldap

View Source
const SAML string = "saml"

SAML Represents constant for value saml

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	ConfigMgr            config.Manager
	UAAMgr               uaa.Manager
	SpaceManager         space.Manager
	UserManager          user.Manager
	OrgReader            organizationreader.Reader
	SecurityGroupManager securitygroup.Manager
	IsoSegmentManager    isosegment.Manager
	PrivateDomainManager privatedomain.Manager
	SharedDomainManager  *shareddomain.Manager
	ServiceAccessManager *serviceaccess.Manager
	QuotaManager         *quota.Manager
	SkipSpaces           bool
	SkipRoutingGroups    bool
}

func NewExportManager

func NewExportManager(
	configDir string,
	uaaMgr uaa.Manager,
	spaceManager space.Manager,
	userManager user.Manager,
	orgReader organizationreader.Reader,
	securityGroupManager securitygroup.Manager,
	isoSegmentMgr isosegment.Manager,
	privateDomainMgr privatedomain.Manager,
	sharedDomainMgr *shareddomain.Manager,
	serviceAccessMgr *serviceaccess.Manager,
	quotaMgr *quota.Manager) *Manager

NewExportManager Creates a new instance of the ImportConfig manager

func (*Manager) ExportConfig

func (im *Manager) ExportConfig(excludedOrgs, excludedSpaces map[string]string, skipSpaces bool) error

ExportConfig Imports org and space configuration from an existing CF instance Entries part of excludedOrgs and excludedSpaces are not included in the import

func (*Manager) ExportServiceAccess added in v1.0.31

func (im *Manager) ExportServiceAccess() error

Jump to

Keyboard shortcuts

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