Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceInstance client.ObjectKey ServiceBinding client.ObjectKey DeveloperGroup string DeveloperRole string NamespaceAdminGroup string NamespaceAdminRole string IsUpgrade bool ClusterServiceClassName string `envconfig:"default=xsuaa"` ClusterServicePlanName string `envconfig:"default=z54zhz47zdx5loz51z6z58zhvcdz59-b207b177b40ffd4b314b30635590e0ad"` }
Config holds configuration for the UAA domain
type Creator ¶
type Creator struct {
// contains filtered or unexported fields
}
Creator provides functionality for creating UAA Instance and Binding
func NewCreator ¶
NewCreator returns new instance of Creator
func (*Creator) EnsureUAABinding ¶
EnsureUAABinding ensures that ServiceBinding is created and up to date. Additionally, wait until ServiceBinding is in a ready state.
type Oauth2Configuration ¶
type ParametersBuilder ¶
type ParametersBuilder struct {
// contains filtered or unexported fields
}
func NewParametersBuilder ¶
func NewParametersBuilder(cfg Config, domain string) *ParametersBuilder
func (*ParametersBuilder) Generate ¶
func (pb *ParametersBuilder) Generate(instance *v1beta1.ServiceInstance) ([]byte, error)
type RoleCollection ¶
type RoleTemplate ¶
type Schema ¶
type Schema struct { Xsappname string `json:"xsappname"` TenantMode string `json:"tenant-mode"` Scopes []Scope `json:"scopes"` Authorities []string `json:"authorities"` RoleTemplates []RoleTemplate `json:"role-templates"` RoleCollections []RoleCollection `json:"role-collections"` Oauth2Configuration Oauth2Configuration `json:"oauth2-configuration"` }
Click to show internal directories.
Click to hide internal directories.