mocks

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleBindingIngestor

type ClusterRoleBindingIngestor struct {
	mock.Mock
}

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 (*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

type ClusterRoleBindingIngestor_Complete_Call struct {
	*mock.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 (*ClusterRoleBindingIngestor_Complete_Call) Run

func (*ClusterRoleBindingIngestor_Complete_Call) RunAndReturn

type ClusterRoleBindingIngestor_Expecter

type ClusterRoleBindingIngestor_Expecter struct {
	// contains filtered or unexported fields
}

func (*ClusterRoleBindingIngestor_Expecter) Complete

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

type ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call struct {
	*mock.Call
}

ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IngestClusterRoleBinding'

func (*ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) Return

func (*ClusterRoleBindingIngestor_IngestClusterRoleBinding_Call) Run

type ClusterRoleIngestor

type ClusterRoleIngestor struct {
	mock.Mock
}

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 (*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

type ClusterRoleIngestor_Complete_Call struct {
	*mock.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 (*ClusterRoleIngestor_Complete_Call) Run

func (*ClusterRoleIngestor_Complete_Call) RunAndReturn

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

type ClusterRoleIngestor_IngestClusterRole_Call struct {
	*mock.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 (*ClusterRoleIngestor_IngestClusterRole_Call) Run

func (*ClusterRoleIngestor_IngestClusterRole_Call) RunAndReturn

type EndpointIngestor

type EndpointIngestor struct {
	mock.Mock
}

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 (*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

type EndpointIngestor_Complete_Call struct {
	*mock.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 (*EndpointIngestor_Complete_Call) Run

func (*EndpointIngestor_Complete_Call) RunAndReturn

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

type EndpointIngestor_IngestEndpoint_Call struct {
	*mock.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 (*EndpointIngestor_IngestEndpoint_Call) Run

func (*EndpointIngestor_IngestEndpoint_Call) RunAndReturn

type NodeIngestor

type NodeIngestor struct {
	mock.Mock
}

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

func (_m *NodeIngestor) IngestNode(_a0 context.Context, _a1 types.NodeType) error

IngestNode provides a mock function with given fields: _a0, _a1

type NodeIngestor_Complete_Call

type NodeIngestor_Complete_Call struct {
	*mock.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 (*NodeIngestor_Complete_Call) Run

func (*NodeIngestor_Complete_Call) RunAndReturn

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

type NodeIngestor_IngestNode_Call struct {
	*mock.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 (*NodeIngestor_IngestNode_Call) Run

func (*NodeIngestor_IngestNode_Call) RunAndReturn

type PodIngestor

type PodIngestor struct {
	mock.Mock
}

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

func (*PodIngestor) IngestPod

func (_m *PodIngestor) IngestPod(_a0 context.Context, _a1 types.PodType) error

IngestPod provides a mock function with given fields: _a0, _a1

type PodIngestor_Complete_Call

type PodIngestor_Complete_Call struct {
	*mock.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 (*PodIngestor_Complete_Call) Run

func (*PodIngestor_Complete_Call) RunAndReturn

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

type PodIngestor_IngestPod_Call struct {
	*mock.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 (*PodIngestor_IngestPod_Call) Run

func (*PodIngestor_IngestPod_Call) RunAndReturn

type RoleBindingIngestor

type RoleBindingIngestor struct {
	mock.Mock
}

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 (*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

type RoleBindingIngestor_Complete_Call struct {
	*mock.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 (*RoleBindingIngestor_Complete_Call) Run

func (*RoleBindingIngestor_Complete_Call) RunAndReturn

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

type RoleBindingIngestor_IngestRoleBinding_Call struct {
	*mock.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 (*RoleBindingIngestor_IngestRoleBinding_Call) Run

func (*RoleBindingIngestor_IngestRoleBinding_Call) RunAndReturn

type RoleIngestor

type RoleIngestor struct {
	mock.Mock
}

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

func (_m *RoleIngestor) IngestRole(_a0 context.Context, _a1 types.RoleType) error

IngestRole provides a mock function with given fields: _a0, _a1

type RoleIngestor_Complete_Call

type RoleIngestor_Complete_Call struct {
	*mock.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 (*RoleIngestor_Complete_Call) Run

func (*RoleIngestor_Complete_Call) RunAndReturn

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

type RoleIngestor_IngestRole_Call struct {
	*mock.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 (*RoleIngestor_IngestRole_Call) Run

func (*RoleIngestor_IngestRole_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL