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(ns, name, role string, subject v1.Subject) (*v1.RoleBinding, 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(ns string, options ...v10.ListOptions) (*v1.RoleBindingList, 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(ns, name, role, subject interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockClientMockRecorder) List

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

List indicates an expected call of List

type MockRoleBindingInterface

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

MockRoleBindingInterface is a mock of RoleBindingInterface interface

func NewMockRoleBindingInterface

func NewMockRoleBindingInterface(ctrl *gomock.Controller) *MockRoleBindingInterface

NewMockRoleBindingInterface creates a new mock instance

func (*MockRoleBindingInterface) Create

Create mocks base method

func (*MockRoleBindingInterface) Delete

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

Delete mocks base method

func (*MockRoleBindingInterface) DeleteCollection

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

DeleteCollection mocks base method

func (*MockRoleBindingInterface) EXPECT

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

func (*MockRoleBindingInterface) Get

Get mocks base method

func (*MockRoleBindingInterface) List

List mocks base method

func (*MockRoleBindingInterface) Patch

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

Patch mocks base method

func (*MockRoleBindingInterface) Update

Update mocks base method

func (*MockRoleBindingInterface) Watch

Watch mocks base method

type MockRoleBindingInterfaceMockRecorder

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

MockRoleBindingInterfaceMockRecorder is the mock recorder for MockRoleBindingInterface

func (*MockRoleBindingInterfaceMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockRoleBindingInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockRoleBindingInterfaceMockRecorder) DeleteCollection

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

DeleteCollection indicates an expected call of DeleteCollection

func (*MockRoleBindingInterfaceMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockRoleBindingInterfaceMockRecorder) List

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

List indicates an expected call of List

func (*MockRoleBindingInterfaceMockRecorder) Patch

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

Patch indicates an expected call of Patch

func (*MockRoleBindingInterfaceMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockRoleBindingInterfaceMockRecorder) Watch

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

Watch indicates an expected call of Watch

type MockRoleBindingsGetter

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

MockRoleBindingsGetter is a mock of RoleBindingsGetter interface

func NewMockRoleBindingsGetter

func NewMockRoleBindingsGetter(ctrl *gomock.Controller) *MockRoleBindingsGetter

NewMockRoleBindingsGetter creates a new mock instance

func (*MockRoleBindingsGetter) EXPECT

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

func (*MockRoleBindingsGetter) RoleBindings

func (m *MockRoleBindingsGetter) RoleBindings(arg0 string) v1.RoleBindingInterface

RoleBindings mocks base method

type MockRoleBindingsGetterMockRecorder

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

MockRoleBindingsGetterMockRecorder is the mock recorder for MockRoleBindingsGetter

func (*MockRoleBindingsGetterMockRecorder) RoleBindings

func (mr *MockRoleBindingsGetterMockRecorder) RoleBindings(arg0 interface{}) *gomock.Call

RoleBindings indicates an expected call of RoleBindings

Jump to

Keyboard shortcuts

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