client

package
v0.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(
	host string,
	port int,
	username string,
	password string,
	instanceID string,
	params map[string]interface{},
) (string, map[string]interface{}, error)

Bind carries out binding to an existing service

func Deprovision

func Deprovision(
	host string,
	port int,
	username string,
	password string,
	instanceID string,
) error

Deprovision initiates deprovisioning of a service instance

func GetCatalog

func GetCatalog(
	host string,
	port int,
	username string,
	password string,
) (service.Catalog, error)

GetCatalog retrieves the catalog from the broker specoified by host name and port number

func Poll

func Poll(
	host string,
	port int,
	username string,
	password string,
	instanceID string,
	operation string,
) (string, error)

Poll polls the status of an instance

func Provision

func Provision(
	host string,
	port int,
	username string,
	password string,
	serviceID string,
	planID string,
	params map[string]interface{},
	tags map[string]string,
) (string, error)

Provision initiates provisioning of a new service instance

func Unbind

func Unbind(
	host string,
	port int,
	username string,
	password string,
	instanceID string,
	bindingID string,
) error

Unbind carries out unbinding

func Update

func Update(
	host string,
	port int,
	username string,
	password string,
	instanceID string,
	serviceID string,
	planID string,
	params map[string]interface{},
) error

Update initiates updating of an existing service instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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