Documentation
¶
Index ¶
- type ConfigSpaceDefaults
- type DefaultSpaceManager
- func (m *DefaultSpaceManager) CreateApplicationSecurityGroups(configDir string) error
- func (m *DefaultSpaceManager) CreateQuotas(configDir string) error
- func (m *DefaultSpaceManager) CreateSpaces(configDir, ldapBindPassword string) error
- func (m *DefaultSpaceManager) FindSpace(orgName, spaceName string) (*cloudcontroller.Space, error)
- func (m *DefaultSpaceManager) GetSpaceConfigList(configDir string) ([]InputCreateSpaces, error)
- func (m *DefaultSpaceManager) GetSpaceConfigs(configDir string) ([]*InputUpdateSpaces, error)
- func (m *DefaultSpaceManager) UpdateSpaceAuditors(config *ldap.Config, space *cloudcontroller.Space, input *InputUpdateSpaces, ...) error
- func (m *DefaultSpaceManager) UpdateSpaceDevelopers(config *ldap.Config, space *cloudcontroller.Space, input *InputUpdateSpaces, ...) error
- func (m *DefaultSpaceManager) UpdateSpaceManagers(config *ldap.Config, space *cloudcontroller.Space, input *InputUpdateSpaces, ...) error
- func (m *DefaultSpaceManager) UpdateSpaceUsers(configDir, ldapBindPassword string) error
- func (m *DefaultSpaceManager) UpdateSpaceWithDefaults(configDir, spaceName, orgName, ldapBindPassword string) error
- func (m *DefaultSpaceManager) UpdateSpaces(configDir string) error
- type InputCreateSpaces
- type InputUpdateSpaces
- type Manager
- type UserMgmt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSpaceDefaults ¶ added in v0.0.33
type ConfigSpaceDefaults struct {
Developer UserMgmt `yaml:"space-developer"`
Manager UserMgmt `yaml:"space-manager"`
Auditor UserMgmt `yaml:"space-auditor"`
}
ConfigSpaceDefaults -
type DefaultSpaceManager ¶
type DefaultSpaceManager struct {
FilePattern string
FilePaths []string
CloudController cloudcontroller.Manager
UAACMgr uaac.Manager
OrgMgr organization.Manager
LdapMgr ldap.Manager
UtilsMgr utils.Manager
}
DefaultSpaceManager -
func (*DefaultSpaceManager) CreateApplicationSecurityGroups ¶ added in v0.0.15
func (m *DefaultSpaceManager) CreateApplicationSecurityGroups(configDir string) error
CreateApplicationSecurityGroups -
func (*DefaultSpaceManager) CreateQuotas ¶ added in v0.0.15
func (m *DefaultSpaceManager) CreateQuotas(configDir string) error
CreateQuotas -
func (*DefaultSpaceManager) CreateSpaces ¶
func (m *DefaultSpaceManager) CreateSpaces(configDir, ldapBindPassword string) error
CreateSpaces -
func (*DefaultSpaceManager) FindSpace ¶
func (m *DefaultSpaceManager) FindSpace(orgName, spaceName string) (*cloudcontroller.Space, error)
FindSpace -
func (*DefaultSpaceManager) GetSpaceConfigList ¶ added in v0.0.29
func (m *DefaultSpaceManager) GetSpaceConfigList(configDir string) ([]InputCreateSpaces, error)
func (*DefaultSpaceManager) GetSpaceConfigs ¶ added in v0.0.29
func (m *DefaultSpaceManager) GetSpaceConfigs(configDir string) ([]*InputUpdateSpaces, error)
func (*DefaultSpaceManager) UpdateSpaceAuditors ¶ added in v0.0.29
func (m *DefaultSpaceManager) UpdateSpaceAuditors(config *ldap.Config, space *cloudcontroller.Space, input *InputUpdateSpaces, uaacUsers map[string]string) error
func (*DefaultSpaceManager) UpdateSpaceDevelopers ¶ added in v0.0.29
func (m *DefaultSpaceManager) UpdateSpaceDevelopers(config *ldap.Config, space *cloudcontroller.Space, input *InputUpdateSpaces, uaacUsers map[string]string) error
func (*DefaultSpaceManager) UpdateSpaceManagers ¶ added in v0.0.29
func (m *DefaultSpaceManager) UpdateSpaceManagers(config *ldap.Config, space *cloudcontroller.Space, input *InputUpdateSpaces, uaacUsers map[string]string) error
func (*DefaultSpaceManager) UpdateSpaceUsers ¶ added in v0.0.13
func (m *DefaultSpaceManager) UpdateSpaceUsers(configDir, ldapBindPassword string) error
UpdateSpaceUsers -
func (*DefaultSpaceManager) UpdateSpaceWithDefaults ¶ added in v0.0.33
func (m *DefaultSpaceManager) UpdateSpaceWithDefaults(configDir, spaceName, orgName, ldapBindPassword string) error
func (*DefaultSpaceManager) UpdateSpaces ¶ added in v0.0.9
func (m *DefaultSpaceManager) UpdateSpaces(configDir string) error
UpdateSpaces -
type InputCreateSpaces ¶ added in v0.0.9
InputCreateSpaces -
func (*InputCreateSpaces) Contains ¶ added in v0.0.14
func (s *InputCreateSpaces) Contains(spaceName string) bool
Contains -
type InputUpdateSpaces ¶ added in v0.0.9
type InputUpdateSpaces struct {
Org string `yaml:"org"`
Space string `yaml:"space"`
Developer UserMgmt `yaml:"space-developer"`
Manager UserMgmt `yaml:"space-manager"`
Auditor UserMgmt `yaml:"space-auditor"`
DeveloperGroup string `yaml:"space-developer-group,omitempty"`
ManagerGroup string `yaml:"space-manager-group,omitempty"`
AuditorGroup string `yaml:"space-auditor-group,omitempty"`
AllowSSH bool `yaml:"allow-ssh"`
EnableSpaceQuota bool `yaml:"enable-space-quota"`
MemoryLimit int `yaml:"memory-limit"`
InstanceMemoryLimit int `yaml:"instance-memory-limit"`
TotalRoutes int `yaml:"total-routes"`
TotalServices int `yaml:"total-services"`
PaidServicePlansAllowed bool `yaml:"paid-service-plans-allowed"`
EnableSecurityGroup bool `yaml:"enable-security-group"`
SecurityGroupContents string `yaml:"security-group-contents,omitempty"`
}
InputUpdateSpaces -
func (*InputUpdateSpaces) GetAuditorGroup ¶ added in v0.0.29
func (i *InputUpdateSpaces) GetAuditorGroup() string
func (*InputUpdateSpaces) GetDeveloperGroup ¶ added in v0.0.29
func (i *InputUpdateSpaces) GetDeveloperGroup() string
func (*InputUpdateSpaces) GetManagerGroup ¶ added in v0.0.29
func (i *InputUpdateSpaces) GetManagerGroup() string
type Manager ¶
type Manager interface {
FindSpace(orgName, spaceName string) (space *cloudcontroller.Space, err error)
CreateSpaces(configDir, ldapBindPassword string) (err error)
UpdateSpaces(configDir string) (err error)
UpdateSpaceUsers(configDir, ldapBindPassword string) (err error)
CreateQuotas(configDir string) (err error)
CreateApplicationSecurityGroups(configDir string) (err error)
}
Manager -
Click to show internal directories.
Click to hide internal directories.