mock

package
v0.0.0-...-9b8bc36 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 5 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 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

Jump to

Keyboard shortcuts

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