Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeBoshClient
- func (fake *FakeBoshClient) Deploy(manifest []byte, contextID string, logger *log.Logger, ...) (int, error)
- func (fake *FakeBoshClient) DeployArgsForCall(i int) ([]byte, string, *log.Logger, *boshdirector.AsyncTaskReporter)
- func (fake *FakeBoshClient) DeployCallCount() int
- func (fake *FakeBoshClient) DeployReturns(result1 int, result2 error)
- func (fake *FakeBoshClient) DeployReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeBoshClient) GetDeployment(name string, logger *log.Logger) ([]byte, bool, error)
- func (fake *FakeBoshClient) GetDeploymentArgsForCall(i int) (string, *log.Logger)
- func (fake *FakeBoshClient) GetDeploymentCallCount() int
- func (fake *FakeBoshClient) GetDeploymentReturns(result1 []byte, result2 bool, result3 error)
- func (fake *FakeBoshClient) GetDeploymentReturnsOnCall(i int, result1 []byte, result2 bool, result3 error)
- func (fake *FakeBoshClient) GetTasks(deploymentName string, logger *log.Logger) (boshdirector.BoshTasks, error)
- func (fake *FakeBoshClient) GetTasksArgsForCall(i int) (string, *log.Logger)
- func (fake *FakeBoshClient) GetTasksCallCount() int
- func (fake *FakeBoshClient) GetTasksReturns(result1 boshdirector.BoshTasks, result2 error)
- func (fake *FakeBoshClient) GetTasksReturnsOnCall(i int, result1 boshdirector.BoshTasks, result2 error)
- func (fake *FakeBoshClient) Invocations() map[string][][]interface{}
- type FakeBulkSetter
- func (fake *FakeBulkSetter) BulkSet(arg1 []task.ManifestSecret) error
- func (fake *FakeBulkSetter) BulkSetArgsForCall(i int) []task.ManifestSecret
- func (fake *FakeBulkSetter) BulkSetCallCount() int
- func (fake *FakeBulkSetter) BulkSetReturns(result1 error)
- func (fake *FakeBulkSetter) BulkSetReturnsOnCall(i int, result1 error)
- func (fake *FakeBulkSetter) Invocations() map[string][][]interface{}
- type FakeManifestGenerator
- func (fake *FakeManifestGenerator) GenerateManifest(deploymentName string, planID string, requestParams map[string]interface{}, ...) (serviceadapter.MarshalledGenerateManifest, error)
- func (fake *FakeManifestGenerator) GenerateManifestArgsForCall(i int) (string, string, map[string]interface{}, []byte, *string, *log.Logger)
- func (fake *FakeManifestGenerator) GenerateManifestCallCount() int
- func (fake *FakeManifestGenerator) GenerateManifestReturns(result1 serviceadapter.MarshalledGenerateManifest, result2 error)
- func (fake *FakeManifestGenerator) GenerateManifestReturnsOnCall(i int, result1 serviceadapter.MarshalledGenerateManifest, result2 error)
- func (fake *FakeManifestGenerator) GenerateSecretPaths(deploymentName string, manifest string, ...) []task.ManifestSecret
- func (fake *FakeManifestGenerator) GenerateSecretPathsArgsForCall(i int) (string, string, serviceadapter.ODBManagedSecrets)
- func (fake *FakeManifestGenerator) GenerateSecretPathsCallCount() int
- func (fake *FakeManifestGenerator) GenerateSecretPathsReturns(result1 []task.ManifestSecret)
- func (fake *FakeManifestGenerator) GenerateSecretPathsReturnsOnCall(i int, result1 []task.ManifestSecret)
- func (fake *FakeManifestGenerator) Invocations() map[string][][]interface{}
- func (fake *FakeManifestGenerator) ReplaceODBRefs(manifest string, secrets []task.ManifestSecret) string
- func (fake *FakeManifestGenerator) ReplaceODBRefsArgsForCall(i int) (string, []task.ManifestSecret)
- func (fake *FakeManifestGenerator) ReplaceODBRefsCallCount() int
- func (fake *FakeManifestGenerator) ReplaceODBRefsReturns(result1 string)
- func (fake *FakeManifestGenerator) ReplaceODBRefsReturnsOnCall(i int, result1 string)
- type FakeServiceAdapterClient
- func (fake *FakeServiceAdapterClient) GenerateManifest(serviceReleases serviceadapter.ServiceDeployment, plan serviceadapter.Plan, ...) (serviceadapter.MarshalledGenerateManifest, error)
- func (fake *FakeServiceAdapterClient) GenerateManifestArgsForCall(i int) (serviceadapter.ServiceDeployment, serviceadapter.Plan, map[string]interface{}, ...)
- func (fake *FakeServiceAdapterClient) GenerateManifestCallCount() int
- func (fake *FakeServiceAdapterClient) GenerateManifestReturns(result1 serviceadapter.MarshalledGenerateManifest, result2 error)
- func (fake *FakeServiceAdapterClient) GenerateManifestReturnsOnCall(i int, result1 serviceadapter.MarshalledGenerateManifest, result2 error)
- func (fake *FakeServiceAdapterClient) GeneratePlanSchema(plan serviceadapter.Plan, logger *log.Logger) (brokerapi.ServiceSchemas, error)
- func (fake *FakeServiceAdapterClient) GeneratePlanSchemaArgsForCall(i int) (serviceadapter.Plan, *log.Logger)
- func (fake *FakeServiceAdapterClient) GeneratePlanSchemaCallCount() int
- func (fake *FakeServiceAdapterClient) GeneratePlanSchemaReturns(result1 brokerapi.ServiceSchemas, result2 error)
- func (fake *FakeServiceAdapterClient) GeneratePlanSchemaReturnsOnCall(i int, result1 brokerapi.ServiceSchemas, result2 error)
- func (fake *FakeServiceAdapterClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBoshClient ¶
type FakeBoshClient struct { DeployStub func(manifest []byte, contextID string, logger *log.Logger, reporter *boshdirector.AsyncTaskReporter) (int, error) GetTasksStub func(deploymentName string, logger *log.Logger) (boshdirector.BoshTasks, error) GetDeploymentStub func(name string, logger *log.Logger) ([]byte, bool, error) // contains filtered or unexported fields }
func (*FakeBoshClient) Deploy ¶
func (fake *FakeBoshClient) Deploy(manifest []byte, contextID string, logger *log.Logger, reporter *boshdirector.AsyncTaskReporter) (int, error)
func (*FakeBoshClient) DeployArgsForCall ¶
func (fake *FakeBoshClient) DeployArgsForCall(i int) ([]byte, string, *log.Logger, *boshdirector.AsyncTaskReporter)
func (*FakeBoshClient) DeployCallCount ¶
func (fake *FakeBoshClient) DeployCallCount() int
func (*FakeBoshClient) DeployReturns ¶
func (fake *FakeBoshClient) DeployReturns(result1 int, result2 error)
func (*FakeBoshClient) DeployReturnsOnCall ¶
func (fake *FakeBoshClient) DeployReturnsOnCall(i int, result1 int, result2 error)
func (*FakeBoshClient) GetDeployment ¶
func (*FakeBoshClient) GetDeploymentArgsForCall ¶
func (fake *FakeBoshClient) GetDeploymentArgsForCall(i int) (string, *log.Logger)
func (*FakeBoshClient) GetDeploymentCallCount ¶
func (fake *FakeBoshClient) GetDeploymentCallCount() int
func (*FakeBoshClient) GetDeploymentReturns ¶
func (fake *FakeBoshClient) GetDeploymentReturns(result1 []byte, result2 bool, result3 error)
func (*FakeBoshClient) GetDeploymentReturnsOnCall ¶
func (fake *FakeBoshClient) GetDeploymentReturnsOnCall(i int, result1 []byte, result2 bool, result3 error)
func (*FakeBoshClient) GetTasks ¶
func (fake *FakeBoshClient) GetTasks(deploymentName string, logger *log.Logger) (boshdirector.BoshTasks, error)
func (*FakeBoshClient) GetTasksArgsForCall ¶
func (fake *FakeBoshClient) GetTasksArgsForCall(i int) (string, *log.Logger)
func (*FakeBoshClient) GetTasksCallCount ¶
func (fake *FakeBoshClient) GetTasksCallCount() int
func (*FakeBoshClient) GetTasksReturns ¶
func (fake *FakeBoshClient) GetTasksReturns(result1 boshdirector.BoshTasks, result2 error)
func (*FakeBoshClient) GetTasksReturnsOnCall ¶
func (fake *FakeBoshClient) GetTasksReturnsOnCall(i int, result1 boshdirector.BoshTasks, result2 error)
func (*FakeBoshClient) Invocations ¶
func (fake *FakeBoshClient) Invocations() map[string][][]interface{}
type FakeBulkSetter ¶ added in v0.22.0
type FakeBulkSetter struct { BulkSetStub func([]task.ManifestSecret) error // contains filtered or unexported fields }
func (*FakeBulkSetter) BulkSet ¶ added in v0.22.0
func (fake *FakeBulkSetter) BulkSet(arg1 []task.ManifestSecret) error
func (*FakeBulkSetter) BulkSetArgsForCall ¶ added in v0.22.0
func (fake *FakeBulkSetter) BulkSetArgsForCall(i int) []task.ManifestSecret
func (*FakeBulkSetter) BulkSetCallCount ¶ added in v0.22.0
func (fake *FakeBulkSetter) BulkSetCallCount() int
func (*FakeBulkSetter) BulkSetReturns ¶ added in v0.22.0
func (fake *FakeBulkSetter) BulkSetReturns(result1 error)
func (*FakeBulkSetter) BulkSetReturnsOnCall ¶ added in v0.22.0
func (fake *FakeBulkSetter) BulkSetReturnsOnCall(i int, result1 error)
func (*FakeBulkSetter) Invocations ¶ added in v0.22.0
func (fake *FakeBulkSetter) Invocations() map[string][][]interface{}
type FakeManifestGenerator ¶
type FakeManifestGenerator struct { GenerateManifestStub func(deploymentName, planID string, requestParams map[string]interface{}, oldManifest []byte, previousPlanID *string, logger *log.Logger) (serviceadapter.MarshalledGenerateManifest, error) GenerateSecretPathsStub func(deploymentName string, manifest string, secrets serviceadapter.ODBManagedSecrets) []task.ManifestSecret ReplaceODBRefsStub func(manifest string, secrets []task.ManifestSecret) string // contains filtered or unexported fields }
func (*FakeManifestGenerator) GenerateManifest ¶
func (fake *FakeManifestGenerator) GenerateManifest(deploymentName string, planID string, requestParams map[string]interface{}, oldManifest []byte, previousPlanID *string, logger *log.Logger) (serviceadapter.MarshalledGenerateManifest, error)
func (*FakeManifestGenerator) GenerateManifestArgsForCall ¶
func (*FakeManifestGenerator) GenerateManifestCallCount ¶
func (fake *FakeManifestGenerator) GenerateManifestCallCount() int
func (*FakeManifestGenerator) GenerateManifestReturns ¶
func (fake *FakeManifestGenerator) GenerateManifestReturns(result1 serviceadapter.MarshalledGenerateManifest, result2 error)
func (*FakeManifestGenerator) GenerateManifestReturnsOnCall ¶
func (fake *FakeManifestGenerator) GenerateManifestReturnsOnCall(i int, result1 serviceadapter.MarshalledGenerateManifest, result2 error)
func (*FakeManifestGenerator) GenerateSecretPaths ¶ added in v0.22.0
func (fake *FakeManifestGenerator) GenerateSecretPaths(deploymentName string, manifest string, secrets serviceadapter.ODBManagedSecrets) []task.ManifestSecret
func (*FakeManifestGenerator) GenerateSecretPathsArgsForCall ¶ added in v0.22.0
func (fake *FakeManifestGenerator) GenerateSecretPathsArgsForCall(i int) (string, string, serviceadapter.ODBManagedSecrets)
func (*FakeManifestGenerator) GenerateSecretPathsCallCount ¶ added in v0.22.0
func (fake *FakeManifestGenerator) GenerateSecretPathsCallCount() int
func (*FakeManifestGenerator) GenerateSecretPathsReturns ¶ added in v0.22.0
func (fake *FakeManifestGenerator) GenerateSecretPathsReturns(result1 []task.ManifestSecret)
func (*FakeManifestGenerator) GenerateSecretPathsReturnsOnCall ¶ added in v0.22.0
func (fake *FakeManifestGenerator) GenerateSecretPathsReturnsOnCall(i int, result1 []task.ManifestSecret)
func (*FakeManifestGenerator) Invocations ¶
func (fake *FakeManifestGenerator) Invocations() map[string][][]interface{}
func (*FakeManifestGenerator) ReplaceODBRefs ¶ added in v0.22.0
func (fake *FakeManifestGenerator) ReplaceODBRefs(manifest string, secrets []task.ManifestSecret) string
func (*FakeManifestGenerator) ReplaceODBRefsArgsForCall ¶ added in v0.22.0
func (fake *FakeManifestGenerator) ReplaceODBRefsArgsForCall(i int) (string, []task.ManifestSecret)
func (*FakeManifestGenerator) ReplaceODBRefsCallCount ¶ added in v0.22.0
func (fake *FakeManifestGenerator) ReplaceODBRefsCallCount() int
func (*FakeManifestGenerator) ReplaceODBRefsReturns ¶ added in v0.22.0
func (fake *FakeManifestGenerator) ReplaceODBRefsReturns(result1 string)
func (*FakeManifestGenerator) ReplaceODBRefsReturnsOnCall ¶ added in v0.22.0
func (fake *FakeManifestGenerator) ReplaceODBRefsReturnsOnCall(i int, result1 string)
type FakeServiceAdapterClient ¶
type FakeServiceAdapterClient struct { GenerateManifestStub func(serviceReleases serviceadapter.ServiceDeployment, plan serviceadapter.Plan, requestParams map[string]interface{}, previousManifest []byte, previousPlan *serviceadapter.Plan, logger *log.Logger) (serviceadapter.MarshalledGenerateManifest, error) GeneratePlanSchemaStub func(plan serviceadapter.Plan, logger *log.Logger) (brokerapi.ServiceSchemas, error) // contains filtered or unexported fields }
func (*FakeServiceAdapterClient) GenerateManifest ¶
func (fake *FakeServiceAdapterClient) GenerateManifest(serviceReleases serviceadapter.ServiceDeployment, plan serviceadapter.Plan, requestParams map[string]interface{}, previousManifest []byte, previousPlan *serviceadapter.Plan, logger *log.Logger) (serviceadapter.MarshalledGenerateManifest, error)
func (*FakeServiceAdapterClient) GenerateManifestArgsForCall ¶
func (fake *FakeServiceAdapterClient) GenerateManifestArgsForCall(i int) (serviceadapter.ServiceDeployment, serviceadapter.Plan, map[string]interface{}, []byte, *serviceadapter.Plan, *log.Logger)
func (*FakeServiceAdapterClient) GenerateManifestCallCount ¶
func (fake *FakeServiceAdapterClient) GenerateManifestCallCount() int
func (*FakeServiceAdapterClient) GenerateManifestReturns ¶
func (fake *FakeServiceAdapterClient) GenerateManifestReturns(result1 serviceadapter.MarshalledGenerateManifest, result2 error)
func (*FakeServiceAdapterClient) GenerateManifestReturnsOnCall ¶
func (fake *FakeServiceAdapterClient) GenerateManifestReturnsOnCall(i int, result1 serviceadapter.MarshalledGenerateManifest, result2 error)
func (*FakeServiceAdapterClient) GeneratePlanSchema ¶ added in v0.21.0
func (fake *FakeServiceAdapterClient) GeneratePlanSchema(plan serviceadapter.Plan, logger *log.Logger) (brokerapi.ServiceSchemas, error)
func (*FakeServiceAdapterClient) GeneratePlanSchemaArgsForCall ¶ added in v0.21.0
func (fake *FakeServiceAdapterClient) GeneratePlanSchemaArgsForCall(i int) (serviceadapter.Plan, *log.Logger)
func (*FakeServiceAdapterClient) GeneratePlanSchemaCallCount ¶ added in v0.21.0
func (fake *FakeServiceAdapterClient) GeneratePlanSchemaCallCount() int
func (*FakeServiceAdapterClient) GeneratePlanSchemaReturns ¶ added in v0.21.0
func (fake *FakeServiceAdapterClient) GeneratePlanSchemaReturns(result1 brokerapi.ServiceSchemas, result2 error)
func (*FakeServiceAdapterClient) GeneratePlanSchemaReturnsOnCall ¶ added in v0.21.0
func (fake *FakeServiceAdapterClient) GeneratePlanSchemaReturnsOnCall(i int, result1 brokerapi.ServiceSchemas, result2 error)
func (*FakeServiceAdapterClient) Invocations ¶
func (fake *FakeServiceAdapterClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.