Documentation ¶
Index ¶
- type ClusterInterface
- func (_m *ClusterInterface) GetAllTargets() map[string]*executioncluster.ExecutionTarget
- func (_m *ClusterInterface) GetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
- func (_m *ClusterInterface) GetValidTargets() map[string]*executioncluster.ExecutionTarget
- func (_m *ClusterInterface) OnGetAllTargets() *ClusterInterface_GetAllTargets
- func (_m *ClusterInterface) OnGetAllTargetsMatch(matchers ...interface{}) *ClusterInterface_GetAllTargets
- func (_m *ClusterInterface) OnGetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) *ClusterInterface_GetTarget
- func (_m *ClusterInterface) OnGetTargetMatch(matchers ...interface{}) *ClusterInterface_GetTarget
- func (_m *ClusterInterface) OnGetValidTargets() *ClusterInterface_GetValidTargets
- func (_m *ClusterInterface) OnGetValidTargetsMatch(matchers ...interface{}) *ClusterInterface_GetValidTargets
- type ClusterInterface_GetAllTargets
- type ClusterInterface_GetTarget
- type ClusterInterface_GetValidTargets
- type ExecutionTargetProvider
- func (_m *ExecutionTargetProvider) GetExecutionTarget(initializationErrorCounter prometheus.Counter, ...) (*executioncluster.ExecutionTarget, error)
- func (_m *ExecutionTargetProvider) OnGetExecutionTarget(initializationErrorCounter prometheus.Counter, ...) *ExecutionTargetProvider_GetExecutionTarget
- func (_m *ExecutionTargetProvider) OnGetExecutionTargetMatch(matchers ...interface{}) *ExecutionTargetProvider_GetExecutionTarget
- type ExecutionTargetProvider_GetExecutionTarget
- type GetAllValidTargetsFunc
- type GetTargetFunc
- type GetTargetInterface
- func (_m *GetTargetInterface) GetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
- func (_m *GetTargetInterface) OnGetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) *GetTargetInterface_GetTarget
- func (_m *GetTargetInterface) OnGetTargetMatch(matchers ...interface{}) *GetTargetInterface_GetTarget
- type GetTargetInterface_GetTarget
- type ListTargetsInterface
- func (_m *ListTargetsInterface) GetAllTargets() map[string]*executioncluster.ExecutionTarget
- func (_m *ListTargetsInterface) GetValidTargets() map[string]*executioncluster.ExecutionTarget
- func (_m *ListTargetsInterface) OnGetAllTargets() *ListTargetsInterface_GetAllTargets
- func (_m *ListTargetsInterface) OnGetAllTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetAllTargets
- func (_m *ListTargetsInterface) OnGetValidTargets() *ListTargetsInterface_GetValidTargets
- func (_m *ListTargetsInterface) OnGetValidTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetValidTargets
- type ListTargetsInterface_GetAllTargets
- type ListTargetsInterface_GetValidTargets
- type MockCluster
- func (m *MockCluster) GetAllTargets() map[string]*executioncluster.ExecutionTarget
- func (m *MockCluster) GetTarget(ctx context.Context, execCluster *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
- func (m *MockCluster) GetValidTargets() map[string]*executioncluster.ExecutionTarget
- func (m *MockCluster) SetGetAllTargetsCallback(getAllTargetsFunc GetAllValidTargetsFunc)
- func (m *MockCluster) SetGetAllValidTargetsCallback(getAllValidTargetsFunc GetAllValidTargetsFunc)
- func (m *MockCluster) SetGetTargetCallback(getTargetFunc GetTargetFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInterface ¶ added in v0.6.80
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
func (_m *ClusterInterface) GetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
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 (_m *ClusterInterface) OnGetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) *ClusterInterface_GetTarget
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
func (ClusterInterface_GetAllTargets) Return ¶ added in v0.6.80
func (_m ClusterInterface_GetAllTargets) Return(_a0 map[string]*executioncluster.ExecutionTarget) *ClusterInterface_GetAllTargets
type ClusterInterface_GetTarget ¶ added in v0.6.80
func (ClusterInterface_GetTarget) Return ¶ added in v0.6.80
func (_m ClusterInterface_GetTarget) Return(_a0 *executioncluster.ExecutionTarget, _a1 error) *ClusterInterface_GetTarget
type ClusterInterface_GetValidTargets ¶ added in v0.6.80
func (ClusterInterface_GetValidTargets) Return ¶ added in v0.6.80
func (_m ClusterInterface_GetValidTargets) Return(_a0 map[string]*executioncluster.ExecutionTarget) *ClusterInterface_GetValidTargets
type ExecutionTargetProvider ¶ added in v0.6.80
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
func (ExecutionTargetProvider_GetExecutionTarget) Return ¶ added in v0.6.80
func (_m ExecutionTargetProvider_GetExecutionTarget) Return(_a0 *executioncluster.ExecutionTarget, _a1 error) *ExecutionTargetProvider_GetExecutionTarget
type GetAllValidTargetsFunc ¶
type GetAllValidTargetsFunc func() map[string]*executioncluster.ExecutionTarget
type GetTargetFunc ¶
type GetTargetFunc func(context.Context, *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
type GetTargetInterface ¶ added in v0.6.80
GetTargetInterface is an autogenerated mock type for the GetTargetInterface type
func (*GetTargetInterface) GetTarget ¶ added in v0.6.80
func (_m *GetTargetInterface) GetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
GetTarget provides a mock function with given fields: _a0, _a1
func (*GetTargetInterface) OnGetTarget ¶ added in v0.6.80
func (_m *GetTargetInterface) OnGetTarget(_a0 context.Context, _a1 *executioncluster.ExecutionTargetSpec) *GetTargetInterface_GetTarget
func (*GetTargetInterface) OnGetTargetMatch ¶ added in v0.6.80
func (_m *GetTargetInterface) OnGetTargetMatch(matchers ...interface{}) *GetTargetInterface_GetTarget
type GetTargetInterface_GetTarget ¶ added in v0.6.80
func (GetTargetInterface_GetTarget) Return ¶ added in v0.6.80
func (_m GetTargetInterface_GetTarget) Return(_a0 *executioncluster.ExecutionTarget, _a1 error) *GetTargetInterface_GetTarget
type ListTargetsInterface ¶ added in v0.6.80
ListTargetsInterface is an autogenerated mock type for the ListTargetsInterface type
func (*ListTargetsInterface) GetAllTargets ¶ added in v0.6.80
func (_m *ListTargetsInterface) GetAllTargets() map[string]*executioncluster.ExecutionTarget
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 (_m *ListTargetsInterface) OnGetAllTargets() *ListTargetsInterface_GetAllTargets
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 (_m *ListTargetsInterface) OnGetValidTargets() *ListTargetsInterface_GetValidTargets
func (*ListTargetsInterface) OnGetValidTargetsMatch ¶ added in v0.6.80
func (_m *ListTargetsInterface) OnGetValidTargetsMatch(matchers ...interface{}) *ListTargetsInterface_GetValidTargets
type ListTargetsInterface_GetAllTargets ¶ added in v0.6.80
func (ListTargetsInterface_GetAllTargets) Return ¶ added in v0.6.80
func (_m ListTargetsInterface_GetAllTargets) Return(_a0 map[string]*executioncluster.ExecutionTarget) *ListTargetsInterface_GetAllTargets
type ListTargetsInterface_GetValidTargets ¶ added in v0.6.80
func (ListTargetsInterface_GetValidTargets) Return ¶ added in v0.6.80
func (_m ListTargetsInterface_GetValidTargets) Return(_a0 map[string]*executioncluster.ExecutionTarget) *ListTargetsInterface_GetValidTargets
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 (m *MockCluster) GetTarget(ctx context.Context, execCluster *executioncluster.ExecutionTargetSpec) (*executioncluster.ExecutionTarget, error)
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)