clients

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecretStoreClient

func SecretStoreClient(secretstoreURL string) *secretsclient.SecretStore

SecretStoreClient returns a client to the secret store

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 event driver backend interface. This interface very closesly resembles OSBAPI

func NewK8sBrokerClient

func NewK8sBrokerClient(config K8sBrokerConfigOpts) (BrokerClient, error)

NewK8sBrokerClient creates a new K8s backend driver

type K8sBrokerConfigOpts

type K8sBrokerConfigOpts struct {
	K8sConfig        string
	CatalogNamespace string
	SecretStoreURL   string
	OrgID            string
}

K8sBrokerConfigOpts are k8s specific configuratation options

Jump to

Keyboard shortcuts

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