Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateController ¶
func CreateController(host string, port int, reifier Reifier) (controller.Controller, error)
CreateController creates an instance of a Kubernetes broker controller.
func ParseNotes ¶
ParseNotes will take the output of a Helm Install and return the NOTES.txt section out of it.
Types ¶
type Reifier ¶
type Reifier interface { // Catalog returns all the available Services that can be instantiated Catalog() ([]*brokerapi.Service, error) // RemoveServiceInstance removes an existing Service Instance RemoveServiceInstance(instanceID string) error // CreateServiceInstance creates a new Service Instance CreateServiceInstance(instanceID string, template string, sir *brokerapi.CreateServiceInstanceRequest) (*brokerapi.CreateServiceInstanceResponse, error) // CreateBinding creates a new Service Binding for a given instanceId CreateServiceBinding(instanceID string, sir *brokerapi.BindingRequest) (*brokerapi.CreateServiceBindingResponse, error) // RemoveServiceBinding removes an existing Service Binding RemoveServiceBinding(instanceID string) error }
Reifier is an interface which manipulates deployment resources to achieve a desired final state.
func NewHelmReifier ¶
NewHelmReifier creates an instance of a Reifier interface which uses Helm as the underlying deployment implementation.
Click to show internal directories.
Click to hide internal directories.