Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) CheckAPIReadiness(ctx context.Context, deployment *v1.Deployment) bool
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetAPIStatus(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) (bool, int32)
- func (m *MockManager) GetReadyReplicas(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) int32
- func (m *MockManager) IsAPIReady(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) bool
- func (m *MockManager) ReconcileAPIService(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) *registryapi.Error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) CheckAPIReadiness(ctx, deployment any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAPIStatus(ctx, mcpRegistry any) *gomock.Call
- func (mr *MockManagerMockRecorder) GetReadyReplicas(ctx, mcpRegistry any) *gomock.Call
- func (mr *MockManagerMockRecorder) IsAPIReady(ctx, mcpRegistry any) *gomock.Call
- func (mr *MockManagerMockRecorder) ReconcileAPIService(ctx, mcpRegistry any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) CheckAPIReadiness ¶
func (m *MockManager) CheckAPIReadiness(ctx context.Context, deployment *v1.Deployment) bool
CheckAPIReadiness mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) GetAPIStatus ¶ added in v0.17.0
func (m *MockManager) GetAPIStatus(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) (bool, int32)
GetAPIStatus mocks base method.
func (*MockManager) GetReadyReplicas ¶ added in v0.17.0
func (m *MockManager) GetReadyReplicas(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) int32
GetReadyReplicas mocks base method.
func (*MockManager) IsAPIReady ¶
func (m *MockManager) IsAPIReady(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) bool
IsAPIReady mocks base method.
func (*MockManager) ReconcileAPIService ¶
func (m *MockManager) ReconcileAPIService(ctx context.Context, mcpRegistry *v1alpha1.MCPRegistry) *registryapi.Error
ReconcileAPIService mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) CheckAPIReadiness ¶
func (mr *MockManagerMockRecorder) CheckAPIReadiness(ctx, deployment any) *gomock.Call
CheckAPIReadiness indicates an expected call of CheckAPIReadiness.
func (*MockManagerMockRecorder) GetAPIStatus ¶ added in v0.17.0
func (mr *MockManagerMockRecorder) GetAPIStatus(ctx, mcpRegistry any) *gomock.Call
GetAPIStatus indicates an expected call of GetAPIStatus.
func (*MockManagerMockRecorder) GetReadyReplicas ¶ added in v0.17.0
func (mr *MockManagerMockRecorder) GetReadyReplicas(ctx, mcpRegistry any) *gomock.Call
GetReadyReplicas indicates an expected call of GetReadyReplicas.
func (*MockManagerMockRecorder) IsAPIReady ¶
func (mr *MockManagerMockRecorder) IsAPIReady(ctx, mcpRegistry any) *gomock.Call
IsAPIReady indicates an expected call of IsAPIReady.
func (*MockManagerMockRecorder) ReconcileAPIService ¶
func (mr *MockManagerMockRecorder) ReconcileAPIService(ctx, mcpRegistry any) *gomock.Call
ReconcileAPIService indicates an expected call of ReconcileAPIService.