directorfakes

package
v2.0.41 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

This file was generated by counterfeiter

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.

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 FakeAdjustedClient

type FakeAdjustedClient struct {
	DoStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeAdjustedClient) Do

func (fake *FakeAdjustedClient) Do(arg1 *http.Request) (*http.Response, error)

func (*FakeAdjustedClient) DoArgsForCall

func (fake *FakeAdjustedClient) DoArgsForCall(i int) *http.Request

func (*FakeAdjustedClient) DoCallCount

func (fake *FakeAdjustedClient) DoCallCount() int

func (*FakeAdjustedClient) DoReturns

func (fake *FakeAdjustedClient) DoReturns(result1 *http.Response, result2 error)

func (*FakeAdjustedClient) DoReturnsOnCall added in v2.0.30

func (fake *FakeAdjustedClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeAdjustedClient) Invocations

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

type FakeAdjustment

type FakeAdjustment struct {
	AdjustStub func(req *http.Request, retried bool) error

	NeedsReadjustmentStub func(*http.Response) bool
	// contains filtered or unexported fields
}

func (*FakeAdjustment) Adjust

func (fake *FakeAdjustment) Adjust(req *http.Request, retried bool) error

func (*FakeAdjustment) AdjustArgsForCall

func (fake *FakeAdjustment) AdjustArgsForCall(i int) (*http.Request, bool)

func (*FakeAdjustment) AdjustCallCount

func (fake *FakeAdjustment) AdjustCallCount() int

func (*FakeAdjustment) AdjustReturns

func (fake *FakeAdjustment) AdjustReturns(result1 error)

func (*FakeAdjustment) AdjustReturnsOnCall added in v2.0.30

func (fake *FakeAdjustment) AdjustReturnsOnCall(i int, result1 error)

func (*FakeAdjustment) Invocations

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

func (*FakeAdjustment) NeedsReadjustment

func (fake *FakeAdjustment) NeedsReadjustment(arg1 *http.Response) bool

func (*FakeAdjustment) NeedsReadjustmentArgsForCall

func (fake *FakeAdjustment) NeedsReadjustmentArgsForCall(i int) *http.Response

func (*FakeAdjustment) NeedsReadjustmentCallCount

func (fake *FakeAdjustment) NeedsReadjustmentCallCount() int

func (*FakeAdjustment) NeedsReadjustmentReturns

func (fake *FakeAdjustment) NeedsReadjustmentReturns(result1 bool)

func (*FakeAdjustment) NeedsReadjustmentReturnsOnCall added in v2.0.30

func (fake *FakeAdjustment) NeedsReadjustmentReturnsOnCall(i int, result1 bool)

type FakeDeployment

type FakeDeployment struct {
	NameStub func() string

	ManifestStub func() (string, error)

	CloudConfigStub func() (string, error)

	DiffStub func([]byte, bool) (director.DeploymentDiff, error)

	ReleasesStub func() ([]director.Release, error)

	ExportReleaseStub func(director.ReleaseSlug, director.OSVersionSlug, []string) (director.ExportReleaseResult, error)

	TeamsStub func() ([]string, error)

	StemcellsStub func() ([]director.Stemcell, error)

	VMInfosStub func() ([]director.VMInfo, error)

	InstancesStub func() ([]director.Instance, error)

	InstanceInfosStub func() ([]director.VMInfo, error)

	ErrandsStub func() ([]director.Errand, error)

	RunErrandStub func(string, bool, bool, []director.InstanceGroupOrInstanceSlug) ([]director.ErrandResult, error)

	ScanForProblemsStub func() ([]director.Problem, error)

	ResolveProblemsStub func([]director.ProblemAnswer) error

	SnapshotsStub func() ([]director.Snapshot, error)

	TakeSnapshotsStub func() error

	DeleteSnapshotStub func(string) error

	DeleteSnapshotsStub func() error

	DeleteVMStub func(string) error

	VariablesStub func() ([]director.VariableResult, error)

	StartStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StartOpts) error

	StopStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StopOpts) error

	RestartStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RestartOpts) error

	RecreateStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RecreateOpts) error

	SetUpSSHStub func(director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts) (director.SSHResult, error)

	CleanUpSSHStub func(director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts) error

	FetchLogsStub func(director.AllOrInstanceGroupOrInstanceSlug, []string, bool) (director.LogsResult, error)

	TakeSnapshotStub func(director.InstanceSlug) error

	IgnoreStub func(director.InstanceSlug, bool) error

	EnableResurrectionStub func(director.InstanceSlug, bool) error

	UpdateStub func(manifest []byte, opts director.UpdateOpts) error

	DeleteStub func(force bool) error

	AttachDiskStub func(slug director.InstanceSlug, diskCID string) error
	// contains filtered or unexported fields
}

func (*FakeDeployment) AttachDisk

func (fake *FakeDeployment) AttachDisk(slug director.InstanceSlug, diskCID string) error

func (*FakeDeployment) AttachDiskArgsForCall

func (fake *FakeDeployment) AttachDiskArgsForCall(i int) (director.InstanceSlug, string)

func (*FakeDeployment) AttachDiskCallCount

func (fake *FakeDeployment) AttachDiskCallCount() int

func (*FakeDeployment) AttachDiskReturns

func (fake *FakeDeployment) AttachDiskReturns(result1 error)

func (*FakeDeployment) CleanUpSSH

func (*FakeDeployment) CleanUpSSHArgsForCall

func (fake *FakeDeployment) CleanUpSSHArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts)

func (*FakeDeployment) CleanUpSSHCallCount

func (fake *FakeDeployment) CleanUpSSHCallCount() int

func (*FakeDeployment) CleanUpSSHReturns

func (fake *FakeDeployment) CleanUpSSHReturns(result1 error)

func (*FakeDeployment) CloudConfig

func (fake *FakeDeployment) CloudConfig() (string, error)

func (*FakeDeployment) CloudConfigCallCount

func (fake *FakeDeployment) CloudConfigCallCount() int

func (*FakeDeployment) CloudConfigReturns

func (fake *FakeDeployment) CloudConfigReturns(result1 string, result2 error)

func (*FakeDeployment) Delete

func (fake *FakeDeployment) Delete(force bool) error

func (*FakeDeployment) DeleteArgsForCall

func (fake *FakeDeployment) DeleteArgsForCall(i int) bool

func (*FakeDeployment) DeleteCallCount

func (fake *FakeDeployment) DeleteCallCount() int

func (*FakeDeployment) DeleteReturns

func (fake *FakeDeployment) DeleteReturns(result1 error)

func (*FakeDeployment) DeleteSnapshot

func (fake *FakeDeployment) DeleteSnapshot(arg1 string) error

func (*FakeDeployment) DeleteSnapshotArgsForCall

func (fake *FakeDeployment) DeleteSnapshotArgsForCall(i int) string

func (*FakeDeployment) DeleteSnapshotCallCount

func (fake *FakeDeployment) DeleteSnapshotCallCount() int

func (*FakeDeployment) DeleteSnapshotReturns

func (fake *FakeDeployment) DeleteSnapshotReturns(result1 error)

func (*FakeDeployment) DeleteSnapshots

func (fake *FakeDeployment) DeleteSnapshots() error

func (*FakeDeployment) DeleteSnapshotsCallCount

func (fake *FakeDeployment) DeleteSnapshotsCallCount() int

func (*FakeDeployment) DeleteSnapshotsReturns

func (fake *FakeDeployment) DeleteSnapshotsReturns(result1 error)

func (*FakeDeployment) DeleteVM

func (fake *FakeDeployment) DeleteVM(arg1 string) error

func (*FakeDeployment) DeleteVMArgsForCall

func (fake *FakeDeployment) DeleteVMArgsForCall(i int) string

func (*FakeDeployment) DeleteVMCallCount

func (fake *FakeDeployment) DeleteVMCallCount() int

func (*FakeDeployment) DeleteVMReturns

func (fake *FakeDeployment) DeleteVMReturns(result1 error)

func (*FakeDeployment) Diff

func (fake *FakeDeployment) Diff(arg1 []byte, arg2 bool) (director.DeploymentDiff, error)

func (*FakeDeployment) DiffArgsForCall

func (fake *FakeDeployment) DiffArgsForCall(i int) ([]byte, bool)

func (*FakeDeployment) DiffCallCount

func (fake *FakeDeployment) DiffCallCount() int

func (*FakeDeployment) DiffReturns

func (fake *FakeDeployment) DiffReturns(result1 director.DeploymentDiff, result2 error)

func (*FakeDeployment) EnableResurrection

func (fake *FakeDeployment) EnableResurrection(arg1 director.InstanceSlug, arg2 bool) error

func (*FakeDeployment) EnableResurrectionArgsForCall

func (fake *FakeDeployment) EnableResurrectionArgsForCall(i int) (director.InstanceSlug, bool)

func (*FakeDeployment) EnableResurrectionCallCount

func (fake *FakeDeployment) EnableResurrectionCallCount() int

func (*FakeDeployment) EnableResurrectionReturns

func (fake *FakeDeployment) EnableResurrectionReturns(result1 error)

func (*FakeDeployment) Errands

func (fake *FakeDeployment) Errands() ([]director.Errand, error)

func (*FakeDeployment) ErrandsCallCount

func (fake *FakeDeployment) ErrandsCallCount() int

func (*FakeDeployment) ErrandsReturns

func (fake *FakeDeployment) ErrandsReturns(result1 []director.Errand, result2 error)

func (*FakeDeployment) ExportRelease

func (*FakeDeployment) ExportReleaseArgsForCall

func (fake *FakeDeployment) ExportReleaseArgsForCall(i int) (director.ReleaseSlug, director.OSVersionSlug, []string)

func (*FakeDeployment) ExportReleaseCallCount

func (fake *FakeDeployment) ExportReleaseCallCount() int

func (*FakeDeployment) ExportReleaseReturns

func (fake *FakeDeployment) ExportReleaseReturns(result1 director.ExportReleaseResult, result2 error)

func (*FakeDeployment) FetchLogs

func (*FakeDeployment) FetchLogsArgsForCall

func (fake *FakeDeployment) FetchLogsArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, []string, bool)

func (*FakeDeployment) FetchLogsCallCount

func (fake *FakeDeployment) FetchLogsCallCount() int

func (*FakeDeployment) FetchLogsReturns

func (fake *FakeDeployment) FetchLogsReturns(result1 director.LogsResult, result2 error)

func (*FakeDeployment) Ignore

func (fake *FakeDeployment) Ignore(arg1 director.InstanceSlug, arg2 bool) error

func (*FakeDeployment) IgnoreArgsForCall

func (fake *FakeDeployment) IgnoreArgsForCall(i int) (director.InstanceSlug, bool)

func (*FakeDeployment) IgnoreCallCount

func (fake *FakeDeployment) IgnoreCallCount() int

func (*FakeDeployment) IgnoreReturns

func (fake *FakeDeployment) IgnoreReturns(result1 error)

func (*FakeDeployment) InstanceInfos

func (fake *FakeDeployment) InstanceInfos() ([]director.VMInfo, error)

func (*FakeDeployment) InstanceInfosCallCount

func (fake *FakeDeployment) InstanceInfosCallCount() int

func (*FakeDeployment) InstanceInfosReturns

func (fake *FakeDeployment) InstanceInfosReturns(result1 []director.VMInfo, result2 error)

func (*FakeDeployment) Instances

func (fake *FakeDeployment) Instances() ([]director.Instance, error)

func (*FakeDeployment) InstancesCallCount

func (fake *FakeDeployment) InstancesCallCount() int

func (*FakeDeployment) InstancesReturns

func (fake *FakeDeployment) InstancesReturns(result1 []director.Instance, result2 error)

func (*FakeDeployment) Invocations

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

func (*FakeDeployment) Manifest

func (fake *FakeDeployment) Manifest() (string, error)

func (*FakeDeployment) ManifestCallCount

func (fake *FakeDeployment) ManifestCallCount() int

func (*FakeDeployment) ManifestReturns

func (fake *FakeDeployment) ManifestReturns(result1 string, result2 error)

func (*FakeDeployment) Name

func (fake *FakeDeployment) Name() string

func (*FakeDeployment) NameCallCount

func (fake *FakeDeployment) NameCallCount() int

func (*FakeDeployment) NameReturns

func (fake *FakeDeployment) NameReturns(result1 string)

func (*FakeDeployment) Recreate

func (*FakeDeployment) RecreateArgsForCall

func (*FakeDeployment) RecreateCallCount

func (fake *FakeDeployment) RecreateCallCount() int

func (*FakeDeployment) RecreateReturns

func (fake *FakeDeployment) RecreateReturns(result1 error)

func (*FakeDeployment) Releases

func (fake *FakeDeployment) Releases() ([]director.Release, error)

func (*FakeDeployment) ReleasesCallCount

func (fake *FakeDeployment) ReleasesCallCount() int

func (*FakeDeployment) ReleasesReturns

func (fake *FakeDeployment) ReleasesReturns(result1 []director.Release, result2 error)

func (*FakeDeployment) ResolveProblems

func (fake *FakeDeployment) ResolveProblems(arg1 []director.ProblemAnswer) error

func (*FakeDeployment) ResolveProblemsArgsForCall

func (fake *FakeDeployment) ResolveProblemsArgsForCall(i int) []director.ProblemAnswer

func (*FakeDeployment) ResolveProblemsCallCount

func (fake *FakeDeployment) ResolveProblemsCallCount() int

func (*FakeDeployment) ResolveProblemsReturns

func (fake *FakeDeployment) ResolveProblemsReturns(result1 error)

func (*FakeDeployment) Restart

func (*FakeDeployment) RestartArgsForCall

func (*FakeDeployment) RestartCallCount

func (fake *FakeDeployment) RestartCallCount() int

func (*FakeDeployment) RestartReturns

func (fake *FakeDeployment) RestartReturns(result1 error)

func (*FakeDeployment) RunErrand

func (fake *FakeDeployment) RunErrand(arg1 string, arg2 bool, arg3 bool, arg4 []director.InstanceGroupOrInstanceSlug) ([]director.ErrandResult, error)

func (*FakeDeployment) RunErrandArgsForCall

func (fake *FakeDeployment) RunErrandArgsForCall(i int) (string, bool, bool, []director.InstanceGroupOrInstanceSlug)

func (*FakeDeployment) RunErrandCallCount

func (fake *FakeDeployment) RunErrandCallCount() int

func (*FakeDeployment) RunErrandReturns

func (fake *FakeDeployment) RunErrandReturns(result1 []director.ErrandResult, result2 error)

func (*FakeDeployment) ScanForProblems

func (fake *FakeDeployment) ScanForProblems() ([]director.Problem, error)

func (*FakeDeployment) ScanForProblemsCallCount

func (fake *FakeDeployment) ScanForProblemsCallCount() int

func (*FakeDeployment) ScanForProblemsReturns

func (fake *FakeDeployment) ScanForProblemsReturns(result1 []director.Problem, result2 error)

func (*FakeDeployment) SetUpSSH

func (*FakeDeployment) SetUpSSHArgsForCall

func (*FakeDeployment) SetUpSSHCallCount

func (fake *FakeDeployment) SetUpSSHCallCount() int

func (*FakeDeployment) SetUpSSHReturns

func (fake *FakeDeployment) SetUpSSHReturns(result1 director.SSHResult, result2 error)

func (*FakeDeployment) Snapshots

func (fake *FakeDeployment) Snapshots() ([]director.Snapshot, error)

func (*FakeDeployment) SnapshotsCallCount

func (fake *FakeDeployment) SnapshotsCallCount() int

func (*FakeDeployment) SnapshotsReturns

func (fake *FakeDeployment) SnapshotsReturns(result1 []director.Snapshot, result2 error)

func (*FakeDeployment) Start

func (*FakeDeployment) StartArgsForCall

func (*FakeDeployment) StartCallCount

func (fake *FakeDeployment) StartCallCount() int

func (*FakeDeployment) StartReturns

func (fake *FakeDeployment) StartReturns(result1 error)

func (*FakeDeployment) Stemcells

func (fake *FakeDeployment) Stemcells() ([]director.Stemcell, error)

func (*FakeDeployment) StemcellsCallCount

func (fake *FakeDeployment) StemcellsCallCount() int

func (*FakeDeployment) StemcellsReturns

func (fake *FakeDeployment) StemcellsReturns(result1 []director.Stemcell, result2 error)

func (*FakeDeployment) Stop

func (*FakeDeployment) StopArgsForCall

func (*FakeDeployment) StopCallCount

func (fake *FakeDeployment) StopCallCount() int

func (*FakeDeployment) StopReturns

func (fake *FakeDeployment) StopReturns(result1 error)

func (*FakeDeployment) TakeSnapshot

func (fake *FakeDeployment) TakeSnapshot(arg1 director.InstanceSlug) error

func (*FakeDeployment) TakeSnapshotArgsForCall

func (fake *FakeDeployment) TakeSnapshotArgsForCall(i int) director.InstanceSlug

func (*FakeDeployment) TakeSnapshotCallCount

func (fake *FakeDeployment) TakeSnapshotCallCount() int

func (*FakeDeployment) TakeSnapshotReturns

func (fake *FakeDeployment) TakeSnapshotReturns(result1 error)

func (*FakeDeployment) TakeSnapshots

func (fake *FakeDeployment) TakeSnapshots() error

func (*FakeDeployment) TakeSnapshotsCallCount

func (fake *FakeDeployment) TakeSnapshotsCallCount() int

func (*FakeDeployment) TakeSnapshotsReturns

func (fake *FakeDeployment) TakeSnapshotsReturns(result1 error)

func (*FakeDeployment) Teams added in v2.0.2

func (fake *FakeDeployment) Teams() ([]string, error)

func (*FakeDeployment) TeamsCallCount added in v2.0.2

func (fake *FakeDeployment) TeamsCallCount() int

func (*FakeDeployment) TeamsReturns added in v2.0.2

func (fake *FakeDeployment) TeamsReturns(result1 []string, result2 error)

func (*FakeDeployment) Update

func (fake *FakeDeployment) Update(manifest []byte, opts director.UpdateOpts) error

func (*FakeDeployment) UpdateArgsForCall

func (fake *FakeDeployment) UpdateArgsForCall(i int) ([]byte, director.UpdateOpts)

func (*FakeDeployment) UpdateCallCount

func (fake *FakeDeployment) UpdateCallCount() int

func (*FakeDeployment) UpdateReturns

func (fake *FakeDeployment) UpdateReturns(result1 error)

func (*FakeDeployment) VMInfos

func (fake *FakeDeployment) VMInfos() ([]director.VMInfo, error)

func (*FakeDeployment) VMInfosCallCount

func (fake *FakeDeployment) VMInfosCallCount() int

func (*FakeDeployment) VMInfosReturns

func (fake *FakeDeployment) VMInfosReturns(result1 []director.VMInfo, result2 error)

func (*FakeDeployment) Variables

func (fake *FakeDeployment) Variables() ([]director.VariableResult, error)

func (*FakeDeployment) VariablesCallCount

func (fake *FakeDeployment) VariablesCallCount() int

func (*FakeDeployment) VariablesReturns

func (fake *FakeDeployment) VariablesReturns(result1 []director.VariableResult, result2 error)

type FakeDirector

type FakeDirector struct {
	IsAuthenticatedStub func() (bool, error)

	WithContextStub func(id string) director.Director

	InfoStub func() (director.Info, error)

	LocksStub func() ([]director.Lock, error)

	CurrentTasksStub func(director.TasksFilter) ([]director.Task, error)

	RecentTasksStub func(int, director.TasksFilter) ([]director.Task, error)

	FindTaskStub func(int) (director.Task, error)

	FindTasksByContextIdStub func(string) ([]director.Task, error)

	EventsStub func(director.EventsFilter) ([]director.Event, error)

	EventStub func(string) (director.Event, error)

	DeploymentsStub func() ([]director.Deployment, error)

	FindDeploymentStub func(string) (director.Deployment, error)

	ReleasesStub func() ([]director.Release, error)

	HasReleaseStub func(name, version string, stemcell director.OSVersionSlug) (bool, error)

	FindReleaseStub func(director.ReleaseSlug) (director.Release, error)

	FindReleaseSeriesStub func(director.ReleaseSeriesSlug) (director.ReleaseSeries, error)

	UploadReleaseURLStub func(url, sha1 string, rebase, fix bool) error

	UploadReleaseFileStub func(file director.UploadFile, rebase, fix bool) error

	MatchPackagesStub func(manifest interface{}, compiled bool) ([]string, error)

	StemcellsStub func() ([]director.Stemcell, error)

	HasStemcellStub func(name, version string) (bool, error)

	FindStemcellStub func(director.StemcellSlug) (director.Stemcell, error)

	UploadStemcellURLStub func(url, sha1 string, fix bool) error

	UploadStemcellFileStub func(file director.UploadFile, fix bool) error

	LatestCloudConfigStub func() (director.CloudConfig, error)

	UpdateCloudConfigStub func([]byte) error

	DiffCloudConfigStub func(manifest []byte) (director.ConfigDiff, error)

	LatestCPIConfigStub func() (director.CPIConfig, error)

	UpdateCPIConfigStub func([]byte) error

	DiffCPIConfigStub func(manifest []byte, noRedact bool) (director.ConfigDiff, error)

	LatestRuntimeConfigStub func(name string) (director.RuntimeConfig, error)

	UpdateRuntimeConfigStub func(name string, manifest []byte) error

	DiffRuntimeConfigStub func(name string, manifest []byte, noRedact bool) (director.ConfigDiff, error)

	FindOrphanDiskStub func(string) (director.OrphanDisk, error)

	OrphanDisksStub func() ([]director.OrphanDisk, error)

	OrphanDiskStub func(string) error

	EnableResurrectionStub func(bool) error

	CleanUpStub func(bool) error

	DownloadResourceUncheckedStub func(blobstoreID string, out io.Writer) error
	// contains filtered or unexported fields
}

func (*FakeDirector) CleanUp

func (fake *FakeDirector) CleanUp(arg1 bool) error

func (*FakeDirector) CleanUpArgsForCall

func (fake *FakeDirector) CleanUpArgsForCall(i int) bool

func (*FakeDirector) CleanUpCallCount

func (fake *FakeDirector) CleanUpCallCount() int

func (*FakeDirector) CleanUpReturns

func (fake *FakeDirector) CleanUpReturns(result1 error)

func (*FakeDirector) CleanUpReturnsOnCall added in v2.0.34

func (fake *FakeDirector) CleanUpReturnsOnCall(i int, result1 error)

func (*FakeDirector) CurrentTasks

func (fake *FakeDirector) CurrentTasks(arg1 director.TasksFilter) ([]director.Task, error)

func (*FakeDirector) CurrentTasksArgsForCall

func (fake *FakeDirector) CurrentTasksArgsForCall(i int) director.TasksFilter

func (*FakeDirector) CurrentTasksCallCount

func (fake *FakeDirector) CurrentTasksCallCount() int

func (*FakeDirector) CurrentTasksReturns

func (fake *FakeDirector) CurrentTasksReturns(result1 []director.Task, result2 error)

func (*FakeDirector) CurrentTasksReturnsOnCall added in v2.0.34

func (fake *FakeDirector) CurrentTasksReturnsOnCall(i int, result1 []director.Task, result2 error)

func (*FakeDirector) Deployments

func (fake *FakeDirector) Deployments() ([]director.Deployment, error)

func (*FakeDirector) DeploymentsCallCount

func (fake *FakeDirector) DeploymentsCallCount() int

func (*FakeDirector) DeploymentsReturns

func (fake *FakeDirector) DeploymentsReturns(result1 []director.Deployment, result2 error)

func (*FakeDirector) DeploymentsReturnsOnCall added in v2.0.34

func (fake *FakeDirector) DeploymentsReturnsOnCall(i int, result1 []director.Deployment, result2 error)

func (*FakeDirector) DiffCPIConfig added in v2.0.30

func (fake *FakeDirector) DiffCPIConfig(manifest []byte, noRedact bool) (director.ConfigDiff, error)

func (*FakeDirector) DiffCPIConfigArgsForCall added in v2.0.30

func (fake *FakeDirector) DiffCPIConfigArgsForCall(i int) ([]byte, bool)

func (*FakeDirector) DiffCPIConfigCallCount added in v2.0.30

func (fake *FakeDirector) DiffCPIConfigCallCount() int

func (*FakeDirector) DiffCPIConfigReturns added in v2.0.30

func (fake *FakeDirector) DiffCPIConfigReturns(result1 director.ConfigDiff, result2 error)

func (*FakeDirector) DiffCPIConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) DiffCPIConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)

func (*FakeDirector) DiffCloudConfig added in v2.0.17

func (fake *FakeDirector) DiffCloudConfig(manifest []byte) (director.ConfigDiff, error)

func (*FakeDirector) DiffCloudConfigArgsForCall added in v2.0.17

func (fake *FakeDirector) DiffCloudConfigArgsForCall(i int) []byte

func (*FakeDirector) DiffCloudConfigCallCount added in v2.0.17

func (fake *FakeDirector) DiffCloudConfigCallCount() int

func (*FakeDirector) DiffCloudConfigReturns added in v2.0.17

func (fake *FakeDirector) DiffCloudConfigReturns(result1 director.ConfigDiff, result2 error)

func (*FakeDirector) DiffCloudConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) DiffCloudConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)

func (*FakeDirector) DiffRuntimeConfig added in v2.0.30

func (fake *FakeDirector) DiffRuntimeConfig(name string, manifest []byte, noRedact bool) (director.ConfigDiff, error)

func (*FakeDirector) DiffRuntimeConfigArgsForCall added in v2.0.30

func (fake *FakeDirector) DiffRuntimeConfigArgsForCall(i int) (string, []byte, bool)

func (*FakeDirector) DiffRuntimeConfigCallCount added in v2.0.30

func (fake *FakeDirector) DiffRuntimeConfigCallCount() int

func (*FakeDirector) DiffRuntimeConfigReturns added in v2.0.30

func (fake *FakeDirector) DiffRuntimeConfigReturns(result1 director.ConfigDiff, result2 error)

func (*FakeDirector) DiffRuntimeConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) DiffRuntimeConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)

func (*FakeDirector) DownloadResourceUnchecked

func (fake *FakeDirector) DownloadResourceUnchecked(blobstoreID string, out io.Writer) error

func (*FakeDirector) DownloadResourceUncheckedArgsForCall

func (fake *FakeDirector) DownloadResourceUncheckedArgsForCall(i int) (string, io.Writer)

func (*FakeDirector) DownloadResourceUncheckedCallCount

func (fake *FakeDirector) DownloadResourceUncheckedCallCount() int

func (*FakeDirector) DownloadResourceUncheckedReturns

func (fake *FakeDirector) DownloadResourceUncheckedReturns(result1 error)

func (*FakeDirector) DownloadResourceUncheckedReturnsOnCall added in v2.0.34

func (fake *FakeDirector) DownloadResourceUncheckedReturnsOnCall(i int, result1 error)

func (*FakeDirector) EnableResurrection

func (fake *FakeDirector) EnableResurrection(arg1 bool) error

func (*FakeDirector) EnableResurrectionArgsForCall

func (fake *FakeDirector) EnableResurrectionArgsForCall(i int) bool

func (*FakeDirector) EnableResurrectionCallCount

func (fake *FakeDirector) EnableResurrectionCallCount() int

func (*FakeDirector) EnableResurrectionReturns

func (fake *FakeDirector) EnableResurrectionReturns(result1 error)

func (*FakeDirector) EnableResurrectionReturnsOnCall added in v2.0.34

func (fake *FakeDirector) EnableResurrectionReturnsOnCall(i int, result1 error)

func (*FakeDirector) Event added in v2.0.7

func (fake *FakeDirector) Event(arg1 string) (director.Event, error)

func (*FakeDirector) EventArgsForCall added in v2.0.7

func (fake *FakeDirector) EventArgsForCall(i int) string

func (*FakeDirector) EventCallCount added in v2.0.7

func (fake *FakeDirector) EventCallCount() int

func (*FakeDirector) EventReturns added in v2.0.7

func (fake *FakeDirector) EventReturns(result1 director.Event, result2 error)

func (*FakeDirector) EventReturnsOnCall added in v2.0.34

func (fake *FakeDirector) EventReturnsOnCall(i int, result1 director.Event, result2 error)

func (*FakeDirector) Events

func (fake *FakeDirector) Events(arg1 director.EventsFilter) ([]director.Event, error)

func (*FakeDirector) EventsArgsForCall

func (fake *FakeDirector) EventsArgsForCall(i int) director.EventsFilter

func (*FakeDirector) EventsCallCount

func (fake *FakeDirector) EventsCallCount() int

func (*FakeDirector) EventsReturns

func (fake *FakeDirector) EventsReturns(result1 []director.Event, result2 error)

func (*FakeDirector) EventsReturnsOnCall added in v2.0.34

func (fake *FakeDirector) EventsReturnsOnCall(i int, result1 []director.Event, result2 error)

func (*FakeDirector) FindDeployment

func (fake *FakeDirector) FindDeployment(arg1 string) (director.Deployment, error)

func (*FakeDirector) FindDeploymentArgsForCall

func (fake *FakeDirector) FindDeploymentArgsForCall(i int) string

func (*FakeDirector) FindDeploymentCallCount

func (fake *FakeDirector) FindDeploymentCallCount() int

func (*FakeDirector) FindDeploymentReturns

func (fake *FakeDirector) FindDeploymentReturns(result1 director.Deployment, result2 error)

func (*FakeDirector) FindDeploymentReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindDeploymentReturnsOnCall(i int, result1 director.Deployment, result2 error)

func (*FakeDirector) FindOrphanDisk added in v2.0.17

func (fake *FakeDirector) FindOrphanDisk(arg1 string) (director.OrphanDisk, error)

func (*FakeDirector) FindOrphanDiskArgsForCall added in v2.0.17

func (fake *FakeDirector) FindOrphanDiskArgsForCall(i int) string

func (*FakeDirector) FindOrphanDiskCallCount added in v2.0.17

func (fake *FakeDirector) FindOrphanDiskCallCount() int

func (*FakeDirector) FindOrphanDiskReturns added in v2.0.17

func (fake *FakeDirector) FindOrphanDiskReturns(result1 director.OrphanDisk, result2 error)

func (*FakeDirector) FindOrphanDiskReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindOrphanDiskReturnsOnCall(i int, result1 director.OrphanDisk, result2 error)

func (*FakeDirector) FindRelease

func (fake *FakeDirector) FindRelease(arg1 director.ReleaseSlug) (director.Release, error)

func (*FakeDirector) FindReleaseArgsForCall

func (fake *FakeDirector) FindReleaseArgsForCall(i int) director.ReleaseSlug

func (*FakeDirector) FindReleaseCallCount

func (fake *FakeDirector) FindReleaseCallCount() int

func (*FakeDirector) FindReleaseReturns

func (fake *FakeDirector) FindReleaseReturns(result1 director.Release, result2 error)

func (*FakeDirector) FindReleaseReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindReleaseReturnsOnCall(i int, result1 director.Release, result2 error)

func (*FakeDirector) FindReleaseSeries

func (fake *FakeDirector) FindReleaseSeries(arg1 director.ReleaseSeriesSlug) (director.ReleaseSeries, error)

func (*FakeDirector) FindReleaseSeriesArgsForCall

func (fake *FakeDirector) FindReleaseSeriesArgsForCall(i int) director.ReleaseSeriesSlug

func (*FakeDirector) FindReleaseSeriesCallCount

func (fake *FakeDirector) FindReleaseSeriesCallCount() int

func (*FakeDirector) FindReleaseSeriesReturns

func (fake *FakeDirector) FindReleaseSeriesReturns(result1 director.ReleaseSeries, result2 error)

func (*FakeDirector) FindReleaseSeriesReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindReleaseSeriesReturnsOnCall(i int, result1 director.ReleaseSeries, result2 error)

func (*FakeDirector) FindStemcell

func (fake *FakeDirector) FindStemcell(arg1 director.StemcellSlug) (director.Stemcell, error)

func (*FakeDirector) FindStemcellArgsForCall

func (fake *FakeDirector) FindStemcellArgsForCall(i int) director.StemcellSlug

func (*FakeDirector) FindStemcellCallCount

func (fake *FakeDirector) FindStemcellCallCount() int

func (*FakeDirector) FindStemcellReturns

func (fake *FakeDirector) FindStemcellReturns(result1 director.Stemcell, result2 error)

func (*FakeDirector) FindStemcellReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindStemcellReturnsOnCall(i int, result1 director.Stemcell, result2 error)

func (*FakeDirector) FindTask

func (fake *FakeDirector) FindTask(arg1 int) (director.Task, error)

func (*FakeDirector) FindTaskArgsForCall

func (fake *FakeDirector) FindTaskArgsForCall(i int) int

func (*FakeDirector) FindTaskCallCount

func (fake *FakeDirector) FindTaskCallCount() int

func (*FakeDirector) FindTaskReturns

func (fake *FakeDirector) FindTaskReturns(result1 director.Task, result2 error)

func (*FakeDirector) FindTaskReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindTaskReturnsOnCall(i int, result1 director.Task, result2 error)

func (*FakeDirector) FindTasksByContextId

func (fake *FakeDirector) FindTasksByContextId(arg1 string) ([]director.Task, error)

func (*FakeDirector) FindTasksByContextIdArgsForCall

func (fake *FakeDirector) FindTasksByContextIdArgsForCall(i int) string

func (*FakeDirector) FindTasksByContextIdCallCount

func (fake *FakeDirector) FindTasksByContextIdCallCount() int

func (*FakeDirector) FindTasksByContextIdReturns

func (fake *FakeDirector) FindTasksByContextIdReturns(result1 []director.Task, result2 error)

func (*FakeDirector) FindTasksByContextIdReturnsOnCall added in v2.0.34

func (fake *FakeDirector) FindTasksByContextIdReturnsOnCall(i int, result1 []director.Task, result2 error)

func (*FakeDirector) HasRelease

func (fake *FakeDirector) HasRelease(name string, version string, stemcell director.OSVersionSlug) (bool, error)

func (*FakeDirector) HasReleaseArgsForCall

func (fake *FakeDirector) HasReleaseArgsForCall(i int) (string, string, director.OSVersionSlug)

func (*FakeDirector) HasReleaseCallCount

func (fake *FakeDirector) HasReleaseCallCount() int

func (*FakeDirector) HasReleaseReturns

func (fake *FakeDirector) HasReleaseReturns(result1 bool, result2 error)

func (*FakeDirector) HasReleaseReturnsOnCall added in v2.0.34

func (fake *FakeDirector) HasReleaseReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeDirector) HasStemcell

func (fake *FakeDirector) HasStemcell(name string, version string) (bool, error)

func (*FakeDirector) HasStemcellArgsForCall

func (fake *FakeDirector) HasStemcellArgsForCall(i int) (string, string)

func (*FakeDirector) HasStemcellCallCount

func (fake *FakeDirector) HasStemcellCallCount() int

func (*FakeDirector) HasStemcellReturns

func (fake *FakeDirector) HasStemcellReturns(result1 bool, result2 error)

func (*FakeDirector) HasStemcellReturnsOnCall added in v2.0.34

func (fake *FakeDirector) HasStemcellReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeDirector) Info

func (fake *FakeDirector) Info() (director.Info, error)

func (*FakeDirector) InfoCallCount

func (fake *FakeDirector) InfoCallCount() int

func (*FakeDirector) InfoReturns

func (fake *FakeDirector) InfoReturns(result1 director.Info, result2 error)

func (*FakeDirector) InfoReturnsOnCall added in v2.0.34

func (fake *FakeDirector) InfoReturnsOnCall(i int, result1 director.Info, result2 error)

func (*FakeDirector) Invocations

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

func (*FakeDirector) IsAuthenticated

func (fake *FakeDirector) IsAuthenticated() (bool, error)

func (*FakeDirector) IsAuthenticatedCallCount

func (fake *FakeDirector) IsAuthenticatedCallCount() int

func (*FakeDirector) IsAuthenticatedReturns

func (fake *FakeDirector) IsAuthenticatedReturns(result1 bool, result2 error)

func (*FakeDirector) IsAuthenticatedReturnsOnCall added in v2.0.34

func (fake *FakeDirector) IsAuthenticatedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeDirector) LatestCPIConfig

func (fake *FakeDirector) LatestCPIConfig() (director.CPIConfig, error)

func (*FakeDirector) LatestCPIConfigCallCount

func (fake *FakeDirector) LatestCPIConfigCallCount() int

func (*FakeDirector) LatestCPIConfigReturns

func (fake *FakeDirector) LatestCPIConfigReturns(result1 director.CPIConfig, result2 error)

func (*FakeDirector) LatestCPIConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) LatestCPIConfigReturnsOnCall(i int, result1 director.CPIConfig, result2 error)

func (*FakeDirector) LatestCloudConfig

func (fake *FakeDirector) LatestCloudConfig() (director.CloudConfig, error)

func (*FakeDirector) LatestCloudConfigCallCount

func (fake *FakeDirector) LatestCloudConfigCallCount() int

func (*FakeDirector) LatestCloudConfigReturns

func (fake *FakeDirector) LatestCloudConfigReturns(result1 director.CloudConfig, result2 error)

func (*FakeDirector) LatestCloudConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) LatestCloudConfigReturnsOnCall(i int, result1 director.CloudConfig, result2 error)

func (*FakeDirector) LatestRuntimeConfig

func (fake *FakeDirector) LatestRuntimeConfig(name string) (director.RuntimeConfig, error)

func (*FakeDirector) LatestRuntimeConfigArgsForCall added in v2.0.17

func (fake *FakeDirector) LatestRuntimeConfigArgsForCall(i int) string

func (*FakeDirector) LatestRuntimeConfigCallCount

func (fake *FakeDirector) LatestRuntimeConfigCallCount() int

func (*FakeDirector) LatestRuntimeConfigReturns

func (fake *FakeDirector) LatestRuntimeConfigReturns(result1 director.RuntimeConfig, result2 error)

func (*FakeDirector) LatestRuntimeConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) LatestRuntimeConfigReturnsOnCall(i int, result1 director.RuntimeConfig, result2 error)

func (*FakeDirector) Locks

func (fake *FakeDirector) Locks() ([]director.Lock, error)

func (*FakeDirector) LocksCallCount

func (fake *FakeDirector) LocksCallCount() int

func (*FakeDirector) LocksReturns

func (fake *FakeDirector) LocksReturns(result1 []director.Lock, result2 error)

func (*FakeDirector) LocksReturnsOnCall added in v2.0.34

func (fake *FakeDirector) LocksReturnsOnCall(i int, result1 []director.Lock, result2 error)

func (*FakeDirector) MatchPackages

func (fake *FakeDirector) MatchPackages(manifest interface{}, compiled bool) ([]string, error)

func (*FakeDirector) MatchPackagesArgsForCall

func (fake *FakeDirector) MatchPackagesArgsForCall(i int) (interface{}, bool)

func (*FakeDirector) MatchPackagesCallCount

func (fake *FakeDirector) MatchPackagesCallCount() int

func (*FakeDirector) MatchPackagesReturns

func (fake *FakeDirector) MatchPackagesReturns(result1 []string, result2 error)

func (*FakeDirector) MatchPackagesReturnsOnCall added in v2.0.34

func (fake *FakeDirector) MatchPackagesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeDirector) OrphanDisk added in v2.0.17

func (fake *FakeDirector) OrphanDisk(arg1 string) error

func (*FakeDirector) OrphanDiskArgsForCall added in v2.0.17

func (fake *FakeDirector) OrphanDiskArgsForCall(i int) string

func (*FakeDirector) OrphanDiskCallCount added in v2.0.17

func (fake *FakeDirector) OrphanDiskCallCount() int

func (*FakeDirector) OrphanDiskReturns added in v2.0.17

func (fake *FakeDirector) OrphanDiskReturns(result1 error)

func (*FakeDirector) OrphanDiskReturnsOnCall added in v2.0.34

func (fake *FakeDirector) OrphanDiskReturnsOnCall(i int, result1 error)

func (*FakeDirector) OrphanDisks added in v2.0.17

func (fake *FakeDirector) OrphanDisks() ([]director.OrphanDisk, error)

func (*FakeDirector) OrphanDisksCallCount added in v2.0.17

func (fake *FakeDirector) OrphanDisksCallCount() int

func (*FakeDirector) OrphanDisksReturns added in v2.0.17

func (fake *FakeDirector) OrphanDisksReturns(result1 []director.OrphanDisk, result2 error)

func (*FakeDirector) OrphanDisksReturnsOnCall added in v2.0.34

func (fake *FakeDirector) OrphanDisksReturnsOnCall(i int, result1 []director.OrphanDisk, result2 error)

func (*FakeDirector) RecentTasks

func (fake *FakeDirector) RecentTasks(arg1 int, arg2 director.TasksFilter) ([]director.Task, error)

func (*FakeDirector) RecentTasksArgsForCall

func (fake *FakeDirector) RecentTasksArgsForCall(i int) (int, director.TasksFilter)

func (*FakeDirector) RecentTasksCallCount

func (fake *FakeDirector) RecentTasksCallCount() int

func (*FakeDirector) RecentTasksReturns

func (fake *FakeDirector) RecentTasksReturns(result1 []director.Task, result2 error)

func (*FakeDirector) RecentTasksReturnsOnCall added in v2.0.34

func (fake *FakeDirector) RecentTasksReturnsOnCall(i int, result1 []director.Task, result2 error)

func (*FakeDirector) Releases

func (fake *FakeDirector) Releases() ([]director.Release, error)

func (*FakeDirector) ReleasesCallCount

func (fake *FakeDirector) ReleasesCallCount() int

func (*FakeDirector) ReleasesReturns

func (fake *FakeDirector) ReleasesReturns(result1 []director.Release, result2 error)

func (*FakeDirector) ReleasesReturnsOnCall added in v2.0.34

func (fake *FakeDirector) ReleasesReturnsOnCall(i int, result1 []director.Release, result2 error)

func (*FakeDirector) Stemcells

func (fake *FakeDirector) Stemcells() ([]director.Stemcell, error)

func (*FakeDirector) StemcellsCallCount

func (fake *FakeDirector) StemcellsCallCount() int

func (*FakeDirector) StemcellsReturns

func (fake *FakeDirector) StemcellsReturns(result1 []director.Stemcell, result2 error)

func (*FakeDirector) StemcellsReturnsOnCall added in v2.0.34

func (fake *FakeDirector) StemcellsReturnsOnCall(i int, result1 []director.Stemcell, result2 error)

func (*FakeDirector) UpdateCPIConfig

func (fake *FakeDirector) UpdateCPIConfig(arg1 []byte) error

func (*FakeDirector) UpdateCPIConfigArgsForCall

func (fake *FakeDirector) UpdateCPIConfigArgsForCall(i int) []byte

func (*FakeDirector) UpdateCPIConfigCallCount

func (fake *FakeDirector) UpdateCPIConfigCallCount() int

func (*FakeDirector) UpdateCPIConfigReturns

func (fake *FakeDirector) UpdateCPIConfigReturns(result1 error)

func (*FakeDirector) UpdateCPIConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UpdateCPIConfigReturnsOnCall(i int, result1 error)

func (*FakeDirector) UpdateCloudConfig

func (fake *FakeDirector) UpdateCloudConfig(arg1 []byte) error

func (*FakeDirector) UpdateCloudConfigArgsForCall

func (fake *FakeDirector) UpdateCloudConfigArgsForCall(i int) []byte

func (*FakeDirector) UpdateCloudConfigCallCount

func (fake *FakeDirector) UpdateCloudConfigCallCount() int

func (*FakeDirector) UpdateCloudConfigReturns

func (fake *FakeDirector) UpdateCloudConfigReturns(result1 error)

func (*FakeDirector) UpdateCloudConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UpdateCloudConfigReturnsOnCall(i int, result1 error)

func (*FakeDirector) UpdateRuntimeConfig

func (fake *FakeDirector) UpdateRuntimeConfig(name string, manifest []byte) error

func (*FakeDirector) UpdateRuntimeConfigArgsForCall

func (fake *FakeDirector) UpdateRuntimeConfigArgsForCall(i int) (string, []byte)

func (*FakeDirector) UpdateRuntimeConfigCallCount

func (fake *FakeDirector) UpdateRuntimeConfigCallCount() int

func (*FakeDirector) UpdateRuntimeConfigReturns

func (fake *FakeDirector) UpdateRuntimeConfigReturns(result1 error)

func (*FakeDirector) UpdateRuntimeConfigReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UpdateRuntimeConfigReturnsOnCall(i int, result1 error)

func (*FakeDirector) UploadReleaseFile

func (fake *FakeDirector) UploadReleaseFile(file director.UploadFile, rebase bool, fix bool) error

func (*FakeDirector) UploadReleaseFileArgsForCall

func (fake *FakeDirector) UploadReleaseFileArgsForCall(i int) (director.UploadFile, bool, bool)

func (*FakeDirector) UploadReleaseFileCallCount

func (fake *FakeDirector) UploadReleaseFileCallCount() int

func (*FakeDirector) UploadReleaseFileReturns

func (fake *FakeDirector) UploadReleaseFileReturns(result1 error)

func (*FakeDirector) UploadReleaseFileReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UploadReleaseFileReturnsOnCall(i int, result1 error)

func (*FakeDirector) UploadReleaseURL

func (fake *FakeDirector) UploadReleaseURL(url string, sha1 string, rebase bool, fix bool) error

func (*FakeDirector) UploadReleaseURLArgsForCall

func (fake *FakeDirector) UploadReleaseURLArgsForCall(i int) (string, string, bool, bool)

func (*FakeDirector) UploadReleaseURLCallCount

func (fake *FakeDirector) UploadReleaseURLCallCount() int

func (*FakeDirector) UploadReleaseURLReturns

func (fake *FakeDirector) UploadReleaseURLReturns(result1 error)

func (*FakeDirector) UploadReleaseURLReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UploadReleaseURLReturnsOnCall(i int, result1 error)

func (*FakeDirector) UploadStemcellFile

func (fake *FakeDirector) UploadStemcellFile(file director.UploadFile, fix bool) error

func (*FakeDirector) UploadStemcellFileArgsForCall

func (fake *FakeDirector) UploadStemcellFileArgsForCall(i int) (director.UploadFile, bool)

func (*FakeDirector) UploadStemcellFileCallCount

func (fake *FakeDirector) UploadStemcellFileCallCount() int

func (*FakeDirector) UploadStemcellFileReturns

func (fake *FakeDirector) UploadStemcellFileReturns(result1 error)

func (*FakeDirector) UploadStemcellFileReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UploadStemcellFileReturnsOnCall(i int, result1 error)

func (*FakeDirector) UploadStemcellURL

func (fake *FakeDirector) UploadStemcellURL(url string, sha1 string, fix bool) error

func (*FakeDirector) UploadStemcellURLArgsForCall

func (fake *FakeDirector) UploadStemcellURLArgsForCall(i int) (string, string, bool)

func (*FakeDirector) UploadStemcellURLCallCount

func (fake *FakeDirector) UploadStemcellURLCallCount() int

func (*FakeDirector) UploadStemcellURLReturns

func (fake *FakeDirector) UploadStemcellURLReturns(result1 error)

func (*FakeDirector) UploadStemcellURLReturnsOnCall added in v2.0.34

func (fake *FakeDirector) UploadStemcellURLReturnsOnCall(i int, result1 error)

func (*FakeDirector) WithContext

func (fake *FakeDirector) WithContext(id string) director.Director

func (*FakeDirector) WithContextArgsForCall

func (fake *FakeDirector) WithContextArgsForCall(i int) string

func (*FakeDirector) WithContextCallCount

func (fake *FakeDirector) WithContextCallCount() int

func (*FakeDirector) WithContextReturns

func (fake *FakeDirector) WithContextReturns(result1 director.Director)

func (*FakeDirector) WithContextReturnsOnCall added in v2.0.34

func (fake *FakeDirector) WithContextReturnsOnCall(i int, result1 director.Director)

type FakeEvent

type FakeEvent struct {
	IDStub func() string

	ParentIDStub func() string

	TimestampStub func() time.Time

	UserStub func() string

	ActionStub func() string

	ObjectTypeStub func() string

	ObjectNameStub func() string

	TaskIDStub func() string

	DeploymentNameStub func() string

	InstanceStub func() string

	ContextStub func() map[string]interface{}

	ErrorStub func() string
	// contains filtered or unexported fields
}

func (*FakeEvent) Action

func (fake *FakeEvent) Action() string

func (*FakeEvent) ActionCallCount

func (fake *FakeEvent) ActionCallCount() int

func (*FakeEvent) ActionReturns

func (fake *FakeEvent) ActionReturns(result1 string)

func (*FakeEvent) ActionReturnsOnCall added in v2.0.30

func (fake *FakeEvent) ActionReturnsOnCall(i int, result1 string)

func (*FakeEvent) Context

func (fake *FakeEvent) Context() map[string]interface{}

func (*FakeEvent) ContextCallCount

func (fake *FakeEvent) ContextCallCount() int

func (*FakeEvent) ContextReturns

func (fake *FakeEvent) ContextReturns(result1 map[string]interface{})

func (*FakeEvent) ContextReturnsOnCall added in v2.0.30

func (fake *FakeEvent) ContextReturnsOnCall(i int, result1 map[string]interface{})

func (*FakeEvent) DeploymentName

func (fake *FakeEvent) DeploymentName() string

func (*FakeEvent) DeploymentNameCallCount

func (fake *FakeEvent) DeploymentNameCallCount() int

func (*FakeEvent) DeploymentNameReturns

func (fake *FakeEvent) DeploymentNameReturns(result1 string)

func (*FakeEvent) DeploymentNameReturnsOnCall added in v2.0.30

func (fake *FakeEvent) DeploymentNameReturnsOnCall(i int, result1 string)

func (*FakeEvent) Error

func (fake *FakeEvent) Error() string

func (*FakeEvent) ErrorCallCount

func (fake *FakeEvent) ErrorCallCount() int

func (*FakeEvent) ErrorReturns

func (fake *FakeEvent) ErrorReturns(result1 string)

func (*FakeEvent) ErrorReturnsOnCall added in v2.0.30

func (fake *FakeEvent) ErrorReturnsOnCall(i int, result1 string)

func (*FakeEvent) ID

func (fake *FakeEvent) ID() string

func (*FakeEvent) IDCallCount

func (fake *FakeEvent) IDCallCount() int

func (*FakeEvent) IDReturns

func (fake *FakeEvent) IDReturns(result1 string)

func (*FakeEvent) IDReturnsOnCall added in v2.0.30

func (fake *FakeEvent) IDReturnsOnCall(i int, result1 string)

func (*FakeEvent) Instance

func (fake *FakeEvent) Instance() string

func (*FakeEvent) InstanceCallCount

func (fake *FakeEvent) InstanceCallCount() int

func (*FakeEvent) InstanceReturns

func (fake *FakeEvent) InstanceReturns(result1 string)

func (*FakeEvent) InstanceReturnsOnCall added in v2.0.30

func (fake *FakeEvent) InstanceReturnsOnCall(i int, result1 string)

func (*FakeEvent) Invocations

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

func (*FakeEvent) ObjectName

func (fake *FakeEvent) ObjectName() string

func (*FakeEvent) ObjectNameCallCount

func (fake *FakeEvent) ObjectNameCallCount() int

func (*FakeEvent) ObjectNameReturns

func (fake *FakeEvent) ObjectNameReturns(result1 string)

func (*FakeEvent) ObjectNameReturnsOnCall added in v2.0.30

func (fake *FakeEvent) ObjectNameReturnsOnCall(i int, result1 string)

func (*FakeEvent) ObjectType

func (fake *FakeEvent) ObjectType() string

func (*FakeEvent) ObjectTypeCallCount

func (fake *FakeEvent) ObjectTypeCallCount() int

func (*FakeEvent) ObjectTypeReturns

func (fake *FakeEvent) ObjectTypeReturns(result1 string)

func (*FakeEvent) ObjectTypeReturnsOnCall added in v2.0.30

func (fake *FakeEvent) ObjectTypeReturnsOnCall(i int, result1 string)

func (*FakeEvent) ParentID

func (fake *FakeEvent) ParentID() string

func (*FakeEvent) ParentIDCallCount

func (fake *FakeEvent) ParentIDCallCount() int

func (*FakeEvent) ParentIDReturns

func (fake *FakeEvent) ParentIDReturns(result1 string)

func (*FakeEvent) ParentIDReturnsOnCall added in v2.0.30

func (fake *FakeEvent) ParentIDReturnsOnCall(i int, result1 string)

func (*FakeEvent) TaskID

func (fake *FakeEvent) TaskID() string

func (*FakeEvent) TaskIDCallCount

func (fake *FakeEvent) TaskIDCallCount() int

func (*FakeEvent) TaskIDReturns

func (fake *FakeEvent) TaskIDReturns(result1 string)

func (*FakeEvent) TaskIDReturnsOnCall added in v2.0.30

func (fake *FakeEvent) TaskIDReturnsOnCall(i int, result1 string)

func (*FakeEvent) Timestamp

func (fake *FakeEvent) Timestamp() time.Time

func (*FakeEvent) TimestampCallCount

func (fake *FakeEvent) TimestampCallCount() int

func (*FakeEvent) TimestampReturns

func (fake *FakeEvent) TimestampReturns(result1 time.Time)

func (*FakeEvent) TimestampReturnsOnCall added in v2.0.30

func (fake *FakeEvent) TimestampReturnsOnCall(i int, result1 time.Time)

func (*FakeEvent) User

func (fake *FakeEvent) User() string

func (*FakeEvent) UserCallCount

func (fake *FakeEvent) UserCallCount() int

func (*FakeEvent) UserReturns

func (fake *FakeEvent) UserReturns(result1 string)

func (*FakeEvent) UserReturnsOnCall added in v2.0.30

func (fake *FakeEvent) UserReturnsOnCall(i int, result1 string)

type FakeFileReporter

type FakeFileReporter struct {
	TrackUploadStub func(int64, io.ReadCloser) ui.ReadSeekCloser

	TrackDownloadStub func(int64, io.Writer) io.Writer
	// contains filtered or unexported fields
}

func (*FakeFileReporter) Invocations

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

func (*FakeFileReporter) TrackDownload

func (fake *FakeFileReporter) TrackDownload(arg1 int64, arg2 io.Writer) io.Writer

func (*FakeFileReporter) TrackDownloadArgsForCall

func (fake *FakeFileReporter) TrackDownloadArgsForCall(i int) (int64, io.Writer)

func (*FakeFileReporter) TrackDownloadCallCount

func (fake *FakeFileReporter) TrackDownloadCallCount() int

func (*FakeFileReporter) TrackDownloadReturns

func (fake *FakeFileReporter) TrackDownloadReturns(result1 io.Writer)

func (*FakeFileReporter) TrackDownloadReturnsOnCall added in v2.0.30

func (fake *FakeFileReporter) TrackDownloadReturnsOnCall(i int, result1 io.Writer)

func (*FakeFileReporter) TrackUpload

func (fake *FakeFileReporter) TrackUpload(arg1 int64, arg2 io.ReadCloser) ui.ReadSeekCloser

func (*FakeFileReporter) TrackUploadArgsForCall

func (fake *FakeFileReporter) TrackUploadArgsForCall(i int) (int64, io.ReadCloser)

func (*FakeFileReporter) TrackUploadCallCount

func (fake *FakeFileReporter) TrackUploadCallCount() int

func (*FakeFileReporter) TrackUploadReturns

func (fake *FakeFileReporter) TrackUploadReturns(result1 ui.ReadSeekCloser)

func (*FakeFileReporter) TrackUploadReturnsOnCall added in v2.0.30

func (fake *FakeFileReporter) TrackUploadReturnsOnCall(i int, result1 ui.ReadSeekCloser)

type FakeOrphanDisk added in v2.0.17

type FakeOrphanDisk struct {
	CIDStub func() string

	SizeStub func() uint64

	DeploymentStub func() director.Deployment

	InstanceNameStub func() string

	AZNameStub func() string

	OrphanedAtStub func() time.Time

	DeleteStub func() error
	// contains filtered or unexported fields
}

func (*FakeOrphanDisk) AZName added in v2.0.17

func (fake *FakeOrphanDisk) AZName() string

func (*FakeOrphanDisk) AZNameCallCount added in v2.0.17

func (fake *FakeOrphanDisk) AZNameCallCount() int

func (*FakeOrphanDisk) AZNameReturns added in v2.0.17

func (fake *FakeOrphanDisk) AZNameReturns(result1 string)

func (*FakeOrphanDisk) AZNameReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) AZNameReturnsOnCall(i int, result1 string)

func (*FakeOrphanDisk) CID added in v2.0.17

func (fake *FakeOrphanDisk) CID() string

func (*FakeOrphanDisk) CIDCallCount added in v2.0.17

func (fake *FakeOrphanDisk) CIDCallCount() int

func (*FakeOrphanDisk) CIDReturns added in v2.0.17

func (fake *FakeOrphanDisk) CIDReturns(result1 string)

func (*FakeOrphanDisk) CIDReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) CIDReturnsOnCall(i int, result1 string)

func (*FakeOrphanDisk) Delete added in v2.0.17

func (fake *FakeOrphanDisk) Delete() error

func (*FakeOrphanDisk) DeleteCallCount added in v2.0.17

func (fake *FakeOrphanDisk) DeleteCallCount() int

func (*FakeOrphanDisk) DeleteReturns added in v2.0.17

func (fake *FakeOrphanDisk) DeleteReturns(result1 error)

func (*FakeOrphanDisk) DeleteReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) DeleteReturnsOnCall(i int, result1 error)

func (*FakeOrphanDisk) Deployment added in v2.0.17

func (fake *FakeOrphanDisk) Deployment() director.Deployment

func (*FakeOrphanDisk) DeploymentCallCount added in v2.0.17

func (fake *FakeOrphanDisk) DeploymentCallCount() int

func (*FakeOrphanDisk) DeploymentReturns added in v2.0.17

func (fake *FakeOrphanDisk) DeploymentReturns(result1 director.Deployment)

func (*FakeOrphanDisk) DeploymentReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) DeploymentReturnsOnCall(i int, result1 director.Deployment)

func (*FakeOrphanDisk) InstanceName added in v2.0.17

func (fake *FakeOrphanDisk) InstanceName() string

func (*FakeOrphanDisk) InstanceNameCallCount added in v2.0.17

func (fake *FakeOrphanDisk) InstanceNameCallCount() int

func (*FakeOrphanDisk) InstanceNameReturns added in v2.0.17

func (fake *FakeOrphanDisk) InstanceNameReturns(result1 string)

func (*FakeOrphanDisk) InstanceNameReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) InstanceNameReturnsOnCall(i int, result1 string)

func (*FakeOrphanDisk) Invocations added in v2.0.17

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

func (*FakeOrphanDisk) OrphanedAt added in v2.0.17

func (fake *FakeOrphanDisk) OrphanedAt() time.Time

func (*FakeOrphanDisk) OrphanedAtCallCount added in v2.0.17

func (fake *FakeOrphanDisk) OrphanedAtCallCount() int

func (*FakeOrphanDisk) OrphanedAtReturns added in v2.0.17

func (fake *FakeOrphanDisk) OrphanedAtReturns(result1 time.Time)

func (*FakeOrphanDisk) OrphanedAtReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) OrphanedAtReturnsOnCall(i int, result1 time.Time)

func (*FakeOrphanDisk) Size added in v2.0.17

func (fake *FakeOrphanDisk) Size() uint64

func (*FakeOrphanDisk) SizeCallCount added in v2.0.17

func (fake *FakeOrphanDisk) SizeCallCount() int

func (*FakeOrphanDisk) SizeReturns added in v2.0.17

func (fake *FakeOrphanDisk) SizeReturns(result1 uint64)

func (*FakeOrphanDisk) SizeReturnsOnCall added in v2.0.30

func (fake *FakeOrphanDisk) SizeReturnsOnCall(i int, result1 uint64)

type FakeRelease

type FakeRelease struct {
	NameStub func() string

	VersionStub func() semver.Version

	VersionMarkStub func(mark string) string

	CommitHashWithMarkStub func(mark string) string

	JobsStub func() ([]director.Job, error)

	PackagesStub func() ([]director.Package, error)

	DeleteStub func(force bool) error
	// contains filtered or unexported fields
}

func (*FakeRelease) CommitHashWithMark

func (fake *FakeRelease) CommitHashWithMark(mark string) string

func (*FakeRelease) CommitHashWithMarkArgsForCall

func (fake *FakeRelease) CommitHashWithMarkArgsForCall(i int) string

func (*FakeRelease) CommitHashWithMarkCallCount

func (fake *FakeRelease) CommitHashWithMarkCallCount() int

func (*FakeRelease) CommitHashWithMarkReturns

func (fake *FakeRelease) CommitHashWithMarkReturns(result1 string)

func (*FakeRelease) CommitHashWithMarkReturnsOnCall added in v2.0.30

func (fake *FakeRelease) CommitHashWithMarkReturnsOnCall(i int, result1 string)

func (*FakeRelease) Delete

func (fake *FakeRelease) Delete(force bool) error

func (*FakeRelease) DeleteArgsForCall

func (fake *FakeRelease) DeleteArgsForCall(i int) bool

func (*FakeRelease) DeleteCallCount

func (fake *FakeRelease) DeleteCallCount() int

func (*FakeRelease) DeleteReturns

func (fake *FakeRelease) DeleteReturns(result1 error)

func (*FakeRelease) DeleteReturnsOnCall added in v2.0.30

func (fake *FakeRelease) DeleteReturnsOnCall(i int, result1 error)

func (*FakeRelease) Invocations

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

func (*FakeRelease) Jobs

func (fake *FakeRelease) Jobs() ([]director.Job, error)

func (*FakeRelease) JobsCallCount

func (fake *FakeRelease) JobsCallCount() int

func (*FakeRelease) JobsReturns

func (fake *FakeRelease) JobsReturns(result1 []director.Job, result2 error)

func (*FakeRelease) JobsReturnsOnCall added in v2.0.30

func (fake *FakeRelease) JobsReturnsOnCall(i int, result1 []director.Job, result2 error)

func (*FakeRelease) Name

func (fake *FakeRelease) Name() string

func (*FakeRelease) NameCallCount

func (fake *FakeRelease) NameCallCount() int

func (*FakeRelease) NameReturns

func (fake *FakeRelease) NameReturns(result1 string)

func (*FakeRelease) NameReturnsOnCall added in v2.0.30

func (fake *FakeRelease) NameReturnsOnCall(i int, result1 string)

func (*FakeRelease) Packages

func (fake *FakeRelease) Packages() ([]director.Package, error)

func (*FakeRelease) PackagesCallCount

func (fake *FakeRelease) PackagesCallCount() int

func (*FakeRelease) PackagesReturns

func (fake *FakeRelease) PackagesReturns(result1 []director.Package, result2 error)

func (*FakeRelease) PackagesReturnsOnCall added in v2.0.30

func (fake *FakeRelease) PackagesReturnsOnCall(i int, result1 []director.Package, result2 error)

func (*FakeRelease) Version

func (fake *FakeRelease) Version() semver.Version

func (*FakeRelease) VersionCallCount

func (fake *FakeRelease) VersionCallCount() int

func (*FakeRelease) VersionMark

func (fake *FakeRelease) VersionMark(mark string) string

func (*FakeRelease) VersionMarkArgsForCall

func (fake *FakeRelease) VersionMarkArgsForCall(i int) string

func (*FakeRelease) VersionMarkCallCount

func (fake *FakeRelease) VersionMarkCallCount() int

func (*FakeRelease) VersionMarkReturns

func (fake *FakeRelease) VersionMarkReturns(result1 string)

func (*FakeRelease) VersionMarkReturnsOnCall added in v2.0.30

func (fake *FakeRelease) VersionMarkReturnsOnCall(i int, result1 string)

func (*FakeRelease) VersionReturns

func (fake *FakeRelease) VersionReturns(result1 semver.Version)

func (*FakeRelease) VersionReturnsOnCall added in v2.0.30

func (fake *FakeRelease) VersionReturnsOnCall(i int, result1 semver.Version)

type FakeReleaseArchive

type FakeReleaseArchive struct {
	InfoStub func() (string, string, error)

	FileStub func() (director.UploadFile, error)
	// contains filtered or unexported fields
}

func (*FakeReleaseArchive) File

func (fake *FakeReleaseArchive) File() (director.UploadFile, error)

func (*FakeReleaseArchive) FileCallCount

func (fake *FakeReleaseArchive) FileCallCount() int

func (*FakeReleaseArchive) FileReturns

func (fake *FakeReleaseArchive) FileReturns(result1 director.UploadFile, result2 error)

func (*FakeReleaseArchive) FileReturnsOnCall added in v2.0.30

func (fake *FakeReleaseArchive) FileReturnsOnCall(i int, result1 director.UploadFile, result2 error)

func (*FakeReleaseArchive) Info

func (fake *FakeReleaseArchive) Info() (string, string, error)

func (*FakeReleaseArchive) InfoCallCount

func (fake *FakeReleaseArchive) InfoCallCount() int

func (*FakeReleaseArchive) InfoReturns

func (fake *FakeReleaseArchive) InfoReturns(result1 string, result2 string, result3 error)

func (*FakeReleaseArchive) InfoReturnsOnCall added in v2.0.30

func (fake *FakeReleaseArchive) InfoReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*FakeReleaseArchive) Invocations

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

type FakeReleaseSeries

type FakeReleaseSeries struct {
	NameStub func() string

	DeleteStub func(force bool) error
	// contains filtered or unexported fields
}

func (*FakeReleaseSeries) Delete

func (fake *FakeReleaseSeries) Delete(force bool) error

func (*FakeReleaseSeries) DeleteArgsForCall

func (fake *FakeReleaseSeries) DeleteArgsForCall(i int) bool

func (*FakeReleaseSeries) DeleteCallCount

func (fake *FakeReleaseSeries) DeleteCallCount() int

func (*FakeReleaseSeries) DeleteReturns

func (fake *FakeReleaseSeries) DeleteReturns(result1 error)

func (*FakeReleaseSeries) DeleteReturnsOnCall added in v2.0.30

func (fake *FakeReleaseSeries) DeleteReturnsOnCall(i int, result1 error)

func (*FakeReleaseSeries) Invocations

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

func (*FakeReleaseSeries) Name

func (fake *FakeReleaseSeries) Name() string

func (*FakeReleaseSeries) NameCallCount

func (fake *FakeReleaseSeries) NameCallCount() int

func (*FakeReleaseSeries) NameReturns

func (fake *FakeReleaseSeries) NameReturns(result1 string)

func (*FakeReleaseSeries) NameReturnsOnCall added in v2.0.30

func (fake *FakeReleaseSeries) NameReturnsOnCall(i int, result1 string)

type FakeStemcell

type FakeStemcell struct {
	NameStub func() string

	VersionStub func() semver.Version

	VersionMarkStub func(mark string) string

	OSNameStub func() string

	CPIStub func() string

	CIDStub func() string

	DeleteStub func(force bool) error
	// contains filtered or unexported fields
}

func (*FakeStemcell) CID

func (fake *FakeStemcell) CID() string

func (*FakeStemcell) CIDCallCount

func (fake *FakeStemcell) CIDCallCount() int

func (*FakeStemcell) CIDReturns

func (fake *FakeStemcell) CIDReturns(result1 string)

func (*FakeStemcell) CIDReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) CIDReturnsOnCall(i int, result1 string)

func (*FakeStemcell) CPI

func (fake *FakeStemcell) CPI() string

func (*FakeStemcell) CPICallCount

func (fake *FakeStemcell) CPICallCount() int

func (*FakeStemcell) CPIReturns

func (fake *FakeStemcell) CPIReturns(result1 string)

func (*FakeStemcell) CPIReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) CPIReturnsOnCall(i int, result1 string)

func (*FakeStemcell) Delete

func (fake *FakeStemcell) Delete(force bool) error

func (*FakeStemcell) DeleteArgsForCall

func (fake *FakeStemcell) DeleteArgsForCall(i int) bool

func (*FakeStemcell) DeleteCallCount

func (fake *FakeStemcell) DeleteCallCount() int

func (*FakeStemcell) DeleteReturns

func (fake *FakeStemcell) DeleteReturns(result1 error)

func (*FakeStemcell) DeleteReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) DeleteReturnsOnCall(i int, result1 error)

func (*FakeStemcell) Invocations

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

func (*FakeStemcell) Name

func (fake *FakeStemcell) Name() string

func (*FakeStemcell) NameCallCount

func (fake *FakeStemcell) NameCallCount() int

func (*FakeStemcell) NameReturns

func (fake *FakeStemcell) NameReturns(result1 string)

func (*FakeStemcell) NameReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) NameReturnsOnCall(i int, result1 string)

func (*FakeStemcell) OSName

func (fake *FakeStemcell) OSName() string

func (*FakeStemcell) OSNameCallCount

func (fake *FakeStemcell) OSNameCallCount() int

func (*FakeStemcell) OSNameReturns

func (fake *FakeStemcell) OSNameReturns(result1 string)

func (*FakeStemcell) OSNameReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) OSNameReturnsOnCall(i int, result1 string)

func (*FakeStemcell) Version

func (fake *FakeStemcell) Version() semver.Version

func (*FakeStemcell) VersionCallCount

func (fake *FakeStemcell) VersionCallCount() int

func (*FakeStemcell) VersionMark

func (fake *FakeStemcell) VersionMark(mark string) string

func (*FakeStemcell) VersionMarkArgsForCall

func (fake *FakeStemcell) VersionMarkArgsForCall(i int) string

func (*FakeStemcell) VersionMarkCallCount

func (fake *FakeStemcell) VersionMarkCallCount() int

func (*FakeStemcell) VersionMarkReturns

func (fake *FakeStemcell) VersionMarkReturns(result1 string)

func (*FakeStemcell) VersionMarkReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) VersionMarkReturnsOnCall(i int, result1 string)

func (*FakeStemcell) VersionReturns

func (fake *FakeStemcell) VersionReturns(result1 semver.Version)

func (*FakeStemcell) VersionReturnsOnCall added in v2.0.30

func (fake *FakeStemcell) VersionReturnsOnCall(i int, result1 semver.Version)

type FakeStemcellArchive

type FakeStemcellArchive struct {
	InfoStub func() (string, string, error)

	FileStub func() (director.UploadFile, error)
	// contains filtered or unexported fields
}

func (*FakeStemcellArchive) File

func (fake *FakeStemcellArchive) File() (director.UploadFile, error)

func (*FakeStemcellArchive) FileCallCount

func (fake *FakeStemcellArchive) FileCallCount() int

func (*FakeStemcellArchive) FileReturns

func (fake *FakeStemcellArchive) FileReturns(result1 director.UploadFile, result2 error)

func (*FakeStemcellArchive) FileReturnsOnCall added in v2.0.30

func (fake *FakeStemcellArchive) FileReturnsOnCall(i int, result1 director.UploadFile, result2 error)

func (*FakeStemcellArchive) Info

func (fake *FakeStemcellArchive) Info() (string, string, error)

func (*FakeStemcellArchive) InfoCallCount

func (fake *FakeStemcellArchive) InfoCallCount() int

func (*FakeStemcellArchive) InfoReturns

func (fake *FakeStemcellArchive) InfoReturns(result1 string, result2 string, result3 error)

func (*FakeStemcellArchive) InfoReturnsOnCall added in v2.0.30

func (fake *FakeStemcellArchive) InfoReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*FakeStemcellArchive) Invocations

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

type FakeTask

type FakeTask struct {
	IDStub func() int

	StartedAtStub func() time.Time

	LastActivityAtStub func() time.Time

	StateStub func() string

	IsErrorStub func() bool

	UserStub func() string

	DeploymentNameStub func() string

	ContextIDStub func() string

	DescriptionStub func() string

	ResultStub func() string

	EventOutputStub func(director.TaskReporter) error

	CPIOutputStub func(director.TaskReporter) error

	DebugOutputStub func(director.TaskReporter) error

	ResultOutputStub func(director.TaskReporter) error

	CancelStub func() error
	// contains filtered or unexported fields
}

func (*FakeTask) CPIOutput

func (fake *FakeTask) CPIOutput(arg1 director.TaskReporter) error

func (*FakeTask) CPIOutputArgsForCall

func (fake *FakeTask) CPIOutputArgsForCall(i int) director.TaskReporter

func (*FakeTask) CPIOutputCallCount

func (fake *FakeTask) CPIOutputCallCount() int

func (*FakeTask) CPIOutputReturns

func (fake *FakeTask) CPIOutputReturns(result1 error)

func (*FakeTask) CPIOutputReturnsOnCall added in v2.0.30

func (fake *FakeTask) CPIOutputReturnsOnCall(i int, result1 error)

func (*FakeTask) Cancel

func (fake *FakeTask) Cancel() error

func (*FakeTask) CancelCallCount

func (fake *FakeTask) CancelCallCount() int

func (*FakeTask) CancelReturns

func (fake *FakeTask) CancelReturns(result1 error)

func (*FakeTask) CancelReturnsOnCall added in v2.0.30

func (fake *FakeTask) CancelReturnsOnCall(i int, result1 error)

func (*FakeTask) ContextID

func (fake *FakeTask) ContextID() string

func (*FakeTask) ContextIDCallCount

func (fake *FakeTask) ContextIDCallCount() int

func (*FakeTask) ContextIDReturns

func (fake *FakeTask) ContextIDReturns(result1 string)

func (*FakeTask) ContextIDReturnsOnCall added in v2.0.30

func (fake *FakeTask) ContextIDReturnsOnCall(i int, result1 string)

func (*FakeTask) DebugOutput

func (fake *FakeTask) DebugOutput(arg1 director.TaskReporter) error

func (*FakeTask) DebugOutputArgsForCall

func (fake *FakeTask) DebugOutputArgsForCall(i int) director.TaskReporter

func (*FakeTask) DebugOutputCallCount

func (fake *FakeTask) DebugOutputCallCount() int

func (*FakeTask) DebugOutputReturns

func (fake *FakeTask) DebugOutputReturns(result1 error)

func (*FakeTask) DebugOutputReturnsOnCall added in v2.0.30

func (fake *FakeTask) DebugOutputReturnsOnCall(i int, result1 error)

func (*FakeTask) DeploymentName

func (fake *FakeTask) DeploymentName() string

func (*FakeTask) DeploymentNameCallCount

func (fake *FakeTask) DeploymentNameCallCount() int

func (*FakeTask) DeploymentNameReturns

func (fake *FakeTask) DeploymentNameReturns(result1 string)

func (*FakeTask) DeploymentNameReturnsOnCall added in v2.0.30

func (fake *FakeTask) DeploymentNameReturnsOnCall(i int, result1 string)

func (*FakeTask) Description

func (fake *FakeTask) Description() string

func (*FakeTask) DescriptionCallCount

func (fake *FakeTask) DescriptionCallCount() int

func (*FakeTask) DescriptionReturns

func (fake *FakeTask) DescriptionReturns(result1 string)

func (*FakeTask) DescriptionReturnsOnCall added in v2.0.30

func (fake *FakeTask) DescriptionReturnsOnCall(i int, result1 string)

func (*FakeTask) EventOutput

func (fake *FakeTask) EventOutput(arg1 director.TaskReporter) error

func (*FakeTask) EventOutputArgsForCall

func (fake *FakeTask) EventOutputArgsForCall(i int) director.TaskReporter

func (*FakeTask) EventOutputCallCount

func (fake *FakeTask) EventOutputCallCount() int

func (*FakeTask) EventOutputReturns

func (fake *FakeTask) EventOutputReturns(result1 error)

func (*FakeTask) EventOutputReturnsOnCall added in v2.0.30

func (fake *FakeTask) EventOutputReturnsOnCall(i int, result1 error)

func (*FakeTask) ID

func (fake *FakeTask) ID() int

func (*FakeTask) IDCallCount

func (fake *FakeTask) IDCallCount() int

func (*FakeTask) IDReturns

func (fake *FakeTask) IDReturns(result1 int)

func (*FakeTask) IDReturnsOnCall added in v2.0.30

func (fake *FakeTask) IDReturnsOnCall(i int, result1 int)

func (*FakeTask) Invocations

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

func (*FakeTask) IsError

func (fake *FakeTask) IsError() bool

func (*FakeTask) IsErrorCallCount

func (fake *FakeTask) IsErrorCallCount() int

func (*FakeTask) IsErrorReturns

func (fake *FakeTask) IsErrorReturns(result1 bool)

func (*FakeTask) IsErrorReturnsOnCall added in v2.0.30

func (fake *FakeTask) IsErrorReturnsOnCall(i int, result1 bool)

func (*FakeTask) LastActivityAt

func (fake *FakeTask) LastActivityAt() time.Time

func (*FakeTask) LastActivityAtCallCount

func (fake *FakeTask) LastActivityAtCallCount() int

func (*FakeTask) LastActivityAtReturns

func (fake *FakeTask) LastActivityAtReturns(result1 time.Time)

func (*FakeTask) LastActivityAtReturnsOnCall added in v2.0.30

func (fake *FakeTask) LastActivityAtReturnsOnCall(i int, result1 time.Time)

func (*FakeTask) Result

func (fake *FakeTask) Result() string

func (*FakeTask) ResultCallCount

func (fake *FakeTask) ResultCallCount() int

func (*FakeTask) ResultOutput

func (fake *FakeTask) ResultOutput(arg1 director.TaskReporter) error

func (*FakeTask) ResultOutputArgsForCall

func (fake *FakeTask) ResultOutputArgsForCall(i int) director.TaskReporter

func (*FakeTask) ResultOutputCallCount

func (fake *FakeTask) ResultOutputCallCount() int

func (*FakeTask) ResultOutputReturns

func (fake *FakeTask) ResultOutputReturns(result1 error)

func (*FakeTask) ResultOutputReturnsOnCall added in v2.0.30

func (fake *FakeTask) ResultOutputReturnsOnCall(i int, result1 error)

func (*FakeTask) ResultReturns

func (fake *FakeTask) ResultReturns(result1 string)

func (*FakeTask) ResultReturnsOnCall added in v2.0.30

func (fake *FakeTask) ResultReturnsOnCall(i int, result1 string)

func (*FakeTask) StartedAt

func (fake *FakeTask) StartedAt() time.Time

func (*FakeTask) StartedAtCallCount

func (fake *FakeTask) StartedAtCallCount() int

func (*FakeTask) StartedAtReturns

func (fake *FakeTask) StartedAtReturns(result1 time.Time)

func (*FakeTask) StartedAtReturnsOnCall added in v2.0.30

func (fake *FakeTask) StartedAtReturnsOnCall(i int, result1 time.Time)

func (*FakeTask) State

func (fake *FakeTask) State() string

func (*FakeTask) StateCallCount

func (fake *FakeTask) StateCallCount() int

func (*FakeTask) StateReturns

func (fake *FakeTask) StateReturns(result1 string)

func (*FakeTask) StateReturnsOnCall added in v2.0.30

func (fake *FakeTask) StateReturnsOnCall(i int, result1 string)

func (*FakeTask) User

func (fake *FakeTask) User() string

func (*FakeTask) UserCallCount

func (fake *FakeTask) UserCallCount() int

func (*FakeTask) UserReturns

func (fake *FakeTask) UserReturns(result1 string)

func (*FakeTask) UserReturnsOnCall added in v2.0.30

func (fake *FakeTask) UserReturnsOnCall(i int, result1 string)

type FakeTaskReporter

type FakeTaskReporter struct {
	TaskStartedStub func(int)

	TaskFinishedStub func(int, string)

	TaskOutputChunkStub func(int, []byte)
	// contains filtered or unexported fields
}

func (*FakeTaskReporter) Invocations

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

func (*FakeTaskReporter) TaskFinished

func (fake *FakeTaskReporter) TaskFinished(arg1 int, arg2 string)

func (*FakeTaskReporter) TaskFinishedArgsForCall

func (fake *FakeTaskReporter) TaskFinishedArgsForCall(i int) (int, string)

func (*FakeTaskReporter) TaskFinishedCallCount

func (fake *FakeTaskReporter) TaskFinishedCallCount() int

func (*FakeTaskReporter) TaskOutputChunk

func (fake *FakeTaskReporter) TaskOutputChunk(arg1 int, arg2 []byte)

func (*FakeTaskReporter) TaskOutputChunkArgsForCall

func (fake *FakeTaskReporter) TaskOutputChunkArgsForCall(i int) (int, []byte)

func (*FakeTaskReporter) TaskOutputChunkCallCount

func (fake *FakeTaskReporter) TaskOutputChunkCallCount() int

func (*FakeTaskReporter) TaskStarted

func (fake *FakeTaskReporter) TaskStarted(arg1 int)

func (*FakeTaskReporter) TaskStartedArgsForCall

func (fake *FakeTaskReporter) TaskStartedArgsForCall(i int) int

func (*FakeTaskReporter) TaskStartedCallCount

func (fake *FakeTaskReporter) TaskStartedCallCount() int

type LogCallArgs

type LogCallArgs struct {
	LogLevel string
	Tag      string
	Msg      string
	Args     []string
}

type Logger

type Logger struct {
	LogCallArgs *[]LogCallArgs
}

func NewFakeLogger

func NewFakeLogger(logCalls *[]LogCallArgs) Logger

func (Logger) Debug

func (l Logger) Debug(tag, msg string, args ...interface{})

func (Logger) DebugWithDetails

func (l Logger) DebugWithDetails(tag, msg string, args ...interface{})

func (Logger) Error

func (l Logger) Error(tag, msg string, args ...interface{})

func (Logger) ErrorWithDetails

func (l Logger) ErrorWithDetails(tag, msg string, args ...interface{})

func (Logger) Flush

func (l Logger) Flush() error

func (Logger) FlushTimeout

func (l Logger) FlushTimeout(time.Duration) error

func (Logger) HandlePanic

func (l Logger) HandlePanic(tag string)

func (Logger) Info

func (l Logger) Info(tag, msg string, args ...interface{})

func (Logger) ToggleForcedDebug

func (l Logger) ToggleForcedDebug()

func (Logger) Warn

func (l Logger) Warn(tag, msg string, args ...interface{})

Jump to

Keyboard shortcuts

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