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

func (m *MockClient) Create(name, role string, subject v1.Subject) (*v1.ClusterRoleBinding, error)

Create 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) List

func (m *MockClient) List(options ...v10.ListOptions) (*v1.ClusterRoleBindingList, error)

List mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Create

func (mr *MockClientMockRecorder) Create(name, role, subject interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockClientMockRecorder) List

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

List indicates an expected call of List

type MockClusterRoleBindingInterface

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

MockClusterRoleBindingInterface is a mock of ClusterRoleBindingInterface interface

func NewMockClusterRoleBindingInterface

func NewMockClusterRoleBindingInterface(ctrl *gomock.Controller) *MockClusterRoleBindingInterface

NewMockClusterRoleBindingInterface creates a new mock instance

func (*MockClusterRoleBindingInterface) Create

Create mocks base method

func (*MockClusterRoleBindingInterface) Delete

Delete mocks base method

func (*MockClusterRoleBindingInterface) DeleteCollection

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

DeleteCollection mocks base method

func (*MockClusterRoleBindingInterface) EXPECT

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

func (*MockClusterRoleBindingInterface) Get

Get mocks base method

func (*MockClusterRoleBindingInterface) List

List mocks base method

func (*MockClusterRoleBindingInterface) Patch

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

Patch mocks base method

func (*MockClusterRoleBindingInterface) Update

Update mocks base method

func (*MockClusterRoleBindingInterface) Watch

Watch mocks base method

type MockClusterRoleBindingInterfaceMockRecorder

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

MockClusterRoleBindingInterfaceMockRecorder is the mock recorder for MockClusterRoleBindingInterface

func (*MockClusterRoleBindingInterfaceMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockClusterRoleBindingInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockClusterRoleBindingInterfaceMockRecorder) DeleteCollection

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

DeleteCollection indicates an expected call of DeleteCollection

func (*MockClusterRoleBindingInterfaceMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockClusterRoleBindingInterfaceMockRecorder) List

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

List indicates an expected call of List

func (*MockClusterRoleBindingInterfaceMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockClusterRoleBindingInterfaceMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockClusterRoleBindingInterfaceMockRecorder) Watch

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

Watch indicates an expected call of Watch

type MockClusterRoleBindingsGetter

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

MockClusterRoleBindingsGetter is a mock of ClusterRoleBindingsGetter interface

func NewMockClusterRoleBindingsGetter

func NewMockClusterRoleBindingsGetter(ctrl *gomock.Controller) *MockClusterRoleBindingsGetter

NewMockClusterRoleBindingsGetter creates a new mock instance

func (*MockClusterRoleBindingsGetter) ClusterRoleBindings

ClusterRoleBindings mocks base method

func (*MockClusterRoleBindingsGetter) EXPECT

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

type MockClusterRoleBindingsGetterMockRecorder

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

MockClusterRoleBindingsGetterMockRecorder is the mock recorder for MockClusterRoleBindingsGetter

func (*MockClusterRoleBindingsGetterMockRecorder) ClusterRoleBindings

func (mr *MockClusterRoleBindingsGetterMockRecorder) ClusterRoleBindings() *gomock.Call

ClusterRoleBindings indicates an expected call of ClusterRoleBindings

Jump to

Keyboard shortcuts

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