Documentation ¶
Index ¶
- func NewDeployer(boshClient BoshClient, manifestGenerator ManifestGenerator, ...) deployer
- func NewDeploymentNotFoundError(e error) error
- func NewManifestGenerator(serviceAdapter ServiceAdapterClient, serviceOffering config.ServiceOffering, ...) manifestGenerator
- func NewPendingChangesNotAppliedError(e error) error
- func NewServiceError(e error) error
- type BoshClient
- type BulkSetter
- type DeploymentNotFoundError
- type ManifestGenerator
- type ManifestSecret
- type PendingChangesNotAppliedError
- type PlanNotFoundError
- type RawBoshManifest
- type ServiceAdapterClient
- type ServiceError
- type TaskInProgressError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeployer ¶
func NewDeployer(boshClient BoshClient, manifestGenerator ManifestGenerator, bulkSetter BulkSetter) deployer
func NewManifestGenerator ¶
func NewManifestGenerator( serviceAdapter ServiceAdapterClient, serviceOffering config.ServiceOffering, serviceStemcell serviceadapter.Stemcell, serviceReleases serviceadapter.ServiceReleases, ) manifestGenerator
func NewPendingChangesNotAppliedError ¶ added in v0.18.0
func NewServiceError ¶
Types ¶
type BoshClient ¶
type BulkSetter ¶ added in v0.22.0
type BulkSetter interface {
BulkSet([]ManifestSecret) error
}
type DeploymentNotFoundError ¶
type DeploymentNotFoundError struct {
// contains filtered or unexported fields
}
type ManifestGenerator ¶
type ManifestGenerator interface { GenerateManifest( deploymentName, planID string, requestParams map[string]interface{}, oldManifest []byte, previousPlanID *string, logger *log.Logger, ) (serviceadapter.MarshalledGenerateManifest, error) GenerateSecretPaths(deploymentName string, manifest string, secrets serviceadapter.ODBManagedSecrets) []ManifestSecret ReplaceODBRefs(manifest string, secrets []ManifestSecret) string }
type ManifestSecret ¶ added in v0.22.0
type PendingChangesNotAppliedError ¶
type PendingChangesNotAppliedError struct {
// contains filtered or unexported fields
}
type PlanNotFoundError ¶
type PlanNotFoundError struct {
PlanGUID string
}
func (PlanNotFoundError) Error ¶
func (e PlanNotFoundError) Error() string
type RawBoshManifest ¶ added in v0.17.1
type RawBoshManifest []byte
type ServiceAdapterClient ¶
type ServiceAdapterClient interface { GenerateManifest( serviceReleases serviceadapter.ServiceDeployment, plan serviceadapter.Plan, requestParams map[string]interface{}, previousManifest []byte, previousPlan *serviceadapter.Plan, logger *log.Logger, ) (serviceadapter.MarshalledGenerateManifest, error) GeneratePlanSchema(plan serviceadapter.Plan, logger *log.Logger) (brokerapi.ServiceSchemas, error) }
type ServiceError ¶
type ServiceError struct {
// contains filtered or unexported fields
}
type TaskInProgressError ¶
type TaskInProgressError struct {
Message string
}
func (TaskInProgressError) Error ¶
func (e TaskInProgressError) Error() string
Click to show internal directories.
Click to hide internal directories.