Documentation ¶
Index ¶
- type PksServiceBroker
- func (broker *PksServiceBroker) Bind(ctx context.Context, instanceID, bindingID string, ...) (brokerapi.Binding, error)
- func (broker *PksServiceBroker) Deprovision(ctx context.Context, instanceID string, details brokerapi.DeprovisionDetails, ...) (brokerapi.DeprovisionServiceSpec, error)
- func (broker *PksServiceBroker) LastOperation(ctx context.Context, instanceID, operationData string) (brokerapi.LastOperation, error)
- func (broker *PksServiceBroker) Provision(ctx context.Context, instanceID string, details brokerapi.ProvisionDetails, ...) (brokerapi.ProvisionedServiceSpec, error)
- func (broker *PksServiceBroker) Services(ctx context.Context) []brokerapi.Service
- func (broker *PksServiceBroker) Unbind(ctx context.Context, instanceID, bindingID string, ...) error
- func (broker *PksServiceBroker) Update(ctx context.Context, instanceID string, details brokerapi.UpdateDetails, ...) (brokerapi.UpdateServiceSpec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PksServiceBroker ¶
type PksServiceBroker struct { Logger lager.Logger ServiceID string ServiceName string // contains filtered or unexported fields }
PksServiceBroker contains values passed in from configuration necessary for broker's work.
func NewPksServiceBroker ¶
func NewPksServiceBroker(serviceID string, serviceName string, registryConfig *config.RegistryConfig, cluster k8s.Cluster, myHelmClient my_helm.MyHelmClient, myChart *my_helm.MyChart, logger lager.Logger) *PksServiceBroker
func (*PksServiceBroker) Bind ¶
func (broker *PksServiceBroker) Bind(ctx context.Context, instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)
func (*PksServiceBroker) Deprovision ¶
func (broker *PksServiceBroker) Deprovision(ctx context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*PksServiceBroker) LastOperation ¶
func (broker *PksServiceBroker) LastOperation(ctx context.Context, instanceID, operationData string) (brokerapi.LastOperation, error)
LastOperation is for async
func (*PksServiceBroker) Provision ¶
func (broker *PksServiceBroker) Provision(ctx context.Context, instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
func (*PksServiceBroker) Services ¶
func (broker *PksServiceBroker) Services(ctx context.Context) []brokerapi.Service
func (*PksServiceBroker) Unbind ¶
func (broker *PksServiceBroker) Unbind(ctx context.Context, instanceID, bindingID string, details brokerapi.UnbindDetails) error
Unbind reverses bind
func (*PksServiceBroker) Update ¶
func (broker *PksServiceBroker) Update(ctx context.Context, instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)
Update is perhaps not needed for MVP. Its purpose may be for changing plans, so if we only have a single default plan it is out of scope.
Click to show internal directories.
Click to hide internal directories.