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, ...) (sdk.MarshalledGenerateManifest, error)
- func (c *Client) GeneratePlanSchema(plan sdk.Plan, logger *log.Logger) (domain.ServiceSchemas, 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 UsingStdin bool }
func (*Client) CreateBinding ¶
func (*Client) DeleteBinding ¶
func (*Client) GenerateDashboardUrl ¶
func (*Client) GenerateManifest ¶
func (c *Client) GenerateManifest( serviceDeployment sdk.ServiceDeployment, plan sdk.Plan, requestParams map[string]interface{}, previousManifest []byte, previousPlan *sdk.Plan, previousSecrets map[string]string, previousConfigs map[string]string, uaaClient map[string]string, logger *log.Logger, ) (sdk.MarshalledGenerateManifest, error)
func (*Client) GeneratePlanSchema ¶
type CommandRunner ¶
type CommandRunner interface { Run(arg ...string) ([]byte, []byte, *int, error) RunWithInputParams(inputParams interface{}, arg ...string) ([]byte, []byte, *int, error) }
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.