Documentation ¶
Index ¶
- func AppUUID(name string) string
- func AssertAppIsDeleted(appName string) error
- func BindAppToService(appName, instance string)
- func BoundAppGUIDs(instanceGUID string) []string
- func CheckAppInfo(skipSSLValidation bool, appURI, instance string)
- func CheckForRequiredEnvVars(envs []string)
- func CreateDb(skipSSLValidation bool, appURI string) map[string]string
- func CreateService(serviceName, planName, name string, args ...string)
- func CreateServiceKey(instanceName, keyName string)
- func DeleteApp(appName string)
- func DeleteService(name string)
- func DeleteServiceKey(instanceName, keyName string)
- func ExecuteCfCmd(args ...string) string
- func InstancePlanName(name string) string
- func InstanceUUID(name string) string
- func OpenDatabaseTunnelToApp(appName string, serviceKey ServiceKey) (*sql.DB, context.CancelFunc)
- func PushApp(appName, appCodePath string)
- func ReadData(skipSSLValidation bool, appURI, id string) string
- func ReadDb(skipSSLValidation bool, appURI string) map[string]string
- func ResourceDeleted(resourceType, resourceName string) bool
- func StartApp(appName string)
- func UnbindAllAppsFromService(instanceGUID string)
- func UnbindAppFromService(appName, instance string)
- func WaitForService(name, success string)
- func WriteData(skipSSLValidation bool, appURI, value string) string
- type BindingResult
- type Entity
- type Metadata
- type Resource
- type ServiceKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAppIsDeleted ¶
func BindAppToService ¶
func BindAppToService(appName, instance string)
func BoundAppGUIDs ¶
func CheckAppInfo ¶
func CheckForRequiredEnvVars ¶
func CheckForRequiredEnvVars(envs []string)
func CreateService ¶
func CreateServiceKey ¶
func CreateServiceKey(instanceName, keyName string)
func DeleteService ¶
func DeleteService(name string)
func DeleteServiceKey ¶
func DeleteServiceKey(instanceName, keyName string)
func ExecuteCfCmd ¶
func InstancePlanName ¶ added in v0.10.1
func InstanceUUID ¶
func OpenDatabaseTunnelToApp ¶
func OpenDatabaseTunnelToApp(appName string, serviceKey ServiceKey) (*sql.DB, context.CancelFunc)
func ResourceDeleted ¶ added in v0.2.0
func UnbindAllAppsFromService ¶ added in v0.2.0
func UnbindAllAppsFromService(instanceGUID string)
func UnbindAppFromService ¶
func UnbindAppFromService(appName, instance string)
func WaitForService ¶
func WaitForService(name, success string)
Types ¶
type BindingResult ¶
type BindingResult struct {
Resources []Resource `json:"resources"`
}
type ServiceKey ¶
type ServiceKey struct { Hostname string `json:"hostname"` JbdcUrl string `json:"jbdcUrl"` Name string `json:"name"` Password string `json:"password"` Port int `json:"port"` Uri string `json:"uri"` Username string `json:"username"` TLS struct { Cert struct { CA string } } }
func GetServiceKey ¶
func GetServiceKey(serviceInstanceName, serviceKeyName string) ServiceKey
Click to show internal directories.
Click to hide internal directories.