fakes

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 5 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.

Index

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) (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) (int, error)

func (*FakeBoshClient) DeployArgsForCall

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

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 (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) 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 FakeManifestGenerator

type FakeManifestGenerator struct {
	GenerateManifestStub func(deploymentName, planID string, requestParams map[string]interface{}, oldManifest []byte, previousPlanID *string, logger *log.Logger) (task.RawBoshManifest, error)
	// 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) (task.RawBoshManifest, error)

func (*FakeManifestGenerator) GenerateManifestArgsForCall

func (fake *FakeManifestGenerator) GenerateManifestArgsForCall(i int) (string, string, map[string]interface{}, []byte, *string, *log.Logger)

func (*FakeManifestGenerator) GenerateManifestCallCount

func (fake *FakeManifestGenerator) GenerateManifestCallCount() int

func (*FakeManifestGenerator) GenerateManifestReturns

func (fake *FakeManifestGenerator) GenerateManifestReturns(result1 task.RawBoshManifest, result2 error)

func (*FakeManifestGenerator) GenerateManifestReturnsOnCall

func (fake *FakeManifestGenerator) GenerateManifestReturnsOnCall(i int, result1 task.RawBoshManifest, result2 error)

func (*FakeManifestGenerator) Invocations

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

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) ([]byte, 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) ([]byte, 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 []byte, result2 error)

func (*FakeServiceAdapterClient) GenerateManifestReturnsOnCall

func (fake *FakeServiceAdapterClient) GenerateManifestReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeServiceAdapterClient) Invocations

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

Jump to

Keyboard shortcuts

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