Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetConfigMapValue(ctx context.Context, ...) (*map[string]string, error)
- func (m *MockClient) GetSecret(ctx context.Context, secretName, namespace string) (*v1.Secret, error)
- func (m *MockClient) PatchMachine(machine, originMachineCopy *v1beta1.Machine) error
- func (m *MockClient) StatusPatchMachine(machine, originMachineCopy *v1beta1.Machine) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetConfigMapValue(ctx, configMapName, configMapNamespace, configMapDataKeyName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSecret(ctx, secretName, namespace interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PatchMachine(machine, originMachineCopy interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StatusPatchMachine(machine, originMachineCopy interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetConfigMapValue ¶
func (m *MockClient) GetConfigMapValue(ctx context.Context, configMapName, configMapNamespace, configMapDataKeyName string) (*map[string]string, error)
GetConfigMapValue mocks base method
func (*MockClient) GetSecret ¶
func (m *MockClient) GetSecret(ctx context.Context, secretName, namespace string) (*v1.Secret, error)
GetSecret mocks base method
func (*MockClient) PatchMachine ¶
func (m *MockClient) PatchMachine(machine, originMachineCopy *v1beta1.Machine) error
PatchMachine mocks base method
func (*MockClient) StatusPatchMachine ¶
func (m *MockClient) StatusPatchMachine(machine, originMachineCopy *v1beta1.Machine) error
StatusPatchMachine mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) GetConfigMapValue ¶
func (mr *MockClientMockRecorder) GetConfigMapValue(ctx, configMapName, configMapNamespace, configMapDataKeyName interface{}) *gomock.Call
GetConfigMapValue indicates an expected call of GetConfigMapValue
func (*MockClientMockRecorder) GetSecret ¶
func (mr *MockClientMockRecorder) GetSecret(ctx, secretName, namespace interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret
func (*MockClientMockRecorder) PatchMachine ¶
func (mr *MockClientMockRecorder) PatchMachine(machine, originMachineCopy interface{}) *gomock.Call
PatchMachine indicates an expected call of PatchMachine
func (*MockClientMockRecorder) StatusPatchMachine ¶
func (mr *MockClientMockRecorder) StatusPatchMachine(machine, originMachineCopy interface{}) *gomock.Call
StatusPatchMachine indicates an expected call of StatusPatchMachine