Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSources ¶
func ParseSources(sourcesString string) (map[string]osbv1alpha1.Source, error)
ParseSources decodes sources yaml into a map
Types ¶
type GenericStatus ¶
type GenericStatus struct { State string `yaml:"state" json:"state"` Error string `yaml:"error,omitempty" json:"error,omitempty"` Response string `yaml:"response,omitempty" json:"response,omitempty"` }
GenericStatus defines template provided by the service for binding response
type InstanceStatus ¶
type InstanceStatus struct { State string `yaml:"state" json:"state"` Error string `yaml:"error,omitempty" json:"error,omitempty"` Response string `yaml:"response,omitempty" json:"response,omitempty"` DashboardURL string `yaml:"dashboardUrl,omitempty" json:"dashboardUrl,omitempty"` InstanceUsable string `yaml:"instanceUsable,omitempty" json:"instanceUsable,omitempty"` UpdateRepeatable string `yaml:"updateRepeatable,omitempty" json:"updateRepeatable,omitempty"` }
InstanceStatus defines template provided by the service for provision response
type Status ¶
type Status struct { Provision InstanceStatus `yaml:"provision" json:"provision"` Bind GenericStatus `yaml:"bind" json:"bind"` Unbind GenericStatus `yaml:"unbind" json:"unbind"` Deprovision InstanceStatus `yaml:"deprovision" json:"deprovision"` }
Status is all the data to be read by interoperator from services. status template is unmarshalled to this struct
func ParseStatus ¶
ParseStatus decodes status template into a Status struct
Click to show internal directories.
Click to hide internal directories.