fakes

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 11 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.

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 FakeContainerFactory added in v0.4.1

type FakeContainerFactory struct {
	JobsToContainersStub func([]manifest.Job, []v1.VolumeMount, disk.BPMResourceDisks) ([]v1.Container, error)

	JobsToInitContainersStub func([]manifest.Job, []v1.VolumeMount, disk.BPMResourceDisks, *string) ([]v1.Container, error)
	// contains filtered or unexported fields
}

func (*FakeContainerFactory) Invocations added in v0.4.1

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

func (*FakeContainerFactory) JobsToContainers added in v0.4.1

func (fake *FakeContainerFactory) JobsToContainers(arg1 []manifest.Job, arg2 []v1.VolumeMount, arg3 disk.BPMResourceDisks) ([]v1.Container, error)

func (*FakeContainerFactory) JobsToContainersArgsForCall added in v0.4.1

func (fake *FakeContainerFactory) JobsToContainersArgsForCall(i int) ([]manifest.Job, []v1.VolumeMount, disk.BPMResourceDisks)

func (*FakeContainerFactory) JobsToContainersCallCount added in v0.4.1

func (fake *FakeContainerFactory) JobsToContainersCallCount() int

func (*FakeContainerFactory) JobsToContainersCalls added in v0.4.1

func (fake *FakeContainerFactory) JobsToContainersCalls(stub func([]manifest.Job, []v1.VolumeMount, disk.BPMResourceDisks) ([]v1.Container, error))

func (*FakeContainerFactory) JobsToContainersReturns added in v0.4.1

func (fake *FakeContainerFactory) JobsToContainersReturns(result1 []v1.Container, result2 error)

func (*FakeContainerFactory) JobsToContainersReturnsOnCall added in v0.4.1

func (fake *FakeContainerFactory) JobsToContainersReturnsOnCall(i int, result1 []v1.Container, result2 error)

func (*FakeContainerFactory) JobsToInitContainers added in v0.4.1

func (fake *FakeContainerFactory) JobsToInitContainers(arg1 []manifest.Job, arg2 []v1.VolumeMount, arg3 disk.BPMResourceDisks, arg4 *string) ([]v1.Container, error)

func (*FakeContainerFactory) JobsToInitContainersArgsForCall added in v0.4.1

func (fake *FakeContainerFactory) JobsToInitContainersArgsForCall(i int) ([]manifest.Job, []v1.VolumeMount, disk.BPMResourceDisks, *string)

func (*FakeContainerFactory) JobsToInitContainersCallCount added in v0.4.1

func (fake *FakeContainerFactory) JobsToInitContainersCallCount() int

func (*FakeContainerFactory) JobsToInitContainersCalls added in v0.4.1

func (fake *FakeContainerFactory) JobsToInitContainersCalls(stub func([]manifest.Job, []v1.VolumeMount, disk.BPMResourceDisks, *string) ([]v1.Container, error))

func (*FakeContainerFactory) JobsToInitContainersReturns added in v0.4.1

func (fake *FakeContainerFactory) JobsToInitContainersReturns(result1 []v1.Container, result2 error)

func (*FakeContainerFactory) JobsToInitContainersReturnsOnCall added in v0.4.1

func (fake *FakeContainerFactory) JobsToInitContainersReturnsOnCall(i int, result1 []v1.Container, result2 error)

type FakeInterpolator

type FakeInterpolator struct {
	BuildOpsStub func([]byte) error

	InterpolateStub func([]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeInterpolator) BuildOps

func (fake *FakeInterpolator) BuildOps(arg1 []byte) error

func (*FakeInterpolator) BuildOpsArgsForCall

func (fake *FakeInterpolator) BuildOpsArgsForCall(i int) []byte

func (*FakeInterpolator) BuildOpsCallCount

func (fake *FakeInterpolator) BuildOpsCallCount() int

func (*FakeInterpolator) BuildOpsCalls

func (fake *FakeInterpolator) BuildOpsCalls(stub func([]byte) error)

func (*FakeInterpolator) BuildOpsReturns

func (fake *FakeInterpolator) BuildOpsReturns(result1 error)

func (*FakeInterpolator) BuildOpsReturnsOnCall

func (fake *FakeInterpolator) BuildOpsReturnsOnCall(i int, result1 error)

func (*FakeInterpolator) Interpolate

func (fake *FakeInterpolator) Interpolate(arg1 []byte) ([]byte, error)

func (*FakeInterpolator) InterpolateArgsForCall

func (fake *FakeInterpolator) InterpolateArgsForCall(i int) []byte

func (*FakeInterpolator) InterpolateCallCount

func (fake *FakeInterpolator) InterpolateCallCount() int

func (*FakeInterpolator) InterpolateCalls

func (fake *FakeInterpolator) InterpolateCalls(stub func([]byte) ([]byte, error))

func (*FakeInterpolator) InterpolateReturns

func (fake *FakeInterpolator) InterpolateReturns(result1 []byte, result2 error)

func (*FakeInterpolator) InterpolateReturnsOnCall

func (fake *FakeInterpolator) InterpolateReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeInterpolator) Invocations

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

type FakeJobFactory added in v0.4.1

type FakeJobFactory struct {
	InstanceGroupManifestJobStub func(manifest.Manifest, converter.LinkInfos, bool) (*v1alpha1.QuarksJob, error)

	VariableInterpolationJobStub func(manifest.Manifest) (*v1alpha1.QuarksJob, error)
	// contains filtered or unexported fields
}

func (*FakeJobFactory) InstanceGroupManifestJob added in v0.4.1

func (fake *FakeJobFactory) InstanceGroupManifestJob(arg1 manifest.Manifest, arg2 converter.LinkInfos, arg3 bool) (*v1alpha1.QuarksJob, error)

func (*FakeJobFactory) InstanceGroupManifestJobArgsForCall added in v0.4.1

func (fake *FakeJobFactory) InstanceGroupManifestJobArgsForCall(i int) (manifest.Manifest, converter.LinkInfos, bool)

func (*FakeJobFactory) InstanceGroupManifestJobCallCount added in v0.4.1

func (fake *FakeJobFactory) InstanceGroupManifestJobCallCount() int

func (*FakeJobFactory) InstanceGroupManifestJobCalls added in v0.4.1

func (fake *FakeJobFactory) InstanceGroupManifestJobCalls(stub func(manifest.Manifest, converter.LinkInfos, bool) (*v1alpha1.QuarksJob, error))

func (*FakeJobFactory) InstanceGroupManifestJobReturns added in v0.4.1

func (fake *FakeJobFactory) InstanceGroupManifestJobReturns(result1 *v1alpha1.QuarksJob, result2 error)

func (*FakeJobFactory) InstanceGroupManifestJobReturnsOnCall added in v0.4.1

func (fake *FakeJobFactory) InstanceGroupManifestJobReturnsOnCall(i int, result1 *v1alpha1.QuarksJob, result2 error)

func (*FakeJobFactory) Invocations added in v0.4.1

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

func (*FakeJobFactory) VariableInterpolationJob added in v0.4.1

func (fake *FakeJobFactory) VariableInterpolationJob(arg1 manifest.Manifest) (*v1alpha1.QuarksJob, error)

func (*FakeJobFactory) VariableInterpolationJobArgsForCall added in v0.4.1

func (fake *FakeJobFactory) VariableInterpolationJobArgsForCall(i int) manifest.Manifest

func (*FakeJobFactory) VariableInterpolationJobCallCount added in v0.4.1

func (fake *FakeJobFactory) VariableInterpolationJobCallCount() int

func (*FakeJobFactory) VariableInterpolationJobCalls added in v0.4.1

func (fake *FakeJobFactory) VariableInterpolationJobCalls(stub func(manifest.Manifest) (*v1alpha1.QuarksJob, error))

func (*FakeJobFactory) VariableInterpolationJobReturns added in v0.4.1

func (fake *FakeJobFactory) VariableInterpolationJobReturns(result1 *v1alpha1.QuarksJob, result2 error)

func (*FakeJobFactory) VariableInterpolationJobReturnsOnCall added in v0.4.1

func (fake *FakeJobFactory) VariableInterpolationJobReturnsOnCall(i int, result1 *v1alpha1.QuarksJob, result2 error)

type FakeKubeConverter added in v0.4.1

type FakeKubeConverter struct {
	BPMResourcesStub func(string, manifest.DomainNameService, string, *manifest.InstanceGroup, converter.ReleaseImageProvider, bpm.Configs, string) (*converter.BPMResources, error)

	VariablesStub func(string, []manifest.Variable) ([]v1alpha1.QuarksSecret, error)
	// contains filtered or unexported fields
}

func (*FakeKubeConverter) BPMResources added in v0.4.1

func (*FakeKubeConverter) BPMResourcesArgsForCall added in v0.4.1

func (*FakeKubeConverter) BPMResourcesCallCount added in v0.4.1

func (fake *FakeKubeConverter) BPMResourcesCallCount() int

func (*FakeKubeConverter) BPMResourcesCalls added in v0.4.1

func (*FakeKubeConverter) BPMResourcesReturns added in v0.4.1

func (fake *FakeKubeConverter) BPMResourcesReturns(result1 *converter.BPMResources, result2 error)

func (*FakeKubeConverter) BPMResourcesReturnsOnCall added in v0.4.1

func (fake *FakeKubeConverter) BPMResourcesReturnsOnCall(i int, result1 *converter.BPMResources, result2 error)

func (*FakeKubeConverter) Invocations added in v0.4.1

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

func (*FakeKubeConverter) Variables added in v0.4.1

func (fake *FakeKubeConverter) Variables(arg1 string, arg2 []manifest.Variable) ([]v1alpha1.QuarksSecret, error)

func (*FakeKubeConverter) VariablesArgsForCall added in v0.4.1

func (fake *FakeKubeConverter) VariablesArgsForCall(i int) (string, []manifest.Variable)

func (*FakeKubeConverter) VariablesCallCount added in v0.4.1

func (fake *FakeKubeConverter) VariablesCallCount() int

func (*FakeKubeConverter) VariablesCalls added in v0.4.1

func (fake *FakeKubeConverter) VariablesCalls(stub func(string, []manifest.Variable) ([]v1alpha1.QuarksSecret, error))

func (*FakeKubeConverter) VariablesReturns added in v0.4.1

func (fake *FakeKubeConverter) VariablesReturns(result1 []v1alpha1.QuarksSecret, result2 error)

func (*FakeKubeConverter) VariablesReturnsOnCall added in v0.4.1

func (fake *FakeKubeConverter) VariablesReturnsOnCall(i int, result1 []v1alpha1.QuarksSecret, result2 error)

type FakeReleaseImageProvider

type FakeReleaseImageProvider struct {
	GetReleaseImageStub func(string, string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeReleaseImageProvider) GetReleaseImage

func (fake *FakeReleaseImageProvider) GetReleaseImage(arg1 string, arg2 string) (string, error)

func (*FakeReleaseImageProvider) GetReleaseImageArgsForCall

func (fake *FakeReleaseImageProvider) GetReleaseImageArgsForCall(i int) (string, string)

func (*FakeReleaseImageProvider) GetReleaseImageCallCount

func (fake *FakeReleaseImageProvider) GetReleaseImageCallCount() int

func (*FakeReleaseImageProvider) GetReleaseImageCalls

func (fake *FakeReleaseImageProvider) GetReleaseImageCalls(stub func(string, string) (string, error))

func (*FakeReleaseImageProvider) GetReleaseImageReturns

func (fake *FakeReleaseImageProvider) GetReleaseImageReturns(result1 string, result2 error)

func (*FakeReleaseImageProvider) GetReleaseImageReturnsOnCall

func (fake *FakeReleaseImageProvider) GetReleaseImageReturnsOnCall(i int, result1 string, result2 error)

func (*FakeReleaseImageProvider) Invocations

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

type FakeResolver

type FakeResolver struct {
	WithOpsManifestStub func(context.Context, *v1alpha1.BOSHDeployment, string) (*manifest.Manifest, []string, error)

	WithOpsManifestDetailedStub func(context.Context, *v1alpha1.BOSHDeployment, string) (*manifest.Manifest, []string, error)
	// contains filtered or unexported fields
}

func (*FakeResolver) Invocations

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

func (*FakeResolver) WithOpsManifest

func (fake *FakeResolver) WithOpsManifest(arg1 context.Context, arg2 *v1alpha1.BOSHDeployment, arg3 string) (*manifest.Manifest, []string, error)

func (*FakeResolver) WithOpsManifestArgsForCall

func (fake *FakeResolver) WithOpsManifestArgsForCall(i int) (context.Context, *v1alpha1.BOSHDeployment, string)

func (*FakeResolver) WithOpsManifestCallCount

func (fake *FakeResolver) WithOpsManifestCallCount() int

func (*FakeResolver) WithOpsManifestCalls

func (fake *FakeResolver) WithOpsManifestCalls(stub func(context.Context, *v1alpha1.BOSHDeployment, string) (*manifest.Manifest, []string, error))

func (*FakeResolver) WithOpsManifestDetailed

func (fake *FakeResolver) WithOpsManifestDetailed(arg1 context.Context, arg2 *v1alpha1.BOSHDeployment, arg3 string) (*manifest.Manifest, []string, error)

func (*FakeResolver) WithOpsManifestDetailedArgsForCall

func (fake *FakeResolver) WithOpsManifestDetailedArgsForCall(i int) (context.Context, *v1alpha1.BOSHDeployment, string)

func (*FakeResolver) WithOpsManifestDetailedCallCount

func (fake *FakeResolver) WithOpsManifestDetailedCallCount() int

func (*FakeResolver) WithOpsManifestDetailedCalls

func (fake *FakeResolver) WithOpsManifestDetailedCalls(stub func(context.Context, *v1alpha1.BOSHDeployment, string) (*manifest.Manifest, []string, error))

func (*FakeResolver) WithOpsManifestDetailedReturns

func (fake *FakeResolver) WithOpsManifestDetailedReturns(result1 *manifest.Manifest, result2 []string, result3 error)

func (*FakeResolver) WithOpsManifestDetailedReturnsOnCall

func (fake *FakeResolver) WithOpsManifestDetailedReturnsOnCall(i int, result1 *manifest.Manifest, result2 []string, result3 error)

func (*FakeResolver) WithOpsManifestReturns

func (fake *FakeResolver) WithOpsManifestReturns(result1 *manifest.Manifest, result2 []string, result3 error)

func (*FakeResolver) WithOpsManifestReturnsOnCall

func (fake *FakeResolver) WithOpsManifestReturnsOnCall(i int, result1 *manifest.Manifest, result2 []string, result3 error)

type FakeVolumeFactory added in v0.4.1

type FakeVolumeFactory struct {
	GenerateBPMDisksStub func(string, *manifest.InstanceGroup, bpm.Configs, string) (disk.BPMResourceDisks, error)

	GenerateDefaultDisksStub func(string, string, string, string) disk.BPMResourceDisks
	// contains filtered or unexported fields
}

func (*FakeVolumeFactory) GenerateBPMDisks added in v0.4.1

func (fake *FakeVolumeFactory) GenerateBPMDisks(arg1 string, arg2 *manifest.InstanceGroup, arg3 bpm.Configs, arg4 string) (disk.BPMResourceDisks, error)

func (*FakeVolumeFactory) GenerateBPMDisksArgsForCall added in v0.4.1

func (fake *FakeVolumeFactory) GenerateBPMDisksArgsForCall(i int) (string, *manifest.InstanceGroup, bpm.Configs, string)

func (*FakeVolumeFactory) GenerateBPMDisksCallCount added in v0.4.1

func (fake *FakeVolumeFactory) GenerateBPMDisksCallCount() int

func (*FakeVolumeFactory) GenerateBPMDisksCalls added in v0.4.1

func (fake *FakeVolumeFactory) GenerateBPMDisksCalls(stub func(string, *manifest.InstanceGroup, bpm.Configs, string) (disk.BPMResourceDisks, error))

func (*FakeVolumeFactory) GenerateBPMDisksReturns added in v0.4.1

func (fake *FakeVolumeFactory) GenerateBPMDisksReturns(result1 disk.BPMResourceDisks, result2 error)

func (*FakeVolumeFactory) GenerateBPMDisksReturnsOnCall added in v0.4.1

func (fake *FakeVolumeFactory) GenerateBPMDisksReturnsOnCall(i int, result1 disk.BPMResourceDisks, result2 error)

func (*FakeVolumeFactory) GenerateDefaultDisks added in v0.4.1

func (fake *FakeVolumeFactory) GenerateDefaultDisks(arg1 string, arg2 string, arg3 string, arg4 string) disk.BPMResourceDisks

func (*FakeVolumeFactory) GenerateDefaultDisksArgsForCall added in v0.4.1

func (fake *FakeVolumeFactory) GenerateDefaultDisksArgsForCall(i int) (string, string, string, string)

func (*FakeVolumeFactory) GenerateDefaultDisksCallCount added in v0.4.1

func (fake *FakeVolumeFactory) GenerateDefaultDisksCallCount() int

func (*FakeVolumeFactory) GenerateDefaultDisksCalls added in v0.4.1

func (fake *FakeVolumeFactory) GenerateDefaultDisksCalls(stub func(string, string, string, string) disk.BPMResourceDisks)

func (*FakeVolumeFactory) GenerateDefaultDisksReturns added in v0.4.1

func (fake *FakeVolumeFactory) GenerateDefaultDisksReturns(result1 disk.BPMResourceDisks)

func (*FakeVolumeFactory) GenerateDefaultDisksReturnsOnCall added in v0.4.1

func (fake *FakeVolumeFactory) GenerateDefaultDisksReturnsOnCall(i int, result1 disk.BPMResourceDisks)

func (*FakeVolumeFactory) Invocations added in v0.4.1

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

Jump to

Keyboard shortcuts

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