Documentation ¶
Index ¶
- func CreateService(client *occlient.Client, serviceName string, serviceType string, ...) error
- func DeleteService(client *occlient.Client, name string, applicationName string, ...) error
- func ListCatalog(client *occlient.Client) ([]string, error)
- func Search(client *occlient.Client, name string) ([]string, error)
- func SvcExists(client *occlient.Client, serviceName, applicationName, projectName string) (bool, error)
- func SvcTypeExists(client *occlient.Client, serviceType string) (bool, error)
- type ServiceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateService ¶
func CreateService(client *occlient.Client, serviceName string, serviceType string, applicationName string) error
CreateService creates new service from serviceCatalog
func DeleteService ¶
func DeleteService(client *occlient.Client, name string, applicationName string, projectName string) error
DeleteService will delete the service with the provided `name`
func ListCatalog ¶
ListCatalog lists all the available service types
func SvcExists ¶
func SvcExists(client *occlient.Client, serviceName, applicationName, projectName string) (bool, error)
SvcExists Checks whether a service with the given name exists in the current application or not serviceName is the service name to perform check for The first returned parameter is a bool indicating if a service with the given name already exists or not The second returned parameter is the error that might occurs while execution
Types ¶
Click to show internal directories.
Click to hide internal directories.