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

Get mocks base method

func (*MockClient) List

func (m *MockClient) List(options ...v10.ListOptions) (*v1.ClusterRoleList, 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(role interface{}, options ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockClientMockRecorder) List

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

List indicates an expected call of List

type MockClusterRoleInterface

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

MockClusterRoleInterface is a mock of ClusterRoleInterface interface

func NewMockClusterRoleInterface

func NewMockClusterRoleInterface(ctrl *gomock.Controller) *MockClusterRoleInterface

NewMockClusterRoleInterface creates a new mock instance

func (*MockClusterRoleInterface) Create

Create mocks base method

func (*MockClusterRoleInterface) Delete

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

Delete mocks base method

func (*MockClusterRoleInterface) DeleteCollection

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

DeleteCollection mocks base method

func (*MockClusterRoleInterface) EXPECT

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

func (*MockClusterRoleInterface) Get

Get mocks base method

func (*MockClusterRoleInterface) List

List mocks base method

func (*MockClusterRoleInterface) Patch

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

Patch mocks base method

func (*MockClusterRoleInterface) Update

Update mocks base method

func (*MockClusterRoleInterface) Watch

Watch mocks base method

type MockClusterRoleInterfaceMockRecorder

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

MockClusterRoleInterfaceMockRecorder is the mock recorder for MockClusterRoleInterface

func (*MockClusterRoleInterfaceMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockClusterRoleInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockClusterRoleInterfaceMockRecorder) DeleteCollection

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

DeleteCollection indicates an expected call of DeleteCollection

func (*MockClusterRoleInterfaceMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockClusterRoleInterfaceMockRecorder) List

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

List indicates an expected call of List

func (*MockClusterRoleInterfaceMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockClusterRoleInterfaceMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockClusterRoleInterfaceMockRecorder) Watch

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

Watch indicates an expected call of Watch

type MockClusterRolesGetter

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

MockClusterRolesGetter is a mock of ClusterRolesGetter interface

func NewMockClusterRolesGetter

func NewMockClusterRolesGetter(ctrl *gomock.Controller) *MockClusterRolesGetter

NewMockClusterRolesGetter creates a new mock instance

func (*MockClusterRolesGetter) ClusterRoles

ClusterRoles mocks base method

func (*MockClusterRolesGetter) EXPECT

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

type MockClusterRolesGetterMockRecorder

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

MockClusterRolesGetterMockRecorder is the mock recorder for MockClusterRolesGetter

func (*MockClusterRolesGetterMockRecorder) ClusterRoles

func (mr *MockClusterRolesGetterMockRecorder) ClusterRoles() *gomock.Call

ClusterRoles indicates an expected call of ClusterRoles

Jump to

Keyboard shortcuts

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