Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCNI
- func (fake *FakeCNI) AddNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig, arg3 *libcni.RuntimeConf) (types.Result, error)
- func (fake *FakeCNI) AddNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *FakeCNI) AddNetworkCallCount() int
- func (fake *FakeCNI) AddNetworkCalls(...)
- func (fake *FakeCNI) AddNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList, arg3 *libcni.RuntimeConf) (types.Result, error)
- func (fake *FakeCNI) AddNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *FakeCNI) AddNetworkListCallCount() int
- func (fake *FakeCNI) AddNetworkListCalls(...)
- func (fake *FakeCNI) AddNetworkListReturns(result1 types.Result, result2 error)
- func (fake *FakeCNI) AddNetworkListReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *FakeCNI) AddNetworkReturns(result1 types.Result, result2 error)
- func (fake *FakeCNI) AddNetworkReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *FakeCNI) CheckNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig, arg3 *libcni.RuntimeConf) error
- func (fake *FakeCNI) CheckNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *FakeCNI) CheckNetworkCallCount() int
- func (fake *FakeCNI) CheckNetworkCalls(stub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) error)
- func (fake *FakeCNI) CheckNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList, arg3 *libcni.RuntimeConf) error
- func (fake *FakeCNI) CheckNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *FakeCNI) CheckNetworkListCallCount() int
- func (fake *FakeCNI) CheckNetworkListCalls(...)
- func (fake *FakeCNI) CheckNetworkListReturns(result1 error)
- func (fake *FakeCNI) CheckNetworkListReturnsOnCall(i int, result1 error)
- func (fake *FakeCNI) CheckNetworkReturns(result1 error)
- func (fake *FakeCNI) CheckNetworkReturnsOnCall(i int, result1 error)
- func (fake *FakeCNI) DelNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig, arg3 *libcni.RuntimeConf) error
- func (fake *FakeCNI) DelNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *FakeCNI) DelNetworkCallCount() int
- func (fake *FakeCNI) DelNetworkCalls(stub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) error)
- func (fake *FakeCNI) DelNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList, arg3 *libcni.RuntimeConf) error
- func (fake *FakeCNI) DelNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *FakeCNI) DelNetworkListCallCount() int
- func (fake *FakeCNI) DelNetworkListCalls(...)
- func (fake *FakeCNI) DelNetworkListReturns(result1 error)
- func (fake *FakeCNI) DelNetworkListReturnsOnCall(i int, result1 error)
- func (fake *FakeCNI) DelNetworkReturns(result1 error)
- func (fake *FakeCNI) DelNetworkReturnsOnCall(i int, result1 error)
- func (fake *FakeCNI) GetNetworkCachedConfig(arg1 *libcni.NetworkConfig, arg2 *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error)
- func (fake *FakeCNI) GetNetworkCachedConfigArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *FakeCNI) GetNetworkCachedConfigCallCount() int
- func (fake *FakeCNI) GetNetworkCachedConfigCalls(...)
- func (fake *FakeCNI) GetNetworkCachedConfigReturns(result1 []byte, result2 *libcni.RuntimeConf, result3 error)
- func (fake *FakeCNI) GetNetworkCachedConfigReturnsOnCall(i int, result1 []byte, result2 *libcni.RuntimeConf, result3 error)
- func (fake *FakeCNI) GetNetworkCachedResult(arg1 *libcni.NetworkConfig, arg2 *libcni.RuntimeConf) (types.Result, error)
- func (fake *FakeCNI) GetNetworkCachedResultArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *FakeCNI) GetNetworkCachedResultCallCount() int
- func (fake *FakeCNI) GetNetworkCachedResultCalls(stub func(*libcni.NetworkConfig, *libcni.RuntimeConf) (types.Result, error))
- func (fake *FakeCNI) GetNetworkCachedResultReturns(result1 types.Result, result2 error)
- func (fake *FakeCNI) GetNetworkCachedResultReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *FakeCNI) GetNetworkListCachedConfig(arg1 *libcni.NetworkConfigList, arg2 *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error)
- func (fake *FakeCNI) GetNetworkListCachedConfigArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *FakeCNI) GetNetworkListCachedConfigCallCount() int
- func (fake *FakeCNI) GetNetworkListCachedConfigCalls(...)
- func (fake *FakeCNI) GetNetworkListCachedConfigReturns(result1 []byte, result2 *libcni.RuntimeConf, result3 error)
- func (fake *FakeCNI) GetNetworkListCachedConfigReturnsOnCall(i int, result1 []byte, result2 *libcni.RuntimeConf, result3 error)
- func (fake *FakeCNI) GetNetworkListCachedResult(arg1 *libcni.NetworkConfigList, arg2 *libcni.RuntimeConf) (types.Result, error)
- func (fake *FakeCNI) GetNetworkListCachedResultArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *FakeCNI) GetNetworkListCachedResultCallCount() int
- func (fake *FakeCNI) GetNetworkListCachedResultCalls(...)
- func (fake *FakeCNI) GetNetworkListCachedResultReturns(result1 types.Result, result2 error)
- func (fake *FakeCNI) GetNetworkListCachedResultReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *FakeCNI) Invocations() map[string][][]interface{}
- func (fake *FakeCNI) ValidateNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig) ([]string, error)
- func (fake *FakeCNI) ValidateNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig)
- func (fake *FakeCNI) ValidateNetworkCallCount() int
- func (fake *FakeCNI) ValidateNetworkCalls(stub func(context.Context, *libcni.NetworkConfig) ([]string, error))
- func (fake *FakeCNI) ValidateNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList) ([]string, error)
- func (fake *FakeCNI) ValidateNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList)
- func (fake *FakeCNI) ValidateNetworkListCallCount() int
- func (fake *FakeCNI) ValidateNetworkListCalls(stub func(context.Context, *libcni.NetworkConfigList) ([]string, error))
- func (fake *FakeCNI) ValidateNetworkListReturns(result1 []string, result2 error)
- func (fake *FakeCNI) ValidateNetworkListReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeCNI) ValidateNetworkReturns(result1 []string, result2 error)
- func (fake *FakeCNI) ValidateNetworkReturnsOnCall(i int, result1 []string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCNI ¶
type FakeCNI struct { AddNetworkStub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) (types.Result, error) AddNetworkListStub func(context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf) (types.Result, error) CheckNetworkStub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) error CheckNetworkListStub func(context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf) error DelNetworkStub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) error DelNetworkListStub func(context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf) error GetNetworkCachedConfigStub func(*libcni.NetworkConfig, *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error) GetNetworkCachedResultStub func(*libcni.NetworkConfig, *libcni.RuntimeConf) (types.Result, error) GetNetworkListCachedConfigStub func(*libcni.NetworkConfigList, *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error) GetNetworkListCachedResultStub func(*libcni.NetworkConfigList, *libcni.RuntimeConf) (types.Result, error) ValidateNetworkStub func(context.Context, *libcni.NetworkConfig) ([]string, error) ValidateNetworkListStub func(context.Context, *libcni.NetworkConfigList) ([]string, error) // contains filtered or unexported fields }
func (*FakeCNI) AddNetwork ¶
func (fake *FakeCNI) AddNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig, arg3 *libcni.RuntimeConf) (types.Result, error)
func (*FakeCNI) AddNetworkArgsForCall ¶
func (fake *FakeCNI) AddNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf)
func (*FakeCNI) AddNetworkCallCount ¶
func (*FakeCNI) AddNetworkCalls ¶
func (fake *FakeCNI) AddNetworkCalls(stub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) (types.Result, error))
func (*FakeCNI) AddNetworkList ¶
func (fake *FakeCNI) AddNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList, arg3 *libcni.RuntimeConf) (types.Result, error)
func (*FakeCNI) AddNetworkListArgsForCall ¶
func (fake *FakeCNI) AddNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*FakeCNI) AddNetworkListCallCount ¶
func (*FakeCNI) AddNetworkListCalls ¶
func (fake *FakeCNI) AddNetworkListCalls(stub func(context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf) (types.Result, error))
func (*FakeCNI) AddNetworkListReturns ¶
func (*FakeCNI) AddNetworkListReturnsOnCall ¶
func (*FakeCNI) AddNetworkReturns ¶
func (*FakeCNI) AddNetworkReturnsOnCall ¶
func (*FakeCNI) CheckNetwork ¶
func (fake *FakeCNI) CheckNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig, arg3 *libcni.RuntimeConf) error
func (*FakeCNI) CheckNetworkArgsForCall ¶
func (fake *FakeCNI) CheckNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf)
func (*FakeCNI) CheckNetworkCallCount ¶
func (*FakeCNI) CheckNetworkCalls ¶
func (fake *FakeCNI) CheckNetworkCalls(stub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) error)
func (*FakeCNI) CheckNetworkList ¶
func (fake *FakeCNI) CheckNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList, arg3 *libcni.RuntimeConf) error
func (*FakeCNI) CheckNetworkListArgsForCall ¶
func (fake *FakeCNI) CheckNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*FakeCNI) CheckNetworkListCallCount ¶
func (*FakeCNI) CheckNetworkListCalls ¶
func (fake *FakeCNI) CheckNetworkListCalls(stub func(context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf) error)
func (*FakeCNI) CheckNetworkListReturns ¶
func (*FakeCNI) CheckNetworkListReturnsOnCall ¶
func (*FakeCNI) CheckNetworkReturns ¶
func (*FakeCNI) CheckNetworkReturnsOnCall ¶
func (*FakeCNI) DelNetwork ¶
func (fake *FakeCNI) DelNetwork(arg1 context.Context, arg2 *libcni.NetworkConfig, arg3 *libcni.RuntimeConf) error
func (*FakeCNI) DelNetworkArgsForCall ¶
func (fake *FakeCNI) DelNetworkArgsForCall(i int) (context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf)
func (*FakeCNI) DelNetworkCallCount ¶
func (*FakeCNI) DelNetworkCalls ¶
func (fake *FakeCNI) DelNetworkCalls(stub func(context.Context, *libcni.NetworkConfig, *libcni.RuntimeConf) error)
func (*FakeCNI) DelNetworkList ¶
func (fake *FakeCNI) DelNetworkList(arg1 context.Context, arg2 *libcni.NetworkConfigList, arg3 *libcni.RuntimeConf) error
func (*FakeCNI) DelNetworkListArgsForCall ¶
func (fake *FakeCNI) DelNetworkListArgsForCall(i int) (context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*FakeCNI) DelNetworkListCallCount ¶
func (*FakeCNI) DelNetworkListCalls ¶
func (fake *FakeCNI) DelNetworkListCalls(stub func(context.Context, *libcni.NetworkConfigList, *libcni.RuntimeConf) error)
func (*FakeCNI) DelNetworkListReturns ¶
func (*FakeCNI) DelNetworkListReturnsOnCall ¶
func (*FakeCNI) DelNetworkReturns ¶
func (*FakeCNI) DelNetworkReturnsOnCall ¶
func (*FakeCNI) GetNetworkCachedConfig ¶
func (fake *FakeCNI) GetNetworkCachedConfig(arg1 *libcni.NetworkConfig, arg2 *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error)
func (*FakeCNI) GetNetworkCachedConfigArgsForCall ¶
func (fake *FakeCNI) GetNetworkCachedConfigArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
func (*FakeCNI) GetNetworkCachedConfigCallCount ¶
func (*FakeCNI) GetNetworkCachedConfigCalls ¶
func (fake *FakeCNI) GetNetworkCachedConfigCalls(stub func(*libcni.NetworkConfig, *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error))
func (*FakeCNI) GetNetworkCachedConfigReturns ¶
func (fake *FakeCNI) GetNetworkCachedConfigReturns(result1 []byte, result2 *libcni.RuntimeConf, result3 error)
func (*FakeCNI) GetNetworkCachedConfigReturnsOnCall ¶
func (*FakeCNI) GetNetworkCachedResult ¶
func (fake *FakeCNI) GetNetworkCachedResult(arg1 *libcni.NetworkConfig, arg2 *libcni.RuntimeConf) (types.Result, error)
func (*FakeCNI) GetNetworkCachedResultArgsForCall ¶
func (fake *FakeCNI) GetNetworkCachedResultArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
func (*FakeCNI) GetNetworkCachedResultCallCount ¶
func (*FakeCNI) GetNetworkCachedResultCalls ¶
func (fake *FakeCNI) GetNetworkCachedResultCalls(stub func(*libcni.NetworkConfig, *libcni.RuntimeConf) (types.Result, error))
func (*FakeCNI) GetNetworkCachedResultReturns ¶
func (*FakeCNI) GetNetworkCachedResultReturnsOnCall ¶
func (*FakeCNI) GetNetworkListCachedConfig ¶
func (fake *FakeCNI) GetNetworkListCachedConfig(arg1 *libcni.NetworkConfigList, arg2 *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error)
func (*FakeCNI) GetNetworkListCachedConfigArgsForCall ¶
func (fake *FakeCNI) GetNetworkListCachedConfigArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*FakeCNI) GetNetworkListCachedConfigCallCount ¶
func (*FakeCNI) GetNetworkListCachedConfigCalls ¶
func (fake *FakeCNI) GetNetworkListCachedConfigCalls(stub func(*libcni.NetworkConfigList, *libcni.RuntimeConf) ([]byte, *libcni.RuntimeConf, error))
func (*FakeCNI) GetNetworkListCachedConfigReturns ¶
func (fake *FakeCNI) GetNetworkListCachedConfigReturns(result1 []byte, result2 *libcni.RuntimeConf, result3 error)
func (*FakeCNI) GetNetworkListCachedConfigReturnsOnCall ¶
func (*FakeCNI) GetNetworkListCachedResult ¶
func (fake *FakeCNI) GetNetworkListCachedResult(arg1 *libcni.NetworkConfigList, arg2 *libcni.RuntimeConf) (types.Result, error)
func (*FakeCNI) GetNetworkListCachedResultArgsForCall ¶
func (fake *FakeCNI) GetNetworkListCachedResultArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*FakeCNI) GetNetworkListCachedResultCallCount ¶
func (*FakeCNI) GetNetworkListCachedResultCalls ¶
func (fake *FakeCNI) GetNetworkListCachedResultCalls(stub func(*libcni.NetworkConfigList, *libcni.RuntimeConf) (types.Result, error))
func (*FakeCNI) GetNetworkListCachedResultReturns ¶
func (*FakeCNI) GetNetworkListCachedResultReturnsOnCall ¶
func (*FakeCNI) Invocations ¶
func (*FakeCNI) ValidateNetwork ¶
func (*FakeCNI) ValidateNetworkArgsForCall ¶
func (*FakeCNI) ValidateNetworkCallCount ¶
func (*FakeCNI) ValidateNetworkCalls ¶
func (*FakeCNI) ValidateNetworkList ¶
func (*FakeCNI) ValidateNetworkListArgsForCall ¶
func (*FakeCNI) ValidateNetworkListCallCount ¶
func (*FakeCNI) ValidateNetworkListCalls ¶
func (*FakeCNI) ValidateNetworkListReturns ¶
func (*FakeCNI) ValidateNetworkListReturnsOnCall ¶
func (*FakeCNI) ValidateNetworkReturns ¶
Click to show internal directories.
Click to hide internal directories.