mock

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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

func (m *MockClient) Get(ns, name string, options ...v10.GetOptions) (*v1.Secret, bool, error)

Get mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(ns, name interface{}, options ...interface{}) *gomock.Call

Get indicates an expected call of Get

type MockSecretInterface

type MockSecretInterface struct {
	// contains filtered or unexported fields
}

MockSecretInterface is a mock of SecretInterface interface

func NewMockSecretInterface

func NewMockSecretInterface(ctrl *gomock.Controller) *MockSecretInterface

NewMockSecretInterface creates a new mock instance

func (*MockSecretInterface) Create

func (m *MockSecretInterface) Create(arg0 *v1.Secret) (*v1.Secret, error)

Create mocks base method

func (*MockSecretInterface) Delete

func (m *MockSecretInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error

Delete mocks base method

func (*MockSecretInterface) DeleteCollection

func (m *MockSecretInterface) DeleteCollection(arg0 *v10.DeleteOptions, arg1 v10.ListOptions) error

DeleteCollection mocks base method

func (*MockSecretInterface) EXPECT

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

func (*MockSecretInterface) Get

func (m *MockSecretInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Secret, error)

Get mocks base method

func (*MockSecretInterface) List

List mocks base method

func (*MockSecretInterface) Patch

func (m *MockSecretInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Secret, error)

Patch mocks base method

func (*MockSecretInterface) Update

func (m *MockSecretInterface) Update(arg0 *v1.Secret) (*v1.Secret, error)

Update mocks base method

func (*MockSecretInterface) Watch

Watch mocks base method

type MockSecretInterfaceMockRecorder

type MockSecretInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretInterfaceMockRecorder is the mock recorder for MockSecretInterface

func (*MockSecretInterfaceMockRecorder) Create

func (mr *MockSecretInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSecretInterfaceMockRecorder) Delete

func (mr *MockSecretInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSecretInterfaceMockRecorder) DeleteCollection

func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection

func (*MockSecretInterfaceMockRecorder) Get

func (mr *MockSecretInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockSecretInterfaceMockRecorder) List

func (mr *MockSecretInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockSecretInterfaceMockRecorder) Patch

func (mr *MockSecretInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch

func (*MockSecretInterfaceMockRecorder) Update

func (mr *MockSecretInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockSecretInterfaceMockRecorder) Watch

func (mr *MockSecretInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockSecretsGetter

type MockSecretsGetter struct {
	// contains filtered or unexported fields
}

MockSecretsGetter is a mock of SecretsGetter interface

func NewMockSecretsGetter

func NewMockSecretsGetter(ctrl *gomock.Controller) *MockSecretsGetter

NewMockSecretsGetter creates a new mock instance

func (*MockSecretsGetter) EXPECT

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

func (*MockSecretsGetter) Secrets

func (m *MockSecretsGetter) Secrets(arg0 string) v1.SecretInterface

Secrets mocks base method

type MockSecretsGetterMockRecorder

type MockSecretsGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretsGetterMockRecorder is the mock recorder for MockSecretsGetter

func (*MockSecretsGetterMockRecorder) Secrets

func (mr *MockSecretsGetterMockRecorder) Secrets(arg0 interface{}) *gomock.Call

Secrets indicates an expected call of Secrets

Jump to

Keyboard shortcuts

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