Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockActuator
- type MockActuatorMockRecorder
- type MockReplica
- func (m *MockReplica) CreateManagedSeed(arg0 context.Context, arg1 client.Client) error
- func (m *MockReplica) CreateShoot(arg0 context.Context, arg1 client.Client, arg2 int) error
- func (m *MockReplica) DeleteManagedSeed(arg0 context.Context, arg1 client.Client) error
- func (m *MockReplica) DeleteShoot(arg0 context.Context, arg1 client.Client) error
- func (m *MockReplica) EXPECT() *MockReplicaMockRecorder
- func (m *MockReplica) GetFullName() string
- func (m *MockReplica) GetName() string
- func (m *MockReplica) GetObjectKey() types.NamespacedName
- func (m *MockReplica) GetOrdinal() int
- func (m *MockReplica) GetShootHealthStatus() shoot.Status
- func (m *MockReplica) GetStatus() managedseedset.ReplicaStatus
- func (m *MockReplica) IsDeletable() bool
- func (m *MockReplica) IsSeedReady() bool
- func (m *MockReplica) RetryShoot(arg0 context.Context, arg1 client.Client) error
- type MockReplicaFactory
- type MockReplicaFactoryMockRecorder
- type MockReplicaGetter
- type MockReplicaGetterMockRecorder
- type MockReplicaMockRecorder
- func (mr *MockReplicaMockRecorder) CreateManagedSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReplicaMockRecorder) CreateShoot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockReplicaMockRecorder) DeleteManagedSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReplicaMockRecorder) DeleteShoot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReplicaMockRecorder) GetFullName() *gomock.Call
- func (mr *MockReplicaMockRecorder) GetName() *gomock.Call
- func (mr *MockReplicaMockRecorder) GetObjectKey() *gomock.Call
- func (mr *MockReplicaMockRecorder) GetOrdinal() *gomock.Call
- func (mr *MockReplicaMockRecorder) GetShootHealthStatus() *gomock.Call
- func (mr *MockReplicaMockRecorder) GetStatus() *gomock.Call
- func (mr *MockReplicaMockRecorder) IsDeletable() *gomock.Call
- func (mr *MockReplicaMockRecorder) IsSeedReady() *gomock.Call
- func (mr *MockReplicaMockRecorder) RetryShoot(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActuator ¶
type MockActuator struct {
// contains filtered or unexported fields
}
MockActuator is a mock of Actuator interface.
func NewMockActuator ¶
func NewMockActuator(ctrl *gomock.Controller) *MockActuator
NewMockActuator creates a new mock instance.
func (*MockActuator) EXPECT ¶
func (m *MockActuator) EXPECT() *MockActuatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActuator) Reconcile ¶
func (m *MockActuator) Reconcile(arg0 context.Context, arg1 logr.Logger, arg2 *v1alpha1.ManagedSeedSet) (*v1alpha1.ManagedSeedSetStatus, bool, error)
Reconcile mocks base method.
type MockActuatorMockRecorder ¶
type MockActuatorMockRecorder struct {
// contains filtered or unexported fields
}
MockActuatorMockRecorder is the mock recorder for MockActuator.
func (*MockActuatorMockRecorder) Reconcile ¶
func (mr *MockActuatorMockRecorder) Reconcile(arg0, arg1, arg2 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.
type MockReplica ¶
type MockReplica struct {
// contains filtered or unexported fields
}
MockReplica is a mock of Replica interface.
func NewMockReplica ¶
func NewMockReplica(ctrl *gomock.Controller) *MockReplica
NewMockReplica creates a new mock instance.
func (*MockReplica) CreateManagedSeed ¶
CreateManagedSeed mocks base method.
func (*MockReplica) CreateShoot ¶
CreateShoot mocks base method.
func (*MockReplica) DeleteManagedSeed ¶
DeleteManagedSeed mocks base method.
func (*MockReplica) DeleteShoot ¶
DeleteShoot mocks base method.
func (*MockReplica) EXPECT ¶
func (m *MockReplica) EXPECT() *MockReplicaMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReplica) GetFullName ¶
func (m *MockReplica) GetFullName() string
GetFullName mocks base method.
func (*MockReplica) GetObjectKey ¶ added in v1.39.0
func (m *MockReplica) GetObjectKey() types.NamespacedName
GetObjectKey mocks base method.
func (*MockReplica) GetOrdinal ¶
func (m *MockReplica) GetOrdinal() int
GetOrdinal mocks base method.
func (*MockReplica) GetShootHealthStatus ¶
func (m *MockReplica) GetShootHealthStatus() shoot.Status
GetShootHealthStatus mocks base method.
func (*MockReplica) GetStatus ¶
func (m *MockReplica) GetStatus() managedseedset.ReplicaStatus
GetStatus mocks base method.
func (*MockReplica) IsDeletable ¶
func (m *MockReplica) IsDeletable() bool
IsDeletable mocks base method.
func (*MockReplica) IsSeedReady ¶
func (m *MockReplica) IsSeedReady() bool
IsSeedReady mocks base method.
func (*MockReplica) RetryShoot ¶
RetryShoot mocks base method.
type MockReplicaFactory ¶
type MockReplicaFactory struct {
// contains filtered or unexported fields
}
MockReplicaFactory is a mock of ReplicaFactory interface.
func NewMockReplicaFactory ¶
func NewMockReplicaFactory(ctrl *gomock.Controller) *MockReplicaFactory
NewMockReplicaFactory creates a new mock instance.
func (*MockReplicaFactory) EXPECT ¶
func (m *MockReplicaFactory) EXPECT() *MockReplicaFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReplicaFactory) NewReplica ¶
func (m *MockReplicaFactory) NewReplica(arg0 *v1alpha1.ManagedSeedSet, arg1 *v1beta1.Shoot, arg2 *v1alpha1.ManagedSeed, arg3 *v1beta1.Seed, arg4 bool) managedseedset.Replica
NewReplica mocks base method.
type MockReplicaFactoryMockRecorder ¶
type MockReplicaFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockReplicaFactoryMockRecorder is the mock recorder for MockReplicaFactory.
func (*MockReplicaFactoryMockRecorder) NewReplica ¶
func (mr *MockReplicaFactoryMockRecorder) NewReplica(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
NewReplica indicates an expected call of NewReplica.
type MockReplicaGetter ¶
type MockReplicaGetter struct {
// contains filtered or unexported fields
}
MockReplicaGetter is a mock of ReplicaGetter interface.
func NewMockReplicaGetter ¶
func NewMockReplicaGetter(ctrl *gomock.Controller) *MockReplicaGetter
NewMockReplicaGetter creates a new mock instance.
func (*MockReplicaGetter) EXPECT ¶
func (m *MockReplicaGetter) EXPECT() *MockReplicaGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReplicaGetter) GetReplicas ¶
func (m *MockReplicaGetter) GetReplicas(arg0 context.Context, arg1 *v1alpha1.ManagedSeedSet) ([]managedseedset.Replica, error)
GetReplicas mocks base method.
type MockReplicaGetterMockRecorder ¶
type MockReplicaGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockReplicaGetterMockRecorder is the mock recorder for MockReplicaGetter.
func (*MockReplicaGetterMockRecorder) GetReplicas ¶
func (mr *MockReplicaGetterMockRecorder) GetReplicas(arg0, arg1 interface{}) *gomock.Call
GetReplicas indicates an expected call of GetReplicas.
type MockReplicaMockRecorder ¶
type MockReplicaMockRecorder struct {
// contains filtered or unexported fields
}
MockReplicaMockRecorder is the mock recorder for MockReplica.
func (*MockReplicaMockRecorder) CreateManagedSeed ¶
func (mr *MockReplicaMockRecorder) CreateManagedSeed(arg0, arg1 interface{}) *gomock.Call
CreateManagedSeed indicates an expected call of CreateManagedSeed.
func (*MockReplicaMockRecorder) CreateShoot ¶
func (mr *MockReplicaMockRecorder) CreateShoot(arg0, arg1, arg2 interface{}) *gomock.Call
CreateShoot indicates an expected call of CreateShoot.
func (*MockReplicaMockRecorder) DeleteManagedSeed ¶
func (mr *MockReplicaMockRecorder) DeleteManagedSeed(arg0, arg1 interface{}) *gomock.Call
DeleteManagedSeed indicates an expected call of DeleteManagedSeed.
func (*MockReplicaMockRecorder) DeleteShoot ¶
func (mr *MockReplicaMockRecorder) DeleteShoot(arg0, arg1 interface{}) *gomock.Call
DeleteShoot indicates an expected call of DeleteShoot.
func (*MockReplicaMockRecorder) GetFullName ¶
func (mr *MockReplicaMockRecorder) GetFullName() *gomock.Call
GetFullName indicates an expected call of GetFullName.
func (*MockReplicaMockRecorder) GetName ¶
func (mr *MockReplicaMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockReplicaMockRecorder) GetObjectKey ¶ added in v1.39.0
func (mr *MockReplicaMockRecorder) GetObjectKey() *gomock.Call
GetObjectKey indicates an expected call of GetObjectKey.
func (*MockReplicaMockRecorder) GetOrdinal ¶
func (mr *MockReplicaMockRecorder) GetOrdinal() *gomock.Call
GetOrdinal indicates an expected call of GetOrdinal.
func (*MockReplicaMockRecorder) GetShootHealthStatus ¶
func (mr *MockReplicaMockRecorder) GetShootHealthStatus() *gomock.Call
GetShootHealthStatus indicates an expected call of GetShootHealthStatus.
func (*MockReplicaMockRecorder) GetStatus ¶
func (mr *MockReplicaMockRecorder) GetStatus() *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockReplicaMockRecorder) IsDeletable ¶
func (mr *MockReplicaMockRecorder) IsDeletable() *gomock.Call
IsDeletable indicates an expected call of IsDeletable.
func (*MockReplicaMockRecorder) IsSeedReady ¶
func (mr *MockReplicaMockRecorder) IsSeedReady() *gomock.Call
IsSeedReady indicates an expected call of IsSeedReady.
func (*MockReplicaMockRecorder) RetryShoot ¶
func (mr *MockReplicaMockRecorder) RetryShoot(arg0, arg1 interface{}) *gomock.Call
RetryShoot indicates an expected call of RetryShoot.