Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerClient ¶
type BrokerClient interface { ListServiceClasses() ([]entitystore.Entity, error) ListServiceInstances() ([]entitystore.Entity, error) ListServiceBindings() ([]entitystore.Entity, error) CreateService(*entities.ServiceClass, *entities.ServiceInstance) error CreateBinding(*entities.ServiceInstance, *entities.ServiceBinding) error DeleteService(*entities.ServiceInstance) error DeleteBinding(*entities.ServiceBinding) error }
BrokerClient defines the Service Broker interface. This interface very closely resembles Open Service Broker API
func NewK8sBrokerClient ¶
func NewK8sBrokerClient(config K8sBrokerConfigOpts) (BrokerClient, error)
NewK8sBrokerClient creates a new K8s-backed Service Broker
type K8sBrokerConfigOpts ¶
type K8sBrokerConfigOpts struct { K8sConfig string CatalogNamespace string SecretsClient client.SecretsClient }
K8sBrokerConfigOpts are k8s specific configuratation options
Click to show internal directories.
Click to hide internal directories.