Documentation ¶
Index ¶
- func Bind(host string, port int, username string, password string, instanceID string, ...) (string, map[string]interface{}, error)
- func Deprovision(host string, port int, username string, password string, instanceID string) error
- func GetCatalog(host string, port int, username string, password string) (service.Catalog, error)
- func Poll(host string, port int, username string, password string, instanceID string, ...) (string, error)
- func Provision(host string, port int, username string, password string, serviceID string, ...) (string, error)
- func Unbind(host string, port int, username string, password string, instanceID string, ...) error
- func Update(host string, port int, username string, password string, serviceID string, ...) (string, error)
- type ProvisioningParameters
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]string, ) (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 ProvisioningParameters, tags map[string]string, ) (string, error)
Provision initiates provisioning of a new service instance
Types ¶
type ProvisioningParameters ¶
type ProvisioningParameters map[string]interface{}
ProvisioningParameters is a specialized map[string]interface{} that implements service.ProvisioningParameters. Unlike a module-specific implementation of service.ProvisioningParameters used server-side, this implementation has the flexibility to encapsultate parameters for ANY service/plan.
func (ProvisioningParameters) SetResourceGroup ¶
func (p ProvisioningParameters) SetResourceGroup(resourceGroup string)
SetResourceGroup sets the resourceGroup to be included in these provisioningParameters. This isn't really used, but it exists to ensure ProvisioningParameters conforms to the service.ProvisioningParameters interface.