directorfakes

package
v2.0.15+incompatible Latest Latest
Warning

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

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

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

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

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) (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.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 added in v0.0.105

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

func (*FakeDeployment) AttachDiskArgsForCall added in v0.0.105

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

func (*FakeDeployment) AttachDiskCallCount added in v0.0.105

func (fake *FakeDeployment) AttachDiskCallCount() int

func (*FakeDeployment) AttachDiskReturns added in v0.0.105

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)

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

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

func (*FakeDeployment) InstancesCallCount added in v0.0.149

func (fake *FakeDeployment) InstancesCallCount() int

func (*FakeDeployment) InstancesReturns added in v0.0.149

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) ([]director.ErrandResult, error)

func (*FakeDeployment) RunErrandArgsForCall

func (fake *FakeDeployment) RunErrandArgsForCall(i int) (string, bool, bool)

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

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

func (*FakeDeployment) TeamsCallCount

func (fake *FakeDeployment) TeamsCallCount() int

func (*FakeDeployment) TeamsReturns

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

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

func (*FakeDeployment) VariablesCallCount added in v0.0.136

func (fake *FakeDeployment) VariablesCallCount() int

func (*FakeDeployment) VariablesReturns added in v0.0.136

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

	LatestCPIConfigStub func() (director.CPIConfig, error)

	UpdateCPIConfigStub func([]byte) error

	LatestRuntimeConfigStub func() (director.RuntimeConfig, error)

	UpdateRuntimeConfigStub func([]byte) error

	FindOrphanedDiskStub func(string) (director.OrphanedDisk, error)

	OrphanedDisksStub func() ([]director.OrphanedDisk, 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) 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) 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) 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) 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) Event

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

func (*FakeDirector) EventArgsForCall

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

func (*FakeDirector) EventCallCount

func (fake *FakeDirector) EventCallCount() int

func (*FakeDirector) EventReturns

func (fake *FakeDirector) EventReturns(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) 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) FindOrphanedDisk

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

func (*FakeDirector) FindOrphanedDiskArgsForCall

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

func (*FakeDirector) FindOrphanedDiskCallCount

func (fake *FakeDirector) FindOrphanedDiskCallCount() int

func (*FakeDirector) FindOrphanedDiskReturns

func (fake *FakeDirector) FindOrphanedDiskReturns(result1 director.OrphanedDisk, 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) 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) 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) 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) FindTasksByContextId added in v0.0.143

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

func (*FakeDirector) FindTasksByContextIdArgsForCall added in v0.0.143

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

func (*FakeDirector) FindTasksByContextIdCallCount added in v0.0.143

func (fake *FakeDirector) FindTasksByContextIdCallCount() int

func (*FakeDirector) FindTasksByContextIdReturns added in v0.0.143

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

func (*FakeDirector) HasRelease

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

func (*FakeDirector) HasReleaseArgsForCall

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

func (*FakeDirector) HasReleaseCallCount

func (fake *FakeDirector) HasReleaseCallCount() int

func (*FakeDirector) HasReleaseReturns

func (fake *FakeDirector) HasReleaseReturns(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) 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) 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) LatestCPIConfig added in v0.0.105

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

func (*FakeDirector) LatestCPIConfigCallCount added in v0.0.105

func (fake *FakeDirector) LatestCPIConfigCallCount() int

func (*FakeDirector) LatestCPIConfigReturns added in v0.0.105

func (fake *FakeDirector) LatestCPIConfigReturns(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) LatestRuntimeConfig

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

func (*FakeDirector) LatestRuntimeConfigCallCount

func (fake *FakeDirector) LatestRuntimeConfigCallCount() int

func (*FakeDirector) LatestRuntimeConfigReturns

func (fake *FakeDirector) LatestRuntimeConfigReturns(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) 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) OrphanedDisks

func (fake *FakeDirector) OrphanedDisks() ([]director.OrphanedDisk, error)

func (*FakeDirector) OrphanedDisksCallCount

func (fake *FakeDirector) OrphanedDisksCallCount() int

func (*FakeDirector) OrphanedDisksReturns

func (fake *FakeDirector) OrphanedDisksReturns(result1 []director.OrphanedDisk, 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) 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) 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) UpdateCPIConfig added in v0.0.105

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

func (*FakeDirector) UpdateCPIConfigArgsForCall added in v0.0.105

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

func (*FakeDirector) UpdateCPIConfigCallCount added in v0.0.105

func (fake *FakeDirector) UpdateCPIConfigCallCount() int

func (*FakeDirector) UpdateCPIConfigReturns added in v0.0.105

func (fake *FakeDirector) UpdateCPIConfigReturns(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) UpdateRuntimeConfig

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

func (*FakeDirector) UpdateRuntimeConfigArgsForCall

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

func (*FakeDirector) UpdateRuntimeConfigCallCount

func (fake *FakeDirector) UpdateRuntimeConfigCallCount() int

func (*FakeDirector) UpdateRuntimeConfigReturns

func (fake *FakeDirector) UpdateRuntimeConfigReturns(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) 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) 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) 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) WithContext added in v0.0.143

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

func (*FakeDirector) WithContextArgsForCall added in v0.0.143

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

func (*FakeDirector) WithContextCallCount added in v0.0.143

func (fake *FakeDirector) WithContextCallCount() int

func (*FakeDirector) WithContextReturns added in v0.0.143

func (fake *FakeDirector) WithContextReturns(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) 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) 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) Error added in v0.0.111

func (fake *FakeEvent) Error() string

func (*FakeEvent) ErrorCallCount added in v0.0.111

func (fake *FakeEvent) ErrorCallCount() int

func (*FakeEvent) ErrorReturns added in v0.0.111

func (fake *FakeEvent) ErrorReturns(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) 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) 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) 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) 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) 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) 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) User

func (fake *FakeEvent) User() string

func (*FakeEvent) UserCallCount

func (fake *FakeEvent) UserCallCount() int

func (*FakeEvent) UserReturns

func (fake *FakeEvent) UserReturns(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) 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)

type FakeOrphanedDisk

type FakeOrphanedDisk 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 (*FakeOrphanedDisk) AZName

func (fake *FakeOrphanedDisk) AZName() string

func (*FakeOrphanedDisk) AZNameCallCount

func (fake *FakeOrphanedDisk) AZNameCallCount() int

func (*FakeOrphanedDisk) AZNameReturns

func (fake *FakeOrphanedDisk) AZNameReturns(result1 string)

func (*FakeOrphanedDisk) CID

func (fake *FakeOrphanedDisk) CID() string

func (*FakeOrphanedDisk) CIDCallCount

func (fake *FakeOrphanedDisk) CIDCallCount() int

func (*FakeOrphanedDisk) CIDReturns

func (fake *FakeOrphanedDisk) CIDReturns(result1 string)

func (*FakeOrphanedDisk) Delete

func (fake *FakeOrphanedDisk) Delete() error

func (*FakeOrphanedDisk) DeleteCallCount

func (fake *FakeOrphanedDisk) DeleteCallCount() int

func (*FakeOrphanedDisk) DeleteReturns

func (fake *FakeOrphanedDisk) DeleteReturns(result1 error)

func (*FakeOrphanedDisk) Deployment

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

func (*FakeOrphanedDisk) DeploymentCallCount

func (fake *FakeOrphanedDisk) DeploymentCallCount() int

func (*FakeOrphanedDisk) DeploymentReturns

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

func (*FakeOrphanedDisk) InstanceName

func (fake *FakeOrphanedDisk) InstanceName() string

func (*FakeOrphanedDisk) InstanceNameCallCount

func (fake *FakeOrphanedDisk) InstanceNameCallCount() int

func (*FakeOrphanedDisk) InstanceNameReturns

func (fake *FakeOrphanedDisk) InstanceNameReturns(result1 string)

func (*FakeOrphanedDisk) Invocations

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

func (*FakeOrphanedDisk) OrphanedAt

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

func (*FakeOrphanedDisk) OrphanedAtCallCount

func (fake *FakeOrphanedDisk) OrphanedAtCallCount() int

func (*FakeOrphanedDisk) OrphanedAtReturns

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

func (*FakeOrphanedDisk) Size

func (fake *FakeOrphanedDisk) Size() uint64

func (*FakeOrphanedDisk) SizeCallCount

func (fake *FakeOrphanedDisk) SizeCallCount() int

func (*FakeOrphanedDisk) SizeReturns

func (fake *FakeOrphanedDisk) SizeReturns(result1 uint64)

type FakeRelease

type FakeRelease struct {
	NameStub func() string

	VersionStub func() version.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) 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) 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) 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) 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) Version

func (fake *FakeRelease) Version() version.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) VersionReturns

func (fake *FakeRelease) VersionReturns(result1 version.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) 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) 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) 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)

type FakeStemcell

type FakeStemcell struct {
	NameStub func() string

	VersionStub func() version.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) CPI added in v0.0.108

func (fake *FakeStemcell) CPI() string

func (*FakeStemcell) CPICallCount added in v0.0.108

func (fake *FakeStemcell) CPICallCount() int

func (*FakeStemcell) CPIReturns added in v0.0.108

func (fake *FakeStemcell) CPIReturns(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) 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) 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) Version

func (fake *FakeStemcell) Version() version.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) VersionReturns

func (fake *FakeStemcell) VersionReturns(result1 version.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) 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) 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) 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) ContextID added in v0.0.143

func (fake *FakeTask) ContextID() string

func (*FakeTask) ContextIDCallCount added in v0.0.143

func (fake *FakeTask) ContextIDCallCount() int

func (*FakeTask) ContextIDReturns added in v0.0.143

func (fake *FakeTask) ContextIDReturns(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) 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) 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) 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) 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) 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) 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) 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) ResultReturns

func (fake *FakeTask) ResultReturns(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) 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) User

func (fake *FakeTask) User() string

func (*FakeTask) UserCallCount

func (fake *FakeTask) UserCallCount() int

func (*FakeTask) UserReturns

func (fake *FakeTask) UserReturns(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