Documentation
¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeBundleGenerator
- func (fake *FakeBundleGenerator) Generate(spec gardener.DesiredContainerSpec) goci.Bndl
- func (fake *FakeBundleGenerator) GenerateArgsForCall(i int) gardener.DesiredContainerSpec
- func (fake *FakeBundleGenerator) GenerateCallCount() int
- func (fake *FakeBundleGenerator) GenerateReturns(result1 goci.Bndl)
- func (fake *FakeBundleGenerator) Invocations() map[string][][]interface{}
- type FakeBundleLoader
- func (fake *FakeBundleLoader) Invocations() map[string][][]interface{}
- func (fake *FakeBundleLoader) Load(path string) (goci.Bndl, error)
- func (fake *FakeBundleLoader) LoadArgsForCall(i int) string
- func (fake *FakeBundleLoader) LoadCallCount() int
- func (fake *FakeBundleLoader) LoadReturns(result1 goci.Bndl, result2 error)
- type FakeBundlerRule
- func (fake *FakeBundlerRule) Apply(bndle goci.Bndl, spec gardener.DesiredContainerSpec) goci.Bndl
- func (fake *FakeBundlerRule) ApplyArgsForCall(i int) (goci.Bndl, gardener.DesiredContainerSpec)
- func (fake *FakeBundlerRule) ApplyCallCount() int
- func (fake *FakeBundlerRule) ApplyReturns(result1 goci.Bndl)
- func (fake *FakeBundlerRule) Invocations() map[string][][]interface{}
- type FakeDepot
- func (fake *FakeDepot) Create(log lager.Logger, handle string, bundle depot.BundleSaver) error
- func (fake *FakeDepot) CreateArgsForCall(i int) (lager.Logger, string, depot.BundleSaver)
- func (fake *FakeDepot) CreateCallCount() int
- func (fake *FakeDepot) CreateReturns(result1 error)
- func (fake *FakeDepot) Destroy(log lager.Logger, handle string) error
- func (fake *FakeDepot) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeDepot) DestroyCallCount() int
- func (fake *FakeDepot) DestroyReturns(result1 error)
- func (fake *FakeDepot) Handles() ([]string, error)
- func (fake *FakeDepot) HandlesCallCount() int
- func (fake *FakeDepot) HandlesReturns(result1 []string, result2 error)
- func (fake *FakeDepot) Invocations() map[string][][]interface{}
- func (fake *FakeDepot) Lookup(log lager.Logger, handle string) (path string, err error)
- func (fake *FakeDepot) LookupArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeDepot) LookupCallCount() int
- func (fake *FakeDepot) LookupReturns(result1 string, result2 error)
- type FakeEventStore
- func (fake *FakeEventStore) Events(id string) []string
- func (fake *FakeEventStore) EventsArgsForCall(i int) string
- func (fake *FakeEventStore) EventsCallCount() int
- func (fake *FakeEventStore) EventsReturns(result1 []string)
- func (fake *FakeEventStore) Invocations() map[string][][]interface{}
- func (fake *FakeEventStore) OnEvent(id string, event string) error
- func (fake *FakeEventStore) OnEventArgsForCall(i int) (string, string)
- func (fake *FakeEventStore) OnEventCallCount() int
- func (fake *FakeEventStore) OnEventReturns(result1 error)
- type FakeNstarRunner
- func (fake *FakeNstarRunner) Invocations() map[string][][]interface{}
- func (fake *FakeNstarRunner) StreamIn(log lager.Logger, pid int, path string, user string, tarStream io.Reader) error
- func (fake *FakeNstarRunner) StreamInArgsForCall(i int) (lager.Logger, int, string, string, io.Reader)
- func (fake *FakeNstarRunner) StreamInCallCount() int
- func (fake *FakeNstarRunner) StreamInReturns(result1 error)
- func (fake *FakeNstarRunner) StreamOut(log lager.Logger, pid int, path string, user string) (io.ReadCloser, error)
- func (fake *FakeNstarRunner) StreamOutArgsForCall(i int) (lager.Logger, int, string, string)
- func (fake *FakeNstarRunner) StreamOutCallCount() int
- func (fake *FakeNstarRunner) StreamOutReturns(result1 io.ReadCloser, result2 error)
- type FakeOCIRuntime
- func (fake *FakeOCIRuntime) Attach(log lager.Logger, id string, bundlePath string, processId string, ...) (garden.Process, error)
- func (fake *FakeOCIRuntime) AttachArgsForCall(i int) (lager.Logger, string, string, string, garden.ProcessIO)
- func (fake *FakeOCIRuntime) AttachCallCount() int
- func (fake *FakeOCIRuntime) AttachReturns(result1 garden.Process, result2 error)
- func (fake *FakeOCIRuntime) Create(log lager.Logger, bundlePath string, id string, io garden.ProcessIO) error
- func (fake *FakeOCIRuntime) CreateArgsForCall(i int) (lager.Logger, string, string, garden.ProcessIO)
- func (fake *FakeOCIRuntime) CreateCallCount() int
- func (fake *FakeOCIRuntime) CreateReturns(result1 error)
- func (fake *FakeOCIRuntime) Delete(log lager.Logger, bundlePath string) error
- func (fake *FakeOCIRuntime) DeleteArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) DeleteCallCount() int
- func (fake *FakeOCIRuntime) DeleteReturns(result1 error)
- func (fake *FakeOCIRuntime) Exec(log lager.Logger, id string, bundlePath string, spec garden.ProcessSpec, ...) (garden.Process, error)
- func (fake *FakeOCIRuntime) ExecArgsForCall(i int) (lager.Logger, string, string, garden.ProcessSpec, garden.ProcessIO)
- func (fake *FakeOCIRuntime) ExecCallCount() int
- func (fake *FakeOCIRuntime) ExecReturns(result1 garden.Process, result2 error)
- func (fake *FakeOCIRuntime) Invocations() map[string][][]interface{}
- func (fake *FakeOCIRuntime) Kill(log lager.Logger, bundlePath string) error
- func (fake *FakeOCIRuntime) KillArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) KillCallCount() int
- func (fake *FakeOCIRuntime) KillReturns(result1 error)
- func (fake *FakeOCIRuntime) State(log lager.Logger, id string) (runrunc.State, error)
- func (fake *FakeOCIRuntime) StateArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) StateCallCount() int
- func (fake *FakeOCIRuntime) StateReturns(result1 runrunc.State, result2 error)
- func (fake *FakeOCIRuntime) Stats(log lager.Logger, id string) (gardener.ActualContainerMetrics, error)
- func (fake *FakeOCIRuntime) StatsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeOCIRuntime) StatsCallCount() int
- func (fake *FakeOCIRuntime) StatsReturns(result1 gardener.ActualContainerMetrics, result2 error)
- func (fake *FakeOCIRuntime) WatchEvents(log lager.Logger, id string, eventsNotifier runrunc.EventsNotifier) error
- func (fake *FakeOCIRuntime) WatchEventsArgsForCall(i int) (lager.Logger, string, runrunc.EventsNotifier)
- func (fake *FakeOCIRuntime) WatchEventsCallCount() int
- func (fake *FakeOCIRuntime) WatchEventsReturns(result1 error)
- type FakeProperties
- func (fake *FakeProperties) Get(handle string, key string) (string, bool)
- func (fake *FakeProperties) GetArgsForCall(i int) (string, string)
- func (fake *FakeProperties) GetCallCount() int
- func (fake *FakeProperties) GetReturns(result1 string, result2 bool)
- func (fake *FakeProperties) Invocations() map[string][][]interface{}
- func (fake *FakeProperties) Set(handle string, key string, value string)
- func (fake *FakeProperties) SetArgsForCall(i int) (string, string, string)
- func (fake *FakeProperties) SetCallCount() int
- type FakeStateStore
- func (fake *FakeStateStore) Invocations() map[string][][]interface{}
- func (fake *FakeStateStore) IsStopped(handle string) bool
- func (fake *FakeStateStore) IsStoppedArgsForCall(i int) string
- func (fake *FakeStateStore) IsStoppedCallCount() int
- func (fake *FakeStateStore) IsStoppedReturns(result1 bool)
- func (fake *FakeStateStore) StoreStopped(handle string)
- func (fake *FakeStateStore) StoreStoppedArgsForCall(i int) string
- func (fake *FakeStateStore) StoreStoppedCallCount() int
- type FakeStopper
- func (fake *FakeStopper) Invocations() map[string][][]interface{}
- func (fake *FakeStopper) StopAll(log lager.Logger, cgroupName string, save []int, kill bool) error
- func (fake *FakeStopper) StopAllArgsForCall(i int) (lager.Logger, string, []int, bool)
- func (fake *FakeStopper) StopAllCallCount() int
- func (fake *FakeStopper) StopAllReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBundleGenerator ¶
type FakeBundleGenerator struct { GenerateStub func(spec gardener.DesiredContainerSpec) goci.Bndl // contains filtered or unexported fields }
func (*FakeBundleGenerator) Generate ¶
func (fake *FakeBundleGenerator) Generate(spec gardener.DesiredContainerSpec) goci.Bndl
func (*FakeBundleGenerator) GenerateArgsForCall ¶
func (fake *FakeBundleGenerator) GenerateArgsForCall(i int) gardener.DesiredContainerSpec
func (*FakeBundleGenerator) GenerateCallCount ¶
func (fake *FakeBundleGenerator) GenerateCallCount() int
func (*FakeBundleGenerator) GenerateReturns ¶
func (fake *FakeBundleGenerator) GenerateReturns(result1 goci.Bndl)
func (*FakeBundleGenerator) Invocations ¶
func (fake *FakeBundleGenerator) Invocations() map[string][][]interface{}
type FakeBundleLoader ¶
type FakeBundleLoader struct { LoadStub func(path string) (goci.Bndl, error) // contains filtered or unexported fields }
func (*FakeBundleLoader) Invocations ¶
func (fake *FakeBundleLoader) Invocations() map[string][][]interface{}
func (*FakeBundleLoader) LoadArgsForCall ¶
func (fake *FakeBundleLoader) LoadArgsForCall(i int) string
func (*FakeBundleLoader) LoadCallCount ¶
func (fake *FakeBundleLoader) LoadCallCount() int
func (*FakeBundleLoader) LoadReturns ¶
func (fake *FakeBundleLoader) LoadReturns(result1 goci.Bndl, result2 error)
type FakeBundlerRule ¶
type FakeBundlerRule struct { ApplyStub func(bndle goci.Bndl, spec gardener.DesiredContainerSpec) goci.Bndl // contains filtered or unexported fields }
func (*FakeBundlerRule) Apply ¶
func (fake *FakeBundlerRule) Apply(bndle goci.Bndl, spec gardener.DesiredContainerSpec) goci.Bndl
func (*FakeBundlerRule) ApplyArgsForCall ¶
func (fake *FakeBundlerRule) ApplyArgsForCall(i int) (goci.Bndl, gardener.DesiredContainerSpec)
func (*FakeBundlerRule) ApplyCallCount ¶
func (fake *FakeBundlerRule) ApplyCallCount() int
func (*FakeBundlerRule) ApplyReturns ¶
func (fake *FakeBundlerRule) ApplyReturns(result1 goci.Bndl)
func (*FakeBundlerRule) Invocations ¶
func (fake *FakeBundlerRule) Invocations() map[string][][]interface{}
type FakeDepot ¶
type FakeDepot struct { CreateStub func(log lager.Logger, handle string, bundle depot.BundleSaver) error LookupStub func(log lager.Logger, handle string) (path string, err error) DestroyStub func(log lager.Logger, handle string) error HandlesStub func() ([]string, error) // contains filtered or unexported fields }
func (*FakeDepot) CreateArgsForCall ¶
func (*FakeDepot) CreateCallCount ¶
func (*FakeDepot) CreateReturns ¶
func (*FakeDepot) DestroyArgsForCall ¶
func (*FakeDepot) DestroyCallCount ¶
func (*FakeDepot) DestroyReturns ¶
func (*FakeDepot) HandlesCallCount ¶
func (*FakeDepot) HandlesReturns ¶
func (*FakeDepot) Invocations ¶
func (*FakeDepot) LookupArgsForCall ¶
func (*FakeDepot) LookupCallCount ¶
func (*FakeDepot) LookupReturns ¶
type FakeEventStore ¶
type FakeEventStore struct { OnEventStub func(id string, event string) error EventsStub func(id string) []string // contains filtered or unexported fields }
func (*FakeEventStore) Events ¶
func (fake *FakeEventStore) Events(id string) []string
func (*FakeEventStore) EventsArgsForCall ¶
func (fake *FakeEventStore) EventsArgsForCall(i int) string
func (*FakeEventStore) EventsCallCount ¶
func (fake *FakeEventStore) EventsCallCount() int
func (*FakeEventStore) EventsReturns ¶
func (fake *FakeEventStore) EventsReturns(result1 []string)
func (*FakeEventStore) Invocations ¶
func (fake *FakeEventStore) Invocations() map[string][][]interface{}
func (*FakeEventStore) OnEventArgsForCall ¶
func (fake *FakeEventStore) OnEventArgsForCall(i int) (string, string)
func (*FakeEventStore) OnEventCallCount ¶
func (fake *FakeEventStore) OnEventCallCount() int
func (*FakeEventStore) OnEventReturns ¶
func (fake *FakeEventStore) OnEventReturns(result1 error)
type FakeNstarRunner ¶
type FakeNstarRunner struct { StreamInStub func(log lager.Logger, pid int, path string, user string, tarStream io.Reader) error StreamOutStub func(log lager.Logger, pid int, path string, user string) (io.ReadCloser, error) // contains filtered or unexported fields }
func (*FakeNstarRunner) Invocations ¶
func (fake *FakeNstarRunner) Invocations() map[string][][]interface{}
func (*FakeNstarRunner) StreamInArgsForCall ¶
func (*FakeNstarRunner) StreamInCallCount ¶
func (fake *FakeNstarRunner) StreamInCallCount() int
func (*FakeNstarRunner) StreamInReturns ¶
func (fake *FakeNstarRunner) StreamInReturns(result1 error)
func (*FakeNstarRunner) StreamOut ¶
func (fake *FakeNstarRunner) StreamOut(log lager.Logger, pid int, path string, user string) (io.ReadCloser, error)
func (*FakeNstarRunner) StreamOutArgsForCall ¶
func (*FakeNstarRunner) StreamOutCallCount ¶
func (fake *FakeNstarRunner) StreamOutCallCount() int
func (*FakeNstarRunner) StreamOutReturns ¶
func (fake *FakeNstarRunner) StreamOutReturns(result1 io.ReadCloser, result2 error)
type FakeOCIRuntime ¶
type FakeOCIRuntime struct { CreateStub func(log lager.Logger, bundlePath, id string, io garden.ProcessIO) error ExecStub func(log lager.Logger, id, bundlePath string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error) AttachStub func(log lager.Logger, id, bundlePath, processId string, io garden.ProcessIO) (garden.Process, error) KillStub func(log lager.Logger, bundlePath string) error DeleteStub func(log lager.Logger, bundlePath string) error StateStub func(log lager.Logger, id string) (runrunc.State, error) StatsStub func(log lager.Logger, id string) (gardener.ActualContainerMetrics, error) WatchEventsStub func(log lager.Logger, id string, eventsNotifier runrunc.EventsNotifier) error // contains filtered or unexported fields }
func (*FakeOCIRuntime) AttachArgsForCall ¶
func (*FakeOCIRuntime) AttachCallCount ¶
func (fake *FakeOCIRuntime) AttachCallCount() int
func (*FakeOCIRuntime) AttachReturns ¶
func (fake *FakeOCIRuntime) AttachReturns(result1 garden.Process, result2 error)
func (*FakeOCIRuntime) CreateArgsForCall ¶
func (*FakeOCIRuntime) CreateCallCount ¶
func (fake *FakeOCIRuntime) CreateCallCount() int
func (*FakeOCIRuntime) CreateReturns ¶
func (fake *FakeOCIRuntime) CreateReturns(result1 error)
func (*FakeOCIRuntime) Delete ¶
func (fake *FakeOCIRuntime) Delete(log lager.Logger, bundlePath string) error
func (*FakeOCIRuntime) DeleteArgsForCall ¶
func (fake *FakeOCIRuntime) DeleteArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) DeleteCallCount ¶
func (fake *FakeOCIRuntime) DeleteCallCount() int
func (*FakeOCIRuntime) DeleteReturns ¶
func (fake *FakeOCIRuntime) DeleteReturns(result1 error)
func (*FakeOCIRuntime) ExecArgsForCall ¶
func (fake *FakeOCIRuntime) ExecArgsForCall(i int) (lager.Logger, string, string, garden.ProcessSpec, garden.ProcessIO)
func (*FakeOCIRuntime) ExecCallCount ¶
func (fake *FakeOCIRuntime) ExecCallCount() int
func (*FakeOCIRuntime) ExecReturns ¶
func (fake *FakeOCIRuntime) ExecReturns(result1 garden.Process, result2 error)
func (*FakeOCIRuntime) Invocations ¶
func (fake *FakeOCIRuntime) Invocations() map[string][][]interface{}
func (*FakeOCIRuntime) Kill ¶
func (fake *FakeOCIRuntime) Kill(log lager.Logger, bundlePath string) error
func (*FakeOCIRuntime) KillArgsForCall ¶
func (fake *FakeOCIRuntime) KillArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) KillCallCount ¶
func (fake *FakeOCIRuntime) KillCallCount() int
func (*FakeOCIRuntime) KillReturns ¶
func (fake *FakeOCIRuntime) KillReturns(result1 error)
func (*FakeOCIRuntime) StateArgsForCall ¶
func (fake *FakeOCIRuntime) StateArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) StateCallCount ¶
func (fake *FakeOCIRuntime) StateCallCount() int
func (*FakeOCIRuntime) StateReturns ¶
func (fake *FakeOCIRuntime) StateReturns(result1 runrunc.State, result2 error)
func (*FakeOCIRuntime) Stats ¶
func (fake *FakeOCIRuntime) Stats(log lager.Logger, id string) (gardener.ActualContainerMetrics, error)
func (*FakeOCIRuntime) StatsArgsForCall ¶
func (fake *FakeOCIRuntime) StatsArgsForCall(i int) (lager.Logger, string)
func (*FakeOCIRuntime) StatsCallCount ¶
func (fake *FakeOCIRuntime) StatsCallCount() int
func (*FakeOCIRuntime) StatsReturns ¶
func (fake *FakeOCIRuntime) StatsReturns(result1 gardener.ActualContainerMetrics, result2 error)
func (*FakeOCIRuntime) WatchEvents ¶
func (fake *FakeOCIRuntime) WatchEvents(log lager.Logger, id string, eventsNotifier runrunc.EventsNotifier) error
func (*FakeOCIRuntime) WatchEventsArgsForCall ¶
func (fake *FakeOCIRuntime) WatchEventsArgsForCall(i int) (lager.Logger, string, runrunc.EventsNotifier)
func (*FakeOCIRuntime) WatchEventsCallCount ¶
func (fake *FakeOCIRuntime) WatchEventsCallCount() int
func (*FakeOCIRuntime) WatchEventsReturns ¶
func (fake *FakeOCIRuntime) WatchEventsReturns(result1 error)
type FakeProperties ¶
type FakeProperties struct { SetStub func(handle string, key string, value string) GetStub func(handle string, key string) (string, bool) // contains filtered or unexported fields }
func (*FakeProperties) Get ¶
func (fake *FakeProperties) Get(handle string, key string) (string, bool)
func (*FakeProperties) GetArgsForCall ¶
func (fake *FakeProperties) GetArgsForCall(i int) (string, string)
func (*FakeProperties) GetCallCount ¶
func (fake *FakeProperties) GetCallCount() int
func (*FakeProperties) GetReturns ¶
func (fake *FakeProperties) GetReturns(result1 string, result2 bool)
func (*FakeProperties) Invocations ¶
func (fake *FakeProperties) Invocations() map[string][][]interface{}
func (*FakeProperties) Set ¶
func (fake *FakeProperties) Set(handle string, key string, value string)
func (*FakeProperties) SetArgsForCall ¶
func (fake *FakeProperties) SetArgsForCall(i int) (string, string, string)
func (*FakeProperties) SetCallCount ¶
func (fake *FakeProperties) SetCallCount() int
type FakeStateStore ¶
type FakeStateStore struct { StoreStoppedStub func(handle string) IsStoppedStub func(handle string) bool // contains filtered or unexported fields }
func (*FakeStateStore) Invocations ¶
func (fake *FakeStateStore) Invocations() map[string][][]interface{}
func (*FakeStateStore) IsStopped ¶
func (fake *FakeStateStore) IsStopped(handle string) bool
func (*FakeStateStore) IsStoppedArgsForCall ¶
func (fake *FakeStateStore) IsStoppedArgsForCall(i int) string
func (*FakeStateStore) IsStoppedCallCount ¶
func (fake *FakeStateStore) IsStoppedCallCount() int
func (*FakeStateStore) IsStoppedReturns ¶
func (fake *FakeStateStore) IsStoppedReturns(result1 bool)
func (*FakeStateStore) StoreStopped ¶
func (fake *FakeStateStore) StoreStopped(handle string)
func (*FakeStateStore) StoreStoppedArgsForCall ¶
func (fake *FakeStateStore) StoreStoppedArgsForCall(i int) string
func (*FakeStateStore) StoreStoppedCallCount ¶
func (fake *FakeStateStore) StoreStoppedCallCount() int
type FakeStopper ¶
type FakeStopper struct { StopAllStub func(log lager.Logger, cgroupName string, save []int, kill bool) error // contains filtered or unexported fields }
func (*FakeStopper) Invocations ¶
func (fake *FakeStopper) Invocations() map[string][][]interface{}
func (*FakeStopper) StopAllArgsForCall ¶
func (*FakeStopper) StopAllCallCount ¶
func (fake *FakeStopper) StopAllCallCount() int
func (*FakeStopper) StopAllReturns ¶
func (fake *FakeStopper) StopAllReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.