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.
Index ¶
- type FakeCNI
- func (fake *FakeCNI) GetConfig() *cni.ConfigResult
- func (fake *FakeCNI) GetConfigCallCount() int
- func (fake *FakeCNI) GetConfigCalls(stub func() *cni.ConfigResult)
- func (fake *FakeCNI) GetConfigReturns(result1 *cni.ConfigResult)
- func (fake *FakeCNI) GetConfigReturnsOnCall(i int, result1 *cni.ConfigResult)
- func (fake *FakeCNI) Invocations() map[string][][]interface{}
- func (fake *FakeCNI) Load(arg1 ...cni.CNIOpt) error
- func (fake *FakeCNI) LoadArgsForCall(i int) []cni.CNIOpt
- func (fake *FakeCNI) LoadCallCount() int
- func (fake *FakeCNI) LoadCalls(stub func(...cni.CNIOpt) error)
- func (fake *FakeCNI) LoadReturns(result1 error)
- func (fake *FakeCNI) LoadReturnsOnCall(i int, result1 error)
- func (fake *FakeCNI) Remove(arg1 context.Context, arg2 string, arg3 string, arg4 ...cni.NamespaceOpts) error
- func (fake *FakeCNI) RemoveArgsForCall(i int) (context.Context, string, string, []cni.NamespaceOpts)
- func (fake *FakeCNI) RemoveCallCount() int
- func (fake *FakeCNI) RemoveCalls(stub func(context.Context, string, string, ...cni.NamespaceOpts) error)
- func (fake *FakeCNI) RemoveReturns(result1 error)
- func (fake *FakeCNI) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakeCNI) Setup(arg1 context.Context, arg2 string, arg3 string, arg4 ...cni.NamespaceOpts) (*cni.CNIResult, error)
- func (fake *FakeCNI) SetupArgsForCall(i int) (context.Context, string, string, []cni.NamespaceOpts)
- func (fake *FakeCNI) SetupCallCount() int
- func (fake *FakeCNI) SetupCalls(...)
- func (fake *FakeCNI) SetupReturns(result1 *cni.CNIResult, result2 error)
- func (fake *FakeCNI) SetupReturnsOnCall(i int, result1 *cni.CNIResult, result2 error)
- func (fake *FakeCNI) Status() error
- func (fake *FakeCNI) StatusCallCount() int
- func (fake *FakeCNI) StatusCalls(stub func() error)
- func (fake *FakeCNI) StatusReturns(result1 error)
- func (fake *FakeCNI) StatusReturnsOnCall(i int, result1 error)
- type FakeFileStore
- func (fake *FakeFileStore) Create(arg1 string, arg2 []byte) (string, error)
- func (fake *FakeFileStore) CreateArgsForCall(i int) (string, []byte)
- func (fake *FakeFileStore) CreateCallCount() int
- func (fake *FakeFileStore) CreateCalls(stub func(string, []byte) (string, error))
- func (fake *FakeFileStore) CreateReturns(result1 string, result2 error)
- func (fake *FakeFileStore) CreateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeFileStore) Delete(arg1 string) error
- func (fake *FakeFileStore) DeleteArgsForCall(i int) string
- func (fake *FakeFileStore) DeleteCallCount() int
- func (fake *FakeFileStore) DeleteCalls(stub func(string) error)
- func (fake *FakeFileStore) DeleteReturns(result1 error)
- func (fake *FakeFileStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeFileStore) Invocations() map[string][][]interface{}
- type FakeKiller
- func (fake *FakeKiller) Invocations() map[string][][]interface{}
- func (fake *FakeKiller) Kill(arg1 context.Context, arg2 containerd.Task, arg3 runtime.KillBehaviour) error
- func (fake *FakeKiller) KillArgsForCall(i int) (context.Context, containerd.Task, runtime.KillBehaviour)
- func (fake *FakeKiller) KillCallCount() int
- func (fake *FakeKiller) KillCalls(stub func(context.Context, containerd.Task, runtime.KillBehaviour) error)
- func (fake *FakeKiller) KillReturns(result1 error)
- func (fake *FakeKiller) KillReturnsOnCall(i int, result1 error)
- type FakeNetwork
- func (fake *FakeNetwork) Add(arg1 context.Context, arg2 containerd.Task) error
- func (fake *FakeNetwork) AddArgsForCall(i int) (context.Context, containerd.Task)
- func (fake *FakeNetwork) AddCallCount() int
- func (fake *FakeNetwork) AddCalls(stub func(context.Context, containerd.Task) error)
- func (fake *FakeNetwork) AddReturns(result1 error)
- func (fake *FakeNetwork) AddReturnsOnCall(i int, result1 error)
- func (fake *FakeNetwork) Invocations() map[string][][]interface{}
- func (fake *FakeNetwork) Remove(arg1 context.Context, arg2 containerd.Task) error
- func (fake *FakeNetwork) RemoveArgsForCall(i int) (context.Context, containerd.Task)
- func (fake *FakeNetwork) RemoveCallCount() int
- func (fake *FakeNetwork) RemoveCalls(stub func(context.Context, containerd.Task) error)
- func (fake *FakeNetwork) RemoveReturns(result1 error)
- func (fake *FakeNetwork) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakeNetwork) SetupMounts(arg1 string) ([]specs.Mount, error)
- func (fake *FakeNetwork) SetupMountsArgsForCall(i int) string
- func (fake *FakeNetwork) SetupMountsCallCount() int
- func (fake *FakeNetwork) SetupMountsCalls(stub func(string) ([]specs.Mount, error))
- func (fake *FakeNetwork) SetupMountsReturns(result1 []specs.Mount, result2 error)
- func (fake *FakeNetwork) SetupMountsReturnsOnCall(i int, result1 []specs.Mount, result2 error)
- func (fake *FakeNetwork) SetupRestrictedNetworks() error
- func (fake *FakeNetwork) SetupRestrictedNetworksCallCount() int
- func (fake *FakeNetwork) SetupRestrictedNetworksCalls(stub func() error)
- func (fake *FakeNetwork) SetupRestrictedNetworksReturns(result1 error)
- func (fake *FakeNetwork) SetupRestrictedNetworksReturnsOnCall(i int, result1 error)
- type FakeProcessKiller
- func (fake *FakeProcessKiller) Invocations() map[string][][]interface{}
- func (fake *FakeProcessKiller) Kill(arg1 context.Context, arg2 containerd.Process, arg3 syscall.Signal, ...) error
- func (fake *FakeProcessKiller) KillArgsForCall(i int) (context.Context, containerd.Process, syscall.Signal, time.Duration)
- func (fake *FakeProcessKiller) KillCallCount() int
- func (fake *FakeProcessKiller) KillCalls(...)
- func (fake *FakeProcessKiller) KillReturns(result1 error)
- func (fake *FakeProcessKiller) KillReturnsOnCall(i int, result1 error)
- type FakeRootfsManager
- func (fake *FakeRootfsManager) Invocations() map[string][][]interface{}
- func (fake *FakeRootfsManager) LookupUser(arg1 string, arg2 string) (specs.User, bool, error)
- func (fake *FakeRootfsManager) LookupUserArgsForCall(i int) (string, string)
- func (fake *FakeRootfsManager) LookupUserCallCount() int
- func (fake *FakeRootfsManager) LookupUserCalls(stub func(string, string) (specs.User, bool, error))
- func (fake *FakeRootfsManager) LookupUserReturns(result1 specs.User, result2 bool, result3 error)
- func (fake *FakeRootfsManager) LookupUserReturnsOnCall(i int, result1 specs.User, result2 bool, result3 error)
- func (fake *FakeRootfsManager) SetupCwd(arg1 string, arg2 string) error
- func (fake *FakeRootfsManager) SetupCwdArgsForCall(i int) (string, string)
- func (fake *FakeRootfsManager) SetupCwdCallCount() int
- func (fake *FakeRootfsManager) SetupCwdCalls(stub func(string, string) error)
- func (fake *FakeRootfsManager) SetupCwdReturns(result1 error)
- func (fake *FakeRootfsManager) SetupCwdReturnsOnCall(i int, result1 error)
- type FakeUserNamespace
- func (fake *FakeUserNamespace) Invocations() map[string][][]interface{}
- func (fake *FakeUserNamespace) MaxValidIds() (uint32, uint32, error)
- func (fake *FakeUserNamespace) MaxValidIdsCallCount() int
- func (fake *FakeUserNamespace) MaxValidIdsCalls(stub func() (uint32, uint32, error))
- func (fake *FakeUserNamespace) MaxValidIdsReturns(result1 uint32, result2 uint32, result3 error)
- func (fake *FakeUserNamespace) MaxValidIdsReturnsOnCall(i int, result1 uint32, result2 uint32, result3 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCNI ¶
type FakeCNI struct { GetConfigStub func() *cni.ConfigResult LoadStub func(...cni.CNIOpt) error RemoveStub func(context.Context, string, string, ...cni.NamespaceOpts) error SetupStub func(context.Context, string, string, ...cni.NamespaceOpts) (*cni.CNIResult, error) StatusStub func() error // contains filtered or unexported fields }
func (*FakeCNI) GetConfig ¶
func (fake *FakeCNI) GetConfig() *cni.ConfigResult
func (*FakeCNI) GetConfigCallCount ¶
func (*FakeCNI) GetConfigCalls ¶
func (fake *FakeCNI) GetConfigCalls(stub func() *cni.ConfigResult)
func (*FakeCNI) GetConfigReturns ¶
func (fake *FakeCNI) GetConfigReturns(result1 *cni.ConfigResult)
func (*FakeCNI) GetConfigReturnsOnCall ¶
func (fake *FakeCNI) GetConfigReturnsOnCall(i int, result1 *cni.ConfigResult)
func (*FakeCNI) Invocations ¶
func (*FakeCNI) LoadCallCount ¶
func (*FakeCNI) LoadReturns ¶
func (*FakeCNI) LoadReturnsOnCall ¶
func (*FakeCNI) RemoveArgsForCall ¶
func (*FakeCNI) RemoveCallCount ¶
func (*FakeCNI) RemoveCalls ¶
func (*FakeCNI) RemoveReturns ¶
func (*FakeCNI) RemoveReturnsOnCall ¶
func (*FakeCNI) SetupArgsForCall ¶
func (*FakeCNI) SetupCallCount ¶
func (*FakeCNI) SetupCalls ¶
func (*FakeCNI) SetupReturns ¶
func (*FakeCNI) SetupReturnsOnCall ¶
func (*FakeCNI) StatusCallCount ¶
func (*FakeCNI) StatusCalls ¶
func (*FakeCNI) StatusReturns ¶
func (*FakeCNI) StatusReturnsOnCall ¶
type FakeFileStore ¶
type FakeFileStore struct { CreateStub func(string, []byte) (string, error) DeleteStub func(string) error // contains filtered or unexported fields }
func (*FakeFileStore) Create ¶
func (fake *FakeFileStore) Create(arg1 string, arg2 []byte) (string, error)
func (*FakeFileStore) CreateArgsForCall ¶
func (fake *FakeFileStore) CreateArgsForCall(i int) (string, []byte)
func (*FakeFileStore) CreateCallCount ¶
func (fake *FakeFileStore) CreateCallCount() int
func (*FakeFileStore) CreateCalls ¶
func (fake *FakeFileStore) CreateCalls(stub func(string, []byte) (string, error))
func (*FakeFileStore) CreateReturns ¶
func (fake *FakeFileStore) CreateReturns(result1 string, result2 error)
func (*FakeFileStore) CreateReturnsOnCall ¶
func (fake *FakeFileStore) CreateReturnsOnCall(i int, result1 string, result2 error)
func (*FakeFileStore) Delete ¶
func (fake *FakeFileStore) Delete(arg1 string) error
func (*FakeFileStore) DeleteArgsForCall ¶
func (fake *FakeFileStore) DeleteArgsForCall(i int) string
func (*FakeFileStore) DeleteCallCount ¶
func (fake *FakeFileStore) DeleteCallCount() int
func (*FakeFileStore) DeleteCalls ¶
func (fake *FakeFileStore) DeleteCalls(stub func(string) error)
func (*FakeFileStore) DeleteReturns ¶
func (fake *FakeFileStore) DeleteReturns(result1 error)
func (*FakeFileStore) DeleteReturnsOnCall ¶
func (fake *FakeFileStore) DeleteReturnsOnCall(i int, result1 error)
func (*FakeFileStore) Invocations ¶
func (fake *FakeFileStore) Invocations() map[string][][]interface{}
type FakeKiller ¶
type FakeKiller struct { KillStub func(context.Context, containerd.Task, runtime.KillBehaviour) error // contains filtered or unexported fields }
func (*FakeKiller) Invocations ¶
func (fake *FakeKiller) Invocations() map[string][][]interface{}
func (*FakeKiller) Kill ¶
func (fake *FakeKiller) Kill(arg1 context.Context, arg2 containerd.Task, arg3 runtime.KillBehaviour) error
func (*FakeKiller) KillArgsForCall ¶
func (fake *FakeKiller) KillArgsForCall(i int) (context.Context, containerd.Task, runtime.KillBehaviour)
func (*FakeKiller) KillCallCount ¶
func (fake *FakeKiller) KillCallCount() int
func (*FakeKiller) KillCalls ¶
func (fake *FakeKiller) KillCalls(stub func(context.Context, containerd.Task, runtime.KillBehaviour) error)
func (*FakeKiller) KillReturns ¶
func (fake *FakeKiller) KillReturns(result1 error)
func (*FakeKiller) KillReturnsOnCall ¶
func (fake *FakeKiller) KillReturnsOnCall(i int, result1 error)
type FakeNetwork ¶
type FakeNetwork struct { AddStub func(context.Context, containerd.Task) error RemoveStub func(context.Context, containerd.Task) error SetupMountsStub func(string) ([]specs.Mount, error) SetupRestrictedNetworksStub func() error // contains filtered or unexported fields }
func (*FakeNetwork) Add ¶
func (fake *FakeNetwork) Add(arg1 context.Context, arg2 containerd.Task) error
func (*FakeNetwork) AddArgsForCall ¶
func (fake *FakeNetwork) AddArgsForCall(i int) (context.Context, containerd.Task)
func (*FakeNetwork) AddCallCount ¶
func (fake *FakeNetwork) AddCallCount() int
func (*FakeNetwork) AddCalls ¶
func (fake *FakeNetwork) AddCalls(stub func(context.Context, containerd.Task) error)
func (*FakeNetwork) AddReturns ¶
func (fake *FakeNetwork) AddReturns(result1 error)
func (*FakeNetwork) AddReturnsOnCall ¶
func (fake *FakeNetwork) AddReturnsOnCall(i int, result1 error)
func (*FakeNetwork) Invocations ¶
func (fake *FakeNetwork) Invocations() map[string][][]interface{}
func (*FakeNetwork) Remove ¶
func (fake *FakeNetwork) Remove(arg1 context.Context, arg2 containerd.Task) error
func (*FakeNetwork) RemoveArgsForCall ¶
func (fake *FakeNetwork) RemoveArgsForCall(i int) (context.Context, containerd.Task)
func (*FakeNetwork) RemoveCallCount ¶
func (fake *FakeNetwork) RemoveCallCount() int
func (*FakeNetwork) RemoveCalls ¶
func (fake *FakeNetwork) RemoveCalls(stub func(context.Context, containerd.Task) error)
func (*FakeNetwork) RemoveReturns ¶
func (fake *FakeNetwork) RemoveReturns(result1 error)
func (*FakeNetwork) RemoveReturnsOnCall ¶
func (fake *FakeNetwork) RemoveReturnsOnCall(i int, result1 error)
func (*FakeNetwork) SetupMounts ¶
func (fake *FakeNetwork) SetupMounts(arg1 string) ([]specs.Mount, error)
func (*FakeNetwork) SetupMountsArgsForCall ¶
func (fake *FakeNetwork) SetupMountsArgsForCall(i int) string
func (*FakeNetwork) SetupMountsCallCount ¶
func (fake *FakeNetwork) SetupMountsCallCount() int
func (*FakeNetwork) SetupMountsCalls ¶
func (fake *FakeNetwork) SetupMountsCalls(stub func(string) ([]specs.Mount, error))
func (*FakeNetwork) SetupMountsReturns ¶
func (fake *FakeNetwork) SetupMountsReturns(result1 []specs.Mount, result2 error)
func (*FakeNetwork) SetupMountsReturnsOnCall ¶
func (fake *FakeNetwork) SetupMountsReturnsOnCall(i int, result1 []specs.Mount, result2 error)
func (*FakeNetwork) SetupRestrictedNetworks ¶
func (fake *FakeNetwork) SetupRestrictedNetworks() error
func (*FakeNetwork) SetupRestrictedNetworksCallCount ¶
func (fake *FakeNetwork) SetupRestrictedNetworksCallCount() int
func (*FakeNetwork) SetupRestrictedNetworksCalls ¶
func (fake *FakeNetwork) SetupRestrictedNetworksCalls(stub func() error)
func (*FakeNetwork) SetupRestrictedNetworksReturns ¶
func (fake *FakeNetwork) SetupRestrictedNetworksReturns(result1 error)
func (*FakeNetwork) SetupRestrictedNetworksReturnsOnCall ¶
func (fake *FakeNetwork) SetupRestrictedNetworksReturnsOnCall(i int, result1 error)
type FakeProcessKiller ¶
type FakeProcessKiller struct { KillStub func(context.Context, containerd.Process, syscall.Signal, time.Duration) error // contains filtered or unexported fields }
func (*FakeProcessKiller) Invocations ¶
func (fake *FakeProcessKiller) Invocations() map[string][][]interface{}
func (*FakeProcessKiller) Kill ¶
func (fake *FakeProcessKiller) Kill(arg1 context.Context, arg2 containerd.Process, arg3 syscall.Signal, arg4 time.Duration) error
func (*FakeProcessKiller) KillArgsForCall ¶
func (fake *FakeProcessKiller) KillArgsForCall(i int) (context.Context, containerd.Process, syscall.Signal, time.Duration)
func (*FakeProcessKiller) KillCallCount ¶
func (fake *FakeProcessKiller) KillCallCount() int
func (*FakeProcessKiller) KillCalls ¶
func (fake *FakeProcessKiller) KillCalls(stub func(context.Context, containerd.Process, syscall.Signal, time.Duration) error)
func (*FakeProcessKiller) KillReturns ¶
func (fake *FakeProcessKiller) KillReturns(result1 error)
func (*FakeProcessKiller) KillReturnsOnCall ¶
func (fake *FakeProcessKiller) KillReturnsOnCall(i int, result1 error)
type FakeRootfsManager ¶
type FakeRootfsManager struct { LookupUserStub func(string, string) (specs.User, bool, error) SetupCwdStub func(string, string) error // contains filtered or unexported fields }
func (*FakeRootfsManager) Invocations ¶
func (fake *FakeRootfsManager) Invocations() map[string][][]interface{}
func (*FakeRootfsManager) LookupUser ¶
func (*FakeRootfsManager) LookupUserArgsForCall ¶
func (fake *FakeRootfsManager) LookupUserArgsForCall(i int) (string, string)
func (*FakeRootfsManager) LookupUserCallCount ¶
func (fake *FakeRootfsManager) LookupUserCallCount() int
func (*FakeRootfsManager) LookupUserCalls ¶
func (*FakeRootfsManager) LookupUserReturns ¶
func (fake *FakeRootfsManager) LookupUserReturns(result1 specs.User, result2 bool, result3 error)
func (*FakeRootfsManager) LookupUserReturnsOnCall ¶
func (*FakeRootfsManager) SetupCwd ¶
func (fake *FakeRootfsManager) SetupCwd(arg1 string, arg2 string) error
func (*FakeRootfsManager) SetupCwdArgsForCall ¶
func (fake *FakeRootfsManager) SetupCwdArgsForCall(i int) (string, string)
func (*FakeRootfsManager) SetupCwdCallCount ¶
func (fake *FakeRootfsManager) SetupCwdCallCount() int
func (*FakeRootfsManager) SetupCwdCalls ¶
func (fake *FakeRootfsManager) SetupCwdCalls(stub func(string, string) error)
func (*FakeRootfsManager) SetupCwdReturns ¶
func (fake *FakeRootfsManager) SetupCwdReturns(result1 error)
func (*FakeRootfsManager) SetupCwdReturnsOnCall ¶
func (fake *FakeRootfsManager) SetupCwdReturnsOnCall(i int, result1 error)
type FakeUserNamespace ¶
type FakeUserNamespace struct { MaxValidIdsStub func() (uint32, uint32, error) // contains filtered or unexported fields }
func (*FakeUserNamespace) Invocations ¶
func (fake *FakeUserNamespace) Invocations() map[string][][]interface{}
func (*FakeUserNamespace) MaxValidIds ¶
func (fake *FakeUserNamespace) MaxValidIds() (uint32, uint32, error)
func (*FakeUserNamespace) MaxValidIdsCallCount ¶
func (fake *FakeUserNamespace) MaxValidIdsCallCount() int
func (*FakeUserNamespace) MaxValidIdsCalls ¶
func (fake *FakeUserNamespace) MaxValidIdsCalls(stub func() (uint32, uint32, error))
func (*FakeUserNamespace) MaxValidIdsReturns ¶
func (fake *FakeUserNamespace) MaxValidIdsReturns(result1 uint32, result2 uint32, result3 error)
func (*FakeUserNamespace) MaxValidIdsReturnsOnCall ¶
func (fake *FakeUserNamespace) MaxValidIdsReturnsOnCall(i int, result1 uint32, result2 uint32, result3 error)
Click to show internal directories.
Click to hide internal directories.