Documentation ¶
Index ¶
- Constants
- func ErrorForExitCode(code int, message string) error
- func SanitiseForJSON(properties sdk.Properties) sdk.Properties
- type AppGuidNotProvidedError
- type BindingAlreadyExistsError
- type BindingNotFoundError
- type Client
- func (c *Client) CreateBinding(bindingID string, deploymentTopology bosh.BoshVMs, manifest []byte, ...) (sdk.Binding, error)
- func (c *Client) DeleteBinding(bindingID string, deploymentTopology bosh.BoshVMs, manifest []byte, ...) error
- func (c *Client) GenerateDashboardUrl(instanceID string, plan sdk.Plan, manifest []byte, logger *log.Logger) (string, error)
- func (c *Client) GenerateManifest(serviceDeployment sdk.ServiceDeployment, plan sdk.Plan, ...) ([]byte, error)
- type CommandRunner
- type NotImplementedError
- type UnknownFailureError
Constants ¶
View Source
const SuccessExitCode = 0
Variables ¶
This section is empty.
Functions ¶
func ErrorForExitCode ¶
func SanitiseForJSON ¶
func SanitiseForJSON(properties sdk.Properties) sdk.Properties
Types ¶
type AppGuidNotProvidedError ¶
type AppGuidNotProvidedError struct {
// contains filtered or unexported fields
}
type BindingAlreadyExistsError ¶
type BindingAlreadyExistsError struct {
// contains filtered or unexported fields
}
type BindingNotFoundError ¶
type BindingNotFoundError struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct { ExternalBinPath string CommandRunner CommandRunner }
func (*Client) CreateBinding ¶
func (*Client) DeleteBinding ¶
func (*Client) GenerateDashboardUrl ¶
type CommandRunner ¶
func NewCommandRunner ¶
func NewCommandRunner() CommandRunner
type NotImplementedError ¶
type NotImplementedError struct {
// contains filtered or unexported fields
}
func NewNotImplementedError ¶
func NewNotImplementedError(msg string) NotImplementedError
type UnknownFailureError ¶
type UnknownFailureError struct {
// contains filtered or unexported fields
}
func NewUnknownFailureError ¶
func NewUnknownFailureError(msg string) UnknownFailureError
Source Files ¶
Click to show internal directories.
Click to hide internal directories.