mocks

package
v1.1.82 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInterface added in v0.6.80

type ClusterInterface struct {
	mock.Mock
}

ClusterInterface is an autogenerated mock type for the ClusterInterface type

func (*ClusterInterface) GetAllTargets added in v0.6.80

func (_m *ClusterInterface) GetAllTargets() map[string]*executioncluster.ExecutionTarget

GetAllTargets provides a mock function with given fields:

func (*ClusterInterface) GetTarget added in v0.6.80

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

func (*ClusterInterface) GetValidTargets added in v0.6.80

func (_m *ClusterInterface) GetValidTargets() map[string]*executioncluster.ExecutionTarget

GetValidTargets provides a mock function with given fields:

func (*ClusterInterface) OnGetAllTargets added in v0.6.80

func (_m *ClusterInterface) OnGetAllTargets() *ClusterInterface_GetAllTargets

func (*ClusterInterface) OnGetAllTargetsMatch added in v0.6.80

func (_m *ClusterInterface) OnGetAllTargetsMatch(matchers ...interface{}) *ClusterInterface_GetAllTargets

func (*ClusterInterface) OnGetTarget added in v0.6.80

func (*ClusterInterface) OnGetTargetMatch added in v0.6.80

func (_m *ClusterInterface) OnGetTargetMatch(matchers ...interface{}) *ClusterInterface_GetTarget

func (*ClusterInterface) OnGetValidTargets added in v0.6.80

func (_m *ClusterInterface) OnGetValidTargets() *ClusterInterface_GetValidTargets

func (*ClusterInterface) OnGetValidTargetsMatch added in v0.6.80

func (_m *ClusterInterface) OnGetValidTargetsMatch(matchers ...interface{}) *ClusterInterface_GetValidTargets

type ClusterInterface_GetAllTargets added in v0.6.80

type ClusterInterface_GetAllTargets struct {
	*mock.Call
}

func (ClusterInterface_GetAllTargets) Return added in v0.6.80

type ClusterInterface_GetTarget added in v0.6.80

type ClusterInterface_GetTarget struct {
	*mock.Call
}

func (ClusterInterface_GetTarget) Return added in v0.6.80

type ClusterInterface_GetValidTargets added in v0.6.80

type ClusterInterface_GetValidTargets struct {
	*mock.Call
}

func (ClusterInterface_GetValidTargets) Return added in v0.6.80

type ExecutionTargetProvider added in v0.6.80

type ExecutionTargetProvider struct {
	mock.Mock
}

ExecutionTargetProvider is an autogenerated mock type for the ExecutionTargetProvider type

func (*ExecutionTargetProvider) GetExecutionTarget added in v0.6.80

func (_m *ExecutionTargetProvider) GetExecutionTarget(initializationErrorCounter prometheus.Counter, k8sCluster interfaces.ClusterConfig) (*executioncluster.ExecutionTarget, error)

GetExecutionTarget provides a mock function with given fields: initializationErrorCounter, k8sCluster

func (*ExecutionTargetProvider) OnGetExecutionTarget added in v0.6.80

func (_m *ExecutionTargetProvider) OnGetExecutionTarget(initializationErrorCounter prometheus.Counter, k8sCluster interfaces.ClusterConfig) *ExecutionTargetProvider_GetExecutionTarget

func (*ExecutionTargetProvider) OnGetExecutionTargetMatch added in v0.6.80

func (_m *ExecutionTargetProvider) OnGetExecutionTargetMatch(matchers ...interface{}) *ExecutionTargetProvider_GetExecutionTarget

type ExecutionTargetProvider_GetExecutionTarget added in v0.6.80

type ExecutionTargetProvider_GetExecutionTarget struct {
	*mock.Call
}

func (ExecutionTargetProvider_GetExecutionTarget) Return added in v0.6.80

type GetAllValidTargetsFunc

type GetAllValidTargetsFunc func() map[string]*executioncluster.ExecutionTarget

type GetTargetInterface added in v0.6.80

type GetTargetInterface struct {
	mock.Mock
}

GetTargetInterface is an autogenerated mock type for the GetTargetInterface type

func (*GetTargetInterface) GetTarget added in v0.6.80

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

func (*GetTargetInterface) OnGetTarget added in v0.6.80

func (*GetTargetInterface) OnGetTargetMatch added in v0.6.80

func (_m *GetTargetInterface) OnGetTargetMatch(matchers ...interface{}) *GetTargetInterface_GetTarget

type GetTargetInterface_GetTarget added in v0.6.80

type GetTargetInterface_GetTarget struct {
	*mock.Call
}

func (GetTargetInterface_GetTarget) Return added in v0.6.80

type ListTargetsInterface added in v0.6.80

type ListTargetsInterface struct {
	mock.Mock
}

ListTargetsInterface is an autogenerated mock type for the ListTargetsInterface type

func (*ListTargetsInterface) GetAllTargets added in v0.6.80

GetAllTargets provides a mock function with given fields:

func (*ListTargetsInterface) GetValidTargets added in v0.6.80

func (_m *ListTargetsInterface) GetValidTargets() map[string]*executioncluster.ExecutionTarget

GetValidTargets provides a mock function with given fields:

func (*ListTargetsInterface) OnGetAllTargets added in v0.6.80

func (*ListTargetsInterface) OnGetAllTargetsMatch added in v0.6.80

func (_m *ListTargetsInterface) OnGetAllTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetAllTargets

func (*ListTargetsInterface) OnGetValidTargets added in v0.6.80

func (*ListTargetsInterface) OnGetValidTargetsMatch added in v0.6.80

func (_m *ListTargetsInterface) OnGetValidTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetValidTargets

type ListTargetsInterface_GetAllTargets added in v0.6.80

type ListTargetsInterface_GetAllTargets struct {
	*mock.Call
}

func (ListTargetsInterface_GetAllTargets) Return added in v0.6.80

type ListTargetsInterface_GetValidTargets added in v0.6.80

type ListTargetsInterface_GetValidTargets struct {
	*mock.Call
}

func (ListTargetsInterface_GetValidTargets) Return added in v0.6.80

type MockCluster

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

func (*MockCluster) GetAllTargets added in v0.6.80

func (m *MockCluster) GetAllTargets() map[string]*executioncluster.ExecutionTarget

func (*MockCluster) GetTarget

func (*MockCluster) GetValidTargets added in v0.6.80

func (m *MockCluster) GetValidTargets() map[string]*executioncluster.ExecutionTarget

func (*MockCluster) SetGetAllTargetsCallback added in v0.6.80

func (m *MockCluster) SetGetAllTargetsCallback(getAllTargetsFunc GetAllValidTargetsFunc)

func (*MockCluster) SetGetAllValidTargetsCallback

func (m *MockCluster) SetGetAllValidTargetsCallback(getAllValidTargetsFunc GetAllValidTargetsFunc)

func (*MockCluster) SetGetTargetCallback

func (m *MockCluster) SetGetTargetCallback(getTargetFunc GetTargetFunc)

Jump to

Keyboard shortcuts

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