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.
Index ¶
- type ContainerFactory
- func (fake *ContainerFactory) Invocations() map[string][][]interface{}
- func (fake *ContainerFactory) NewManager(arg1 *logrus.Entry, arg2 *hcs.Client, arg3 string) runtime.ContainerManager
- func (fake *ContainerFactory) NewManagerArgsForCall(i int) (*logrus.Entry, *hcs.Client, string)
- func (fake *ContainerFactory) NewManagerCallCount() int
- func (fake *ContainerFactory) NewManagerReturns(result1 runtime.ContainerManager)
- func (fake *ContainerFactory) NewManagerReturnsOnCall(i int, result1 runtime.ContainerManager)
- type ContainerManager
- func (fake *ContainerManager) Create(arg1 *specs.Spec, arg2 string) error
- func (fake *ContainerManager) CreateArgsForCall(i int) (*specs.Spec, string)
- func (fake *ContainerManager) CreateCallCount() int
- func (fake *ContainerManager) CreateCalls(stub func(*specs.Spec, string) error)
- func (fake *ContainerManager) CreateReturns(result1 error)
- func (fake *ContainerManager) CreateReturnsOnCall(i int, result1 error)
- func (fake *ContainerManager) CredentialSpec(arg1 string) (string, error)
- func (fake *ContainerManager) CredentialSpecArgsForCall(i int) string
- func (fake *ContainerManager) CredentialSpecCallCount() int
- func (fake *ContainerManager) CredentialSpecCalls(stub func(string) (string, error))
- func (fake *ContainerManager) CredentialSpecReturns(result1 string, result2 error)
- func (fake *ContainerManager) CredentialSpecReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ContainerManager) Delete(arg1 bool) error
- func (fake *ContainerManager) DeleteArgsForCall(i int) bool
- func (fake *ContainerManager) DeleteCallCount() int
- func (fake *ContainerManager) DeleteCalls(stub func(bool) error)
- func (fake *ContainerManager) DeleteReturns(result1 error)
- func (fake *ContainerManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *ContainerManager) Exec(arg1 *specs.Process, arg2 bool) (hcs.Process, error)
- func (fake *ContainerManager) ExecArgsForCall(i int) (*specs.Process, bool)
- func (fake *ContainerManager) ExecCallCount() int
- func (fake *ContainerManager) ExecCalls(stub func(*specs.Process, bool) (hcs.Process, error))
- func (fake *ContainerManager) ExecReturns(result1 hcs.Process, result2 error)
- func (fake *ContainerManager) ExecReturnsOnCall(i int, result1 hcs.Process, result2 error)
- func (fake *ContainerManager) Invocations() map[string][][]interface{}
- func (fake *ContainerManager) Spec(arg1 string) (*specs.Spec, error)
- func (fake *ContainerManager) SpecArgsForCall(i int) string
- func (fake *ContainerManager) SpecCallCount() int
- func (fake *ContainerManager) SpecCalls(stub func(string) (*specs.Spec, error))
- func (fake *ContainerManager) SpecReturns(result1 *specs.Spec, result2 error)
- func (fake *ContainerManager) SpecReturnsOnCall(i int, result1 *specs.Spec, result2 error)
- func (fake *ContainerManager) Stats() (container.Statistics, error)
- func (fake *ContainerManager) StatsCallCount() int
- func (fake *ContainerManager) StatsCalls(stub func() (container.Statistics, error))
- func (fake *ContainerManager) StatsReturns(result1 container.Statistics, result2 error)
- func (fake *ContainerManager) StatsReturnsOnCall(i int, result1 container.Statistics, result2 error)
- type HCSQuery
- func (fake *HCSQuery) GetContainers(arg1 hcsshim.ComputeSystemQuery) ([]hcsshim.ContainerProperties, error)
- func (fake *HCSQuery) GetContainersArgsForCall(i int) hcsshim.ComputeSystemQuery
- func (fake *HCSQuery) GetContainersCallCount() int
- func (fake *HCSQuery) GetContainersReturns(result1 []hcsshim.ContainerProperties, result2 error)
- func (fake *HCSQuery) GetContainersReturnsOnCall(i int, result1 []hcsshim.ContainerProperties, result2 error)
- func (fake *HCSQuery) Invocations() map[string][][]interface{}
- type Mounter
- func (fake *Mounter) Invocations() map[string][][]interface{}
- func (fake *Mounter) Mount(pid int, volumePath string, logger *logrus.Entry) error
- func (fake *Mounter) MountArgsForCall(i int) (int, string, *logrus.Entry)
- func (fake *Mounter) MountCallCount() int
- func (fake *Mounter) MountReturns(result1 error)
- func (fake *Mounter) MountReturnsOnCall(i int, result1 error)
- func (fake *Mounter) Unmount(pid int) error
- func (fake *Mounter) UnmountArgsForCall(i int) int
- func (fake *Mounter) UnmountCallCount() int
- func (fake *Mounter) UnmountReturns(result1 error)
- func (fake *Mounter) UnmountReturnsOnCall(i int, result1 error)
- type ProcessWrapper
- func (fake *ProcessWrapper) Invocations() map[string][][]interface{}
- func (fake *ProcessWrapper) Wrap(arg1 hcs.Process) runtime.WrappedProcess
- func (fake *ProcessWrapper) WrapArgsForCall(i int) hcs.Process
- func (fake *ProcessWrapper) WrapCallCount() int
- func (fake *ProcessWrapper) WrapReturns(result1 runtime.WrappedProcess)
- func (fake *ProcessWrapper) WrapReturnsOnCall(i int, result1 runtime.WrappedProcess)
- type Reader
- type StateFactory
- func (fake *StateFactory) Invocations() map[string][][]interface{}
- func (fake *StateFactory) NewManager(arg1 *logrus.Entry, arg2 *hcs.Client, arg3 *winsyscall.WinSyscall, arg4 string, ...) runtime.StateManager
- func (fake *StateFactory) NewManagerArgsForCall(i int) (*logrus.Entry, *hcs.Client, *winsyscall.WinSyscall, string, string)
- func (fake *StateFactory) NewManagerCallCount() int
- func (fake *StateFactory) NewManagerReturns(result1 runtime.StateManager)
- func (fake *StateFactory) NewManagerReturnsOnCall(i int, result1 runtime.StateManager)
- type StateManager
- func (fake *StateManager) Delete() error
- func (fake *StateManager) DeleteCallCount() int
- func (fake *StateManager) DeleteReturns(result1 error)
- func (fake *StateManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *StateManager) Initialize(arg1 string) error
- func (fake *StateManager) InitializeArgsForCall(i int) string
- func (fake *StateManager) InitializeCallCount() int
- func (fake *StateManager) InitializeReturns(result1 error)
- func (fake *StateManager) InitializeReturnsOnCall(i int, result1 error)
- func (fake *StateManager) Invocations() map[string][][]interface{}
- func (fake *StateManager) SetFailure() error
- func (fake *StateManager) SetFailureCallCount() int
- func (fake *StateManager) SetFailureReturns(result1 error)
- func (fake *StateManager) SetFailureReturnsOnCall(i int, result1 error)
- func (fake *StateManager) SetSuccess(arg1 hcs.Process) error
- func (fake *StateManager) SetSuccessArgsForCall(i int) hcs.Process
- func (fake *StateManager) SetSuccessCallCount() int
- func (fake *StateManager) SetSuccessReturns(result1 error)
- func (fake *StateManager) SetSuccessReturnsOnCall(i int, result1 error)
- func (fake *StateManager) State() (*specs.State, error)
- func (fake *StateManager) StateCallCount() int
- func (fake *StateManager) StateReturns(result1 *specs.State, result2 error)
- func (fake *StateManager) StateReturnsOnCall(i int, result1 *specs.State, result2 error)
- type WrappedProcess
- func (fake *WrappedProcess) AttachIO(arg1 io.Reader, arg2 io.Writer, arg3 io.Writer) (int, error)
- func (fake *WrappedProcess) AttachIOArgsForCall(i int) (io.Reader, io.Writer, io.Writer)
- func (fake *WrappedProcess) AttachIOCallCount() int
- func (fake *WrappedProcess) AttachIOReturns(result1 int, result2 error)
- func (fake *WrappedProcess) AttachIOReturnsOnCall(i int, result1 int, result2 error)
- func (fake *WrappedProcess) Invocations() map[string][][]interface{}
- func (fake *WrappedProcess) SetInterrupt(arg1 chan os.Signal)
- func (fake *WrappedProcess) SetInterruptArgsForCall(i int) chan os.Signal
- func (fake *WrappedProcess) SetInterruptCallCount() int
- func (fake *WrappedProcess) WritePIDFile(arg1 string) error
- func (fake *WrappedProcess) WritePIDFileArgsForCall(i int) string
- func (fake *WrappedProcess) WritePIDFileCallCount() int
- func (fake *WrappedProcess) WritePIDFileReturns(result1 error)
- func (fake *WrappedProcess) WritePIDFileReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerFactory ¶
type ContainerFactory struct { NewManagerStub func(*logrus.Entry, *hcs.Client, string) runtime.ContainerManager // contains filtered or unexported fields }
func (*ContainerFactory) Invocations ¶
func (fake *ContainerFactory) Invocations() map[string][][]interface{}
func (*ContainerFactory) NewManager ¶
func (fake *ContainerFactory) NewManager(arg1 *logrus.Entry, arg2 *hcs.Client, arg3 string) runtime.ContainerManager
func (*ContainerFactory) NewManagerArgsForCall ¶
func (*ContainerFactory) NewManagerCallCount ¶
func (fake *ContainerFactory) NewManagerCallCount() int
func (*ContainerFactory) NewManagerReturns ¶
func (fake *ContainerFactory) NewManagerReturns(result1 runtime.ContainerManager)
func (*ContainerFactory) NewManagerReturnsOnCall ¶
func (fake *ContainerFactory) NewManagerReturnsOnCall(i int, result1 runtime.ContainerManager)
type ContainerManager ¶
type ContainerManager struct { CreateStub func(*specs.Spec, string) error CredentialSpecStub func(string) (string, error) DeleteStub func(bool) error ExecStub func(*specs.Process, bool) (hcs.Process, error) SpecStub func(string) (*specs.Spec, error) StatsStub func() (container.Statistics, error) // contains filtered or unexported fields }
func (*ContainerManager) Create ¶
func (fake *ContainerManager) Create(arg1 *specs.Spec, arg2 string) error
func (*ContainerManager) CreateArgsForCall ¶
func (fake *ContainerManager) CreateArgsForCall(i int) (*specs.Spec, string)
func (*ContainerManager) CreateCallCount ¶
func (fake *ContainerManager) CreateCallCount() int
func (*ContainerManager) CreateCalls ¶
func (fake *ContainerManager) CreateCalls(stub func(*specs.Spec, string) error)
func (*ContainerManager) CreateReturns ¶
func (fake *ContainerManager) CreateReturns(result1 error)
func (*ContainerManager) CreateReturnsOnCall ¶
func (fake *ContainerManager) CreateReturnsOnCall(i int, result1 error)
func (*ContainerManager) CredentialSpec ¶
func (fake *ContainerManager) CredentialSpec(arg1 string) (string, error)
func (*ContainerManager) CredentialSpecArgsForCall ¶
func (fake *ContainerManager) CredentialSpecArgsForCall(i int) string
func (*ContainerManager) CredentialSpecCallCount ¶
func (fake *ContainerManager) CredentialSpecCallCount() int
func (*ContainerManager) CredentialSpecCalls ¶
func (fake *ContainerManager) CredentialSpecCalls(stub func(string) (string, error))
func (*ContainerManager) CredentialSpecReturns ¶
func (fake *ContainerManager) CredentialSpecReturns(result1 string, result2 error)
func (*ContainerManager) CredentialSpecReturnsOnCall ¶
func (fake *ContainerManager) CredentialSpecReturnsOnCall(i int, result1 string, result2 error)
func (*ContainerManager) Delete ¶
func (fake *ContainerManager) Delete(arg1 bool) error
func (*ContainerManager) DeleteArgsForCall ¶
func (fake *ContainerManager) DeleteArgsForCall(i int) bool
func (*ContainerManager) DeleteCallCount ¶
func (fake *ContainerManager) DeleteCallCount() int
func (*ContainerManager) DeleteCalls ¶
func (fake *ContainerManager) DeleteCalls(stub func(bool) error)
func (*ContainerManager) DeleteReturns ¶
func (fake *ContainerManager) DeleteReturns(result1 error)
func (*ContainerManager) DeleteReturnsOnCall ¶
func (fake *ContainerManager) DeleteReturnsOnCall(i int, result1 error)
func (*ContainerManager) ExecArgsForCall ¶
func (fake *ContainerManager) ExecArgsForCall(i int) (*specs.Process, bool)
func (*ContainerManager) ExecCallCount ¶
func (fake *ContainerManager) ExecCallCount() int
func (*ContainerManager) ExecReturns ¶
func (fake *ContainerManager) ExecReturns(result1 hcs.Process, result2 error)
func (*ContainerManager) ExecReturnsOnCall ¶
func (fake *ContainerManager) ExecReturnsOnCall(i int, result1 hcs.Process, result2 error)
func (*ContainerManager) Invocations ¶
func (fake *ContainerManager) Invocations() map[string][][]interface{}
func (*ContainerManager) Spec ¶
func (fake *ContainerManager) Spec(arg1 string) (*specs.Spec, error)
func (*ContainerManager) SpecArgsForCall ¶
func (fake *ContainerManager) SpecArgsForCall(i int) string
func (*ContainerManager) SpecCallCount ¶
func (fake *ContainerManager) SpecCallCount() int
func (*ContainerManager) SpecCalls ¶
func (fake *ContainerManager) SpecCalls(stub func(string) (*specs.Spec, error))
func (*ContainerManager) SpecReturns ¶
func (fake *ContainerManager) SpecReturns(result1 *specs.Spec, result2 error)
func (*ContainerManager) SpecReturnsOnCall ¶
func (fake *ContainerManager) SpecReturnsOnCall(i int, result1 *specs.Spec, result2 error)
func (*ContainerManager) Stats ¶
func (fake *ContainerManager) Stats() (container.Statistics, error)
func (*ContainerManager) StatsCallCount ¶
func (fake *ContainerManager) StatsCallCount() int
func (*ContainerManager) StatsCalls ¶
func (fake *ContainerManager) StatsCalls(stub func() (container.Statistics, error))
func (*ContainerManager) StatsReturns ¶
func (fake *ContainerManager) StatsReturns(result1 container.Statistics, result2 error)
func (*ContainerManager) StatsReturnsOnCall ¶
func (fake *ContainerManager) StatsReturnsOnCall(i int, result1 container.Statistics, result2 error)
type HCSQuery ¶
type HCSQuery struct { GetContainersStub func(hcsshim.ComputeSystemQuery) ([]hcsshim.ContainerProperties, error) // contains filtered or unexported fields }
func (*HCSQuery) GetContainers ¶
func (fake *HCSQuery) GetContainers(arg1 hcsshim.ComputeSystemQuery) ([]hcsshim.ContainerProperties, error)
func (*HCSQuery) GetContainersArgsForCall ¶
func (fake *HCSQuery) GetContainersArgsForCall(i int) hcsshim.ComputeSystemQuery
func (*HCSQuery) GetContainersCallCount ¶
func (*HCSQuery) GetContainersReturns ¶
func (fake *HCSQuery) GetContainersReturns(result1 []hcsshim.ContainerProperties, result2 error)
func (*HCSQuery) GetContainersReturnsOnCall ¶
func (fake *HCSQuery) GetContainersReturnsOnCall(i int, result1 []hcsshim.ContainerProperties, result2 error)
func (*HCSQuery) Invocations ¶
type Mounter ¶
type Mounter struct { MountStub func(pid int, volumePath string, logger *logrus.Entry) error UnmountStub func(pid int) error // contains filtered or unexported fields }
func (*Mounter) Invocations ¶
func (*Mounter) MountArgsForCall ¶
func (*Mounter) MountCallCount ¶
func (*Mounter) MountReturns ¶
func (*Mounter) MountReturnsOnCall ¶
func (*Mounter) UnmountArgsForCall ¶
func (*Mounter) UnmountCallCount ¶
func (*Mounter) UnmountReturns ¶
func (*Mounter) UnmountReturnsOnCall ¶
type ProcessWrapper ¶
type ProcessWrapper struct { WrapStub func(hcs.Process) runtime.WrappedProcess // contains filtered or unexported fields }
func (*ProcessWrapper) Invocations ¶
func (fake *ProcessWrapper) Invocations() map[string][][]interface{}
func (*ProcessWrapper) Wrap ¶
func (fake *ProcessWrapper) Wrap(arg1 hcs.Process) runtime.WrappedProcess
func (*ProcessWrapper) WrapArgsForCall ¶
func (fake *ProcessWrapper) WrapArgsForCall(i int) hcs.Process
func (*ProcessWrapper) WrapCallCount ¶
func (fake *ProcessWrapper) WrapCallCount() int
func (*ProcessWrapper) WrapReturns ¶
func (fake *ProcessWrapper) WrapReturns(result1 runtime.WrappedProcess)
func (*ProcessWrapper) WrapReturnsOnCall ¶
func (fake *ProcessWrapper) WrapReturnsOnCall(i int, result1 runtime.WrappedProcess)
type Reader ¶
type StateFactory ¶
type StateFactory struct { NewManagerStub func(*logrus.Entry, *hcs.Client, *winsyscall.WinSyscall, string, string) runtime.StateManager // contains filtered or unexported fields }
func (*StateFactory) Invocations ¶
func (fake *StateFactory) Invocations() map[string][][]interface{}
func (*StateFactory) NewManager ¶
func (fake *StateFactory) NewManager(arg1 *logrus.Entry, arg2 *hcs.Client, arg3 *winsyscall.WinSyscall, arg4 string, arg5 string) runtime.StateManager
func (*StateFactory) NewManagerArgsForCall ¶
func (fake *StateFactory) NewManagerArgsForCall(i int) (*logrus.Entry, *hcs.Client, *winsyscall.WinSyscall, string, string)
func (*StateFactory) NewManagerCallCount ¶
func (fake *StateFactory) NewManagerCallCount() int
func (*StateFactory) NewManagerReturns ¶
func (fake *StateFactory) NewManagerReturns(result1 runtime.StateManager)
func (*StateFactory) NewManagerReturnsOnCall ¶
func (fake *StateFactory) NewManagerReturnsOnCall(i int, result1 runtime.StateManager)
type StateManager ¶
type StateManager struct { InitializeStub func(string) error DeleteStub func() error SetFailureStub func() error SetSuccessStub func(hcs.Process) error StateStub func() (*specs.State, error) // contains filtered or unexported fields }
func (*StateManager) Delete ¶
func (fake *StateManager) Delete() error
func (*StateManager) DeleteCallCount ¶
func (fake *StateManager) DeleteCallCount() int
func (*StateManager) DeleteReturns ¶
func (fake *StateManager) DeleteReturns(result1 error)
func (*StateManager) DeleteReturnsOnCall ¶
func (fake *StateManager) DeleteReturnsOnCall(i int, result1 error)
func (*StateManager) Initialize ¶
func (fake *StateManager) Initialize(arg1 string) error
func (*StateManager) InitializeArgsForCall ¶
func (fake *StateManager) InitializeArgsForCall(i int) string
func (*StateManager) InitializeCallCount ¶
func (fake *StateManager) InitializeCallCount() int
func (*StateManager) InitializeReturns ¶
func (fake *StateManager) InitializeReturns(result1 error)
func (*StateManager) InitializeReturnsOnCall ¶
func (fake *StateManager) InitializeReturnsOnCall(i int, result1 error)
func (*StateManager) Invocations ¶
func (fake *StateManager) Invocations() map[string][][]interface{}
func (*StateManager) SetFailure ¶
func (fake *StateManager) SetFailure() error
func (*StateManager) SetFailureCallCount ¶
func (fake *StateManager) SetFailureCallCount() int
func (*StateManager) SetFailureReturns ¶
func (fake *StateManager) SetFailureReturns(result1 error)
func (*StateManager) SetFailureReturnsOnCall ¶
func (fake *StateManager) SetFailureReturnsOnCall(i int, result1 error)
func (*StateManager) SetSuccess ¶
func (fake *StateManager) SetSuccess(arg1 hcs.Process) error
func (*StateManager) SetSuccessArgsForCall ¶
func (fake *StateManager) SetSuccessArgsForCall(i int) hcs.Process
func (*StateManager) SetSuccessCallCount ¶
func (fake *StateManager) SetSuccessCallCount() int
func (*StateManager) SetSuccessReturns ¶
func (fake *StateManager) SetSuccessReturns(result1 error)
func (*StateManager) SetSuccessReturnsOnCall ¶
func (fake *StateManager) SetSuccessReturnsOnCall(i int, result1 error)
func (*StateManager) StateCallCount ¶
func (fake *StateManager) StateCallCount() int
func (*StateManager) StateReturns ¶
func (fake *StateManager) StateReturns(result1 *specs.State, result2 error)
func (*StateManager) StateReturnsOnCall ¶
func (fake *StateManager) StateReturnsOnCall(i int, result1 *specs.State, result2 error)
type WrappedProcess ¶
type WrappedProcess struct { AttachIOStub func(io.Reader, io.Writer, io.Writer) (int, error) SetInterruptStub func(chan os.Signal) WritePIDFileStub func(string) error // contains filtered or unexported fields }
func (*WrappedProcess) AttachIOArgsForCall ¶
func (*WrappedProcess) AttachIOCallCount ¶
func (fake *WrappedProcess) AttachIOCallCount() int
func (*WrappedProcess) AttachIOReturns ¶
func (fake *WrappedProcess) AttachIOReturns(result1 int, result2 error)
func (*WrappedProcess) AttachIOReturnsOnCall ¶
func (fake *WrappedProcess) AttachIOReturnsOnCall(i int, result1 int, result2 error)
func (*WrappedProcess) Invocations ¶
func (fake *WrappedProcess) Invocations() map[string][][]interface{}
func (*WrappedProcess) SetInterrupt ¶
func (fake *WrappedProcess) SetInterrupt(arg1 chan os.Signal)
func (*WrappedProcess) SetInterruptArgsForCall ¶
func (fake *WrappedProcess) SetInterruptArgsForCall(i int) chan os.Signal
func (*WrappedProcess) SetInterruptCallCount ¶
func (fake *WrappedProcess) SetInterruptCallCount() int
func (*WrappedProcess) WritePIDFile ¶
func (fake *WrappedProcess) WritePIDFile(arg1 string) error
func (*WrappedProcess) WritePIDFileArgsForCall ¶
func (fake *WrappedProcess) WritePIDFileArgsForCall(i int) string
func (*WrappedProcess) WritePIDFileCallCount ¶
func (fake *WrappedProcess) WritePIDFileCallCount() int
func (*WrappedProcess) WritePIDFileReturns ¶
func (fake *WrappedProcess) WritePIDFileReturns(result1 error)
func (*WrappedProcess) WritePIDFileReturnsOnCall ¶
func (fake *WrappedProcess) WritePIDFileReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.