fakes

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBoshClient

type FakeBoshClient struct {
	GetTaskStub func(taskID int, logger *log.Logger) (boshdirector.BoshTask, error)

	GetTasksStub func(deploymentName string, logger *log.Logger) (boshdirector.BoshTasks, error)

	GetNormalisedTasksByContextStub func(deploymentName, contextID string, logger *log.Logger) (boshdirector.BoshTasks, error)

	VMsStub func(deploymentName string, logger *log.Logger) (bosh.BoshVMs, error)

	GetDeploymentStub func(name string, logger *log.Logger) ([]byte, bool, error)

	GetDeploymentsStub func(logger *log.Logger) ([]boshdirector.Deployment, error)

	DeleteDeploymentStub func(name, contextID string, logger *log.Logger, taskReporter *boshdirector.AsyncTaskReporter) (int, error)

	GetInfoStub func(logger *log.Logger) (boshdirector.Info, error)

	RunErrandStub func(deploymentName, errandName string, errandInstances []string, contextID string, logger *log.Logger, taskReporter *boshdirector.AsyncTaskReporter) (int, error)

	VariablesStub func(deploymentName string, logger *log.Logger) ([]boshdirector.Variable, error)

	VerifyAuthStub func(logger *log.Logger) error

	GetDNSAddressesStub func(deploymentName string, requestedDNS []config.BindingDNS) (map[string]string, error)

	DeployStub func(manifest []byte, contextID string, logger *log.Logger, reporter *boshdirector.AsyncTaskReporter) (int, error)
	// contains filtered or unexported fields
}

func (*FakeBoshClient) DeleteDeployment

func (fake *FakeBoshClient) DeleteDeployment(name string, contextID string, logger *log.Logger, taskReporter *boshdirector.AsyncTaskReporter) (int, error)

func (*FakeBoshClient) DeleteDeploymentArgsForCall

func (fake *FakeBoshClient) DeleteDeploymentArgsForCall(i int) (string, string, *log.Logger, *boshdirector.AsyncTaskReporter)

func (*FakeBoshClient) DeleteDeploymentCallCount

func (fake *FakeBoshClient) DeleteDeploymentCallCount() int

func (*FakeBoshClient) DeleteDeploymentReturns

func (fake *FakeBoshClient) DeleteDeploymentReturns(result1 int, result2 error)

func (*FakeBoshClient) DeleteDeploymentReturnsOnCall

func (fake *FakeBoshClient) DeleteDeploymentReturnsOnCall(i int, result1 int, result2 error)

func (*FakeBoshClient) Deploy added in v0.23.0

func (fake *FakeBoshClient) Deploy(manifest []byte, contextID string, logger *log.Logger, reporter *boshdirector.AsyncTaskReporter) (int, error)

func (*FakeBoshClient) DeployArgsForCall added in v0.23.0

func (fake *FakeBoshClient) DeployArgsForCall(i int) ([]byte, string, *log.Logger, *boshdirector.AsyncTaskReporter)

func (*FakeBoshClient) DeployCallCount added in v0.23.0

func (fake *FakeBoshClient) DeployCallCount() int

func (*FakeBoshClient) DeployReturns added in v0.23.0

func (fake *FakeBoshClient) DeployReturns(result1 int, result2 error)

func (*FakeBoshClient) DeployReturnsOnCall added in v0.23.0

func (fake *FakeBoshClient) DeployReturnsOnCall(i int, result1 int, result2 error)

func (*FakeBoshClient) GetDNSAddresses added in v0.22.0

func (fake *FakeBoshClient) GetDNSAddresses(deploymentName string, requestedDNS []config.BindingDNS) (map[string]string, error)

func (*FakeBoshClient) GetDNSAddressesArgsForCall added in v0.22.0

func (fake *FakeBoshClient) GetDNSAddressesArgsForCall(i int) (string, []config.BindingDNS)

func (*FakeBoshClient) GetDNSAddressesCallCount added in v0.22.0

func (fake *FakeBoshClient) GetDNSAddressesCallCount() int

func (*FakeBoshClient) GetDNSAddressesReturns added in v0.22.0

func (fake *FakeBoshClient) GetDNSAddressesReturns(result1 map[string]string, result2 error)

func (*FakeBoshClient) GetDNSAddressesReturnsOnCall added in v0.22.0

func (fake *FakeBoshClient) GetDNSAddressesReturnsOnCall(i int, result1 map[string]string, result2 error)

func (*FakeBoshClient) GetDeployment

func (fake *FakeBoshClient) GetDeployment(name string, logger *log.Logger) ([]byte, bool, error)

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) GetDeployments

func (fake *FakeBoshClient) GetDeployments(logger *log.Logger) ([]boshdirector.Deployment, error)

func (*FakeBoshClient) GetDeploymentsArgsForCall

func (fake *FakeBoshClient) GetDeploymentsArgsForCall(i int) *log.Logger

func (*FakeBoshClient) GetDeploymentsCallCount

func (fake *FakeBoshClient) GetDeploymentsCallCount() int

func (*FakeBoshClient) GetDeploymentsReturns

func (fake *FakeBoshClient) GetDeploymentsReturns(result1 []boshdirector.Deployment, result2 error)

func (*FakeBoshClient) GetDeploymentsReturnsOnCall

func (fake *FakeBoshClient) GetDeploymentsReturnsOnCall(i int, result1 []boshdirector.Deployment, result2 error)

func (*FakeBoshClient) GetInfo added in v0.17.2

func (fake *FakeBoshClient) GetInfo(logger *log.Logger) (boshdirector.Info, error)

func (*FakeBoshClient) GetInfoArgsForCall added in v0.17.2

func (fake *FakeBoshClient) GetInfoArgsForCall(i int) *log.Logger

func (*FakeBoshClient) GetInfoCallCount added in v0.17.2

func (fake *FakeBoshClient) GetInfoCallCount() int

func (*FakeBoshClient) GetInfoReturns added in v0.17.2

func (fake *FakeBoshClient) GetInfoReturns(result1 boshdirector.Info, result2 error)

func (*FakeBoshClient) GetInfoReturnsOnCall added in v0.17.2

func (fake *FakeBoshClient) GetInfoReturnsOnCall(i int, result1 boshdirector.Info, result2 error)

func (*FakeBoshClient) GetNormalisedTasksByContext

func (fake *FakeBoshClient) GetNormalisedTasksByContext(deploymentName string, contextID string, logger *log.Logger) (boshdirector.BoshTasks, error)

func (*FakeBoshClient) GetNormalisedTasksByContextArgsForCall

func (fake *FakeBoshClient) GetNormalisedTasksByContextArgsForCall(i int) (string, string, *log.Logger)

func (*FakeBoshClient) GetNormalisedTasksByContextCallCount

func (fake *FakeBoshClient) GetNormalisedTasksByContextCallCount() int

func (*FakeBoshClient) GetNormalisedTasksByContextReturns

func (fake *FakeBoshClient) GetNormalisedTasksByContextReturns(result1 boshdirector.BoshTasks, result2 error)

func (*FakeBoshClient) GetNormalisedTasksByContextReturnsOnCall

func (fake *FakeBoshClient) GetNormalisedTasksByContextReturnsOnCall(i int, result1 boshdirector.BoshTasks, result2 error)

func (*FakeBoshClient) GetTask

func (fake *FakeBoshClient) GetTask(taskID int, logger *log.Logger) (boshdirector.BoshTask, error)

func (*FakeBoshClient) GetTaskArgsForCall

func (fake *FakeBoshClient) GetTaskArgsForCall(i int) (int, *log.Logger)

func (*FakeBoshClient) GetTaskCallCount

func (fake *FakeBoshClient) GetTaskCallCount() int

func (*FakeBoshClient) GetTaskReturns

func (fake *FakeBoshClient) GetTaskReturns(result1 boshdirector.BoshTask, result2 error)

func (*FakeBoshClient) GetTaskReturnsOnCall

func (fake *FakeBoshClient) GetTaskReturnsOnCall(i int, result1 boshdirector.BoshTask, result2 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{}

func (*FakeBoshClient) RunErrand

func (fake *FakeBoshClient) RunErrand(deploymentName string, errandName string, errandInstances []string, contextID string, logger *log.Logger, taskReporter *boshdirector.AsyncTaskReporter) (int, error)

func (*FakeBoshClient) RunErrandArgsForCall

func (fake *FakeBoshClient) RunErrandArgsForCall(i int) (string, string, []string, string, *log.Logger, *boshdirector.AsyncTaskReporter)

func (*FakeBoshClient) RunErrandCallCount

func (fake *FakeBoshClient) RunErrandCallCount() int

func (*FakeBoshClient) RunErrandReturns

func (fake *FakeBoshClient) RunErrandReturns(result1 int, result2 error)

func (*FakeBoshClient) RunErrandReturnsOnCall

func (fake *FakeBoshClient) RunErrandReturnsOnCall(i int, result1 int, result2 error)

func (*FakeBoshClient) VMs

func (fake *FakeBoshClient) VMs(deploymentName string, logger *log.Logger) (bosh.BoshVMs, error)

func (*FakeBoshClient) VMsArgsForCall

func (fake *FakeBoshClient) VMsArgsForCall(i int) (string, *log.Logger)

func (*FakeBoshClient) VMsCallCount

func (fake *FakeBoshClient) VMsCallCount() int

func (*FakeBoshClient) VMsReturns

func (fake *FakeBoshClient) VMsReturns(result1 bosh.BoshVMs, result2 error)

func (*FakeBoshClient) VMsReturnsOnCall

func (fake *FakeBoshClient) VMsReturnsOnCall(i int, result1 bosh.BoshVMs, result2 error)

func (*FakeBoshClient) Variables added in v0.22.0

func (fake *FakeBoshClient) Variables(deploymentName string, logger *log.Logger) ([]boshdirector.Variable, error)

func (*FakeBoshClient) VariablesArgsForCall added in v0.22.0

func (fake *FakeBoshClient) VariablesArgsForCall(i int) (string, *log.Logger)

func (*FakeBoshClient) VariablesCallCount added in v0.22.0

func (fake *FakeBoshClient) VariablesCallCount() int

func (*FakeBoshClient) VariablesReturns added in v0.22.0

func (fake *FakeBoshClient) VariablesReturns(result1 []boshdirector.Variable, result2 error)

func (*FakeBoshClient) VariablesReturnsOnCall added in v0.22.0

func (fake *FakeBoshClient) VariablesReturnsOnCall(i int, result1 []boshdirector.Variable, result2 error)

func (*FakeBoshClient) VerifyAuth added in v0.17.2

func (fake *FakeBoshClient) VerifyAuth(logger *log.Logger) error

func (*FakeBoshClient) VerifyAuthArgsForCall added in v0.17.2

func (fake *FakeBoshClient) VerifyAuthArgsForCall(i int) *log.Logger

func (*FakeBoshClient) VerifyAuthCallCount added in v0.17.2

func (fake *FakeBoshClient) VerifyAuthCallCount() int

func (*FakeBoshClient) VerifyAuthReturns added in v0.17.2

func (fake *FakeBoshClient) VerifyAuthReturns(result1 error)

func (*FakeBoshClient) VerifyAuthReturnsOnCall added in v0.17.2

func (fake *FakeBoshClient) VerifyAuthReturnsOnCall(i int, result1 error)

type FakeCloudFoundryClient

type FakeCloudFoundryClient struct {
	GetAPIVersionStub func(logger *log.Logger) (string, error)

	CountInstancesOfPlanStub func(serviceOfferingID, planID string, logger *log.Logger) (int, error)

	CountInstancesOfServiceOfferingStub func(serviceOfferingID string, logger *log.Logger) (instanceCountByPlanID map[cf.ServicePlan]int, err error)

	GetInstanceStateStub func(serviceInstanceGUID string, logger *log.Logger) (cf.InstanceState, error)

	GetInstancesOfServiceOfferingStub func(serviceOfferingID string, logger *log.Logger) ([]service.Instance, error)

	GetInstancesOfServiceOfferingByOrgSpaceStub func(serviceOfferingID, orgName, spaceName string, logger *log.Logger) ([]service.Instance, error)
	// contains filtered or unexported fields
}

func (*FakeCloudFoundryClient) CountInstancesOfPlan

func (fake *FakeCloudFoundryClient) CountInstancesOfPlan(serviceOfferingID string, planID string, logger *log.Logger) (int, error)

func (*FakeCloudFoundryClient) CountInstancesOfPlanArgsForCall

func (fake *FakeCloudFoundryClient) CountInstancesOfPlanArgsForCall(i int) (string, string, *log.Logger)

func (*FakeCloudFoundryClient) CountInstancesOfPlanCallCount

func (fake *FakeCloudFoundryClient) CountInstancesOfPlanCallCount() int

func (*FakeCloudFoundryClient) CountInstancesOfPlanReturns

func (fake *FakeCloudFoundryClient) CountInstancesOfPlanReturns(result1 int, result2 error)

func (*FakeCloudFoundryClient) CountInstancesOfPlanReturnsOnCall

func (fake *FakeCloudFoundryClient) CountInstancesOfPlanReturnsOnCall(i int, result1 int, result2 error)

func (*FakeCloudFoundryClient) CountInstancesOfServiceOffering

func (fake *FakeCloudFoundryClient) CountInstancesOfServiceOffering(serviceOfferingID string, logger *log.Logger) (instanceCountByPlanID map[cf.ServicePlan]int, err error)

func (*FakeCloudFoundryClient) CountInstancesOfServiceOfferingArgsForCall

func (fake *FakeCloudFoundryClient) CountInstancesOfServiceOfferingArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) CountInstancesOfServiceOfferingCallCount

func (fake *FakeCloudFoundryClient) CountInstancesOfServiceOfferingCallCount() int

func (*FakeCloudFoundryClient) CountInstancesOfServiceOfferingReturns

func (fake *FakeCloudFoundryClient) CountInstancesOfServiceOfferingReturns(result1 map[cf.ServicePlan]int, result2 error)

func (*FakeCloudFoundryClient) CountInstancesOfServiceOfferingReturnsOnCall

func (fake *FakeCloudFoundryClient) CountInstancesOfServiceOfferingReturnsOnCall(i int, result1 map[cf.ServicePlan]int, result2 error)

func (*FakeCloudFoundryClient) GetAPIVersion

func (fake *FakeCloudFoundryClient) GetAPIVersion(logger *log.Logger) (string, error)

func (*FakeCloudFoundryClient) GetAPIVersionArgsForCall

func (fake *FakeCloudFoundryClient) GetAPIVersionArgsForCall(i int) *log.Logger

func (*FakeCloudFoundryClient) GetAPIVersionCallCount

func (fake *FakeCloudFoundryClient) GetAPIVersionCallCount() int

func (*FakeCloudFoundryClient) GetAPIVersionReturns

func (fake *FakeCloudFoundryClient) GetAPIVersionReturns(result1 string, result2 error)

func (*FakeCloudFoundryClient) GetAPIVersionReturnsOnCall

func (fake *FakeCloudFoundryClient) GetAPIVersionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCloudFoundryClient) GetInstanceState

func (fake *FakeCloudFoundryClient) GetInstanceState(serviceInstanceGUID string, logger *log.Logger) (cf.InstanceState, error)

func (*FakeCloudFoundryClient) GetInstanceStateArgsForCall

func (fake *FakeCloudFoundryClient) GetInstanceStateArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) GetInstanceStateCallCount

func (fake *FakeCloudFoundryClient) GetInstanceStateCallCount() int

func (*FakeCloudFoundryClient) GetInstanceStateReturns

func (fake *FakeCloudFoundryClient) GetInstanceStateReturns(result1 cf.InstanceState, result2 error)

func (*FakeCloudFoundryClient) GetInstanceStateReturnsOnCall

func (fake *FakeCloudFoundryClient) GetInstanceStateReturnsOnCall(i int, result1 cf.InstanceState, result2 error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOffering

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOffering(serviceOfferingID string, logger *log.Logger) ([]service.Instance, error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingArgsForCall

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpace added in v0.21.0

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpace(serviceOfferingID string, orgName string, spaceName string, logger *log.Logger) ([]service.Instance, error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceArgsForCall added in v0.21.0

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceArgsForCall(i int) (string, string, string, *log.Logger)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceCallCount added in v0.21.0

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceCallCount() int

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceReturns added in v0.21.0

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceReturns(result1 []service.Instance, result2 error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceReturnsOnCall added in v0.21.0

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingByOrgSpaceReturnsOnCall(i int, result1 []service.Instance, result2 error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingCallCount

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingCallCount() int

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturns

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturns(result1 []service.Instance, result2 error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturnsOnCall

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturnsOnCall(i int, result1 []service.Instance, result2 error)

func (*FakeCloudFoundryClient) Invocations

func (fake *FakeCloudFoundryClient) Invocations() map[string][][]interface{}

type FakeDeployer

type FakeDeployer struct {
	CreateStub func(deploymentName, planID string, requestParams map[string]interface{}, boshContextID string, logger *log.Logger) (int, []byte, error)

	UpdateStub func(deploymentName, planID string, requestParams map[string]interface{}, previousPlanID *string, boshContextID string, logger *log.Logger) (int, []byte, error)

	UpgradeStub func(deploymentName, planID string, previousPlanID *string, boshContextID string, logger *log.Logger) (int, []byte, error)
	// contains filtered or unexported fields
}

func (*FakeDeployer) Create

func (fake *FakeDeployer) Create(deploymentName string, planID string, requestParams map[string]interface{}, boshContextID string, logger *log.Logger) (int, []byte, error)

func (*FakeDeployer) CreateArgsForCall

func (fake *FakeDeployer) CreateArgsForCall(i int) (string, string, map[string]interface{}, string, *log.Logger)

func (*FakeDeployer) CreateCallCount

func (fake *FakeDeployer) CreateCallCount() int

func (*FakeDeployer) CreateReturns

func (fake *FakeDeployer) CreateReturns(result1 int, result2 []byte, result3 error)

func (*FakeDeployer) CreateReturnsOnCall

func (fake *FakeDeployer) CreateReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

func (*FakeDeployer) Invocations

func (fake *FakeDeployer) Invocations() map[string][][]interface{}

func (*FakeDeployer) Update

func (fake *FakeDeployer) Update(deploymentName string, planID string, requestParams map[string]interface{}, previousPlanID *string, boshContextID string, logger *log.Logger) (int, []byte, error)

func (*FakeDeployer) UpdateArgsForCall

func (fake *FakeDeployer) UpdateArgsForCall(i int) (string, string, map[string]interface{}, *string, string, *log.Logger)

func (*FakeDeployer) UpdateCallCount

func (fake *FakeDeployer) UpdateCallCount() int

func (*FakeDeployer) UpdateReturns

func (fake *FakeDeployer) UpdateReturns(result1 int, result2 []byte, result3 error)

func (*FakeDeployer) UpdateReturnsOnCall

func (fake *FakeDeployer) UpdateReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

func (*FakeDeployer) Upgrade

func (fake *FakeDeployer) Upgrade(deploymentName string, planID string, previousPlanID *string, boshContextID string, logger *log.Logger) (int, []byte, error)

func (*FakeDeployer) UpgradeArgsForCall

func (fake *FakeDeployer) UpgradeArgsForCall(i int) (string, string, *string, string, *log.Logger)

func (*FakeDeployer) UpgradeCallCount

func (fake *FakeDeployer) UpgradeCallCount() int

func (*FakeDeployer) UpgradeReturns

func (fake *FakeDeployer) UpgradeReturns(result1 int, result2 []byte, result3 error)

func (*FakeDeployer) UpgradeReturnsOnCall

func (fake *FakeDeployer) UpgradeReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

type FakeManifestSecretManager added in v0.23.0

type FakeManifestSecretManager struct {
	ResolveManifestSecretsStub func(manifest []byte, deploymentVariables []boshdirector.Variable, logger *log.Logger) (map[string]string, error)

	DeleteSecretsForInstanceStub func(instanceID string, logger *log.Logger) error
	// contains filtered or unexported fields
}

func (*FakeManifestSecretManager) DeleteSecretsForInstance added in v0.23.0

func (fake *FakeManifestSecretManager) DeleteSecretsForInstance(instanceID string, logger *log.Logger) error

func (*FakeManifestSecretManager) DeleteSecretsForInstanceArgsForCall added in v0.23.0

func (fake *FakeManifestSecretManager) DeleteSecretsForInstanceArgsForCall(i int) (string, *log.Logger)

func (*FakeManifestSecretManager) DeleteSecretsForInstanceCallCount added in v0.23.0

func (fake *FakeManifestSecretManager) DeleteSecretsForInstanceCallCount() int

func (*FakeManifestSecretManager) DeleteSecretsForInstanceReturns added in v0.23.0

func (fake *FakeManifestSecretManager) DeleteSecretsForInstanceReturns(result1 error)

func (*FakeManifestSecretManager) DeleteSecretsForInstanceReturnsOnCall added in v0.23.0

func (fake *FakeManifestSecretManager) DeleteSecretsForInstanceReturnsOnCall(i int, result1 error)

func (*FakeManifestSecretManager) Invocations added in v0.23.0

func (fake *FakeManifestSecretManager) Invocations() map[string][][]interface{}

func (*FakeManifestSecretManager) ResolveManifestSecrets added in v0.23.0

func (fake *FakeManifestSecretManager) ResolveManifestSecrets(manifest []byte, deploymentVariables []boshdirector.Variable, logger *log.Logger) (map[string]string, error)

func (*FakeManifestSecretManager) ResolveManifestSecretsArgsForCall added in v0.23.0

func (fake *FakeManifestSecretManager) ResolveManifestSecretsArgsForCall(i int) ([]byte, []boshdirector.Variable, *log.Logger)

func (*FakeManifestSecretManager) ResolveManifestSecretsCallCount added in v0.23.0

func (fake *FakeManifestSecretManager) ResolveManifestSecretsCallCount() int

func (*FakeManifestSecretManager) ResolveManifestSecretsReturns added in v0.23.0

func (fake *FakeManifestSecretManager) ResolveManifestSecretsReturns(result1 map[string]string, result2 error)

func (*FakeManifestSecretManager) ResolveManifestSecretsReturnsOnCall added in v0.23.0

func (fake *FakeManifestSecretManager) ResolveManifestSecretsReturnsOnCall(i int, result1 map[string]string, result2 error)

type FakeServiceAdapterClient

type FakeServiceAdapterClient struct {
	CreateBindingStub func(bindingID string, deploymentTopology bosh.BoshVMs, manifest []byte, requestParams map[string]interface{}, secretsMap, dnsAddresses map[string]string, logger *log.Logger) (serviceadapter.Binding, error)

	DeleteBindingStub func(bindingID string, deploymentTopology bosh.BoshVMs, manifest []byte, requestParams map[string]interface{}, secretsMap map[string]string, logger *log.Logger) error

	GenerateDashboardUrlStub func(instanceID string, plan serviceadapter.Plan, manifest []byte, logger *log.Logger) (string, error)

	GeneratePlanSchemaStub func(plan serviceadapter.Plan, logger *log.Logger) (brokerapi.ServiceSchemas, error)
	// contains filtered or unexported fields
}

func (*FakeServiceAdapterClient) CreateBinding

func (fake *FakeServiceAdapterClient) CreateBinding(bindingID string, deploymentTopology bosh.BoshVMs, manifest []byte, requestParams map[string]interface{}, secretsMap map[string]string, dnsAddresses map[string]string, logger *log.Logger) (serviceadapter.Binding, error)

func (*FakeServiceAdapterClient) CreateBindingArgsForCall

func (fake *FakeServiceAdapterClient) CreateBindingArgsForCall(i int) (string, bosh.BoshVMs, []byte, map[string]interface{}, map[string]string, map[string]string, *log.Logger)

func (*FakeServiceAdapterClient) CreateBindingCallCount

func (fake *FakeServiceAdapterClient) CreateBindingCallCount() int

func (*FakeServiceAdapterClient) CreateBindingReturns

func (fake *FakeServiceAdapterClient) CreateBindingReturns(result1 serviceadapter.Binding, result2 error)

func (*FakeServiceAdapterClient) CreateBindingReturnsOnCall

func (fake *FakeServiceAdapterClient) CreateBindingReturnsOnCall(i int, result1 serviceadapter.Binding, result2 error)

func (*FakeServiceAdapterClient) DeleteBinding

func (fake *FakeServiceAdapterClient) DeleteBinding(bindingID string, deploymentTopology bosh.BoshVMs, manifest []byte, requestParams map[string]interface{}, secretsMap map[string]string, logger *log.Logger) error

func (*FakeServiceAdapterClient) DeleteBindingArgsForCall

func (fake *FakeServiceAdapterClient) DeleteBindingArgsForCall(i int) (string, bosh.BoshVMs, []byte, map[string]interface{}, map[string]string, *log.Logger)

func (*FakeServiceAdapterClient) DeleteBindingCallCount

func (fake *FakeServiceAdapterClient) DeleteBindingCallCount() int

func (*FakeServiceAdapterClient) DeleteBindingReturns

func (fake *FakeServiceAdapterClient) DeleteBindingReturns(result1 error)

func (*FakeServiceAdapterClient) DeleteBindingReturnsOnCall

func (fake *FakeServiceAdapterClient) DeleteBindingReturnsOnCall(i int, result1 error)

func (*FakeServiceAdapterClient) GenerateDashboardUrl

func (fake *FakeServiceAdapterClient) GenerateDashboardUrl(instanceID string, plan serviceadapter.Plan, manifest []byte, logger *log.Logger) (string, error)

func (*FakeServiceAdapterClient) GenerateDashboardUrlArgsForCall

func (fake *FakeServiceAdapterClient) GenerateDashboardUrlArgsForCall(i int) (string, serviceadapter.Plan, []byte, *log.Logger)

func (*FakeServiceAdapterClient) GenerateDashboardUrlCallCount

func (fake *FakeServiceAdapterClient) GenerateDashboardUrlCallCount() int

func (*FakeServiceAdapterClient) GenerateDashboardUrlReturns

func (fake *FakeServiceAdapterClient) GenerateDashboardUrlReturns(result1 string, result2 error)

func (*FakeServiceAdapterClient) GenerateDashboardUrlReturnsOnCall

func (fake *FakeServiceAdapterClient) GenerateDashboardUrlReturnsOnCall(i int, result1 string, 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{}

type FakeStartupChecker added in v0.18.0

type FakeStartupChecker struct {
	CheckStub func() error
	// contains filtered or unexported fields
}

func (*FakeStartupChecker) Check added in v0.18.0

func (fake *FakeStartupChecker) Check() error

func (*FakeStartupChecker) CheckCallCount added in v0.18.0

func (fake *FakeStartupChecker) CheckCallCount() int

func (*FakeStartupChecker) CheckReturns added in v0.18.0

func (fake *FakeStartupChecker) CheckReturns(result1 error)

func (*FakeStartupChecker) CheckReturnsOnCall added in v0.18.0

func (fake *FakeStartupChecker) CheckReturnsOnCall(i int, result1 error)

func (*FakeStartupChecker) Invocations added in v0.18.0

func (fake *FakeStartupChecker) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL