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

Get mocks base method

func (*MockClient) List

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

List 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, role 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 MockRoleInterface

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

MockRoleInterface is a mock of RoleInterface interface

func NewMockRoleInterface

func NewMockRoleInterface(ctrl *gomock.Controller) *MockRoleInterface

NewMockRoleInterface creates a new mock instance

func (*MockRoleInterface) Create

func (m *MockRoleInterface) Create(arg0 *v1.Role) (*v1.Role, error)

Create mocks base method

func (*MockRoleInterface) Delete

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

Delete mocks base method

func (*MockRoleInterface) DeleteCollection

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

DeleteCollection mocks base method

func (*MockRoleInterface) EXPECT

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

func (*MockRoleInterface) Get

func (m *MockRoleInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Role, error)

Get mocks base method

func (*MockRoleInterface) List

func (m *MockRoleInterface) List(arg0 v10.ListOptions) (*v1.RoleList, error)

List mocks base method

func (*MockRoleInterface) Patch

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

Patch mocks base method

func (*MockRoleInterface) Update

func (m *MockRoleInterface) Update(arg0 *v1.Role) (*v1.Role, error)

Update mocks base method

func (*MockRoleInterface) Watch

Watch mocks base method

type MockRoleInterfaceMockRecorder

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

MockRoleInterfaceMockRecorder is the mock recorder for MockRoleInterface

func (*MockRoleInterfaceMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockRoleInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockRoleInterfaceMockRecorder) DeleteCollection

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

DeleteCollection indicates an expected call of DeleteCollection

func (*MockRoleInterfaceMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockRoleInterfaceMockRecorder) List

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

List indicates an expected call of List

func (*MockRoleInterfaceMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockRoleInterfaceMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockRoleInterfaceMockRecorder) Watch

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

Watch indicates an expected call of Watch

type MockRolesGetter

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

MockRolesGetter is a mock of RolesGetter interface

func NewMockRolesGetter

func NewMockRolesGetter(ctrl *gomock.Controller) *MockRolesGetter

NewMockRolesGetter creates a new mock instance

func (*MockRolesGetter) EXPECT

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

func (*MockRolesGetter) Roles

func (m *MockRolesGetter) Roles(arg0 string) v1.RoleInterface

Roles mocks base method

type MockRolesGetterMockRecorder

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

MockRolesGetterMockRecorder is the mock recorder for MockRolesGetter

func (*MockRolesGetterMockRecorder) Roles

func (mr *MockRolesGetterMockRecorder) Roles(arg0 interface{}) *gomock.Call

Roles indicates an expected call of Roles

Jump to

Keyboard shortcuts

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