mock

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockActuator) Reconcile

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 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

func (m *MockReplica) CreateManagedSeed(arg0 context.Context, arg1 client.Client) error

CreateManagedSeed mocks base method.

func (*MockReplica) CreateShoot

func (m *MockReplica) CreateShoot(arg0 context.Context, arg1 client.Client, arg2 int) error

CreateShoot mocks base method.

func (*MockReplica) DeleteManagedSeed

func (m *MockReplica) DeleteManagedSeed(arg0 context.Context, arg1 client.Client) error

DeleteManagedSeed mocks base method.

func (*MockReplica) DeleteShoot

func (m *MockReplica) DeleteShoot(arg0 context.Context, arg1 client.Client) error

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) GetName

func (m *MockReplica) GetName() string

GetName 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

func (m *MockReplica) RetryShoot(arg0 context.Context, arg1 client.Client) error

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReplicaFactory) NewReplica

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReplicaGetter) GetReplicas

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) 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.

Jump to

Keyboard shortcuts

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