Documentation ¶
Index ¶
- func GenClientPassword() string
- func GetKind(details interface{}) (string, error)
- func MakeAppName(serviceId string, instanceId string) string
- func MakeClientIdForBinding(serviceId string, bindingId string) string
- func SafeApp(app resources.Application) resources.Application
- type RegistryConfig
- type RegistryParams
- type RegistryPeer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKind ¶
Given a broker request details object, determine which of the supported services the request is about.
func MakeAppName ¶
Generate an app name based on the kind of service in question and a service instance ID.
func MakeClientIdForBinding ¶
Generate a UAA client ID binding name based on the kind of service in question and the binding's ID.
func SafeApp ¶
func SafeApp(app resources.Application) resources.Application
Types ¶
type RegistryConfig ¶
type RegistryConfig struct { Mode string Peers []*RegistryPeer }
func NewRegistryConfig ¶
func NewRegistryConfig() *RegistryConfig
func (*RegistryConfig) AddPeer ¶
func (rc *RegistryConfig) AddPeer(idx int, uri string, serviceinstanceID string)
func (*RegistryConfig) Clustered ¶
func (rc *RegistryConfig) Clustered()
func (*RegistryConfig) Standalone ¶
func (rc *RegistryConfig) Standalone()
type RegistryParams ¶
type RegistryParams struct { RawCount int `json:"count"` ApplicationSecurityGroup string `json:"application_security_group"` }
func ExtractRegistryParams ¶
func ExtractRegistryParams(details string) (*RegistryParams, error)
func NewRegistryParams ¶
func NewRegistryParams() *RegistryParams
func (*RegistryParams) Count ¶
func (rp *RegistryParams) Count() (int, error)
Click to show internal directories.
Click to hide internal directories.