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 ¶
- type FakeAdjustedClient
- func (fake *FakeAdjustedClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeAdjustedClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeAdjustedClient) DoCallCount() int
- func (fake *FakeAdjustedClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeAdjustedClient) Invocations() map[string][][]interface{}
- type FakeAdjustment
- func (fake *FakeAdjustment) Adjust(req *http.Request, retried bool) error
- func (fake *FakeAdjustment) AdjustArgsForCall(i int) (*http.Request, bool)
- func (fake *FakeAdjustment) AdjustCallCount() int
- func (fake *FakeAdjustment) AdjustReturns(result1 error)
- func (fake *FakeAdjustment) Invocations() map[string][][]interface{}
- func (fake *FakeAdjustment) NeedsReadjustment(arg1 *http.Response) bool
- func (fake *FakeAdjustment) NeedsReadjustmentArgsForCall(i int) *http.Response
- func (fake *FakeAdjustment) NeedsReadjustmentCallCount() int
- func (fake *FakeAdjustment) NeedsReadjustmentReturns(result1 bool)
- type FakeDeployment
- func (fake *FakeDeployment) AttachDisk(slug director.InstanceSlug, diskCID string) error
- func (fake *FakeDeployment) AttachDiskArgsForCall(i int) (director.InstanceSlug, string)
- func (fake *FakeDeployment) AttachDiskCallCount() int
- func (fake *FakeDeployment) AttachDiskReturns(result1 error)
- func (fake *FakeDeployment) CleanUpSSH(arg1 director.AllOrInstanceGroupOrInstanceSlug, arg2 director.SSHOpts) error
- func (fake *FakeDeployment) CleanUpSSHArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts)
- func (fake *FakeDeployment) CleanUpSSHCallCount() int
- func (fake *FakeDeployment) CleanUpSSHReturns(result1 error)
- func (fake *FakeDeployment) CloudConfig() (string, error)
- func (fake *FakeDeployment) CloudConfigCallCount() int
- func (fake *FakeDeployment) CloudConfigReturns(result1 string, result2 error)
- func (fake *FakeDeployment) Delete(force bool) error
- func (fake *FakeDeployment) DeleteArgsForCall(i int) bool
- func (fake *FakeDeployment) DeleteCallCount() int
- func (fake *FakeDeployment) DeleteReturns(result1 error)
- func (fake *FakeDeployment) DeleteSnapshot(arg1 string) error
- func (fake *FakeDeployment) DeleteSnapshotArgsForCall(i int) string
- func (fake *FakeDeployment) DeleteSnapshotCallCount() int
- func (fake *FakeDeployment) DeleteSnapshotReturns(result1 error)
- func (fake *FakeDeployment) DeleteSnapshots() error
- func (fake *FakeDeployment) DeleteSnapshotsCallCount() int
- func (fake *FakeDeployment) DeleteSnapshotsReturns(result1 error)
- func (fake *FakeDeployment) DeleteVM(arg1 string) error
- func (fake *FakeDeployment) DeleteVMArgsForCall(i int) string
- func (fake *FakeDeployment) DeleteVMCallCount() int
- func (fake *FakeDeployment) DeleteVMReturns(result1 error)
- func (fake *FakeDeployment) Diff(arg1 []byte, arg2 bool) (director.DeploymentDiff, error)
- func (fake *FakeDeployment) DiffArgsForCall(i int) ([]byte, bool)
- func (fake *FakeDeployment) DiffCallCount() int
- func (fake *FakeDeployment) DiffReturns(result1 director.DeploymentDiff, result2 error)
- func (fake *FakeDeployment) EnableResurrection(arg1 director.InstanceSlug, arg2 bool) error
- func (fake *FakeDeployment) EnableResurrectionArgsForCall(i int) (director.InstanceSlug, bool)
- func (fake *FakeDeployment) EnableResurrectionCallCount() int
- func (fake *FakeDeployment) EnableResurrectionReturns(result1 error)
- func (fake *FakeDeployment) Errands() ([]director.Errand, error)
- func (fake *FakeDeployment) ErrandsCallCount() int
- func (fake *FakeDeployment) ErrandsReturns(result1 []director.Errand, result2 error)
- func (fake *FakeDeployment) ExportRelease(arg1 director.ReleaseSlug, arg2 director.OSVersionSlug) (director.ExportReleaseResult, error)
- func (fake *FakeDeployment) ExportReleaseArgsForCall(i int) (director.ReleaseSlug, director.OSVersionSlug)
- func (fake *FakeDeployment) ExportReleaseCallCount() int
- func (fake *FakeDeployment) ExportReleaseReturns(result1 director.ExportReleaseResult, result2 error)
- func (fake *FakeDeployment) FetchLogs(arg1 director.AllOrInstanceGroupOrInstanceSlug, arg2 []string, arg3 bool) (director.LogsResult, error)
- func (fake *FakeDeployment) FetchLogsArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, []string, bool)
- func (fake *FakeDeployment) FetchLogsCallCount() int
- func (fake *FakeDeployment) FetchLogsReturns(result1 director.LogsResult, result2 error)
- func (fake *FakeDeployment) Ignore(arg1 director.InstanceSlug, arg2 bool) error
- func (fake *FakeDeployment) IgnoreArgsForCall(i int) (director.InstanceSlug, bool)
- func (fake *FakeDeployment) IgnoreCallCount() int
- func (fake *FakeDeployment) IgnoreReturns(result1 error)
- func (fake *FakeDeployment) InstanceInfos() ([]director.VMInfo, error)
- func (fake *FakeDeployment) InstanceInfosCallCount() int
- func (fake *FakeDeployment) InstanceInfosReturns(result1 []director.VMInfo, result2 error)
- func (fake *FakeDeployment) Invocations() map[string][][]interface{}
- func (fake *FakeDeployment) Manifest() (string, error)
- func (fake *FakeDeployment) ManifestCallCount() int
- func (fake *FakeDeployment) ManifestReturns(result1 string, result2 error)
- func (fake *FakeDeployment) Name() string
- func (fake *FakeDeployment) NameCallCount() int
- func (fake *FakeDeployment) NameReturns(result1 string)
- func (fake *FakeDeployment) Recreate(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RecreateOpts) error
- func (fake *FakeDeployment) RecreateArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.RecreateOpts)
- func (fake *FakeDeployment) RecreateCallCount() int
- func (fake *FakeDeployment) RecreateReturns(result1 error)
- func (fake *FakeDeployment) Releases() ([]director.Release, error)
- func (fake *FakeDeployment) ReleasesCallCount() int
- func (fake *FakeDeployment) ReleasesReturns(result1 []director.Release, result2 error)
- func (fake *FakeDeployment) ResolveProblems(arg1 []director.ProblemAnswer) error
- func (fake *FakeDeployment) ResolveProblemsArgsForCall(i int) []director.ProblemAnswer
- func (fake *FakeDeployment) ResolveProblemsCallCount() int
- func (fake *FakeDeployment) ResolveProblemsReturns(result1 error)
- func (fake *FakeDeployment) Restart(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RestartOpts) error
- func (fake *FakeDeployment) RestartArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.RestartOpts)
- func (fake *FakeDeployment) RestartCallCount() int
- func (fake *FakeDeployment) RestartReturns(result1 error)
- func (fake *FakeDeployment) RunErrand(arg1 string, arg2 bool) (director.ErrandResult, error)
- func (fake *FakeDeployment) RunErrandArgsForCall(i int) (string, bool)
- func (fake *FakeDeployment) RunErrandCallCount() int
- func (fake *FakeDeployment) RunErrandReturns(result1 director.ErrandResult, result2 error)
- func (fake *FakeDeployment) ScanForProblems() ([]director.Problem, error)
- func (fake *FakeDeployment) ScanForProblemsCallCount() int
- func (fake *FakeDeployment) ScanForProblemsReturns(result1 []director.Problem, result2 error)
- func (fake *FakeDeployment) SetUpSSH(arg1 director.AllOrInstanceGroupOrInstanceSlug, arg2 director.SSHOpts) (director.SSHResult, error)
- func (fake *FakeDeployment) SetUpSSHArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts)
- func (fake *FakeDeployment) SetUpSSHCallCount() int
- func (fake *FakeDeployment) SetUpSSHReturns(result1 director.SSHResult, result2 error)
- func (fake *FakeDeployment) Snapshots() ([]director.Snapshot, error)
- func (fake *FakeDeployment) SnapshotsCallCount() int
- func (fake *FakeDeployment) SnapshotsReturns(result1 []director.Snapshot, result2 error)
- func (fake *FakeDeployment) Start(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StartOpts) error
- func (fake *FakeDeployment) StartArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.StartOpts)
- func (fake *FakeDeployment) StartCallCount() int
- func (fake *FakeDeployment) StartReturns(result1 error)
- func (fake *FakeDeployment) Stemcells() ([]director.Stemcell, error)
- func (fake *FakeDeployment) StemcellsCallCount() int
- func (fake *FakeDeployment) StemcellsReturns(result1 []director.Stemcell, result2 error)
- func (fake *FakeDeployment) Stop(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StopOpts) error
- func (fake *FakeDeployment) StopArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.StopOpts)
- func (fake *FakeDeployment) StopCallCount() int
- func (fake *FakeDeployment) StopReturns(result1 error)
- func (fake *FakeDeployment) TakeSnapshot(arg1 director.InstanceSlug) error
- func (fake *FakeDeployment) TakeSnapshotArgsForCall(i int) director.InstanceSlug
- func (fake *FakeDeployment) TakeSnapshotCallCount() int
- func (fake *FakeDeployment) TakeSnapshotReturns(result1 error)
- func (fake *FakeDeployment) TakeSnapshots() error
- func (fake *FakeDeployment) TakeSnapshotsCallCount() int
- func (fake *FakeDeployment) TakeSnapshotsReturns(result1 error)
- func (fake *FakeDeployment) Update(manifest []byte, opts director.UpdateOpts) error
- func (fake *FakeDeployment) UpdateArgsForCall(i int) ([]byte, director.UpdateOpts)
- func (fake *FakeDeployment) UpdateCallCount() int
- func (fake *FakeDeployment) UpdateReturns(result1 error)
- func (fake *FakeDeployment) VMInfos() ([]director.VMInfo, error)
- func (fake *FakeDeployment) VMInfosCallCount() int
- func (fake *FakeDeployment) VMInfosReturns(result1 []director.VMInfo, result2 error)
- func (fake *FakeDeployment) Variables() ([]director.VariableResult, error)
- func (fake *FakeDeployment) VariablesCallCount() int
- func (fake *FakeDeployment) VariablesReturns(result1 []director.VariableResult, result2 error)
- type FakeDirector
- func (fake *FakeDirector) CleanUp(arg1 bool) error
- func (fake *FakeDirector) CleanUpArgsForCall(i int) bool
- func (fake *FakeDirector) CleanUpCallCount() int
- func (fake *FakeDirector) CleanUpReturns(result1 error)
- func (fake *FakeDirector) CurrentTasks(arg1 director.TasksFilter) ([]director.Task, error)
- func (fake *FakeDirector) CurrentTasksArgsForCall(i int) director.TasksFilter
- func (fake *FakeDirector) CurrentTasksCallCount() int
- func (fake *FakeDirector) CurrentTasksReturns(result1 []director.Task, result2 error)
- func (fake *FakeDirector) Deployments() ([]director.Deployment, error)
- func (fake *FakeDirector) DeploymentsCallCount() int
- func (fake *FakeDirector) DeploymentsReturns(result1 []director.Deployment, result2 error)
- func (fake *FakeDirector) DownloadResourceUnchecked(blobstoreID string, out io.Writer) error
- func (fake *FakeDirector) DownloadResourceUncheckedArgsForCall(i int) (string, io.Writer)
- func (fake *FakeDirector) DownloadResourceUncheckedCallCount() int
- func (fake *FakeDirector) DownloadResourceUncheckedReturns(result1 error)
- func (fake *FakeDirector) EnableResurrection(arg1 bool) error
- func (fake *FakeDirector) EnableResurrectionArgsForCall(i int) bool
- func (fake *FakeDirector) EnableResurrectionCallCount() int
- func (fake *FakeDirector) EnableResurrectionReturns(result1 error)
- func (fake *FakeDirector) Events(arg1 director.EventsFilter) ([]director.Event, error)
- func (fake *FakeDirector) EventsArgsForCall(i int) director.EventsFilter
- func (fake *FakeDirector) EventsCallCount() int
- func (fake *FakeDirector) EventsReturns(result1 []director.Event, result2 error)
- func (fake *FakeDirector) FindDeployment(arg1 string) (director.Deployment, error)
- func (fake *FakeDirector) FindDeploymentArgsForCall(i int) string
- func (fake *FakeDirector) FindDeploymentCallCount() int
- func (fake *FakeDirector) FindDeploymentReturns(result1 director.Deployment, result2 error)
- func (fake *FakeDirector) FindOrphanedDisk(arg1 string) (director.OrphanedDisk, error)
- func (fake *FakeDirector) FindOrphanedDiskArgsForCall(i int) string
- func (fake *FakeDirector) FindOrphanedDiskCallCount() int
- func (fake *FakeDirector) FindOrphanedDiskReturns(result1 director.OrphanedDisk, result2 error)
- func (fake *FakeDirector) FindRelease(arg1 director.ReleaseSlug) (director.Release, error)
- func (fake *FakeDirector) FindReleaseArgsForCall(i int) director.ReleaseSlug
- func (fake *FakeDirector) FindReleaseCallCount() int
- func (fake *FakeDirector) FindReleaseReturns(result1 director.Release, result2 error)
- func (fake *FakeDirector) FindReleaseSeries(arg1 director.ReleaseSeriesSlug) (director.ReleaseSeries, error)
- func (fake *FakeDirector) FindReleaseSeriesArgsForCall(i int) director.ReleaseSeriesSlug
- func (fake *FakeDirector) FindReleaseSeriesCallCount() int
- func (fake *FakeDirector) FindReleaseSeriesReturns(result1 director.ReleaseSeries, result2 error)
- func (fake *FakeDirector) FindStemcell(arg1 director.StemcellSlug) (director.Stemcell, error)
- func (fake *FakeDirector) FindStemcellArgsForCall(i int) director.StemcellSlug
- func (fake *FakeDirector) FindStemcellCallCount() int
- func (fake *FakeDirector) FindStemcellReturns(result1 director.Stemcell, result2 error)
- func (fake *FakeDirector) FindTask(arg1 int) (director.Task, error)
- func (fake *FakeDirector) FindTaskArgsForCall(i int) int
- func (fake *FakeDirector) FindTaskCallCount() int
- func (fake *FakeDirector) FindTaskReturns(result1 director.Task, result2 error)
- func (fake *FakeDirector) FindTasksByContextId(arg1 string) ([]director.Task, error)
- func (fake *FakeDirector) FindTasksByContextIdArgsForCall(i int) string
- func (fake *FakeDirector) FindTasksByContextIdCallCount() int
- func (fake *FakeDirector) FindTasksByContextIdReturns(result1 []director.Task, result2 error)
- func (fake *FakeDirector) HasRelease(name string, version string) (bool, error)
- func (fake *FakeDirector) HasReleaseArgsForCall(i int) (string, string)
- func (fake *FakeDirector) HasReleaseCallCount() int
- func (fake *FakeDirector) HasReleaseReturns(result1 bool, result2 error)
- func (fake *FakeDirector) HasStemcell(name string, version string) (bool, error)
- func (fake *FakeDirector) HasStemcellArgsForCall(i int) (string, string)
- func (fake *FakeDirector) HasStemcellCallCount() int
- func (fake *FakeDirector) HasStemcellReturns(result1 bool, result2 error)
- func (fake *FakeDirector) Info() (director.Info, error)
- func (fake *FakeDirector) InfoCallCount() int
- func (fake *FakeDirector) InfoReturns(result1 director.Info, result2 error)
- func (fake *FakeDirector) Invocations() map[string][][]interface{}
- func (fake *FakeDirector) IsAuthenticated() (bool, error)
- func (fake *FakeDirector) IsAuthenticatedCallCount() int
- func (fake *FakeDirector) IsAuthenticatedReturns(result1 bool, result2 error)
- func (fake *FakeDirector) LatestCPIConfig() (director.CPIConfig, error)
- func (fake *FakeDirector) LatestCPIConfigCallCount() int
- func (fake *FakeDirector) LatestCPIConfigReturns(result1 director.CPIConfig, result2 error)
- func (fake *FakeDirector) LatestCloudConfig() (director.CloudConfig, error)
- func (fake *FakeDirector) LatestCloudConfigCallCount() int
- func (fake *FakeDirector) LatestCloudConfigReturns(result1 director.CloudConfig, result2 error)
- func (fake *FakeDirector) LatestRuntimeConfig() (director.RuntimeConfig, error)
- func (fake *FakeDirector) LatestRuntimeConfigCallCount() int
- func (fake *FakeDirector) LatestRuntimeConfigReturns(result1 director.RuntimeConfig, result2 error)
- func (fake *FakeDirector) Locks() ([]director.Lock, error)
- func (fake *FakeDirector) LocksCallCount() int
- func (fake *FakeDirector) LocksReturns(result1 []director.Lock, result2 error)
- func (fake *FakeDirector) MatchPackages(manifest interface{}, compiled bool) ([]string, error)
- func (fake *FakeDirector) MatchPackagesArgsForCall(i int) (interface{}, bool)
- func (fake *FakeDirector) MatchPackagesCallCount() int
- func (fake *FakeDirector) MatchPackagesReturns(result1 []string, result2 error)
- func (fake *FakeDirector) OrphanedDisks() ([]director.OrphanedDisk, error)
- func (fake *FakeDirector) OrphanedDisksCallCount() int
- func (fake *FakeDirector) OrphanedDisksReturns(result1 []director.OrphanedDisk, result2 error)
- func (fake *FakeDirector) RecentTasks(arg1 int, arg2 director.TasksFilter) ([]director.Task, error)
- func (fake *FakeDirector) RecentTasksArgsForCall(i int) (int, director.TasksFilter)
- func (fake *FakeDirector) RecentTasksCallCount() int
- func (fake *FakeDirector) RecentTasksReturns(result1 []director.Task, result2 error)
- func (fake *FakeDirector) Releases() ([]director.Release, error)
- func (fake *FakeDirector) ReleasesCallCount() int
- func (fake *FakeDirector) ReleasesReturns(result1 []director.Release, result2 error)
- func (fake *FakeDirector) Stemcells() ([]director.Stemcell, error)
- func (fake *FakeDirector) StemcellsCallCount() int
- func (fake *FakeDirector) StemcellsReturns(result1 []director.Stemcell, result2 error)
- func (fake *FakeDirector) UpdateCPIConfig(arg1 []byte) error
- func (fake *FakeDirector) UpdateCPIConfigArgsForCall(i int) []byte
- func (fake *FakeDirector) UpdateCPIConfigCallCount() int
- func (fake *FakeDirector) UpdateCPIConfigReturns(result1 error)
- func (fake *FakeDirector) UpdateCloudConfig(arg1 []byte) error
- func (fake *FakeDirector) UpdateCloudConfigArgsForCall(i int) []byte
- func (fake *FakeDirector) UpdateCloudConfigCallCount() int
- func (fake *FakeDirector) UpdateCloudConfigReturns(result1 error)
- func (fake *FakeDirector) UpdateRuntimeConfig(arg1 []byte) error
- func (fake *FakeDirector) UpdateRuntimeConfigArgsForCall(i int) []byte
- func (fake *FakeDirector) UpdateRuntimeConfigCallCount() int
- func (fake *FakeDirector) UpdateRuntimeConfigReturns(result1 error)
- func (fake *FakeDirector) UploadReleaseFile(file director.UploadFile, rebase bool, fix bool) error
- func (fake *FakeDirector) UploadReleaseFileArgsForCall(i int) (director.UploadFile, bool, bool)
- func (fake *FakeDirector) UploadReleaseFileCallCount() int
- func (fake *FakeDirector) UploadReleaseFileReturns(result1 error)
- func (fake *FakeDirector) UploadReleaseURL(url string, sha1 string, rebase bool, fix bool) error
- func (fake *FakeDirector) UploadReleaseURLArgsForCall(i int) (string, string, bool, bool)
- func (fake *FakeDirector) UploadReleaseURLCallCount() int
- func (fake *FakeDirector) UploadReleaseURLReturns(result1 error)
- func (fake *FakeDirector) UploadStemcellFile(file director.UploadFile, fix bool) error
- func (fake *FakeDirector) UploadStemcellFileArgsForCall(i int) (director.UploadFile, bool)
- func (fake *FakeDirector) UploadStemcellFileCallCount() int
- func (fake *FakeDirector) UploadStemcellFileReturns(result1 error)
- func (fake *FakeDirector) UploadStemcellURL(url string, sha1 string, fix bool) error
- func (fake *FakeDirector) UploadStemcellURLArgsForCall(i int) (string, string, bool)
- func (fake *FakeDirector) UploadStemcellURLCallCount() int
- func (fake *FakeDirector) UploadStemcellURLReturns(result1 error)
- func (fake *FakeDirector) WithContext(id string) director.Director
- func (fake *FakeDirector) WithContextArgsForCall(i int) string
- func (fake *FakeDirector) WithContextCallCount() int
- func (fake *FakeDirector) WithContextReturns(result1 director.Director)
- type FakeEvent
- func (fake *FakeEvent) Action() string
- func (fake *FakeEvent) ActionCallCount() int
- func (fake *FakeEvent) ActionReturns(result1 string)
- func (fake *FakeEvent) Context() map[string]interface{}
- func (fake *FakeEvent) ContextCallCount() int
- func (fake *FakeEvent) ContextReturns(result1 map[string]interface{})
- func (fake *FakeEvent) DeploymentName() string
- func (fake *FakeEvent) DeploymentNameCallCount() int
- func (fake *FakeEvent) DeploymentNameReturns(result1 string)
- func (fake *FakeEvent) Error() string
- func (fake *FakeEvent) ErrorCallCount() int
- func (fake *FakeEvent) ErrorReturns(result1 string)
- func (fake *FakeEvent) ID() string
- func (fake *FakeEvent) IDCallCount() int
- func (fake *FakeEvent) IDReturns(result1 string)
- func (fake *FakeEvent) Instance() string
- func (fake *FakeEvent) InstanceCallCount() int
- func (fake *FakeEvent) InstanceReturns(result1 string)
- func (fake *FakeEvent) Invocations() map[string][][]interface{}
- func (fake *FakeEvent) ObjectName() string
- func (fake *FakeEvent) ObjectNameCallCount() int
- func (fake *FakeEvent) ObjectNameReturns(result1 string)
- func (fake *FakeEvent) ObjectType() string
- func (fake *FakeEvent) ObjectTypeCallCount() int
- func (fake *FakeEvent) ObjectTypeReturns(result1 string)
- func (fake *FakeEvent) ParentID() string
- func (fake *FakeEvent) ParentIDCallCount() int
- func (fake *FakeEvent) ParentIDReturns(result1 string)
- func (fake *FakeEvent) TaskID() string
- func (fake *FakeEvent) TaskIDCallCount() int
- func (fake *FakeEvent) TaskIDReturns(result1 string)
- func (fake *FakeEvent) Timestamp() time.Time
- func (fake *FakeEvent) TimestampCallCount() int
- func (fake *FakeEvent) TimestampReturns(result1 time.Time)
- func (fake *FakeEvent) User() string
- func (fake *FakeEvent) UserCallCount() int
- func (fake *FakeEvent) UserReturns(result1 string)
- type FakeFileReporter
- func (fake *FakeFileReporter) Invocations() map[string][][]interface{}
- func (fake *FakeFileReporter) TrackDownload(arg1 int64, arg2 io.Writer) io.Writer
- func (fake *FakeFileReporter) TrackDownloadArgsForCall(i int) (int64, io.Writer)
- func (fake *FakeFileReporter) TrackDownloadCallCount() int
- func (fake *FakeFileReporter) TrackDownloadReturns(result1 io.Writer)
- func (fake *FakeFileReporter) TrackUpload(arg1 int64, arg2 io.ReadCloser) io.ReadCloser
- func (fake *FakeFileReporter) TrackUploadArgsForCall(i int) (int64, io.ReadCloser)
- func (fake *FakeFileReporter) TrackUploadCallCount() int
- func (fake *FakeFileReporter) TrackUploadReturns(result1 io.ReadCloser)
- type FakeOrphanedDisk
- func (fake *FakeOrphanedDisk) AZName() string
- func (fake *FakeOrphanedDisk) AZNameCallCount() int
- func (fake *FakeOrphanedDisk) AZNameReturns(result1 string)
- func (fake *FakeOrphanedDisk) CID() string
- func (fake *FakeOrphanedDisk) CIDCallCount() int
- func (fake *FakeOrphanedDisk) CIDReturns(result1 string)
- func (fake *FakeOrphanedDisk) Delete() error
- func (fake *FakeOrphanedDisk) DeleteCallCount() int
- func (fake *FakeOrphanedDisk) DeleteReturns(result1 error)
- func (fake *FakeOrphanedDisk) Deployment() director.Deployment
- func (fake *FakeOrphanedDisk) DeploymentCallCount() int
- func (fake *FakeOrphanedDisk) DeploymentReturns(result1 director.Deployment)
- func (fake *FakeOrphanedDisk) InstanceName() string
- func (fake *FakeOrphanedDisk) InstanceNameCallCount() int
- func (fake *FakeOrphanedDisk) InstanceNameReturns(result1 string)
- func (fake *FakeOrphanedDisk) Invocations() map[string][][]interface{}
- func (fake *FakeOrphanedDisk) OrphanedAt() time.Time
- func (fake *FakeOrphanedDisk) OrphanedAtCallCount() int
- func (fake *FakeOrphanedDisk) OrphanedAtReturns(result1 time.Time)
- func (fake *FakeOrphanedDisk) Size() uint64
- func (fake *FakeOrphanedDisk) SizeCallCount() int
- func (fake *FakeOrphanedDisk) SizeReturns(result1 uint64)
- type FakeRelease
- func (fake *FakeRelease) CommitHashWithMark(mark string) string
- func (fake *FakeRelease) CommitHashWithMarkArgsForCall(i int) string
- func (fake *FakeRelease) CommitHashWithMarkCallCount() int
- func (fake *FakeRelease) CommitHashWithMarkReturns(result1 string)
- func (fake *FakeRelease) Delete(force bool) error
- func (fake *FakeRelease) DeleteArgsForCall(i int) bool
- func (fake *FakeRelease) DeleteCallCount() int
- func (fake *FakeRelease) DeleteReturns(result1 error)
- func (fake *FakeRelease) Invocations() map[string][][]interface{}
- func (fake *FakeRelease) Jobs() ([]director.Job, error)
- func (fake *FakeRelease) JobsCallCount() int
- func (fake *FakeRelease) JobsReturns(result1 []director.Job, result2 error)
- func (fake *FakeRelease) Name() string
- func (fake *FakeRelease) NameCallCount() int
- func (fake *FakeRelease) NameReturns(result1 string)
- func (fake *FakeRelease) Packages() ([]director.Package, error)
- func (fake *FakeRelease) PackagesCallCount() int
- func (fake *FakeRelease) PackagesReturns(result1 []director.Package, result2 error)
- func (fake *FakeRelease) Version() version.Version
- func (fake *FakeRelease) VersionCallCount() int
- func (fake *FakeRelease) VersionMark(mark string) string
- func (fake *FakeRelease) VersionMarkArgsForCall(i int) string
- func (fake *FakeRelease) VersionMarkCallCount() int
- func (fake *FakeRelease) VersionMarkReturns(result1 string)
- func (fake *FakeRelease) VersionReturns(result1 version.Version)
- type FakeReleaseArchive
- func (fake *FakeReleaseArchive) File() (director.UploadFile, error)
- func (fake *FakeReleaseArchive) FileCallCount() int
- func (fake *FakeReleaseArchive) FileReturns(result1 director.UploadFile, result2 error)
- func (fake *FakeReleaseArchive) Info() (string, string, error)
- func (fake *FakeReleaseArchive) InfoCallCount() int
- func (fake *FakeReleaseArchive) InfoReturns(result1 string, result2 string, result3 error)
- func (fake *FakeReleaseArchive) Invocations() map[string][][]interface{}
- type FakeReleaseSeries
- func (fake *FakeReleaseSeries) Delete(force bool) error
- func (fake *FakeReleaseSeries) DeleteArgsForCall(i int) bool
- func (fake *FakeReleaseSeries) DeleteCallCount() int
- func (fake *FakeReleaseSeries) DeleteReturns(result1 error)
- func (fake *FakeReleaseSeries) Invocations() map[string][][]interface{}
- func (fake *FakeReleaseSeries) Name() string
- func (fake *FakeReleaseSeries) NameCallCount() int
- func (fake *FakeReleaseSeries) NameReturns(result1 string)
- type FakeStemcell
- func (fake *FakeStemcell) CID() string
- func (fake *FakeStemcell) CIDCallCount() int
- func (fake *FakeStemcell) CIDReturns(result1 string)
- func (fake *FakeStemcell) CPI() string
- func (fake *FakeStemcell) CPICallCount() int
- func (fake *FakeStemcell) CPIReturns(result1 string)
- func (fake *FakeStemcell) Delete(force bool) error
- func (fake *FakeStemcell) DeleteArgsForCall(i int) bool
- func (fake *FakeStemcell) DeleteCallCount() int
- func (fake *FakeStemcell) DeleteReturns(result1 error)
- func (fake *FakeStemcell) Invocations() map[string][][]interface{}
- func (fake *FakeStemcell) Name() string
- func (fake *FakeStemcell) NameCallCount() int
- func (fake *FakeStemcell) NameReturns(result1 string)
- func (fake *FakeStemcell) OSName() string
- func (fake *FakeStemcell) OSNameCallCount() int
- func (fake *FakeStemcell) OSNameReturns(result1 string)
- func (fake *FakeStemcell) Version() version.Version
- func (fake *FakeStemcell) VersionCallCount() int
- func (fake *FakeStemcell) VersionMark(mark string) string
- func (fake *FakeStemcell) VersionMarkArgsForCall(i int) string
- func (fake *FakeStemcell) VersionMarkCallCount() int
- func (fake *FakeStemcell) VersionMarkReturns(result1 string)
- func (fake *FakeStemcell) VersionReturns(result1 version.Version)
- type FakeStemcellArchive
- func (fake *FakeStemcellArchive) File() (director.UploadFile, error)
- func (fake *FakeStemcellArchive) FileCallCount() int
- func (fake *FakeStemcellArchive) FileReturns(result1 director.UploadFile, result2 error)
- func (fake *FakeStemcellArchive) Info() (string, string, error)
- func (fake *FakeStemcellArchive) InfoCallCount() int
- func (fake *FakeStemcellArchive) InfoReturns(result1 string, result2 string, result3 error)
- func (fake *FakeStemcellArchive) Invocations() map[string][][]interface{}
- type FakeTask
- func (fake *FakeTask) CPIOutput(arg1 director.TaskReporter) error
- func (fake *FakeTask) CPIOutputArgsForCall(i int) director.TaskReporter
- func (fake *FakeTask) CPIOutputCallCount() int
- func (fake *FakeTask) CPIOutputReturns(result1 error)
- func (fake *FakeTask) Cancel() error
- func (fake *FakeTask) CancelCallCount() int
- func (fake *FakeTask) CancelReturns(result1 error)
- func (fake *FakeTask) ContextID() string
- func (fake *FakeTask) ContextIDCallCount() int
- func (fake *FakeTask) ContextIDReturns(result1 string)
- func (fake *FakeTask) DebugOutput(arg1 director.TaskReporter) error
- func (fake *FakeTask) DebugOutputArgsForCall(i int) director.TaskReporter
- func (fake *FakeTask) DebugOutputCallCount() int
- func (fake *FakeTask) DebugOutputReturns(result1 error)
- func (fake *FakeTask) DeploymentName() string
- func (fake *FakeTask) DeploymentNameCallCount() int
- func (fake *FakeTask) DeploymentNameReturns(result1 string)
- func (fake *FakeTask) Description() string
- func (fake *FakeTask) DescriptionCallCount() int
- func (fake *FakeTask) DescriptionReturns(result1 string)
- func (fake *FakeTask) EventOutput(arg1 director.TaskReporter) error
- func (fake *FakeTask) EventOutputArgsForCall(i int) director.TaskReporter
- func (fake *FakeTask) EventOutputCallCount() int
- func (fake *FakeTask) EventOutputReturns(result1 error)
- func (fake *FakeTask) ID() int
- func (fake *FakeTask) IDCallCount() int
- func (fake *FakeTask) IDReturns(result1 int)
- func (fake *FakeTask) Invocations() map[string][][]interface{}
- func (fake *FakeTask) IsError() bool
- func (fake *FakeTask) IsErrorCallCount() int
- func (fake *FakeTask) IsErrorReturns(result1 bool)
- func (fake *FakeTask) LastActivityAt() time.Time
- func (fake *FakeTask) LastActivityAtCallCount() int
- func (fake *FakeTask) LastActivityAtReturns(result1 time.Time)
- func (fake *FakeTask) Result() string
- func (fake *FakeTask) ResultCallCount() int
- func (fake *FakeTask) ResultOutput(arg1 director.TaskReporter) error
- func (fake *FakeTask) ResultOutputArgsForCall(i int) director.TaskReporter
- func (fake *FakeTask) ResultOutputCallCount() int
- func (fake *FakeTask) ResultOutputReturns(result1 error)
- func (fake *FakeTask) ResultReturns(result1 string)
- func (fake *FakeTask) StartedAt() time.Time
- func (fake *FakeTask) StartedAtCallCount() int
- func (fake *FakeTask) StartedAtReturns(result1 time.Time)
- func (fake *FakeTask) State() string
- func (fake *FakeTask) StateCallCount() int
- func (fake *FakeTask) StateReturns(result1 string)
- func (fake *FakeTask) User() string
- func (fake *FakeTask) UserCallCount() int
- func (fake *FakeTask) UserReturns(result1 string)
- type FakeTaskReporter
- func (fake *FakeTaskReporter) Invocations() map[string][][]interface{}
- func (fake *FakeTaskReporter) TaskFinished(arg1 int, arg2 string)
- func (fake *FakeTaskReporter) TaskFinishedArgsForCall(i int) (int, string)
- func (fake *FakeTaskReporter) TaskFinishedCallCount() int
- func (fake *FakeTaskReporter) TaskOutputChunk(arg1 int, arg2 []byte)
- func (fake *FakeTaskReporter) TaskOutputChunkArgsForCall(i int) (int, []byte)
- func (fake *FakeTaskReporter) TaskOutputChunkCallCount() int
- func (fake *FakeTaskReporter) TaskStarted(arg1 int)
- func (fake *FakeTaskReporter) TaskStartedArgsForCall(i int) int
- func (fake *FakeTaskReporter) TaskStartedCallCount() int
- type LogCallArgs
- type Logger
- func (l Logger) Debug(tag, msg string, args ...interface{})
- func (l Logger) DebugWithDetails(tag, msg string, args ...interface{})
- func (l Logger) Error(tag, msg string, args ...interface{})
- func (l Logger) ErrorWithDetails(tag, msg string, args ...interface{})
- func (l Logger) Flush() error
- func (l Logger) FlushTimeout(time.Duration) error
- func (l Logger) HandlePanic(tag string)
- func (l Logger) Info(tag, msg string, args ...interface{})
- func (l Logger) ToggleForcedDebug()
- func (l Logger) Warn(tag, msg string, args ...interface{})
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) 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) StemcellsStub func() ([]director.Stemcell, error) VMInfosStub func() ([]director.VMInfo, error) InstanceInfosStub func() ([]director.VMInfo, error) ErrandsStub func() ([]director.Errand, error) RunErrandStub func(string, 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 (fake *FakeDeployment) CleanUpSSH(arg1 director.AllOrInstanceGroupOrInstanceSlug, arg2 director.SSHOpts) error
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) ErrandsCallCount ¶
func (fake *FakeDeployment) ErrandsCallCount() int
func (*FakeDeployment) ErrandsReturns ¶
func (fake *FakeDeployment) ErrandsReturns(result1 []director.Errand, result2 error)
func (*FakeDeployment) ExportRelease ¶
func (fake *FakeDeployment) ExportRelease(arg1 director.ReleaseSlug, arg2 director.OSVersionSlug) (director.ExportReleaseResult, error)
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 (fake *FakeDeployment) FetchLogs(arg1 director.AllOrInstanceGroupOrInstanceSlug, arg2 []string, arg3 bool) (director.LogsResult, error)
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) 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 (fake *FakeDeployment) Recreate(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RecreateOpts) error
func (*FakeDeployment) RecreateArgsForCall ¶
func (fake *FakeDeployment) RecreateArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.RecreateOpts)
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 (fake *FakeDeployment) Restart(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RestartOpts) error
func (*FakeDeployment) RestartArgsForCall ¶
func (fake *FakeDeployment) RestartArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.RestartOpts)
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) (director.ErrandResult, error)
func (*FakeDeployment) RunErrandArgsForCall ¶
func (fake *FakeDeployment) RunErrandArgsForCall(i int) (string, 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 (fake *FakeDeployment) SetUpSSH(arg1 director.AllOrInstanceGroupOrInstanceSlug, arg2 director.SSHOpts) (director.SSHResult, error)
func (*FakeDeployment) SetUpSSHArgsForCall ¶
func (fake *FakeDeployment) SetUpSSHArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts)
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 (fake *FakeDeployment) Start(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StartOpts) error
func (*FakeDeployment) StartArgsForCall ¶
func (fake *FakeDeployment) StartArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.StartOpts)
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 (fake *FakeDeployment) Stop(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StopOpts) error
func (*FakeDeployment) StopArgsForCall ¶
func (fake *FakeDeployment) StopArgsForCall(i int) (director.AllOrInstanceGroupOrInstanceSlug, director.StopOpts)
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) 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) 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) 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) 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) 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) 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) 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) ReleasesCallCount ¶
func (fake *FakeDirector) ReleasesCallCount() int
func (*FakeDirector) ReleasesReturns ¶
func (fake *FakeDirector) ReleasesReturns(result1 []director.Release, result2 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 (*FakeDirector) UploadReleaseURLArgsForCall ¶
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) ActionCallCount ¶
func (*FakeEvent) ActionReturns ¶
func (*FakeEvent) ContextCallCount ¶
func (*FakeEvent) ContextReturns ¶
func (*FakeEvent) DeploymentName ¶
func (*FakeEvent) DeploymentNameCallCount ¶
func (*FakeEvent) DeploymentNameReturns ¶
func (*FakeEvent) ErrorCallCount ¶ added in v0.0.111
func (*FakeEvent) ErrorReturns ¶ added in v0.0.111
func (*FakeEvent) IDCallCount ¶
func (*FakeEvent) InstanceCallCount ¶
func (*FakeEvent) InstanceReturns ¶
func (*FakeEvent) Invocations ¶
func (*FakeEvent) ObjectName ¶
func (*FakeEvent) ObjectNameCallCount ¶
func (*FakeEvent) ObjectNameReturns ¶
func (*FakeEvent) ObjectType ¶
func (*FakeEvent) ObjectTypeCallCount ¶
func (*FakeEvent) ObjectTypeReturns ¶
func (*FakeEvent) ParentIDCallCount ¶
func (*FakeEvent) ParentIDReturns ¶
func (*FakeEvent) TaskIDCallCount ¶
func (*FakeEvent) TaskIDReturns ¶
func (*FakeEvent) TimestampCallCount ¶
func (*FakeEvent) TimestampReturns ¶
func (*FakeEvent) UserCallCount ¶
func (*FakeEvent) UserReturns ¶
type FakeFileReporter ¶
type FakeFileReporter struct { TrackUploadStub func(int64, io.ReadCloser) io.ReadCloser 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 (*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) io.ReadCloser
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 io.ReadCloser)
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) 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) 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) 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) 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) CPIOutputArgsForCall ¶
func (fake *FakeTask) CPIOutputArgsForCall(i int) director.TaskReporter
func (*FakeTask) CPIOutputCallCount ¶
func (*FakeTask) CPIOutputReturns ¶
func (*FakeTask) CancelCallCount ¶
func (*FakeTask) CancelReturns ¶
func (*FakeTask) ContextIDCallCount ¶ added in v0.0.143
func (*FakeTask) ContextIDReturns ¶ added in v0.0.143
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 (*FakeTask) DebugOutputReturns ¶
func (*FakeTask) DeploymentName ¶
func (*FakeTask) DeploymentNameCallCount ¶
func (*FakeTask) DeploymentNameReturns ¶
func (*FakeTask) Description ¶
func (*FakeTask) DescriptionCallCount ¶
func (*FakeTask) DescriptionReturns ¶
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 (*FakeTask) EventOutputReturns ¶
func (*FakeTask) IDCallCount ¶
func (*FakeTask) Invocations ¶
func (*FakeTask) IsErrorCallCount ¶
func (*FakeTask) IsErrorReturns ¶
func (*FakeTask) LastActivityAt ¶
func (*FakeTask) LastActivityAtCallCount ¶
func (*FakeTask) LastActivityAtReturns ¶
func (*FakeTask) ResultCallCount ¶
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 (*FakeTask) ResultOutputReturns ¶
func (*FakeTask) ResultReturns ¶
func (*FakeTask) StartedAtCallCount ¶
func (*FakeTask) StartedAtReturns ¶
func (*FakeTask) StateCallCount ¶
func (*FakeTask) StateReturns ¶
func (*FakeTask) UserCallCount ¶
func (*FakeTask) UserReturns ¶
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 Logger ¶
type Logger struct {
LogCallArgs *[]LogCallArgs
}
func NewFakeLogger ¶
func NewFakeLogger(logCalls *[]LogCallArgs) Logger
func (Logger) DebugWithDetails ¶
func (Logger) ErrorWithDetails ¶
func (Logger) HandlePanic ¶
func (Logger) ToggleForcedDebug ¶
func (l Logger) ToggleForcedDebug()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.