servicebroker

package
v0.0.0-...-a32208d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NamespaceRequiredErrorMessage     = "NamespaceRequired"
	NamespaceRequiredErrorDescription = "Namespace must be specified via the `SpaceGUID` parameter"

	ValidServiceNameDescription = "MUST only contain alphanumeric characters, periods, and hyphens (no spaces)."

	NamespaceRequiredError = osb.HTTPStatusCodeError{
		StatusCode:   http.StatusBadRequest,
		ErrorMessage: &NamespaceRequiredErrorMessage,
		Description:  &NamespaceRequiredErrorDescription,
	}
)
View Source
var (
	AsyncOnlyError = osb.HTTPStatusCodeError{
		StatusCode:   http.StatusUnprocessableEntity,
		ErrorMessage: &asyncOnlyErrorMessage,
		Description:  &asyncOnlyErrorDescription,
	}
)

Functions

This section is empty.

Types

type ALMBroker

type ALMBroker struct {
	// contains filtered or unexported fields
}

ALMBroker contains the clients and logic for fetching the catalog and creating instances

func NewALMBroker

func NewALMBroker(kubeconfigPath string, options Options) (*ALMBroker, error)

NewBrokerSource creates a new BrokerSource client

func (*ALMBroker) Bind

func (*ALMBroker) Deprovision

func (*ALMBroker) GetCatalog

GetCatalog returns the CSVs in the catalog

func (*ALMBroker) LastOperation

func (*ALMBroker) Provision

func (*ALMBroker) Unbind

func (*ALMBroker) Update

func (*ALMBroker) ValidateBrokerAPIVersion

func (a *ALMBroker) ValidateBrokerAPIVersion(version string) error

type CustomResourceObject

type CustomResourceObject struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec map[string]interface{}
}

type Options

type Options struct {
	Namespace string // restrict to resources within a namespace, default all namespaces
}

type ParseDescription

type ParseDescription func(desc string) string

ParseDescription accepts a description string and returns a parsed output

Jump to

Keyboard shortcuts

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