Help us shape the future of Go! Take the 2026 Go Developer Survey

clients

package
v0.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 21 Imported by: 4

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL