Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCollector
- func (m *MockCollector) Apply(ctx context.Context, k8sClient client.Client) error
- func (m *MockCollector) EXPECT() *MockCollectorMockRecorder
- func (m *MockCollector) SetAPIReadyCondition(reason, message string, status v1.ConditionStatus)
- func (m *MockCollector) SetAPIStatus(phase v1alpha1.APIPhase, message, endpoint string)
- func (m *MockCollector) SetMessage(message string)
- func (m *MockCollector) SetPhase(phase v1alpha1.MCPRegistryPhase)
- func (m *MockCollector) SetSyncStatus(phase v1alpha1.SyncPhase, message string, attemptCount int, ...)
- type MockCollectorMockRecorder
- func (mr *MockCollectorMockRecorder) Apply(ctx, k8sClient any) *gomock.Call
- func (mr *MockCollectorMockRecorder) SetAPIReadyCondition(reason, message, status any) *gomock.Call
- func (mr *MockCollectorMockRecorder) SetAPIStatus(phase, message, endpoint any) *gomock.Call
- func (mr *MockCollectorMockRecorder) SetMessage(message any) *gomock.Call
- func (mr *MockCollectorMockRecorder) SetPhase(phase any) *gomock.Call
- func (mr *MockCollectorMockRecorder) SetSyncStatus(phase, message, attemptCount, lastSyncTime, lastSyncHash, serverCount any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCollector ¶
type MockCollector struct {
// contains filtered or unexported fields
}
MockCollector is a mock of Collector interface.
func NewMockCollector ¶
func NewMockCollector(ctrl *gomock.Controller) *MockCollector
NewMockCollector creates a new mock instance.
func (*MockCollector) EXPECT ¶
func (m *MockCollector) EXPECT() *MockCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCollector) SetAPIReadyCondition ¶
func (m *MockCollector) SetAPIReadyCondition(reason, message string, status v1.ConditionStatus)
SetAPIReadyCondition mocks base method.
func (*MockCollector) SetAPIStatus ¶
func (m *MockCollector) SetAPIStatus(phase v1alpha1.APIPhase, message, endpoint string)
SetAPIStatus mocks base method.
func (*MockCollector) SetMessage ¶
func (m *MockCollector) SetMessage(message string)
SetMessage mocks base method.
func (*MockCollector) SetPhase ¶
func (m *MockCollector) SetPhase(phase v1alpha1.MCPRegistryPhase)
SetPhase mocks base method.
type MockCollectorMockRecorder ¶
type MockCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockCollectorMockRecorder is the mock recorder for MockCollector.
func (*MockCollectorMockRecorder) Apply ¶
func (mr *MockCollectorMockRecorder) Apply(ctx, k8sClient any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockCollectorMockRecorder) SetAPIReadyCondition ¶
func (mr *MockCollectorMockRecorder) SetAPIReadyCondition(reason, message, status any) *gomock.Call
SetAPIReadyCondition indicates an expected call of SetAPIReadyCondition.
func (*MockCollectorMockRecorder) SetAPIStatus ¶
func (mr *MockCollectorMockRecorder) SetAPIStatus(phase, message, endpoint any) *gomock.Call
SetAPIStatus indicates an expected call of SetAPIStatus.
func (*MockCollectorMockRecorder) SetMessage ¶
func (mr *MockCollectorMockRecorder) SetMessage(message any) *gomock.Call
SetMessage indicates an expected call of SetMessage.
func (*MockCollectorMockRecorder) SetPhase ¶
func (mr *MockCollectorMockRecorder) SetPhase(phase any) *gomock.Call
SetPhase indicates an expected call of SetPhase.
func (*MockCollectorMockRecorder) SetSyncStatus ¶
func (mr *MockCollectorMockRecorder) SetSyncStatus(phase, message, attemptCount, lastSyncTime, lastSyncHash, serverCount any) *gomock.Call
SetSyncStatus indicates an expected call of SetSyncStatus.