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: 8 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) CreateBasic

func (m *MockClient) CreateBasic(ns, sa string) (*v1.ServiceAccount, error)

CreateBasic mocks base method

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, sa string, options ...v10.GetOptions) (*v1.ServiceAccount, bool, error)

Get mocks base method

func (*MockClient) List

func (m *MockClient) List(ns string, options ...v10.ListOptions) (*v1.ServiceAccountList, error)

List mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) CreateBasic

func (mr *MockClientMockRecorder) CreateBasic(ns, sa interface{}) *gomock.Call

CreateBasic indicates an expected call of CreateBasic

func (*MockClientMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockClientMockRecorder) List

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

List indicates an expected call of List

type MockServiceAccountInterface

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

MockServiceAccountInterface is a mock of ServiceAccountInterface interface

func NewMockServiceAccountInterface

func NewMockServiceAccountInterface(ctrl *gomock.Controller) *MockServiceAccountInterface

NewMockServiceAccountInterface creates a new mock instance

func (*MockServiceAccountInterface) Create

Create mocks base method

func (*MockServiceAccountInterface) CreateToken

func (m *MockServiceAccountInterface) CreateToken(arg0 string, arg1 *v1.TokenRequest) (*v1.TokenRequest, error)

CreateToken mocks base method

func (*MockServiceAccountInterface) Delete

func (m *MockServiceAccountInterface) Delete(arg0 string, arg1 *v11.DeleteOptions) error

Delete mocks base method

func (*MockServiceAccountInterface) DeleteCollection

func (m *MockServiceAccountInterface) DeleteCollection(arg0 *v11.DeleteOptions, arg1 v11.ListOptions) error

DeleteCollection mocks base method

func (*MockServiceAccountInterface) EXPECT

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

func (*MockServiceAccountInterface) Get

Get mocks base method

func (*MockServiceAccountInterface) List

List mocks base method

func (*MockServiceAccountInterface) Patch

func (m *MockServiceAccountInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v10.ServiceAccount, error)

Patch mocks base method

func (*MockServiceAccountInterface) Update

Update mocks base method

func (*MockServiceAccountInterface) Watch

Watch mocks base method

type MockServiceAccountInterfaceMockRecorder

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

MockServiceAccountInterfaceMockRecorder is the mock recorder for MockServiceAccountInterface

func (*MockServiceAccountInterfaceMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockServiceAccountInterfaceMockRecorder) CreateToken

func (mr *MockServiceAccountInterfaceMockRecorder) CreateToken(arg0, arg1 interface{}) *gomock.Call

CreateToken indicates an expected call of CreateToken

func (*MockServiceAccountInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockServiceAccountInterfaceMockRecorder) DeleteCollection

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

DeleteCollection indicates an expected call of DeleteCollection

func (*MockServiceAccountInterfaceMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockServiceAccountInterfaceMockRecorder) List

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

List indicates an expected call of List

func (*MockServiceAccountInterfaceMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockServiceAccountInterfaceMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockServiceAccountInterfaceMockRecorder) Watch

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

Watch indicates an expected call of Watch

type MockServiceAccountsGetter

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

MockServiceAccountsGetter is a mock of ServiceAccountsGetter interface

func NewMockServiceAccountsGetter

func NewMockServiceAccountsGetter(ctrl *gomock.Controller) *MockServiceAccountsGetter

NewMockServiceAccountsGetter creates a new mock instance

func (*MockServiceAccountsGetter) EXPECT

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

func (*MockServiceAccountsGetter) ServiceAccounts

ServiceAccounts mocks base method

type MockServiceAccountsGetterMockRecorder

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

MockServiceAccountsGetterMockRecorder is the mock recorder for MockServiceAccountsGetter

func (*MockServiceAccountsGetterMockRecorder) ServiceAccounts

func (mr *MockServiceAccountsGetterMockRecorder) ServiceAccounts(arg0 interface{}) *gomock.Call

ServiceAccounts indicates an expected call of ServiceAccounts

Jump to

Keyboard shortcuts

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