Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- 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) DoReturnsOnCall(i int, 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) AdjustReturnsOnCall(i int, 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)
- func (fake *FakeAdjustment) NeedsReadjustmentReturnsOnCall(i int, 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) AttachDiskReturnsOnCall(i int, 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) CleanUpSSHReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) CloudConfig() (string, error)
- func (fake *FakeDeployment) CloudConfigCallCount() int
- func (fake *FakeDeployment) CloudConfigReturns(result1 string, result2 error)
- func (fake *FakeDeployment) CloudConfigReturnsOnCall(i int, 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) DeleteReturnsOnCall(i int, 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) DeleteSnapshotReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) DeleteSnapshots() error
- func (fake *FakeDeployment) DeleteSnapshotsCallCount() int
- func (fake *FakeDeployment) DeleteSnapshotsReturns(result1 error)
- func (fake *FakeDeployment) DeleteSnapshotsReturnsOnCall(i int, 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) DeleteVMReturnsOnCall(i int, 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) DiffReturnsOnCall(i int, 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) EnableResurrectionReturnsOnCall(i int, 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) ErrandsReturnsOnCall(i int, result1 []director.Errand, result2 error)
- func (fake *FakeDeployment) ExportRelease(arg1 director.ReleaseSlug, arg2 director.OSVersionSlug, arg3 []string) (director.ExportReleaseResult, error)
- func (fake *FakeDeployment) ExportReleaseArgsForCall(i int) (director.ReleaseSlug, director.OSVersionSlug, []string)
- func (fake *FakeDeployment) ExportReleaseCallCount() int
- func (fake *FakeDeployment) ExportReleaseReturns(result1 director.ExportReleaseResult, result2 error)
- func (fake *FakeDeployment) ExportReleaseReturnsOnCall(i int, 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) FetchLogsReturnsOnCall(i int, 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) IgnoreReturnsOnCall(i int, 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) InstanceInfosReturnsOnCall(i int, result1 []director.VMInfo, result2 error)
- func (fake *FakeDeployment) Instances() ([]director.Instance, error)
- func (fake *FakeDeployment) InstancesCallCount() int
- func (fake *FakeDeployment) InstancesReturns(result1 []director.Instance, result2 error)
- func (fake *FakeDeployment) InstancesReturnsOnCall(i int, result1 []director.Instance, 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) ManifestReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeDeployment) Name() string
- func (fake *FakeDeployment) NameCallCount() int
- func (fake *FakeDeployment) NameReturns(result1 string)
- func (fake *FakeDeployment) NameReturnsOnCall(i int, 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) RecreateReturnsOnCall(i int, 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) ReleasesReturnsOnCall(i int, 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) ResolveProblemsReturnsOnCall(i int, 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) RestartReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) RunErrand(arg1 string, arg2 bool, arg3 bool, arg4 []director.InstanceGroupOrInstanceSlug) ([]director.ErrandResult, error)
- func (fake *FakeDeployment) RunErrandArgsForCall(i int) (string, bool, bool, []director.InstanceGroupOrInstanceSlug)
- func (fake *FakeDeployment) RunErrandCallCount() int
- func (fake *FakeDeployment) RunErrandReturns(result1 []director.ErrandResult, result2 error)
- func (fake *FakeDeployment) RunErrandReturnsOnCall(i int, 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) ScanForProblemsReturnsOnCall(i int, 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) SetUpSSHReturnsOnCall(i int, 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) SnapshotsReturnsOnCall(i int, 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) StartReturnsOnCall(i int, 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) StemcellsReturnsOnCall(i int, 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) StopReturnsOnCall(i int, 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) TakeSnapshotReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) TakeSnapshots() error
- func (fake *FakeDeployment) TakeSnapshotsCallCount() int
- func (fake *FakeDeployment) TakeSnapshotsReturns(result1 error)
- func (fake *FakeDeployment) TakeSnapshotsReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) Teams() ([]string, error)
- func (fake *FakeDeployment) TeamsCallCount() int
- func (fake *FakeDeployment) TeamsReturns(result1 []string, result2 error)
- func (fake *FakeDeployment) TeamsReturnsOnCall(i int, result1 []string, result2 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) UpdateReturnsOnCall(i int, 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) VMInfosReturnsOnCall(i int, 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)
- func (fake *FakeDeployment) VariablesReturnsOnCall(i int, 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) CleanUpReturnsOnCall(i int, 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) CurrentTasksReturnsOnCall(i int, result1 []director.Task, result2 error)
- func (fake *FakeDirector) DeleteConfig(configType string, name string) (bool, error)
- func (fake *FakeDirector) DeleteConfigArgsForCall(i int) (string, string)
- func (fake *FakeDirector) DeleteConfigCallCount() int
- func (fake *FakeDirector) DeleteConfigReturns(result1 bool, result2 error)
- func (fake *FakeDirector) DeleteConfigReturnsOnCall(i int, result1 bool, 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) DeploymentsReturnsOnCall(i int, result1 []director.Deployment, result2 error)
- func (fake *FakeDirector) DiffCPIConfig(manifest []byte, noRedact bool) (director.ConfigDiff, error)
- func (fake *FakeDirector) DiffCPIConfigArgsForCall(i int) ([]byte, bool)
- func (fake *FakeDirector) DiffCPIConfigCallCount() int
- func (fake *FakeDirector) DiffCPIConfigReturns(result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffCPIConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffCloudConfig(manifest []byte) (director.ConfigDiff, error)
- func (fake *FakeDirector) DiffCloudConfigArgsForCall(i int) []byte
- func (fake *FakeDirector) DiffCloudConfigCallCount() int
- func (fake *FakeDirector) DiffCloudConfigReturns(result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffCloudConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffConfig(configType string, name string, manifest []byte) (director.ConfigDiff, error)
- func (fake *FakeDirector) DiffConfigArgsForCall(i int) (string, string, []byte)
- func (fake *FakeDirector) DiffConfigByID(fromID string, toID string) (director.ConfigDiff, error)
- func (fake *FakeDirector) DiffConfigByIDArgsForCall(i int) (string, string)
- func (fake *FakeDirector) DiffConfigByIDCallCount() int
- func (fake *FakeDirector) DiffConfigByIDReturns(result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffConfigByIDReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffConfigCallCount() int
- func (fake *FakeDirector) DiffConfigReturns(result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffRuntimeConfig(name string, manifest []byte, noRedact bool) (director.ConfigDiff, error)
- func (fake *FakeDirector) DiffRuntimeConfigArgsForCall(i int) (string, []byte, bool)
- func (fake *FakeDirector) DiffRuntimeConfigCallCount() int
- func (fake *FakeDirector) DiffRuntimeConfigReturns(result1 director.ConfigDiff, result2 error)
- func (fake *FakeDirector) DiffRuntimeConfigReturnsOnCall(i int, result1 director.ConfigDiff, 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) DownloadResourceUncheckedReturnsOnCall(i int, 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) EnableResurrectionReturnsOnCall(i int, result1 error)
- func (fake *FakeDirector) Event(arg1 string) (director.Event, error)
- func (fake *FakeDirector) EventArgsForCall(i int) string
- func (fake *FakeDirector) EventCallCount() int
- func (fake *FakeDirector) EventReturns(result1 director.Event, result2 error)
- func (fake *FakeDirector) EventReturnsOnCall(i int, result1 director.Event, result2 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) EventsReturnsOnCall(i int, 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) FindDeploymentReturnsOnCall(i int, result1 director.Deployment, result2 error)
- func (fake *FakeDirector) FindOrphanDisk(arg1 string) (director.OrphanDisk, error)
- func (fake *FakeDirector) FindOrphanDiskArgsForCall(i int) string
- func (fake *FakeDirector) FindOrphanDiskCallCount() int
- func (fake *FakeDirector) FindOrphanDiskReturns(result1 director.OrphanDisk, result2 error)
- func (fake *FakeDirector) FindOrphanDiskReturnsOnCall(i int, result1 director.OrphanDisk, 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) FindReleaseReturnsOnCall(i int, 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) FindReleaseSeriesReturnsOnCall(i int, 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) FindStemcellReturnsOnCall(i int, 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) FindTaskReturnsOnCall(i int, 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) FindTasksByContextIdReturnsOnCall(i int, result1 []director.Task, result2 error)
- func (fake *FakeDirector) HasRelease(name string, version string, stemcell director.OSVersionSlug) (bool, error)
- func (fake *FakeDirector) HasReleaseArgsForCall(i int) (string, string, director.OSVersionSlug)
- func (fake *FakeDirector) HasReleaseCallCount() int
- func (fake *FakeDirector) HasReleaseReturns(result1 bool, result2 error)
- func (fake *FakeDirector) HasReleaseReturnsOnCall(i int, 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) HasStemcellReturnsOnCall(i int, 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) InfoReturnsOnCall(i int, 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) IsAuthenticatedReturnsOnCall(i int, 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) LatestCPIConfigReturnsOnCall(i int, 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) LatestCloudConfigReturnsOnCall(i int, result1 director.CloudConfig, result2 error)
- func (fake *FakeDirector) LatestConfig(configType string, name string) (director.Config, error)
- func (fake *FakeDirector) LatestConfigArgsForCall(i int) (string, string)
- func (fake *FakeDirector) LatestConfigCallCount() int
- func (fake *FakeDirector) LatestConfigReturns(result1 director.Config, result2 error)
- func (fake *FakeDirector) LatestConfigReturnsOnCall(i int, result1 director.Config, result2 error)
- func (fake *FakeDirector) LatestRuntimeConfig(name string) (director.RuntimeConfig, error)
- func (fake *FakeDirector) LatestRuntimeConfigArgsForCall(i int) string
- func (fake *FakeDirector) LatestRuntimeConfigCallCount() int
- func (fake *FakeDirector) LatestRuntimeConfigReturns(result1 director.RuntimeConfig, result2 error)
- func (fake *FakeDirector) LatestRuntimeConfigReturnsOnCall(i int, result1 director.RuntimeConfig, result2 error)
- func (fake *FakeDirector) ListConfigs(filter director.ConfigsFilter) ([]director.ConfigListItem, error)
- func (fake *FakeDirector) ListConfigsArgsForCall(i int) director.ConfigsFilter
- func (fake *FakeDirector) ListConfigsCallCount() int
- func (fake *FakeDirector) ListConfigsReturns(result1 []director.ConfigListItem, result2 error)
- func (fake *FakeDirector) ListConfigsReturnsOnCall(i int, result1 []director.ConfigListItem, 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) LocksReturnsOnCall(i int, 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) MatchPackagesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeDirector) OrphanDisk(arg1 string) error
- func (fake *FakeDirector) OrphanDiskArgsForCall(i int) string
- func (fake *FakeDirector) OrphanDiskCallCount() int
- func (fake *FakeDirector) OrphanDiskReturns(result1 error)
- func (fake *FakeDirector) OrphanDiskReturnsOnCall(i int, result1 error)
- func (fake *FakeDirector) OrphanDisks() ([]director.OrphanDisk, error)
- func (fake *FakeDirector) OrphanDisksCallCount() int
- func (fake *FakeDirector) OrphanDisksReturns(result1 []director.OrphanDisk, result2 error)
- func (fake *FakeDirector) OrphanDisksReturnsOnCall(i int, result1 []director.OrphanDisk, 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) RecentTasksReturnsOnCall(i int, 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) ReleasesReturnsOnCall(i int, 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) StemcellsReturnsOnCall(i int, 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) UpdateCPIConfigReturnsOnCall(i int, 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) UpdateCloudConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeDirector) UpdateConfig(configType string, name string, content []byte) error
- func (fake *FakeDirector) UpdateConfigArgsForCall(i int) (string, string, []byte)
- func (fake *FakeDirector) UpdateConfigCallCount() int
- func (fake *FakeDirector) UpdateConfigReturns(result1 error)
- func (fake *FakeDirector) UpdateConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeDirector) UpdateRuntimeConfig(name string, manifest []byte) error
- func (fake *FakeDirector) UpdateRuntimeConfigArgsForCall(i int) (string, []byte)
- func (fake *FakeDirector) UpdateRuntimeConfigCallCount() int
- func (fake *FakeDirector) UpdateRuntimeConfigReturns(result1 error)
- func (fake *FakeDirector) UpdateRuntimeConfigReturnsOnCall(i int, 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) UploadReleaseFileReturnsOnCall(i int, 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) UploadReleaseURLReturnsOnCall(i int, 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) UploadStemcellFileReturnsOnCall(i int, 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) UploadStemcellURLReturnsOnCall(i int, 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)
- func (fake *FakeDirector) WithContextReturnsOnCall(i int, result1 director.Director)
- type FakeEvent
- func (fake *FakeEvent) Action() string
- func (fake *FakeEvent) ActionCallCount() int
- func (fake *FakeEvent) ActionReturns(result1 string)
- func (fake *FakeEvent) ActionReturnsOnCall(i int, 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) ContextReturnsOnCall(i int, result1 map[string]interface{})
- func (fake *FakeEvent) DeploymentName() string
- func (fake *FakeEvent) DeploymentNameCallCount() int
- func (fake *FakeEvent) DeploymentNameReturns(result1 string)
- func (fake *FakeEvent) DeploymentNameReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) Error() string
- func (fake *FakeEvent) ErrorCallCount() int
- func (fake *FakeEvent) ErrorReturns(result1 string)
- func (fake *FakeEvent) ErrorReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) ID() string
- func (fake *FakeEvent) IDCallCount() int
- func (fake *FakeEvent) IDReturns(result1 string)
- func (fake *FakeEvent) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) Instance() string
- func (fake *FakeEvent) InstanceCallCount() int
- func (fake *FakeEvent) InstanceReturns(result1 string)
- func (fake *FakeEvent) InstanceReturnsOnCall(i int, 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) ObjectNameReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) ObjectType() string
- func (fake *FakeEvent) ObjectTypeCallCount() int
- func (fake *FakeEvent) ObjectTypeReturns(result1 string)
- func (fake *FakeEvent) ObjectTypeReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) ParentID() string
- func (fake *FakeEvent) ParentIDCallCount() int
- func (fake *FakeEvent) ParentIDReturns(result1 string)
- func (fake *FakeEvent) ParentIDReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) TaskID() string
- func (fake *FakeEvent) TaskIDCallCount() int
- func (fake *FakeEvent) TaskIDReturns(result1 string)
- func (fake *FakeEvent) TaskIDReturnsOnCall(i int, result1 string)
- func (fake *FakeEvent) Timestamp() time.Time
- func (fake *FakeEvent) TimestampCallCount() int
- func (fake *FakeEvent) TimestampReturns(result1 time.Time)
- func (fake *FakeEvent) TimestampReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeEvent) User() string
- func (fake *FakeEvent) UserCallCount() int
- func (fake *FakeEvent) UserReturns(result1 string)
- func (fake *FakeEvent) UserReturnsOnCall(i int, 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) TrackDownloadReturnsOnCall(i int, result1 io.Writer)
- func (fake *FakeFileReporter) TrackUpload(arg1 int64, arg2 io.ReadCloser) ui.ReadSeekCloser
- func (fake *FakeFileReporter) TrackUploadArgsForCall(i int) (int64, io.ReadCloser)
- func (fake *FakeFileReporter) TrackUploadCallCount() int
- func (fake *FakeFileReporter) TrackUploadReturns(result1 ui.ReadSeekCloser)
- func (fake *FakeFileReporter) TrackUploadReturnsOnCall(i int, result1 ui.ReadSeekCloser)
- type FakeOrphanDisk
- func (fake *FakeOrphanDisk) AZName() string
- func (fake *FakeOrphanDisk) AZNameCallCount() int
- func (fake *FakeOrphanDisk) AZNameReturns(result1 string)
- func (fake *FakeOrphanDisk) AZNameReturnsOnCall(i int, result1 string)
- func (fake *FakeOrphanDisk) CID() string
- func (fake *FakeOrphanDisk) CIDCallCount() int
- func (fake *FakeOrphanDisk) CIDReturns(result1 string)
- func (fake *FakeOrphanDisk) CIDReturnsOnCall(i int, result1 string)
- func (fake *FakeOrphanDisk) Delete() error
- func (fake *FakeOrphanDisk) DeleteCallCount() int
- func (fake *FakeOrphanDisk) DeleteReturns(result1 error)
- func (fake *FakeOrphanDisk) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeOrphanDisk) Deployment() director.Deployment
- func (fake *FakeOrphanDisk) DeploymentCallCount() int
- func (fake *FakeOrphanDisk) DeploymentReturns(result1 director.Deployment)
- func (fake *FakeOrphanDisk) DeploymentReturnsOnCall(i int, result1 director.Deployment)
- func (fake *FakeOrphanDisk) InstanceName() string
- func (fake *FakeOrphanDisk) InstanceNameCallCount() int
- func (fake *FakeOrphanDisk) InstanceNameReturns(result1 string)
- func (fake *FakeOrphanDisk) InstanceNameReturnsOnCall(i int, result1 string)
- func (fake *FakeOrphanDisk) Invocations() map[string][][]interface{}
- func (fake *FakeOrphanDisk) OrphanedAt() time.Time
- func (fake *FakeOrphanDisk) OrphanedAtCallCount() int
- func (fake *FakeOrphanDisk) OrphanedAtReturns(result1 time.Time)
- func (fake *FakeOrphanDisk) OrphanedAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeOrphanDisk) Size() uint64
- func (fake *FakeOrphanDisk) SizeCallCount() int
- func (fake *FakeOrphanDisk) SizeReturns(result1 uint64)
- func (fake *FakeOrphanDisk) SizeReturnsOnCall(i int, 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) CommitHashWithMarkReturnsOnCall(i int, 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) DeleteReturnsOnCall(i int, 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) JobsReturnsOnCall(i int, result1 []director.Job, result2 error)
- func (fake *FakeRelease) Name() string
- func (fake *FakeRelease) NameCallCount() int
- func (fake *FakeRelease) NameReturns(result1 string)
- func (fake *FakeRelease) NameReturnsOnCall(i int, 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) PackagesReturnsOnCall(i int, result1 []director.Package, result2 error)
- func (fake *FakeRelease) Version() semver.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) VersionMarkReturnsOnCall(i int, result1 string)
- func (fake *FakeRelease) VersionReturns(result1 semver.Version)
- func (fake *FakeRelease) VersionReturnsOnCall(i int, result1 semver.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) FileReturnsOnCall(i int, 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) InfoReturnsOnCall(i int, 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) DeleteReturnsOnCall(i int, 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)
- func (fake *FakeReleaseSeries) NameReturnsOnCall(i int, result1 string)
- type FakeStemcell
- func (fake *FakeStemcell) CID() string
- func (fake *FakeStemcell) CIDCallCount() int
- func (fake *FakeStemcell) CIDReturns(result1 string)
- func (fake *FakeStemcell) CIDReturnsOnCall(i int, result1 string)
- func (fake *FakeStemcell) CPI() string
- func (fake *FakeStemcell) CPICallCount() int
- func (fake *FakeStemcell) CPIReturns(result1 string)
- func (fake *FakeStemcell) CPIReturnsOnCall(i int, 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) DeleteReturnsOnCall(i int, 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) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeStemcell) OSName() string
- func (fake *FakeStemcell) OSNameCallCount() int
- func (fake *FakeStemcell) OSNameReturns(result1 string)
- func (fake *FakeStemcell) OSNameReturnsOnCall(i int, result1 string)
- func (fake *FakeStemcell) Version() semver.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) VersionMarkReturnsOnCall(i int, result1 string)
- func (fake *FakeStemcell) VersionReturns(result1 semver.Version)
- func (fake *FakeStemcell) VersionReturnsOnCall(i int, result1 semver.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) FileReturnsOnCall(i int, 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) InfoReturnsOnCall(i int, 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) CPIOutputReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) Cancel() error
- func (fake *FakeTask) CancelCallCount() int
- func (fake *FakeTask) CancelReturns(result1 error)
- func (fake *FakeTask) CancelReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) ContextID() string
- func (fake *FakeTask) ContextIDCallCount() int
- func (fake *FakeTask) ContextIDReturns(result1 string)
- func (fake *FakeTask) ContextIDReturnsOnCall(i int, 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) DebugOutputReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) DeploymentName() string
- func (fake *FakeTask) DeploymentNameCallCount() int
- func (fake *FakeTask) DeploymentNameReturns(result1 string)
- func (fake *FakeTask) DeploymentNameReturnsOnCall(i int, result1 string)
- func (fake *FakeTask) Description() string
- func (fake *FakeTask) DescriptionCallCount() int
- func (fake *FakeTask) DescriptionReturns(result1 string)
- func (fake *FakeTask) DescriptionReturnsOnCall(i int, 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) EventOutputReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) ID() int
- func (fake *FakeTask) IDCallCount() int
- func (fake *FakeTask) IDReturns(result1 int)
- func (fake *FakeTask) IDReturnsOnCall(i int, 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) IsErrorReturnsOnCall(i int, result1 bool)
- func (fake *FakeTask) LastActivityAt() time.Time
- func (fake *FakeTask) LastActivityAtCallCount() int
- func (fake *FakeTask) LastActivityAtReturns(result1 time.Time)
- func (fake *FakeTask) LastActivityAtReturnsOnCall(i int, 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) ResultOutputReturnsOnCall(i int, result1 error)
- func (fake *FakeTask) ResultReturns(result1 string)
- func (fake *FakeTask) ResultReturnsOnCall(i int, result1 string)
- func (fake *FakeTask) StartedAt() time.Time
- func (fake *FakeTask) StartedAtCallCount() int
- func (fake *FakeTask) StartedAtReturns(result1 time.Time)
- func (fake *FakeTask) StartedAtReturnsOnCall(i int, result1 time.Time)
- func (fake *FakeTask) State() string
- func (fake *FakeTask) StateCallCount() int
- func (fake *FakeTask) StateReturns(result1 string)
- func (fake *FakeTask) StateReturnsOnCall(i int, result1 string)
- func (fake *FakeTask) User() string
- func (fake *FakeTask) UserCallCount() int
- func (fake *FakeTask) UserReturns(result1 string)
- func (fake *FakeTask) UserReturnsOnCall(i int, 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) DoReturnsOnCall ¶
func (fake *FakeAdjustedClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeAdjustedClient) Invocations ¶
func (fake *FakeAdjustedClient) Invocations() map[string][][]interface{}
type FakeAdjustment ¶
type FakeAdjustment struct { AdjustStub func(req *http.Request, retried bool) error NeedsReadjustmentStub func(*http.Response) bool // contains filtered or unexported fields }
func (*FakeAdjustment) Adjust ¶
func (fake *FakeAdjustment) Adjust(req *http.Request, retried bool) error
func (*FakeAdjustment) AdjustArgsForCall ¶
func (fake *FakeAdjustment) AdjustArgsForCall(i int) (*http.Request, bool)
func (*FakeAdjustment) AdjustCallCount ¶
func (fake *FakeAdjustment) AdjustCallCount() int
func (*FakeAdjustment) AdjustReturns ¶
func (fake *FakeAdjustment) AdjustReturns(result1 error)
func (*FakeAdjustment) AdjustReturnsOnCall ¶
func (fake *FakeAdjustment) AdjustReturnsOnCall(i int, result1 error)
func (*FakeAdjustment) Invocations ¶
func (fake *FakeAdjustment) Invocations() map[string][][]interface{}
func (*FakeAdjustment) NeedsReadjustment ¶
func (fake *FakeAdjustment) NeedsReadjustment(arg1 *http.Response) bool
func (*FakeAdjustment) NeedsReadjustmentArgsForCall ¶
func (fake *FakeAdjustment) NeedsReadjustmentArgsForCall(i int) *http.Response
func (*FakeAdjustment) NeedsReadjustmentCallCount ¶
func (fake *FakeAdjustment) NeedsReadjustmentCallCount() int
func (*FakeAdjustment) NeedsReadjustmentReturns ¶
func (fake *FakeAdjustment) NeedsReadjustmentReturns(result1 bool)
func (*FakeAdjustment) NeedsReadjustmentReturnsOnCall ¶
func (fake *FakeAdjustment) NeedsReadjustmentReturnsOnCall(i int, result1 bool)
type FakeDeployment ¶
type FakeDeployment struct { NameStub func() string ManifestStub func() (string, error) CloudConfigStub func() (string, error) DiffStub func([]byte, bool) (director.DeploymentDiff, error) ReleasesStub func() ([]director.Release, error) ExportReleaseStub func(director.ReleaseSlug, director.OSVersionSlug, []string) (director.ExportReleaseResult, error) TeamsStub func() ([]string, error) StemcellsStub func() ([]director.Stemcell, error) VMInfosStub func() ([]director.VMInfo, error) InstancesStub func() ([]director.Instance, error) InstanceInfosStub func() ([]director.VMInfo, error) ErrandsStub func() ([]director.Errand, error) RunErrandStub func(string, bool, bool, []director.InstanceGroupOrInstanceSlug) ([]director.ErrandResult, error) ScanForProblemsStub func() ([]director.Problem, error) ResolveProblemsStub func([]director.ProblemAnswer) error SnapshotsStub func() ([]director.Snapshot, error) TakeSnapshotsStub func() error DeleteSnapshotStub func(string) error DeleteSnapshotsStub func() error DeleteVMStub func(string) error VariablesStub func() ([]director.VariableResult, error) StartStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StartOpts) error StopStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.StopOpts) error RestartStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RestartOpts) error RecreateStub func(slug director.AllOrInstanceGroupOrInstanceSlug, opts director.RecreateOpts) error SetUpSSHStub func(director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts) (director.SSHResult, error) CleanUpSSHStub func(director.AllOrInstanceGroupOrInstanceSlug, director.SSHOpts) error FetchLogsStub func(director.AllOrInstanceGroupOrInstanceSlug, []string, bool) (director.LogsResult, error) TakeSnapshotStub func(director.InstanceSlug) error IgnoreStub func(director.InstanceSlug, bool) error EnableResurrectionStub func(director.InstanceSlug, bool) error UpdateStub func(manifest []byte, opts director.UpdateOpts) error DeleteStub func(force bool) error AttachDiskStub func(slug director.InstanceSlug, diskCID string) error // contains filtered or unexported fields }
func (*FakeDeployment) AttachDisk ¶ 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) AttachDiskReturnsOnCall ¶
func (fake *FakeDeployment) AttachDiskReturnsOnCall(i int, 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) CleanUpSSHReturnsOnCall ¶
func (fake *FakeDeployment) CleanUpSSHReturnsOnCall(i int, 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) CloudConfigReturnsOnCall ¶
func (fake *FakeDeployment) CloudConfigReturnsOnCall(i int, 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) DeleteReturnsOnCall ¶
func (fake *FakeDeployment) DeleteReturnsOnCall(i int, 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) DeleteSnapshotReturnsOnCall ¶
func (fake *FakeDeployment) DeleteSnapshotReturnsOnCall(i int, 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) DeleteSnapshotsReturnsOnCall ¶
func (fake *FakeDeployment) DeleteSnapshotsReturnsOnCall(i int, 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) DeleteVMReturnsOnCall ¶
func (fake *FakeDeployment) DeleteVMReturnsOnCall(i int, 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) DiffReturnsOnCall ¶
func (fake *FakeDeployment) DiffReturnsOnCall(i int, 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) EnableResurrectionReturnsOnCall ¶
func (fake *FakeDeployment) EnableResurrectionReturnsOnCall(i int, result1 error)
func (*FakeDeployment) ErrandsCallCount ¶
func (fake *FakeDeployment) ErrandsCallCount() int
func (*FakeDeployment) ErrandsReturns ¶
func (fake *FakeDeployment) ErrandsReturns(result1 []director.Errand, result2 error)
func (*FakeDeployment) ErrandsReturnsOnCall ¶
func (fake *FakeDeployment) ErrandsReturnsOnCall(i int, result1 []director.Errand, result2 error)
func (*FakeDeployment) ExportRelease ¶
func (fake *FakeDeployment) ExportRelease(arg1 director.ReleaseSlug, arg2 director.OSVersionSlug, arg3 []string) (director.ExportReleaseResult, error)
func (*FakeDeployment) ExportReleaseArgsForCall ¶
func (fake *FakeDeployment) ExportReleaseArgsForCall(i int) (director.ReleaseSlug, director.OSVersionSlug, []string)
func (*FakeDeployment) ExportReleaseCallCount ¶
func (fake *FakeDeployment) ExportReleaseCallCount() int
func (*FakeDeployment) ExportReleaseReturns ¶
func (fake *FakeDeployment) ExportReleaseReturns(result1 director.ExportReleaseResult, result2 error)
func (*FakeDeployment) ExportReleaseReturnsOnCall ¶
func (fake *FakeDeployment) ExportReleaseReturnsOnCall(i int, 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) FetchLogsReturnsOnCall ¶
func (fake *FakeDeployment) FetchLogsReturnsOnCall(i int, 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) IgnoreReturnsOnCall ¶
func (fake *FakeDeployment) IgnoreReturnsOnCall(i int, 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) InstanceInfosReturnsOnCall ¶
func (fake *FakeDeployment) InstanceInfosReturnsOnCall(i int, 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) InstancesReturnsOnCall ¶
func (fake *FakeDeployment) InstancesReturnsOnCall(i int, 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) ManifestReturnsOnCall ¶
func (fake *FakeDeployment) ManifestReturnsOnCall(i int, 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) NameReturnsOnCall ¶
func (fake *FakeDeployment) NameReturnsOnCall(i int, 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) RecreateReturnsOnCall ¶
func (fake *FakeDeployment) RecreateReturnsOnCall(i int, 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) ReleasesReturnsOnCall ¶
func (fake *FakeDeployment) ReleasesReturnsOnCall(i int, 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) ResolveProblemsReturnsOnCall ¶
func (fake *FakeDeployment) ResolveProblemsReturnsOnCall(i int, 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) RestartReturnsOnCall ¶
func (fake *FakeDeployment) RestartReturnsOnCall(i int, result1 error)
func (*FakeDeployment) RunErrand ¶
func (fake *FakeDeployment) RunErrand(arg1 string, arg2 bool, arg3 bool, arg4 []director.InstanceGroupOrInstanceSlug) ([]director.ErrandResult, error)
func (*FakeDeployment) RunErrandArgsForCall ¶
func (fake *FakeDeployment) RunErrandArgsForCall(i int) (string, bool, bool, []director.InstanceGroupOrInstanceSlug)
func (*FakeDeployment) RunErrandCallCount ¶
func (fake *FakeDeployment) RunErrandCallCount() int
func (*FakeDeployment) RunErrandReturns ¶
func (fake *FakeDeployment) RunErrandReturns(result1 []director.ErrandResult, result2 error)
func (*FakeDeployment) RunErrandReturnsOnCall ¶
func (fake *FakeDeployment) RunErrandReturnsOnCall(i int, 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) ScanForProblemsReturnsOnCall ¶
func (fake *FakeDeployment) ScanForProblemsReturnsOnCall(i int, 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) SetUpSSHReturnsOnCall ¶
func (fake *FakeDeployment) SetUpSSHReturnsOnCall(i int, 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) SnapshotsReturnsOnCall ¶
func (fake *FakeDeployment) SnapshotsReturnsOnCall(i int, 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) StartReturnsOnCall ¶
func (fake *FakeDeployment) StartReturnsOnCall(i int, 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) StemcellsReturnsOnCall ¶
func (fake *FakeDeployment) StemcellsReturnsOnCall(i int, 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) StopReturnsOnCall ¶
func (fake *FakeDeployment) StopReturnsOnCall(i int, 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) TakeSnapshotReturnsOnCall ¶
func (fake *FakeDeployment) TakeSnapshotReturnsOnCall(i int, 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) TakeSnapshotsReturnsOnCall ¶
func (fake *FakeDeployment) TakeSnapshotsReturnsOnCall(i int, 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) TeamsReturnsOnCall ¶
func (fake *FakeDeployment) TeamsReturnsOnCall(i int, 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) UpdateReturnsOnCall ¶
func (fake *FakeDeployment) UpdateReturnsOnCall(i int, result1 error)
func (*FakeDeployment) VMInfosCallCount ¶
func (fake *FakeDeployment) VMInfosCallCount() int
func (*FakeDeployment) VMInfosReturns ¶
func (fake *FakeDeployment) VMInfosReturns(result1 []director.VMInfo, result2 error)
func (*FakeDeployment) VMInfosReturnsOnCall ¶
func (fake *FakeDeployment) VMInfosReturnsOnCall(i int, 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)
func (*FakeDeployment) VariablesReturnsOnCall ¶
func (fake *FakeDeployment) VariablesReturnsOnCall(i int, result1 []director.VariableResult, result2 error)
type FakeDirector ¶
type FakeDirector struct { IsAuthenticatedStub func() (bool, error) WithContextStub func(id string) director.Director InfoStub func() (director.Info, error) LocksStub func() ([]director.Lock, error) CurrentTasksStub func(director.TasksFilter) ([]director.Task, error) RecentTasksStub func(int, director.TasksFilter) ([]director.Task, error) FindTaskStub func(int) (director.Task, error) FindTasksByContextIdStub func(string) ([]director.Task, error) EventsStub func(director.EventsFilter) ([]director.Event, error) EventStub func(string) (director.Event, error) DeploymentsStub func() ([]director.Deployment, error) FindDeploymentStub func(string) (director.Deployment, error) ReleasesStub func() ([]director.Release, error) HasReleaseStub func(name, version string, stemcell director.OSVersionSlug) (bool, error) FindReleaseStub func(director.ReleaseSlug) (director.Release, error) FindReleaseSeriesStub func(director.ReleaseSeriesSlug) (director.ReleaseSeries, error) UploadReleaseURLStub func(url, sha1 string, rebase, fix bool) error UploadReleaseFileStub func(file director.UploadFile, rebase, fix bool) error MatchPackagesStub func(manifest interface{}, compiled bool) ([]string, error) StemcellsStub func() ([]director.Stemcell, error) HasStemcellStub func(name, version string) (bool, error) FindStemcellStub func(director.StemcellSlug) (director.Stemcell, error) UploadStemcellURLStub func(url, sha1 string, fix bool) error UploadStemcellFileStub func(file director.UploadFile, fix bool) error LatestConfigStub func(configType string, name string) (director.Config, error) ListConfigsStub func(filter director.ConfigsFilter) ([]director.ConfigListItem, error) UpdateConfigStub func(configType string, name string, content []byte) error DeleteConfigStub func(configType string, name string) (bool, error) DiffConfigStub func(configType string, name string, manifest []byte) (director.ConfigDiff, error) DiffConfigByIDStub func(fromID string, toID string) (director.ConfigDiff, error) LatestCloudConfigStub func() (director.CloudConfig, error) UpdateCloudConfigStub func([]byte) error DiffCloudConfigStub func(manifest []byte) (director.ConfigDiff, error) LatestCPIConfigStub func() (director.CPIConfig, error) UpdateCPIConfigStub func([]byte) error DiffCPIConfigStub func(manifest []byte, noRedact bool) (director.ConfigDiff, error) LatestRuntimeConfigStub func(name string) (director.RuntimeConfig, error) UpdateRuntimeConfigStub func(name string, manifest []byte) error DiffRuntimeConfigStub func(name string, manifest []byte, noRedact bool) (director.ConfigDiff, error) FindOrphanDiskStub func(string) (director.OrphanDisk, error) OrphanDisksStub func() ([]director.OrphanDisk, error) OrphanDiskStub func(string) error EnableResurrectionStub func(bool) error CleanUpStub func(bool) error DownloadResourceUncheckedStub func(blobstoreID string, out io.Writer) error // contains filtered or unexported fields }
func (*FakeDirector) CleanUp ¶
func (fake *FakeDirector) CleanUp(arg1 bool) error
func (*FakeDirector) CleanUpArgsForCall ¶
func (fake *FakeDirector) CleanUpArgsForCall(i int) bool
func (*FakeDirector) CleanUpCallCount ¶
func (fake *FakeDirector) CleanUpCallCount() int
func (*FakeDirector) CleanUpReturns ¶
func (fake *FakeDirector) CleanUpReturns(result1 error)
func (*FakeDirector) CleanUpReturnsOnCall ¶
func (fake *FakeDirector) CleanUpReturnsOnCall(i int, result1 error)
func (*FakeDirector) CurrentTasks ¶
func (fake *FakeDirector) CurrentTasks(arg1 director.TasksFilter) ([]director.Task, error)
func (*FakeDirector) CurrentTasksArgsForCall ¶
func (fake *FakeDirector) CurrentTasksArgsForCall(i int) director.TasksFilter
func (*FakeDirector) CurrentTasksCallCount ¶
func (fake *FakeDirector) CurrentTasksCallCount() int
func (*FakeDirector) CurrentTasksReturns ¶
func (fake *FakeDirector) CurrentTasksReturns(result1 []director.Task, result2 error)
func (*FakeDirector) CurrentTasksReturnsOnCall ¶
func (fake *FakeDirector) CurrentTasksReturnsOnCall(i int, result1 []director.Task, result2 error)
func (*FakeDirector) DeleteConfig ¶
func (fake *FakeDirector) DeleteConfig(configType string, name string) (bool, error)
func (*FakeDirector) DeleteConfigArgsForCall ¶
func (fake *FakeDirector) DeleteConfigArgsForCall(i int) (string, string)
func (*FakeDirector) DeleteConfigCallCount ¶
func (fake *FakeDirector) DeleteConfigCallCount() int
func (*FakeDirector) DeleteConfigReturns ¶
func (fake *FakeDirector) DeleteConfigReturns(result1 bool, result2 error)
func (*FakeDirector) DeleteConfigReturnsOnCall ¶
func (fake *FakeDirector) DeleteConfigReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDirector) Deployments ¶
func (fake *FakeDirector) Deployments() ([]director.Deployment, error)
func (*FakeDirector) DeploymentsCallCount ¶
func (fake *FakeDirector) DeploymentsCallCount() int
func (*FakeDirector) DeploymentsReturns ¶
func (fake *FakeDirector) DeploymentsReturns(result1 []director.Deployment, result2 error)
func (*FakeDirector) DeploymentsReturnsOnCall ¶
func (fake *FakeDirector) DeploymentsReturnsOnCall(i int, result1 []director.Deployment, result2 error)
func (*FakeDirector) DiffCPIConfig ¶
func (fake *FakeDirector) DiffCPIConfig(manifest []byte, noRedact bool) (director.ConfigDiff, error)
func (*FakeDirector) DiffCPIConfigArgsForCall ¶
func (fake *FakeDirector) DiffCPIConfigArgsForCall(i int) ([]byte, bool)
func (*FakeDirector) DiffCPIConfigCallCount ¶
func (fake *FakeDirector) DiffCPIConfigCallCount() int
func (*FakeDirector) DiffCPIConfigReturns ¶
func (fake *FakeDirector) DiffCPIConfigReturns(result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffCPIConfigReturnsOnCall ¶
func (fake *FakeDirector) DiffCPIConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffCloudConfig ¶
func (fake *FakeDirector) DiffCloudConfig(manifest []byte) (director.ConfigDiff, error)
func (*FakeDirector) DiffCloudConfigArgsForCall ¶
func (fake *FakeDirector) DiffCloudConfigArgsForCall(i int) []byte
func (*FakeDirector) DiffCloudConfigCallCount ¶
func (fake *FakeDirector) DiffCloudConfigCallCount() int
func (*FakeDirector) DiffCloudConfigReturns ¶
func (fake *FakeDirector) DiffCloudConfigReturns(result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffCloudConfigReturnsOnCall ¶
func (fake *FakeDirector) DiffCloudConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffConfig ¶
func (fake *FakeDirector) DiffConfig(configType string, name string, manifest []byte) (director.ConfigDiff, error)
func (*FakeDirector) DiffConfigArgsForCall ¶
func (fake *FakeDirector) DiffConfigArgsForCall(i int) (string, string, []byte)
func (*FakeDirector) DiffConfigByID ¶
func (fake *FakeDirector) DiffConfigByID(fromID string, toID string) (director.ConfigDiff, error)
func (*FakeDirector) DiffConfigByIDArgsForCall ¶
func (fake *FakeDirector) DiffConfigByIDArgsForCall(i int) (string, string)
func (*FakeDirector) DiffConfigByIDCallCount ¶
func (fake *FakeDirector) DiffConfigByIDCallCount() int
func (*FakeDirector) DiffConfigByIDReturns ¶
func (fake *FakeDirector) DiffConfigByIDReturns(result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffConfigByIDReturnsOnCall ¶
func (fake *FakeDirector) DiffConfigByIDReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffConfigCallCount ¶
func (fake *FakeDirector) DiffConfigCallCount() int
func (*FakeDirector) DiffConfigReturns ¶
func (fake *FakeDirector) DiffConfigReturns(result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffConfigReturnsOnCall ¶
func (fake *FakeDirector) DiffConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffRuntimeConfig ¶
func (fake *FakeDirector) DiffRuntimeConfig(name string, manifest []byte, noRedact bool) (director.ConfigDiff, error)
func (*FakeDirector) DiffRuntimeConfigArgsForCall ¶
func (fake *FakeDirector) DiffRuntimeConfigArgsForCall(i int) (string, []byte, bool)
func (*FakeDirector) DiffRuntimeConfigCallCount ¶
func (fake *FakeDirector) DiffRuntimeConfigCallCount() int
func (*FakeDirector) DiffRuntimeConfigReturns ¶
func (fake *FakeDirector) DiffRuntimeConfigReturns(result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DiffRuntimeConfigReturnsOnCall ¶
func (fake *FakeDirector) DiffRuntimeConfigReturnsOnCall(i int, result1 director.ConfigDiff, result2 error)
func (*FakeDirector) DownloadResourceUnchecked ¶
func (fake *FakeDirector) DownloadResourceUnchecked(blobstoreID string, out io.Writer) error
func (*FakeDirector) DownloadResourceUncheckedArgsForCall ¶
func (fake *FakeDirector) DownloadResourceUncheckedArgsForCall(i int) (string, io.Writer)
func (*FakeDirector) DownloadResourceUncheckedCallCount ¶
func (fake *FakeDirector) DownloadResourceUncheckedCallCount() int
func (*FakeDirector) DownloadResourceUncheckedReturns ¶
func (fake *FakeDirector) DownloadResourceUncheckedReturns(result1 error)
func (*FakeDirector) DownloadResourceUncheckedReturnsOnCall ¶
func (fake *FakeDirector) DownloadResourceUncheckedReturnsOnCall(i int, result1 error)
func (*FakeDirector) EnableResurrection ¶
func (fake *FakeDirector) EnableResurrection(arg1 bool) error
func (*FakeDirector) EnableResurrectionArgsForCall ¶
func (fake *FakeDirector) EnableResurrectionArgsForCall(i int) bool
func (*FakeDirector) EnableResurrectionCallCount ¶
func (fake *FakeDirector) EnableResurrectionCallCount() int
func (*FakeDirector) EnableResurrectionReturns ¶
func (fake *FakeDirector) EnableResurrectionReturns(result1 error)
func (*FakeDirector) EnableResurrectionReturnsOnCall ¶
func (fake *FakeDirector) EnableResurrectionReturnsOnCall(i int, result1 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) EventReturnsOnCall ¶
func (fake *FakeDirector) EventReturnsOnCall(i int, result1 director.Event, result2 error)
func (*FakeDirector) Events ¶
func (fake *FakeDirector) Events(arg1 director.EventsFilter) ([]director.Event, error)
func (*FakeDirector) EventsArgsForCall ¶
func (fake *FakeDirector) EventsArgsForCall(i int) director.EventsFilter
func (*FakeDirector) EventsCallCount ¶
func (fake *FakeDirector) EventsCallCount() int
func (*FakeDirector) EventsReturns ¶
func (fake *FakeDirector) EventsReturns(result1 []director.Event, result2 error)
func (*FakeDirector) EventsReturnsOnCall ¶
func (fake *FakeDirector) EventsReturnsOnCall(i int, result1 []director.Event, result2 error)
func (*FakeDirector) FindDeployment ¶
func (fake *FakeDirector) FindDeployment(arg1 string) (director.Deployment, error)
func (*FakeDirector) FindDeploymentArgsForCall ¶
func (fake *FakeDirector) FindDeploymentArgsForCall(i int) string
func (*FakeDirector) FindDeploymentCallCount ¶
func (fake *FakeDirector) FindDeploymentCallCount() int
func (*FakeDirector) FindDeploymentReturns ¶
func (fake *FakeDirector) FindDeploymentReturns(result1 director.Deployment, result2 error)
func (*FakeDirector) FindDeploymentReturnsOnCall ¶
func (fake *FakeDirector) FindDeploymentReturnsOnCall(i int, result1 director.Deployment, result2 error)
func (*FakeDirector) FindOrphanDisk ¶
func (fake *FakeDirector) FindOrphanDisk(arg1 string) (director.OrphanDisk, error)
func (*FakeDirector) FindOrphanDiskArgsForCall ¶
func (fake *FakeDirector) FindOrphanDiskArgsForCall(i int) string
func (*FakeDirector) FindOrphanDiskCallCount ¶
func (fake *FakeDirector) FindOrphanDiskCallCount() int
func (*FakeDirector) FindOrphanDiskReturns ¶
func (fake *FakeDirector) FindOrphanDiskReturns(result1 director.OrphanDisk, result2 error)
func (*FakeDirector) FindOrphanDiskReturnsOnCall ¶
func (fake *FakeDirector) FindOrphanDiskReturnsOnCall(i int, result1 director.OrphanDisk, result2 error)
func (*FakeDirector) FindRelease ¶
func (fake *FakeDirector) FindRelease(arg1 director.ReleaseSlug) (director.Release, error)
func (*FakeDirector) FindReleaseArgsForCall ¶
func (fake *FakeDirector) FindReleaseArgsForCall(i int) director.ReleaseSlug
func (*FakeDirector) FindReleaseCallCount ¶
func (fake *FakeDirector) FindReleaseCallCount() int
func (*FakeDirector) FindReleaseReturns ¶
func (fake *FakeDirector) FindReleaseReturns(result1 director.Release, result2 error)
func (*FakeDirector) FindReleaseReturnsOnCall ¶
func (fake *FakeDirector) FindReleaseReturnsOnCall(i int, result1 director.Release, result2 error)
func (*FakeDirector) FindReleaseSeries ¶
func (fake *FakeDirector) FindReleaseSeries(arg1 director.ReleaseSeriesSlug) (director.ReleaseSeries, error)
func (*FakeDirector) FindReleaseSeriesArgsForCall ¶
func (fake *FakeDirector) FindReleaseSeriesArgsForCall(i int) director.ReleaseSeriesSlug
func (*FakeDirector) FindReleaseSeriesCallCount ¶
func (fake *FakeDirector) FindReleaseSeriesCallCount() int
func (*FakeDirector) FindReleaseSeriesReturns ¶
func (fake *FakeDirector) FindReleaseSeriesReturns(result1 director.ReleaseSeries, result2 error)
func (*FakeDirector) FindReleaseSeriesReturnsOnCall ¶
func (fake *FakeDirector) FindReleaseSeriesReturnsOnCall(i int, result1 director.ReleaseSeries, result2 error)
func (*FakeDirector) FindStemcell ¶
func (fake *FakeDirector) FindStemcell(arg1 director.StemcellSlug) (director.Stemcell, error)
func (*FakeDirector) FindStemcellArgsForCall ¶
func (fake *FakeDirector) FindStemcellArgsForCall(i int) director.StemcellSlug
func (*FakeDirector) FindStemcellCallCount ¶
func (fake *FakeDirector) FindStemcellCallCount() int
func (*FakeDirector) FindStemcellReturns ¶
func (fake *FakeDirector) FindStemcellReturns(result1 director.Stemcell, result2 error)
func (*FakeDirector) FindStemcellReturnsOnCall ¶
func (fake *FakeDirector) FindStemcellReturnsOnCall(i int, 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) FindTaskReturnsOnCall ¶
func (fake *FakeDirector) FindTaskReturnsOnCall(i int, 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) FindTasksByContextIdReturnsOnCall ¶
func (fake *FakeDirector) FindTasksByContextIdReturnsOnCall(i int, result1 []director.Task, result2 error)
func (*FakeDirector) HasRelease ¶
func (fake *FakeDirector) HasRelease(name string, version string, stemcell director.OSVersionSlug) (bool, error)
func (*FakeDirector) HasReleaseArgsForCall ¶
func (fake *FakeDirector) HasReleaseArgsForCall(i int) (string, string, director.OSVersionSlug)
func (*FakeDirector) HasReleaseCallCount ¶
func (fake *FakeDirector) HasReleaseCallCount() int
func (*FakeDirector) HasReleaseReturns ¶
func (fake *FakeDirector) HasReleaseReturns(result1 bool, result2 error)
func (*FakeDirector) HasReleaseReturnsOnCall ¶
func (fake *FakeDirector) HasReleaseReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeDirector) HasStemcell ¶
func (fake *FakeDirector) HasStemcell(name string, version string) (bool, error)
func (*FakeDirector) HasStemcellArgsForCall ¶
func (fake *FakeDirector) HasStemcellArgsForCall(i int) (string, string)
func (*FakeDirector) HasStemcellCallCount ¶
func (fake *FakeDirector) HasStemcellCallCount() int
func (*FakeDirector) HasStemcellReturns ¶
func (fake *FakeDirector) HasStemcellReturns(result1 bool, result2 error)
func (*FakeDirector) HasStemcellReturnsOnCall ¶
func (fake *FakeDirector) HasStemcellReturnsOnCall(i int, 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) InfoReturnsOnCall ¶
func (fake *FakeDirector) InfoReturnsOnCall(i int, result1 director.Info, result2 error)
func (*FakeDirector) Invocations ¶
func (fake *FakeDirector) Invocations() map[string][][]interface{}
func (*FakeDirector) IsAuthenticated ¶
func (fake *FakeDirector) IsAuthenticated() (bool, error)
func (*FakeDirector) IsAuthenticatedCallCount ¶
func (fake *FakeDirector) IsAuthenticatedCallCount() int
func (*FakeDirector) IsAuthenticatedReturns ¶
func (fake *FakeDirector) IsAuthenticatedReturns(result1 bool, result2 error)
func (*FakeDirector) IsAuthenticatedReturnsOnCall ¶
func (fake *FakeDirector) IsAuthenticatedReturnsOnCall(i int, 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) LatestCPIConfigReturnsOnCall ¶
func (fake *FakeDirector) LatestCPIConfigReturnsOnCall(i int, result1 director.CPIConfig, result2 error)
func (*FakeDirector) LatestCloudConfig ¶
func (fake *FakeDirector) LatestCloudConfig() (director.CloudConfig, error)
func (*FakeDirector) LatestCloudConfigCallCount ¶
func (fake *FakeDirector) LatestCloudConfigCallCount() int
func (*FakeDirector) LatestCloudConfigReturns ¶
func (fake *FakeDirector) LatestCloudConfigReturns(result1 director.CloudConfig, result2 error)
func (*FakeDirector) LatestCloudConfigReturnsOnCall ¶
func (fake *FakeDirector) LatestCloudConfigReturnsOnCall(i int, result1 director.CloudConfig, result2 error)
func (*FakeDirector) LatestConfig ¶
func (*FakeDirector) LatestConfigArgsForCall ¶
func (fake *FakeDirector) LatestConfigArgsForCall(i int) (string, string)
func (*FakeDirector) LatestConfigCallCount ¶
func (fake *FakeDirector) LatestConfigCallCount() int
func (*FakeDirector) LatestConfigReturns ¶
func (fake *FakeDirector) LatestConfigReturns(result1 director.Config, result2 error)
func (*FakeDirector) LatestConfigReturnsOnCall ¶
func (fake *FakeDirector) LatestConfigReturnsOnCall(i int, result1 director.Config, result2 error)
func (*FakeDirector) LatestRuntimeConfig ¶
func (fake *FakeDirector) LatestRuntimeConfig(name string) (director.RuntimeConfig, error)
func (*FakeDirector) LatestRuntimeConfigArgsForCall ¶
func (fake *FakeDirector) LatestRuntimeConfigArgsForCall(i int) string
func (*FakeDirector) LatestRuntimeConfigCallCount ¶
func (fake *FakeDirector) LatestRuntimeConfigCallCount() int
func (*FakeDirector) LatestRuntimeConfigReturns ¶
func (fake *FakeDirector) LatestRuntimeConfigReturns(result1 director.RuntimeConfig, result2 error)
func (*FakeDirector) LatestRuntimeConfigReturnsOnCall ¶
func (fake *FakeDirector) LatestRuntimeConfigReturnsOnCall(i int, result1 director.RuntimeConfig, result2 error)
func (*FakeDirector) ListConfigs ¶
func (fake *FakeDirector) ListConfigs(filter director.ConfigsFilter) ([]director.ConfigListItem, error)
func (*FakeDirector) ListConfigsArgsForCall ¶
func (fake *FakeDirector) ListConfigsArgsForCall(i int) director.ConfigsFilter
func (*FakeDirector) ListConfigsCallCount ¶
func (fake *FakeDirector) ListConfigsCallCount() int
func (*FakeDirector) ListConfigsReturns ¶
func (fake *FakeDirector) ListConfigsReturns(result1 []director.ConfigListItem, result2 error)
func (*FakeDirector) ListConfigsReturnsOnCall ¶
func (fake *FakeDirector) ListConfigsReturnsOnCall(i int, result1 []director.ConfigListItem, result2 error)
func (*FakeDirector) LocksCallCount ¶
func (fake *FakeDirector) LocksCallCount() int
func (*FakeDirector) LocksReturns ¶
func (fake *FakeDirector) LocksReturns(result1 []director.Lock, result2 error)
func (*FakeDirector) LocksReturnsOnCall ¶
func (fake *FakeDirector) LocksReturnsOnCall(i int, result1 []director.Lock, result2 error)
func (*FakeDirector) MatchPackages ¶
func (fake *FakeDirector) MatchPackages(manifest interface{}, compiled bool) ([]string, error)
func (*FakeDirector) MatchPackagesArgsForCall ¶
func (fake *FakeDirector) MatchPackagesArgsForCall(i int) (interface{}, bool)
func (*FakeDirector) MatchPackagesCallCount ¶
func (fake *FakeDirector) MatchPackagesCallCount() int
func (*FakeDirector) MatchPackagesReturns ¶
func (fake *FakeDirector) MatchPackagesReturns(result1 []string, result2 error)
func (*FakeDirector) MatchPackagesReturnsOnCall ¶
func (fake *FakeDirector) MatchPackagesReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeDirector) OrphanDisk ¶
func (fake *FakeDirector) OrphanDisk(arg1 string) error
func (*FakeDirector) OrphanDiskArgsForCall ¶
func (fake *FakeDirector) OrphanDiskArgsForCall(i int) string
func (*FakeDirector) OrphanDiskCallCount ¶
func (fake *FakeDirector) OrphanDiskCallCount() int
func (*FakeDirector) OrphanDiskReturns ¶
func (fake *FakeDirector) OrphanDiskReturns(result1 error)
func (*FakeDirector) OrphanDiskReturnsOnCall ¶
func (fake *FakeDirector) OrphanDiskReturnsOnCall(i int, result1 error)
func (*FakeDirector) OrphanDisks ¶
func (fake *FakeDirector) OrphanDisks() ([]director.OrphanDisk, error)
func (*FakeDirector) OrphanDisksCallCount ¶
func (fake *FakeDirector) OrphanDisksCallCount() int
func (*FakeDirector) OrphanDisksReturns ¶
func (fake *FakeDirector) OrphanDisksReturns(result1 []director.OrphanDisk, result2 error)
func (*FakeDirector) OrphanDisksReturnsOnCall ¶
func (fake *FakeDirector) OrphanDisksReturnsOnCall(i int, result1 []director.OrphanDisk, result2 error)
func (*FakeDirector) RecentTasks ¶
func (fake *FakeDirector) RecentTasks(arg1 int, arg2 director.TasksFilter) ([]director.Task, error)
func (*FakeDirector) RecentTasksArgsForCall ¶
func (fake *FakeDirector) RecentTasksArgsForCall(i int) (int, director.TasksFilter)
func (*FakeDirector) RecentTasksCallCount ¶
func (fake *FakeDirector) RecentTasksCallCount() int
func (*FakeDirector) RecentTasksReturns ¶
func (fake *FakeDirector) RecentTasksReturns(result1 []director.Task, result2 error)
func (*FakeDirector) RecentTasksReturnsOnCall ¶
func (fake *FakeDirector) RecentTasksReturnsOnCall(i int, 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) ReleasesReturnsOnCall ¶
func (fake *FakeDirector) ReleasesReturnsOnCall(i int, 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) StemcellsReturnsOnCall ¶
func (fake *FakeDirector) StemcellsReturnsOnCall(i int, 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) UpdateCPIConfigReturnsOnCall ¶
func (fake *FakeDirector) UpdateCPIConfigReturnsOnCall(i int, result1 error)
func (*FakeDirector) UpdateCloudConfig ¶
func (fake *FakeDirector) UpdateCloudConfig(arg1 []byte) error
func (*FakeDirector) UpdateCloudConfigArgsForCall ¶
func (fake *FakeDirector) UpdateCloudConfigArgsForCall(i int) []byte
func (*FakeDirector) UpdateCloudConfigCallCount ¶
func (fake *FakeDirector) UpdateCloudConfigCallCount() int
func (*FakeDirector) UpdateCloudConfigReturns ¶
func (fake *FakeDirector) UpdateCloudConfigReturns(result1 error)
func (*FakeDirector) UpdateCloudConfigReturnsOnCall ¶
func (fake *FakeDirector) UpdateCloudConfigReturnsOnCall(i int, result1 error)
func (*FakeDirector) UpdateConfig ¶
func (fake *FakeDirector) UpdateConfig(configType string, name string, content []byte) error
func (*FakeDirector) UpdateConfigArgsForCall ¶
func (fake *FakeDirector) UpdateConfigArgsForCall(i int) (string, string, []byte)
func (*FakeDirector) UpdateConfigCallCount ¶
func (fake *FakeDirector) UpdateConfigCallCount() int
func (*FakeDirector) UpdateConfigReturns ¶
func (fake *FakeDirector) UpdateConfigReturns(result1 error)
func (*FakeDirector) UpdateConfigReturnsOnCall ¶
func (fake *FakeDirector) UpdateConfigReturnsOnCall(i int, result1 error)
func (*FakeDirector) UpdateRuntimeConfig ¶
func (fake *FakeDirector) UpdateRuntimeConfig(name string, manifest []byte) error
func (*FakeDirector) UpdateRuntimeConfigArgsForCall ¶
func (fake *FakeDirector) UpdateRuntimeConfigArgsForCall(i int) (string, []byte)
func (*FakeDirector) UpdateRuntimeConfigCallCount ¶
func (fake *FakeDirector) UpdateRuntimeConfigCallCount() int
func (*FakeDirector) UpdateRuntimeConfigReturns ¶
func (fake *FakeDirector) UpdateRuntimeConfigReturns(result1 error)
func (*FakeDirector) UpdateRuntimeConfigReturnsOnCall ¶
func (fake *FakeDirector) UpdateRuntimeConfigReturnsOnCall(i int, result1 error)
func (*FakeDirector) UploadReleaseFile ¶
func (fake *FakeDirector) UploadReleaseFile(file director.UploadFile, rebase bool, fix bool) error
func (*FakeDirector) UploadReleaseFileArgsForCall ¶
func (fake *FakeDirector) UploadReleaseFileArgsForCall(i int) (director.UploadFile, bool, bool)
func (*FakeDirector) UploadReleaseFileCallCount ¶
func (fake *FakeDirector) UploadReleaseFileCallCount() int
func (*FakeDirector) UploadReleaseFileReturns ¶
func (fake *FakeDirector) UploadReleaseFileReturns(result1 error)
func (*FakeDirector) UploadReleaseFileReturnsOnCall ¶
func (fake *FakeDirector) UploadReleaseFileReturnsOnCall(i int, 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) UploadReleaseURLReturnsOnCall ¶
func (fake *FakeDirector) UploadReleaseURLReturnsOnCall(i int, result1 error)
func (*FakeDirector) UploadStemcellFile ¶
func (fake *FakeDirector) UploadStemcellFile(file director.UploadFile, fix bool) error
func (*FakeDirector) UploadStemcellFileArgsForCall ¶
func (fake *FakeDirector) UploadStemcellFileArgsForCall(i int) (director.UploadFile, bool)
func (*FakeDirector) UploadStemcellFileCallCount ¶
func (fake *FakeDirector) UploadStemcellFileCallCount() int
func (*FakeDirector) UploadStemcellFileReturns ¶
func (fake *FakeDirector) UploadStemcellFileReturns(result1 error)
func (*FakeDirector) UploadStemcellFileReturnsOnCall ¶
func (fake *FakeDirector) UploadStemcellFileReturnsOnCall(i int, result1 error)
func (*FakeDirector) UploadStemcellURL ¶
func (fake *FakeDirector) UploadStemcellURL(url string, sha1 string, fix bool) error
func (*FakeDirector) UploadStemcellURLArgsForCall ¶
func (fake *FakeDirector) UploadStemcellURLArgsForCall(i int) (string, string, bool)
func (*FakeDirector) UploadStemcellURLCallCount ¶
func (fake *FakeDirector) UploadStemcellURLCallCount() int
func (*FakeDirector) UploadStemcellURLReturns ¶
func (fake *FakeDirector) UploadStemcellURLReturns(result1 error)
func (*FakeDirector) UploadStemcellURLReturnsOnCall ¶
func (fake *FakeDirector) UploadStemcellURLReturnsOnCall(i int, 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)
func (*FakeDirector) WithContextReturnsOnCall ¶
func (fake *FakeDirector) WithContextReturnsOnCall(i int, result1 director.Director)
type FakeEvent ¶
type FakeEvent struct { IDStub func() string ParentIDStub func() string TimestampStub func() time.Time UserStub func() string ActionStub func() string ObjectTypeStub func() string ObjectNameStub func() string TaskIDStub func() string DeploymentNameStub func() string InstanceStub func() string ContextStub func() map[string]interface{} ErrorStub func() string // contains filtered or unexported fields }
func (*FakeEvent) ActionCallCount ¶
func (*FakeEvent) ActionReturns ¶
func (*FakeEvent) ActionReturnsOnCall ¶
func (*FakeEvent) ContextCallCount ¶
func (*FakeEvent) ContextReturns ¶
func (*FakeEvent) ContextReturnsOnCall ¶
func (*FakeEvent) DeploymentName ¶
func (*FakeEvent) DeploymentNameCallCount ¶
func (*FakeEvent) DeploymentNameReturns ¶
func (*FakeEvent) DeploymentNameReturnsOnCall ¶
func (*FakeEvent) ErrorCallCount ¶ added in v0.0.111
func (*FakeEvent) ErrorReturns ¶ added in v0.0.111
func (*FakeEvent) ErrorReturnsOnCall ¶
func (*FakeEvent) IDCallCount ¶
func (*FakeEvent) IDReturnsOnCall ¶
func (*FakeEvent) InstanceCallCount ¶
func (*FakeEvent) InstanceReturns ¶
func (*FakeEvent) InstanceReturnsOnCall ¶
func (*FakeEvent) Invocations ¶
func (*FakeEvent) ObjectName ¶
func (*FakeEvent) ObjectNameCallCount ¶
func (*FakeEvent) ObjectNameReturns ¶
func (*FakeEvent) ObjectNameReturnsOnCall ¶
func (*FakeEvent) ObjectType ¶
func (*FakeEvent) ObjectTypeCallCount ¶
func (*FakeEvent) ObjectTypeReturns ¶
func (*FakeEvent) ObjectTypeReturnsOnCall ¶
func (*FakeEvent) ParentIDCallCount ¶
func (*FakeEvent) ParentIDReturns ¶
func (*FakeEvent) ParentIDReturnsOnCall ¶
func (*FakeEvent) TaskIDCallCount ¶
func (*FakeEvent) TaskIDReturns ¶
func (*FakeEvent) TaskIDReturnsOnCall ¶
func (*FakeEvent) TimestampCallCount ¶
func (*FakeEvent) TimestampReturns ¶
func (*FakeEvent) TimestampReturnsOnCall ¶
func (*FakeEvent) UserCallCount ¶
func (*FakeEvent) UserReturns ¶
func (*FakeEvent) UserReturnsOnCall ¶
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 (*FakeFileReporter) TrackDownloadArgsForCall ¶
func (fake *FakeFileReporter) TrackDownloadArgsForCall(i int) (int64, io.Writer)
func (*FakeFileReporter) TrackDownloadCallCount ¶
func (fake *FakeFileReporter) TrackDownloadCallCount() int
func (*FakeFileReporter) TrackDownloadReturns ¶
func (fake *FakeFileReporter) TrackDownloadReturns(result1 io.Writer)
func (*FakeFileReporter) TrackDownloadReturnsOnCall ¶
func (fake *FakeFileReporter) TrackDownloadReturnsOnCall(i int, result1 io.Writer)
func (*FakeFileReporter) TrackUpload ¶
func (fake *FakeFileReporter) TrackUpload(arg1 int64, arg2 io.ReadCloser) ui.ReadSeekCloser
func (*FakeFileReporter) TrackUploadArgsForCall ¶
func (fake *FakeFileReporter) TrackUploadArgsForCall(i int) (int64, io.ReadCloser)
func (*FakeFileReporter) TrackUploadCallCount ¶
func (fake *FakeFileReporter) TrackUploadCallCount() int
func (*FakeFileReporter) TrackUploadReturns ¶
func (fake *FakeFileReporter) TrackUploadReturns(result1 ui.ReadSeekCloser)
func (*FakeFileReporter) TrackUploadReturnsOnCall ¶
func (fake *FakeFileReporter) TrackUploadReturnsOnCall(i int, result1 ui.ReadSeekCloser)
type FakeOrphanDisk ¶
type FakeOrphanDisk struct { CIDStub func() string SizeStub func() uint64 DeploymentStub func() director.Deployment InstanceNameStub func() string AZNameStub func() string OrphanedAtStub func() time.Time DeleteStub func() error // contains filtered or unexported fields }
func (*FakeOrphanDisk) AZName ¶
func (fake *FakeOrphanDisk) AZName() string
func (*FakeOrphanDisk) AZNameCallCount ¶
func (fake *FakeOrphanDisk) AZNameCallCount() int
func (*FakeOrphanDisk) AZNameReturns ¶
func (fake *FakeOrphanDisk) AZNameReturns(result1 string)
func (*FakeOrphanDisk) AZNameReturnsOnCall ¶
func (fake *FakeOrphanDisk) AZNameReturnsOnCall(i int, result1 string)
func (*FakeOrphanDisk) CID ¶
func (fake *FakeOrphanDisk) CID() string
func (*FakeOrphanDisk) CIDCallCount ¶
func (fake *FakeOrphanDisk) CIDCallCount() int
func (*FakeOrphanDisk) CIDReturns ¶
func (fake *FakeOrphanDisk) CIDReturns(result1 string)
func (*FakeOrphanDisk) CIDReturnsOnCall ¶
func (fake *FakeOrphanDisk) CIDReturnsOnCall(i int, result1 string)
func (*FakeOrphanDisk) Delete ¶
func (fake *FakeOrphanDisk) Delete() error
func (*FakeOrphanDisk) DeleteCallCount ¶
func (fake *FakeOrphanDisk) DeleteCallCount() int
func (*FakeOrphanDisk) DeleteReturns ¶
func (fake *FakeOrphanDisk) DeleteReturns(result1 error)
func (*FakeOrphanDisk) DeleteReturnsOnCall ¶
func (fake *FakeOrphanDisk) DeleteReturnsOnCall(i int, result1 error)
func (*FakeOrphanDisk) Deployment ¶
func (fake *FakeOrphanDisk) Deployment() director.Deployment
func (*FakeOrphanDisk) DeploymentCallCount ¶
func (fake *FakeOrphanDisk) DeploymentCallCount() int
func (*FakeOrphanDisk) DeploymentReturns ¶
func (fake *FakeOrphanDisk) DeploymentReturns(result1 director.Deployment)
func (*FakeOrphanDisk) DeploymentReturnsOnCall ¶
func (fake *FakeOrphanDisk) DeploymentReturnsOnCall(i int, result1 director.Deployment)
func (*FakeOrphanDisk) InstanceName ¶
func (fake *FakeOrphanDisk) InstanceName() string
func (*FakeOrphanDisk) InstanceNameCallCount ¶
func (fake *FakeOrphanDisk) InstanceNameCallCount() int
func (*FakeOrphanDisk) InstanceNameReturns ¶
func (fake *FakeOrphanDisk) InstanceNameReturns(result1 string)
func (*FakeOrphanDisk) InstanceNameReturnsOnCall ¶
func (fake *FakeOrphanDisk) InstanceNameReturnsOnCall(i int, result1 string)
func (*FakeOrphanDisk) Invocations ¶
func (fake *FakeOrphanDisk) Invocations() map[string][][]interface{}
func (*FakeOrphanDisk) OrphanedAt ¶
func (fake *FakeOrphanDisk) OrphanedAt() time.Time
func (*FakeOrphanDisk) OrphanedAtCallCount ¶
func (fake *FakeOrphanDisk) OrphanedAtCallCount() int
func (*FakeOrphanDisk) OrphanedAtReturns ¶
func (fake *FakeOrphanDisk) OrphanedAtReturns(result1 time.Time)
func (*FakeOrphanDisk) OrphanedAtReturnsOnCall ¶
func (fake *FakeOrphanDisk) OrphanedAtReturnsOnCall(i int, result1 time.Time)
func (*FakeOrphanDisk) Size ¶
func (fake *FakeOrphanDisk) Size() uint64
func (*FakeOrphanDisk) SizeCallCount ¶
func (fake *FakeOrphanDisk) SizeCallCount() int
func (*FakeOrphanDisk) SizeReturns ¶
func (fake *FakeOrphanDisk) SizeReturns(result1 uint64)
func (*FakeOrphanDisk) SizeReturnsOnCall ¶
func (fake *FakeOrphanDisk) SizeReturnsOnCall(i int, result1 uint64)
type FakeRelease ¶
type FakeRelease struct { NameStub func() string VersionStub func() semver.Version VersionMarkStub func(mark string) string CommitHashWithMarkStub func(mark string) string JobsStub func() ([]director.Job, error) PackagesStub func() ([]director.Package, error) DeleteStub func(force bool) error // contains filtered or unexported fields }
func (*FakeRelease) CommitHashWithMark ¶
func (fake *FakeRelease) CommitHashWithMark(mark string) string
func (*FakeRelease) CommitHashWithMarkArgsForCall ¶
func (fake *FakeRelease) CommitHashWithMarkArgsForCall(i int) string
func (*FakeRelease) CommitHashWithMarkCallCount ¶
func (fake *FakeRelease) CommitHashWithMarkCallCount() int
func (*FakeRelease) CommitHashWithMarkReturns ¶
func (fake *FakeRelease) CommitHashWithMarkReturns(result1 string)
func (*FakeRelease) CommitHashWithMarkReturnsOnCall ¶
func (fake *FakeRelease) CommitHashWithMarkReturnsOnCall(i int, result1 string)
func (*FakeRelease) Delete ¶
func (fake *FakeRelease) Delete(force bool) error
func (*FakeRelease) DeleteArgsForCall ¶
func (fake *FakeRelease) DeleteArgsForCall(i int) bool
func (*FakeRelease) DeleteCallCount ¶
func (fake *FakeRelease) DeleteCallCount() int
func (*FakeRelease) DeleteReturns ¶
func (fake *FakeRelease) DeleteReturns(result1 error)
func (*FakeRelease) DeleteReturnsOnCall ¶
func (fake *FakeRelease) DeleteReturnsOnCall(i int, 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) JobsReturnsOnCall ¶
func (fake *FakeRelease) JobsReturnsOnCall(i int, result1 []director.Job, result2 error)
func (*FakeRelease) Name ¶
func (fake *FakeRelease) Name() string
func (*FakeRelease) NameCallCount ¶
func (fake *FakeRelease) NameCallCount() int
func (*FakeRelease) NameReturns ¶
func (fake *FakeRelease) NameReturns(result1 string)
func (*FakeRelease) NameReturnsOnCall ¶
func (fake *FakeRelease) NameReturnsOnCall(i int, result1 string)
func (*FakeRelease) PackagesCallCount ¶
func (fake *FakeRelease) PackagesCallCount() int
func (*FakeRelease) PackagesReturns ¶
func (fake *FakeRelease) PackagesReturns(result1 []director.Package, result2 error)
func (*FakeRelease) PackagesReturnsOnCall ¶
func (fake *FakeRelease) PackagesReturnsOnCall(i int, result1 []director.Package, result2 error)
func (*FakeRelease) Version ¶
func (fake *FakeRelease) Version() semver.Version
func (*FakeRelease) VersionCallCount ¶
func (fake *FakeRelease) VersionCallCount() int
func (*FakeRelease) VersionMark ¶
func (fake *FakeRelease) VersionMark(mark string) string
func (*FakeRelease) VersionMarkArgsForCall ¶
func (fake *FakeRelease) VersionMarkArgsForCall(i int) string
func (*FakeRelease) VersionMarkCallCount ¶
func (fake *FakeRelease) VersionMarkCallCount() int
func (*FakeRelease) VersionMarkReturns ¶
func (fake *FakeRelease) VersionMarkReturns(result1 string)
func (*FakeRelease) VersionMarkReturnsOnCall ¶
func (fake *FakeRelease) VersionMarkReturnsOnCall(i int, result1 string)
func (*FakeRelease) VersionReturns ¶
func (fake *FakeRelease) VersionReturns(result1 semver.Version)
func (*FakeRelease) VersionReturnsOnCall ¶
func (fake *FakeRelease) VersionReturnsOnCall(i int, result1 semver.Version)
type FakeReleaseArchive ¶
type FakeReleaseArchive struct { InfoStub func() (string, string, error) FileStub func() (director.UploadFile, error) // contains filtered or unexported fields }
func (*FakeReleaseArchive) File ¶
func (fake *FakeReleaseArchive) File() (director.UploadFile, error)
func (*FakeReleaseArchive) FileCallCount ¶
func (fake *FakeReleaseArchive) FileCallCount() int
func (*FakeReleaseArchive) FileReturns ¶
func (fake *FakeReleaseArchive) FileReturns(result1 director.UploadFile, result2 error)
func (*FakeReleaseArchive) FileReturnsOnCall ¶
func (fake *FakeReleaseArchive) FileReturnsOnCall(i int, 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) InfoReturnsOnCall ¶
func (fake *FakeReleaseArchive) InfoReturnsOnCall(i int, result1 string, result2 string, result3 error)
func (*FakeReleaseArchive) Invocations ¶
func (fake *FakeReleaseArchive) Invocations() map[string][][]interface{}
type FakeReleaseSeries ¶
type FakeReleaseSeries struct { NameStub func() string DeleteStub func(force bool) error // contains filtered or unexported fields }
func (*FakeReleaseSeries) Delete ¶
func (fake *FakeReleaseSeries) Delete(force bool) error
func (*FakeReleaseSeries) DeleteArgsForCall ¶
func (fake *FakeReleaseSeries) DeleteArgsForCall(i int) bool
func (*FakeReleaseSeries) DeleteCallCount ¶
func (fake *FakeReleaseSeries) DeleteCallCount() int
func (*FakeReleaseSeries) DeleteReturns ¶
func (fake *FakeReleaseSeries) DeleteReturns(result1 error)
func (*FakeReleaseSeries) DeleteReturnsOnCall ¶
func (fake *FakeReleaseSeries) DeleteReturnsOnCall(i int, result1 error)
func (*FakeReleaseSeries) Invocations ¶
func (fake *FakeReleaseSeries) Invocations() map[string][][]interface{}
func (*FakeReleaseSeries) Name ¶
func (fake *FakeReleaseSeries) Name() string
func (*FakeReleaseSeries) NameCallCount ¶
func (fake *FakeReleaseSeries) NameCallCount() int
func (*FakeReleaseSeries) NameReturns ¶
func (fake *FakeReleaseSeries) NameReturns(result1 string)
func (*FakeReleaseSeries) NameReturnsOnCall ¶
func (fake *FakeReleaseSeries) NameReturnsOnCall(i int, result1 string)
type FakeStemcell ¶
type FakeStemcell struct { NameStub func() string VersionStub func() semver.Version VersionMarkStub func(mark string) string OSNameStub func() string CPIStub func() string CIDStub func() string DeleteStub func(force bool) error // contains filtered or unexported fields }
func (*FakeStemcell) CID ¶
func (fake *FakeStemcell) CID() string
func (*FakeStemcell) CIDCallCount ¶
func (fake *FakeStemcell) CIDCallCount() int
func (*FakeStemcell) CIDReturns ¶
func (fake *FakeStemcell) CIDReturns(result1 string)
func (*FakeStemcell) CIDReturnsOnCall ¶
func (fake *FakeStemcell) CIDReturnsOnCall(i int, 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) CPIReturnsOnCall ¶
func (fake *FakeStemcell) CPIReturnsOnCall(i int, result1 string)
func (*FakeStemcell) Delete ¶
func (fake *FakeStemcell) Delete(force bool) error
func (*FakeStemcell) DeleteArgsForCall ¶
func (fake *FakeStemcell) DeleteArgsForCall(i int) bool
func (*FakeStemcell) DeleteCallCount ¶
func (fake *FakeStemcell) DeleteCallCount() int
func (*FakeStemcell) DeleteReturns ¶
func (fake *FakeStemcell) DeleteReturns(result1 error)
func (*FakeStemcell) DeleteReturnsOnCall ¶
func (fake *FakeStemcell) DeleteReturnsOnCall(i int, result1 error)
func (*FakeStemcell) Invocations ¶
func (fake *FakeStemcell) Invocations() map[string][][]interface{}
func (*FakeStemcell) Name ¶
func (fake *FakeStemcell) Name() string
func (*FakeStemcell) NameCallCount ¶
func (fake *FakeStemcell) NameCallCount() int
func (*FakeStemcell) NameReturns ¶
func (fake *FakeStemcell) NameReturns(result1 string)
func (*FakeStemcell) NameReturnsOnCall ¶
func (fake *FakeStemcell) NameReturnsOnCall(i int, result1 string)
func (*FakeStemcell) OSName ¶
func (fake *FakeStemcell) OSName() string
func (*FakeStemcell) OSNameCallCount ¶
func (fake *FakeStemcell) OSNameCallCount() int
func (*FakeStemcell) OSNameReturns ¶
func (fake *FakeStemcell) OSNameReturns(result1 string)
func (*FakeStemcell) OSNameReturnsOnCall ¶
func (fake *FakeStemcell) OSNameReturnsOnCall(i int, result1 string)
func (*FakeStemcell) Version ¶
func (fake *FakeStemcell) Version() semver.Version
func (*FakeStemcell) VersionCallCount ¶
func (fake *FakeStemcell) VersionCallCount() int
func (*FakeStemcell) VersionMark ¶
func (fake *FakeStemcell) VersionMark(mark string) string
func (*FakeStemcell) VersionMarkArgsForCall ¶
func (fake *FakeStemcell) VersionMarkArgsForCall(i int) string
func (*FakeStemcell) VersionMarkCallCount ¶
func (fake *FakeStemcell) VersionMarkCallCount() int
func (*FakeStemcell) VersionMarkReturns ¶
func (fake *FakeStemcell) VersionMarkReturns(result1 string)
func (*FakeStemcell) VersionMarkReturnsOnCall ¶
func (fake *FakeStemcell) VersionMarkReturnsOnCall(i int, result1 string)
func (*FakeStemcell) VersionReturns ¶
func (fake *FakeStemcell) VersionReturns(result1 semver.Version)
func (*FakeStemcell) VersionReturnsOnCall ¶
func (fake *FakeStemcell) VersionReturnsOnCall(i int, result1 semver.Version)
type FakeStemcellArchive ¶
type FakeStemcellArchive struct { InfoStub func() (string, string, error) FileStub func() (director.UploadFile, error) // contains filtered or unexported fields }
func (*FakeStemcellArchive) File ¶
func (fake *FakeStemcellArchive) File() (director.UploadFile, error)
func (*FakeStemcellArchive) FileCallCount ¶
func (fake *FakeStemcellArchive) FileCallCount() int
func (*FakeStemcellArchive) FileReturns ¶
func (fake *FakeStemcellArchive) FileReturns(result1 director.UploadFile, result2 error)
func (*FakeStemcellArchive) FileReturnsOnCall ¶
func (fake *FakeStemcellArchive) FileReturnsOnCall(i int, 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) InfoReturnsOnCall ¶
func (fake *FakeStemcellArchive) InfoReturnsOnCall(i int, result1 string, result2 string, result3 error)
func (*FakeStemcellArchive) Invocations ¶
func (fake *FakeStemcellArchive) Invocations() map[string][][]interface{}
type FakeTask ¶
type FakeTask struct { IDStub func() int StartedAtStub func() time.Time LastActivityAtStub func() time.Time StateStub func() string IsErrorStub func() bool UserStub func() string DeploymentNameStub func() string ContextIDStub func() string DescriptionStub func() string ResultStub func() string EventOutputStub func(director.TaskReporter) error CPIOutputStub func(director.TaskReporter) error DebugOutputStub func(director.TaskReporter) error ResultOutputStub func(director.TaskReporter) error CancelStub func() error // contains filtered or unexported fields }
func (*FakeTask) CPIOutputArgsForCall ¶
func (fake *FakeTask) CPIOutputArgsForCall(i int) director.TaskReporter
func (*FakeTask) CPIOutputCallCount ¶
func (*FakeTask) CPIOutputReturns ¶
func (*FakeTask) CPIOutputReturnsOnCall ¶
func (*FakeTask) CancelCallCount ¶
func (*FakeTask) CancelReturns ¶
func (*FakeTask) CancelReturnsOnCall ¶
func (*FakeTask) ContextIDCallCount ¶ added in v0.0.143
func (*FakeTask) ContextIDReturns ¶ added in v0.0.143
func (*FakeTask) ContextIDReturnsOnCall ¶
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) DebugOutputReturnsOnCall ¶
func (*FakeTask) DeploymentName ¶
func (*FakeTask) DeploymentNameCallCount ¶
func (*FakeTask) DeploymentNameReturns ¶
func (*FakeTask) DeploymentNameReturnsOnCall ¶
func (*FakeTask) Description ¶
func (*FakeTask) DescriptionCallCount ¶
func (*FakeTask) DescriptionReturns ¶
func (*FakeTask) DescriptionReturnsOnCall ¶
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) EventOutputReturnsOnCall ¶
func (*FakeTask) IDCallCount ¶
func (*FakeTask) IDReturnsOnCall ¶
func (*FakeTask) Invocations ¶
func (*FakeTask) IsErrorCallCount ¶
func (*FakeTask) IsErrorReturns ¶
func (*FakeTask) IsErrorReturnsOnCall ¶
func (*FakeTask) LastActivityAt ¶
func (*FakeTask) LastActivityAtCallCount ¶
func (*FakeTask) LastActivityAtReturns ¶
func (*FakeTask) LastActivityAtReturnsOnCall ¶
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) ResultOutputReturnsOnCall ¶
func (*FakeTask) ResultReturns ¶
func (*FakeTask) ResultReturnsOnCall ¶
func (*FakeTask) StartedAtCallCount ¶
func (*FakeTask) StartedAtReturns ¶
func (*FakeTask) StartedAtReturnsOnCall ¶
func (*FakeTask) StateCallCount ¶
func (*FakeTask) StateReturns ¶
func (*FakeTask) StateReturnsOnCall ¶
func (*FakeTask) UserCallCount ¶
func (*FakeTask) UserReturns ¶
func (*FakeTask) UserReturnsOnCall ¶
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()