Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeAppDiffer
- func (fake *FakeAppDiffer) Deleted() <-chan []string
- func (fake *FakeAppDiffer) DeletedCallCount() int
- func (fake *FakeAppDiffer) DeletedReturns(result1 <-chan []string)
- func (fake *FakeAppDiffer) Diff(logger lager.Logger, cancel <-chan struct{}, ...) <-chan error
- func (fake *FakeAppDiffer) DiffArgsForCall(i int) (lager.Logger, <-chan struct{}, <-chan []cc_messages.CCDesiredAppFingerprint)
- func (fake *FakeAppDiffer) DiffCallCount() int
- func (fake *FakeAppDiffer) DiffReturns(result1 <-chan error)
- func (fake *FakeAppDiffer) Missing() <-chan []cc_messages.CCDesiredAppFingerprint
- func (fake *FakeAppDiffer) MissingCallCount() int
- func (fake *FakeAppDiffer) MissingReturns(result1 <-chan []cc_messages.CCDesiredAppFingerprint)
- func (fake *FakeAppDiffer) Stale() <-chan []cc_messages.CCDesiredAppFingerprint
- func (fake *FakeAppDiffer) StaleCallCount() int
- func (fake *FakeAppDiffer) StaleReturns(result1 <-chan []cc_messages.CCDesiredAppFingerprint)
- type FakeFetcher
- func (fake *FakeFetcher) FetchDesiredApps(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client, ...) (<-chan []cc_messages.DesireAppRequestFromCC, <-chan error)
- func (fake *FakeFetcher) FetchDesiredAppsArgsForCall(i int) (lager.Logger, <-chan struct{}, *http.Client, ...)
- func (fake *FakeFetcher) FetchDesiredAppsCallCount() int
- func (fake *FakeFetcher) FetchDesiredAppsReturns(result1 <-chan []cc_messages.DesireAppRequestFromCC, result2 <-chan error)
- func (fake *FakeFetcher) FetchFingerprints(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client) (<-chan []cc_messages.CCDesiredAppFingerprint, <-chan error)
- func (fake *FakeFetcher) FetchFingerprintsArgsForCall(i int) (lager.Logger, <-chan struct{}, *http.Client)
- func (fake *FakeFetcher) FetchFingerprintsCallCount() int
- func (fake *FakeFetcher) FetchFingerprintsReturns(result1 <-chan []cc_messages.CCDesiredAppFingerprint, result2 <-chan error)
- func (fake *FakeFetcher) FetchTaskStates(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client) (<-chan []cc_messages.CCTaskState, <-chan error)
- func (fake *FakeFetcher) FetchTaskStatesArgsForCall(i int) (lager.Logger, <-chan struct{}, *http.Client)
- func (fake *FakeFetcher) FetchTaskStatesCallCount() int
- func (fake *FakeFetcher) FetchTaskStatesReturns(result1 <-chan []cc_messages.CCTaskState, result2 <-chan error)
- type FakeRecipeBuilder
- func (fake *FakeRecipeBuilder) Build(arg1 *cc_messages.DesireAppRequestFromCC) (*models.DesiredLRP, error)
- func (fake *FakeRecipeBuilder) BuildArgsForCall(i int) *cc_messages.DesireAppRequestFromCC
- func (fake *FakeRecipeBuilder) BuildCallCount() int
- func (fake *FakeRecipeBuilder) BuildReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeRecipeBuilder) BuildTask(arg1 *cc_messages.TaskRequestFromCC) (*models.TaskDefinition, error)
- func (fake *FakeRecipeBuilder) BuildTaskArgsForCall(i int) *cc_messages.TaskRequestFromCC
- func (fake *FakeRecipeBuilder) BuildTaskCallCount() int
- func (fake *FakeRecipeBuilder) BuildTaskReturns(result1 *models.TaskDefinition, result2 error)
- func (fake *FakeRecipeBuilder) ExtractExposedPorts(arg1 *cc_messages.DesireAppRequestFromCC) ([]uint32, error)
- func (fake *FakeRecipeBuilder) ExtractExposedPortsArgsForCall(i int) *cc_messages.DesireAppRequestFromCC
- func (fake *FakeRecipeBuilder) ExtractExposedPortsCallCount() int
- func (fake *FakeRecipeBuilder) ExtractExposedPortsReturns(result1 []uint32, result2 error)
- type FakeTaskClient
- func (fake *FakeTaskClient) FailTask(logger lager.Logger, taskState *cc_messages.CCTaskState, ...) error
- func (fake *FakeTaskClient) FailTaskArgsForCall(i int) (lager.Logger, *cc_messages.CCTaskState, *http.Client)
- func (fake *FakeTaskClient) FailTaskCallCount() int
- func (fake *FakeTaskClient) FailTaskReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppDiffer ¶
type FakeAppDiffer struct { DiffStub func(logger lager.Logger, cancel <-chan struct{}, fingerprints <-chan []cc_messages.CCDesiredAppFingerprint) <-chan error StaleStub func() <-chan []cc_messages.CCDesiredAppFingerprint MissingStub func() <-chan []cc_messages.CCDesiredAppFingerprint DeletedStub func() <-chan []string // contains filtered or unexported fields }
func (*FakeAppDiffer) Deleted ¶
func (fake *FakeAppDiffer) Deleted() <-chan []string
func (*FakeAppDiffer) DeletedCallCount ¶
func (fake *FakeAppDiffer) DeletedCallCount() int
func (*FakeAppDiffer) DeletedReturns ¶
func (fake *FakeAppDiffer) DeletedReturns(result1 <-chan []string)
func (*FakeAppDiffer) Diff ¶
func (fake *FakeAppDiffer) Diff(logger lager.Logger, cancel <-chan struct{}, fingerprints <-chan []cc_messages.CCDesiredAppFingerprint) <-chan error
func (*FakeAppDiffer) DiffArgsForCall ¶
func (fake *FakeAppDiffer) DiffArgsForCall(i int) (lager.Logger, <-chan struct{}, <-chan []cc_messages.CCDesiredAppFingerprint)
func (*FakeAppDiffer) DiffCallCount ¶
func (fake *FakeAppDiffer) DiffCallCount() int
func (*FakeAppDiffer) DiffReturns ¶
func (fake *FakeAppDiffer) DiffReturns(result1 <-chan error)
func (*FakeAppDiffer) Missing ¶
func (fake *FakeAppDiffer) Missing() <-chan []cc_messages.CCDesiredAppFingerprint
func (*FakeAppDiffer) MissingCallCount ¶
func (fake *FakeAppDiffer) MissingCallCount() int
func (*FakeAppDiffer) MissingReturns ¶
func (fake *FakeAppDiffer) MissingReturns(result1 <-chan []cc_messages.CCDesiredAppFingerprint)
func (*FakeAppDiffer) Stale ¶
func (fake *FakeAppDiffer) Stale() <-chan []cc_messages.CCDesiredAppFingerprint
func (*FakeAppDiffer) StaleCallCount ¶
func (fake *FakeAppDiffer) StaleCallCount() int
func (*FakeAppDiffer) StaleReturns ¶
func (fake *FakeAppDiffer) StaleReturns(result1 <-chan []cc_messages.CCDesiredAppFingerprint)
type FakeFetcher ¶
type FakeFetcher struct { FetchFingerprintsStub func(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client) (<-chan []cc_messages.CCDesiredAppFingerprint, <-chan error) FetchTaskStatesStub func(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client) (<-chan []cc_messages.CCTaskState, <-chan error) FetchDesiredAppsStub func(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client, fingerprints <-chan []cc_messages.CCDesiredAppFingerprint) (<-chan []cc_messages.DesireAppRequestFromCC, <-chan error) // contains filtered or unexported fields }
func (*FakeFetcher) FetchDesiredApps ¶
func (fake *FakeFetcher) FetchDesiredApps(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client, fingerprints <-chan []cc_messages.CCDesiredAppFingerprint) (<-chan []cc_messages.DesireAppRequestFromCC, <-chan error)
func (*FakeFetcher) FetchDesiredAppsArgsForCall ¶
func (fake *FakeFetcher) FetchDesiredAppsArgsForCall(i int) (lager.Logger, <-chan struct{}, *http.Client, <-chan []cc_messages.CCDesiredAppFingerprint)
func (*FakeFetcher) FetchDesiredAppsCallCount ¶
func (fake *FakeFetcher) FetchDesiredAppsCallCount() int
func (*FakeFetcher) FetchDesiredAppsReturns ¶
func (fake *FakeFetcher) FetchDesiredAppsReturns(result1 <-chan []cc_messages.DesireAppRequestFromCC, result2 <-chan error)
func (*FakeFetcher) FetchFingerprints ¶
func (fake *FakeFetcher) FetchFingerprints(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client) (<-chan []cc_messages.CCDesiredAppFingerprint, <-chan error)
func (*FakeFetcher) FetchFingerprintsArgsForCall ¶
func (*FakeFetcher) FetchFingerprintsCallCount ¶
func (fake *FakeFetcher) FetchFingerprintsCallCount() int
func (*FakeFetcher) FetchFingerprintsReturns ¶
func (fake *FakeFetcher) FetchFingerprintsReturns(result1 <-chan []cc_messages.CCDesiredAppFingerprint, result2 <-chan error)
func (*FakeFetcher) FetchTaskStates ¶
func (fake *FakeFetcher) FetchTaskStates(logger lager.Logger, cancel <-chan struct{}, httpClient *http.Client) (<-chan []cc_messages.CCTaskState, <-chan error)
func (*FakeFetcher) FetchTaskStatesArgsForCall ¶
func (*FakeFetcher) FetchTaskStatesCallCount ¶
func (fake *FakeFetcher) FetchTaskStatesCallCount() int
func (*FakeFetcher) FetchTaskStatesReturns ¶
func (fake *FakeFetcher) FetchTaskStatesReturns(result1 <-chan []cc_messages.CCTaskState, result2 <-chan error)
type FakeRecipeBuilder ¶
type FakeRecipeBuilder struct { BuildStub func(*cc_messages.DesireAppRequestFromCC) (*models.DesiredLRP, error) BuildTaskStub func(*cc_messages.TaskRequestFromCC) (*models.TaskDefinition, error) ExtractExposedPortsStub func(*cc_messages.DesireAppRequestFromCC) ([]uint32, error) // contains filtered or unexported fields }
func (*FakeRecipeBuilder) Build ¶
func (fake *FakeRecipeBuilder) Build(arg1 *cc_messages.DesireAppRequestFromCC) (*models.DesiredLRP, error)
func (*FakeRecipeBuilder) BuildArgsForCall ¶
func (fake *FakeRecipeBuilder) BuildArgsForCall(i int) *cc_messages.DesireAppRequestFromCC
func (*FakeRecipeBuilder) BuildCallCount ¶
func (fake *FakeRecipeBuilder) BuildCallCount() int
func (*FakeRecipeBuilder) BuildReturns ¶
func (fake *FakeRecipeBuilder) BuildReturns(result1 *models.DesiredLRP, result2 error)
func (*FakeRecipeBuilder) BuildTask ¶
func (fake *FakeRecipeBuilder) BuildTask(arg1 *cc_messages.TaskRequestFromCC) (*models.TaskDefinition, error)
func (*FakeRecipeBuilder) BuildTaskArgsForCall ¶
func (fake *FakeRecipeBuilder) BuildTaskArgsForCall(i int) *cc_messages.TaskRequestFromCC
func (*FakeRecipeBuilder) BuildTaskCallCount ¶
func (fake *FakeRecipeBuilder) BuildTaskCallCount() int
func (*FakeRecipeBuilder) BuildTaskReturns ¶
func (fake *FakeRecipeBuilder) BuildTaskReturns(result1 *models.TaskDefinition, result2 error)
func (*FakeRecipeBuilder) ExtractExposedPorts ¶
func (fake *FakeRecipeBuilder) ExtractExposedPorts(arg1 *cc_messages.DesireAppRequestFromCC) ([]uint32, error)
func (*FakeRecipeBuilder) ExtractExposedPortsArgsForCall ¶
func (fake *FakeRecipeBuilder) ExtractExposedPortsArgsForCall(i int) *cc_messages.DesireAppRequestFromCC
func (*FakeRecipeBuilder) ExtractExposedPortsCallCount ¶
func (fake *FakeRecipeBuilder) ExtractExposedPortsCallCount() int
func (*FakeRecipeBuilder) ExtractExposedPortsReturns ¶
func (fake *FakeRecipeBuilder) ExtractExposedPortsReturns(result1 []uint32, result2 error)
type FakeTaskClient ¶
type FakeTaskClient struct { FailTaskStub func(logger lager.Logger, taskState *cc_messages.CCTaskState, httpClient *http.Client) error // contains filtered or unexported fields }
func (*FakeTaskClient) FailTask ¶
func (fake *FakeTaskClient) FailTask(logger lager.Logger, taskState *cc_messages.CCTaskState, httpClient *http.Client) error
func (*FakeTaskClient) FailTaskArgsForCall ¶
func (fake *FakeTaskClient) FailTaskArgsForCall(i int) (lager.Logger, *cc_messages.CCTaskState, *http.Client)
func (*FakeTaskClient) FailTaskCallCount ¶
func (fake *FakeTaskClient) FailTaskCallCount() int
func (*FakeTaskClient) FailTaskReturns ¶
func (fake *FakeTaskClient) FailTaskReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.