Documentation ¶
Index ¶
- type ClusterRoleBindingIngestor
- type ClusterRoleBindingIngestor_Complete_Call
- func (_c *ClusterRoleBindingIngestor_Complete_Call) Return(_a0 error) *ClusterRoleBindingIngestor_Complete_Call
- func (_c *ClusterRoleBindingIngestor_Complete_Call) Run(run func(_a0 context.Context)) *ClusterRoleBindingIngestor_Complete_Call
- func (_c *ClusterRoleBindingIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleBindingIngestor_Complete_Call
- type ClusterRoleBindingIngestor_Expecter
- type ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
- func (_c *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) Return(_a0 error) *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
- func (_c *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) Run(run func(_a0 context.Context, _a1 types.ClusterRoleBindingType)) *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
- func (_c *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) RunAndReturn(run func(context.Context, types.ClusterRoleBindingType) error) *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
- type ClusterRoleIngestor
- type ClusterRoleIngestor_Complete_Call
- func (_c *ClusterRoleIngestor_Complete_Call) Return(_a0 error) *ClusterRoleIngestor_Complete_Call
- func (_c *ClusterRoleIngestor_Complete_Call) Run(run func(_a0 context.Context)) *ClusterRoleIngestor_Complete_Call
- func (_c *ClusterRoleIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleIngestor_Complete_Call
- type ClusterRoleIngestor_Expecter
- type ClusterRoleIngestor_IngestClusterRole_Call
- func (_c *ClusterRoleIngestor_IngestClusterRole_Call) Return(_a0 error) *ClusterRoleIngestor_IngestClusterRole_Call
- func (_c *ClusterRoleIngestor_IngestClusterRole_Call) Run(run func(_a0 context.Context, _a1 types.ClusterRoleType)) *ClusterRoleIngestor_IngestClusterRole_Call
- func (_c *ClusterRoleIngestor_IngestClusterRole_Call) RunAndReturn(run func(context.Context, types.ClusterRoleType) error) *ClusterRoleIngestor_IngestClusterRole_Call
- type EndpointIngestor
- type EndpointIngestor_Complete_Call
- func (_c *EndpointIngestor_Complete_Call) Return(_a0 error) *EndpointIngestor_Complete_Call
- func (_c *EndpointIngestor_Complete_Call) Run(run func(_a0 context.Context)) *EndpointIngestor_Complete_Call
- func (_c *EndpointIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *EndpointIngestor_Complete_Call
- type EndpointIngestor_Expecter
- type EndpointIngestor_IngestEndpoint_Call
- func (_c *EndpointIngestor_IngestEndpoint_Call) Return(_a0 error) *EndpointIngestor_IngestEndpoint_Call
- func (_c *EndpointIngestor_IngestEndpoint_Call) Run(run func(_a0 context.Context, _a1 types.EndpointType)) *EndpointIngestor_IngestEndpoint_Call
- func (_c *EndpointIngestor_IngestEndpoint_Call) RunAndReturn(run func(context.Context, types.EndpointType) error) *EndpointIngestor_IngestEndpoint_Call
- type NodeIngestor
- type NodeIngestor_Complete_Call
- type NodeIngestor_Expecter
- type NodeIngestor_IngestNode_Call
- func (_c *NodeIngestor_IngestNode_Call) Return(_a0 error) *NodeIngestor_IngestNode_Call
- func (_c *NodeIngestor_IngestNode_Call) Run(run func(_a0 context.Context, _a1 types.NodeType)) *NodeIngestor_IngestNode_Call
- func (_c *NodeIngestor_IngestNode_Call) RunAndReturn(run func(context.Context, types.NodeType) error) *NodeIngestor_IngestNode_Call
- type PodIngestor
- type PodIngestor_Complete_Call
- type PodIngestor_Expecter
- type PodIngestor_IngestPod_Call
- func (_c *PodIngestor_IngestPod_Call) Return(_a0 error) *PodIngestor_IngestPod_Call
- func (_c *PodIngestor_IngestPod_Call) Run(run func(_a0 context.Context, _a1 types.PodType)) *PodIngestor_IngestPod_Call
- func (_c *PodIngestor_IngestPod_Call) RunAndReturn(run func(context.Context, types.PodType) error) *PodIngestor_IngestPod_Call
- type RoleBindingIngestor
- type RoleBindingIngestor_Complete_Call
- func (_c *RoleBindingIngestor_Complete_Call) Return(_a0 error) *RoleBindingIngestor_Complete_Call
- func (_c *RoleBindingIngestor_Complete_Call) Run(run func(_a0 context.Context)) *RoleBindingIngestor_Complete_Call
- func (_c *RoleBindingIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *RoleBindingIngestor_Complete_Call
- type RoleBindingIngestor_Expecter
- type RoleBindingIngestor_IngestRoleBinding_Call
- func (_c *RoleBindingIngestor_IngestRoleBinding_Call) Return(_a0 error) *RoleBindingIngestor_IngestRoleBinding_Call
- func (_c *RoleBindingIngestor_IngestRoleBinding_Call) Run(run func(_a0 context.Context, _a1 types.RoleBindingType)) *RoleBindingIngestor_IngestRoleBinding_Call
- func (_c *RoleBindingIngestor_IngestRoleBinding_Call) RunAndReturn(run func(context.Context, types.RoleBindingType) error) *RoleBindingIngestor_IngestRoleBinding_Call
- type RoleIngestor
- type RoleIngestor_Complete_Call
- type RoleIngestor_Expecter
- type RoleIngestor_IngestRole_Call
- func (_c *RoleIngestor_IngestRole_Call) Return(_a0 error) *RoleIngestor_IngestRole_Call
- func (_c *RoleIngestor_IngestRole_Call) Run(run func(_a0 context.Context, _a1 types.RoleType)) *RoleIngestor_IngestRole_Call
- func (_c *RoleIngestor_IngestRole_Call) RunAndReturn(run func(context.Context, types.RoleType) error) *RoleIngestor_IngestRole_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleBindingIngestor ¶
ClusterRoleBindingIngestor is an autogenerated mock type for the ClusterRoleBindingIngestor type
func NewClusterRoleBindingIngestor ¶
func NewClusterRoleBindingIngestor(t mockConstructorTestingTNewClusterRoleBindingIngestor) *ClusterRoleBindingIngestor
NewClusterRoleBindingIngestor creates a new instance of ClusterRoleBindingIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClusterRoleBindingIngestor) Complete ¶
func (_m *ClusterRoleBindingIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*ClusterRoleBindingIngestor) EXPECT ¶
func (_m *ClusterRoleBindingIngestor) EXPECT() *ClusterRoleBindingIngestor_Expecter
func (*ClusterRoleBindingIngestor) IngestClusterRoleBinding ¶
func (_m *ClusterRoleBindingIngestor) IngestClusterRoleBinding(_a0 context.Context, _a1 types.ClusterRoleBindingType) error
IngestClusterRoleBinding provides a mock function with given fields: _a0, _a1
type ClusterRoleBindingIngestor_Complete_Call ¶
ClusterRoleBindingIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*ClusterRoleBindingIngestor_Complete_Call) Return ¶
func (_c *ClusterRoleBindingIngestor_Complete_Call) Return(_a0 error) *ClusterRoleBindingIngestor_Complete_Call
func (*ClusterRoleBindingIngestor_Complete_Call) Run ¶
func (_c *ClusterRoleBindingIngestor_Complete_Call) Run(run func(_a0 context.Context)) *ClusterRoleBindingIngestor_Complete_Call
func (*ClusterRoleBindingIngestor_Complete_Call) RunAndReturn ¶
func (_c *ClusterRoleBindingIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleBindingIngestor_Complete_Call
type ClusterRoleBindingIngestor_Expecter ¶
type ClusterRoleBindingIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterRoleBindingIngestor_Expecter) Complete ¶
func (_e *ClusterRoleBindingIngestor_Expecter) Complete(_a0 interface{}) *ClusterRoleBindingIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*ClusterRoleBindingIngestor_Expecter) IngestClusterRoleBinding ¶
func (_e *ClusterRoleBindingIngestor_Expecter) IngestClusterRoleBinding(_a0 interface{}, _a1 interface{}) *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
IngestClusterRoleBinding is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.ClusterRoleBindingType
type ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call ¶
ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestClusterRoleBinding'
func (*ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) Run ¶
func (_c *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) Run(run func(_a0 context.Context, _a1 types.ClusterRoleBindingType)) *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
func (*ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) RunAndReturn ¶
func (_c *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) RunAndReturn(run func(context.Context, types.ClusterRoleBindingType) error) *ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call
type ClusterRoleIngestor ¶
ClusterRoleIngestor is an autogenerated mock type for the ClusterRoleIngestor type
func NewClusterRoleIngestor ¶
func NewClusterRoleIngestor(t mockConstructorTestingTNewClusterRoleIngestor) *ClusterRoleIngestor
NewClusterRoleIngestor creates a new instance of ClusterRoleIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClusterRoleIngestor) Complete ¶
func (_m *ClusterRoleIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*ClusterRoleIngestor) EXPECT ¶
func (_m *ClusterRoleIngestor) EXPECT() *ClusterRoleIngestor_Expecter
func (*ClusterRoleIngestor) IngestClusterRole ¶
func (_m *ClusterRoleIngestor) IngestClusterRole(_a0 context.Context, _a1 types.ClusterRoleType) error
IngestClusterRole provides a mock function with given fields: _a0, _a1
type ClusterRoleIngestor_Complete_Call ¶
ClusterRoleIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*ClusterRoleIngestor_Complete_Call) Return ¶
func (_c *ClusterRoleIngestor_Complete_Call) Return(_a0 error) *ClusterRoleIngestor_Complete_Call
func (*ClusterRoleIngestor_Complete_Call) Run ¶
func (_c *ClusterRoleIngestor_Complete_Call) Run(run func(_a0 context.Context)) *ClusterRoleIngestor_Complete_Call
func (*ClusterRoleIngestor_Complete_Call) RunAndReturn ¶
func (_c *ClusterRoleIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *ClusterRoleIngestor_Complete_Call
type ClusterRoleIngestor_Expecter ¶
type ClusterRoleIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterRoleIngestor_Expecter) Complete ¶
func (_e *ClusterRoleIngestor_Expecter) Complete(_a0 interface{}) *ClusterRoleIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*ClusterRoleIngestor_Expecter) IngestClusterRole ¶
func (_e *ClusterRoleIngestor_Expecter) IngestClusterRole(_a0 interface{}, _a1 interface{}) *ClusterRoleIngestor_IngestClusterRole_Call
IngestClusterRole is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.ClusterRoleType
type ClusterRoleIngestor_IngestClusterRole_Call ¶
ClusterRoleIngestor_IngestClusterRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestClusterRole'
func (*ClusterRoleIngestor_IngestClusterRole_Call) Return ¶
func (_c *ClusterRoleIngestor_IngestClusterRole_Call) Return(_a0 error) *ClusterRoleIngestor_IngestClusterRole_Call
func (*ClusterRoleIngestor_IngestClusterRole_Call) Run ¶
func (_c *ClusterRoleIngestor_IngestClusterRole_Call) Run(run func(_a0 context.Context, _a1 types.ClusterRoleType)) *ClusterRoleIngestor_IngestClusterRole_Call
func (*ClusterRoleIngestor_IngestClusterRole_Call) RunAndReturn ¶
func (_c *ClusterRoleIngestor_IngestClusterRole_Call) RunAndReturn(run func(context.Context, types.ClusterRoleType) error) *ClusterRoleIngestor_IngestClusterRole_Call
type EndpointIngestor ¶
EndpointIngestor is an autogenerated mock type for the EndpointIngestor type
func NewEndpointIngestor ¶
func NewEndpointIngestor(t mockConstructorTestingTNewEndpointIngestor) *EndpointIngestor
NewEndpointIngestor creates a new instance of EndpointIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EndpointIngestor) Complete ¶
func (_m *EndpointIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*EndpointIngestor) EXPECT ¶
func (_m *EndpointIngestor) EXPECT() *EndpointIngestor_Expecter
func (*EndpointIngestor) IngestEndpoint ¶
func (_m *EndpointIngestor) IngestEndpoint(_a0 context.Context, _a1 types.EndpointType) error
IngestEndpoint provides a mock function with given fields: _a0, _a1
type EndpointIngestor_Complete_Call ¶
EndpointIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*EndpointIngestor_Complete_Call) Return ¶
func (_c *EndpointIngestor_Complete_Call) Return(_a0 error) *EndpointIngestor_Complete_Call
func (*EndpointIngestor_Complete_Call) Run ¶
func (_c *EndpointIngestor_Complete_Call) Run(run func(_a0 context.Context)) *EndpointIngestor_Complete_Call
func (*EndpointIngestor_Complete_Call) RunAndReturn ¶
func (_c *EndpointIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *EndpointIngestor_Complete_Call
type EndpointIngestor_Expecter ¶
type EndpointIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*EndpointIngestor_Expecter) Complete ¶
func (_e *EndpointIngestor_Expecter) Complete(_a0 interface{}) *EndpointIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*EndpointIngestor_Expecter) IngestEndpoint ¶
func (_e *EndpointIngestor_Expecter) IngestEndpoint(_a0 interface{}, _a1 interface{}) *EndpointIngestor_IngestEndpoint_Call
IngestEndpoint is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.EndpointType
type EndpointIngestor_IngestEndpoint_Call ¶
EndpointIngestor_IngestEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestEndpoint'
func (*EndpointIngestor_IngestEndpoint_Call) Return ¶
func (_c *EndpointIngestor_IngestEndpoint_Call) Return(_a0 error) *EndpointIngestor_IngestEndpoint_Call
func (*EndpointIngestor_IngestEndpoint_Call) Run ¶
func (_c *EndpointIngestor_IngestEndpoint_Call) Run(run func(_a0 context.Context, _a1 types.EndpointType)) *EndpointIngestor_IngestEndpoint_Call
func (*EndpointIngestor_IngestEndpoint_Call) RunAndReturn ¶
func (_c *EndpointIngestor_IngestEndpoint_Call) RunAndReturn(run func(context.Context, types.EndpointType) error) *EndpointIngestor_IngestEndpoint_Call
type NodeIngestor ¶
NodeIngestor is an autogenerated mock type for the NodeIngestor type
func NewNodeIngestor ¶
func NewNodeIngestor(t mockConstructorTestingTNewNodeIngestor) *NodeIngestor
NewNodeIngestor creates a new instance of NodeIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*NodeIngestor) Complete ¶
func (_m *NodeIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*NodeIngestor) EXPECT ¶
func (_m *NodeIngestor) EXPECT() *NodeIngestor_Expecter
func (*NodeIngestor) IngestNode ¶
IngestNode provides a mock function with given fields: _a0, _a1
type NodeIngestor_Complete_Call ¶
NodeIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*NodeIngestor_Complete_Call) Return ¶
func (_c *NodeIngestor_Complete_Call) Return(_a0 error) *NodeIngestor_Complete_Call
func (*NodeIngestor_Complete_Call) Run ¶
func (_c *NodeIngestor_Complete_Call) Run(run func(_a0 context.Context)) *NodeIngestor_Complete_Call
func (*NodeIngestor_Complete_Call) RunAndReturn ¶
func (_c *NodeIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *NodeIngestor_Complete_Call
type NodeIngestor_Expecter ¶
type NodeIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeIngestor_Expecter) Complete ¶
func (_e *NodeIngestor_Expecter) Complete(_a0 interface{}) *NodeIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*NodeIngestor_Expecter) IngestNode ¶
func (_e *NodeIngestor_Expecter) IngestNode(_a0 interface{}, _a1 interface{}) *NodeIngestor_IngestNode_Call
IngestNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.NodeType
type NodeIngestor_IngestNode_Call ¶
NodeIngestor_IngestNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestNode'
func (*NodeIngestor_IngestNode_Call) Return ¶
func (_c *NodeIngestor_IngestNode_Call) Return(_a0 error) *NodeIngestor_IngestNode_Call
func (*NodeIngestor_IngestNode_Call) Run ¶
func (_c *NodeIngestor_IngestNode_Call) Run(run func(_a0 context.Context, _a1 types.NodeType)) *NodeIngestor_IngestNode_Call
func (*NodeIngestor_IngestNode_Call) RunAndReturn ¶
func (_c *NodeIngestor_IngestNode_Call) RunAndReturn(run func(context.Context, types.NodeType) error) *NodeIngestor_IngestNode_Call
type PodIngestor ¶
PodIngestor is an autogenerated mock type for the PodIngestor type
func NewPodIngestor ¶
func NewPodIngestor(t mockConstructorTestingTNewPodIngestor) *PodIngestor
NewPodIngestor creates a new instance of PodIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PodIngestor) Complete ¶
func (_m *PodIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*PodIngestor) EXPECT ¶
func (_m *PodIngestor) EXPECT() *PodIngestor_Expecter
type PodIngestor_Complete_Call ¶
PodIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*PodIngestor_Complete_Call) Return ¶
func (_c *PodIngestor_Complete_Call) Return(_a0 error) *PodIngestor_Complete_Call
func (*PodIngestor_Complete_Call) Run ¶
func (_c *PodIngestor_Complete_Call) Run(run func(_a0 context.Context)) *PodIngestor_Complete_Call
func (*PodIngestor_Complete_Call) RunAndReturn ¶
func (_c *PodIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *PodIngestor_Complete_Call
type PodIngestor_Expecter ¶
type PodIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*PodIngestor_Expecter) Complete ¶
func (_e *PodIngestor_Expecter) Complete(_a0 interface{}) *PodIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*PodIngestor_Expecter) IngestPod ¶
func (_e *PodIngestor_Expecter) IngestPod(_a0 interface{}, _a1 interface{}) *PodIngestor_IngestPod_Call
IngestPod is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.PodType
type PodIngestor_IngestPod_Call ¶
PodIngestor_IngestPod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestPod'
func (*PodIngestor_IngestPod_Call) Return ¶
func (_c *PodIngestor_IngestPod_Call) Return(_a0 error) *PodIngestor_IngestPod_Call
func (*PodIngestor_IngestPod_Call) Run ¶
func (_c *PodIngestor_IngestPod_Call) Run(run func(_a0 context.Context, _a1 types.PodType)) *PodIngestor_IngestPod_Call
func (*PodIngestor_IngestPod_Call) RunAndReturn ¶
func (_c *PodIngestor_IngestPod_Call) RunAndReturn(run func(context.Context, types.PodType) error) *PodIngestor_IngestPod_Call
type RoleBindingIngestor ¶
RoleBindingIngestor is an autogenerated mock type for the RoleBindingIngestor type
func NewRoleBindingIngestor ¶
func NewRoleBindingIngestor(t mockConstructorTestingTNewRoleBindingIngestor) *RoleBindingIngestor
NewRoleBindingIngestor creates a new instance of RoleBindingIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RoleBindingIngestor) Complete ¶
func (_m *RoleBindingIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*RoleBindingIngestor) EXPECT ¶
func (_m *RoleBindingIngestor) EXPECT() *RoleBindingIngestor_Expecter
func (*RoleBindingIngestor) IngestRoleBinding ¶
func (_m *RoleBindingIngestor) IngestRoleBinding(_a0 context.Context, _a1 types.RoleBindingType) error
IngestRoleBinding provides a mock function with given fields: _a0, _a1
type RoleBindingIngestor_Complete_Call ¶
RoleBindingIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*RoleBindingIngestor_Complete_Call) Return ¶
func (_c *RoleBindingIngestor_Complete_Call) Return(_a0 error) *RoleBindingIngestor_Complete_Call
func (*RoleBindingIngestor_Complete_Call) Run ¶
func (_c *RoleBindingIngestor_Complete_Call) Run(run func(_a0 context.Context)) *RoleBindingIngestor_Complete_Call
func (*RoleBindingIngestor_Complete_Call) RunAndReturn ¶
func (_c *RoleBindingIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *RoleBindingIngestor_Complete_Call
type RoleBindingIngestor_Expecter ¶
type RoleBindingIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*RoleBindingIngestor_Expecter) Complete ¶
func (_e *RoleBindingIngestor_Expecter) Complete(_a0 interface{}) *RoleBindingIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*RoleBindingIngestor_Expecter) IngestRoleBinding ¶
func (_e *RoleBindingIngestor_Expecter) IngestRoleBinding(_a0 interface{}, _a1 interface{}) *RoleBindingIngestor_IngestRoleBinding_Call
IngestRoleBinding is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.RoleBindingType
type RoleBindingIngestor_IngestRoleBinding_Call ¶
RoleBindingIngestor_IngestRoleBinding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestRoleBinding'
func (*RoleBindingIngestor_IngestRoleBinding_Call) Return ¶
func (_c *RoleBindingIngestor_IngestRoleBinding_Call) Return(_a0 error) *RoleBindingIngestor_IngestRoleBinding_Call
func (*RoleBindingIngestor_IngestRoleBinding_Call) Run ¶
func (_c *RoleBindingIngestor_IngestRoleBinding_Call) Run(run func(_a0 context.Context, _a1 types.RoleBindingType)) *RoleBindingIngestor_IngestRoleBinding_Call
func (*RoleBindingIngestor_IngestRoleBinding_Call) RunAndReturn ¶
func (_c *RoleBindingIngestor_IngestRoleBinding_Call) RunAndReturn(run func(context.Context, types.RoleBindingType) error) *RoleBindingIngestor_IngestRoleBinding_Call
type RoleIngestor ¶
RoleIngestor is an autogenerated mock type for the RoleIngestor type
func NewRoleIngestor ¶
func NewRoleIngestor(t mockConstructorTestingTNewRoleIngestor) *RoleIngestor
NewRoleIngestor creates a new instance of RoleIngestor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RoleIngestor) Complete ¶
func (_m *RoleIngestor) Complete(_a0 context.Context) error
Complete provides a mock function with given fields: _a0
func (*RoleIngestor) EXPECT ¶
func (_m *RoleIngestor) EXPECT() *RoleIngestor_Expecter
func (*RoleIngestor) IngestRole ¶
IngestRole provides a mock function with given fields: _a0, _a1
type RoleIngestor_Complete_Call ¶
RoleIngestor_Complete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Complete'
func (*RoleIngestor_Complete_Call) Return ¶
func (_c *RoleIngestor_Complete_Call) Return(_a0 error) *RoleIngestor_Complete_Call
func (*RoleIngestor_Complete_Call) Run ¶
func (_c *RoleIngestor_Complete_Call) Run(run func(_a0 context.Context)) *RoleIngestor_Complete_Call
func (*RoleIngestor_Complete_Call) RunAndReturn ¶
func (_c *RoleIngestor_Complete_Call) RunAndReturn(run func(context.Context) error) *RoleIngestor_Complete_Call
type RoleIngestor_Expecter ¶
type RoleIngestor_Expecter struct {
// contains filtered or unexported fields
}
func (*RoleIngestor_Expecter) Complete ¶
func (_e *RoleIngestor_Expecter) Complete(_a0 interface{}) *RoleIngestor_Complete_Call
Complete is a helper method to define mock.On call
- _a0 context.Context
func (*RoleIngestor_Expecter) IngestRole ¶
func (_e *RoleIngestor_Expecter) IngestRole(_a0 interface{}, _a1 interface{}) *RoleIngestor_IngestRole_Call
IngestRole is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.RoleType
type RoleIngestor_IngestRole_Call ¶
RoleIngestor_IngestRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestRole'
func (*RoleIngestor_IngestRole_Call) Return ¶
func (_c *RoleIngestor_IngestRole_Call) Return(_a0 error) *RoleIngestor_IngestRole_Call
func (*RoleIngestor_IngestRole_Call) Run ¶
func (_c *RoleIngestor_IngestRole_Call) Run(run func(_a0 context.Context, _a1 types.RoleType)) *RoleIngestor_IngestRole_Call
func (*RoleIngestor_IngestRole_Call) RunAndReturn ¶
func (_c *RoleIngestor_IngestRole_Call) RunAndReturn(run func(context.Context, types.RoleType) error) *RoleIngestor_IngestRole_Call