fakes

package
v0.3.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package fakes is a generated GoMock package.

Package fakes is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClusterRoleCache

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

MockClusterRoleCache is a mock of ClusterRoleCache interface.

func NewMockClusterRoleCache

func NewMockClusterRoleCache(ctrl *gomock.Controller) *MockClusterRoleCache

NewMockClusterRoleCache creates a new mock instance.

func (*MockClusterRoleCache) AddIndexer

func (m *MockClusterRoleCache) AddIndexer(arg0 string, arg1 v1.ClusterRoleIndexer)

AddIndexer mocks base method.

func (*MockClusterRoleCache) EXPECT

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

func (*MockClusterRoleCache) Get

func (m *MockClusterRoleCache) Get(arg0 string) (*v10.ClusterRole, error)

Get mocks base method.

func (*MockClusterRoleCache) GetByIndex

func (m *MockClusterRoleCache) GetByIndex(arg0, arg1 string) ([]*v10.ClusterRole, error)

GetByIndex mocks base method.

func (*MockClusterRoleCache) List

List mocks base method.

type MockClusterRoleCacheMockRecorder

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

MockClusterRoleCacheMockRecorder is the mock recorder for MockClusterRoleCache.

func (*MockClusterRoleCacheMockRecorder) AddIndexer

func (mr *MockClusterRoleCacheMockRecorder) AddIndexer(arg0, arg1 interface{}) *gomock.Call

AddIndexer indicates an expected call of AddIndexer.

func (*MockClusterRoleCacheMockRecorder) Get

func (mr *MockClusterRoleCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockClusterRoleCacheMockRecorder) GetByIndex

func (mr *MockClusterRoleCacheMockRecorder) GetByIndex(arg0, arg1 interface{}) *gomock.Call

GetByIndex indicates an expected call of GetByIndex.

func (*MockClusterRoleCacheMockRecorder) List

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

List indicates an expected call of List.

type MockRoleTemplateCache

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

MockRoleTemplateCache is a mock of RoleTemplateCache interface.

func NewMockRoleTemplateCache

func NewMockRoleTemplateCache(ctrl *gomock.Controller) *MockRoleTemplateCache

NewMockRoleTemplateCache creates a new mock instance.

func (*MockRoleTemplateCache) AddIndexer

func (m *MockRoleTemplateCache) AddIndexer(arg0 string, arg1 v30.RoleTemplateIndexer)

AddIndexer mocks base method.

func (*MockRoleTemplateCache) EXPECT

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

func (*MockRoleTemplateCache) Get

Get mocks base method.

func (*MockRoleTemplateCache) GetByIndex

func (m *MockRoleTemplateCache) GetByIndex(arg0, arg1 string) ([]*v3.RoleTemplate, error)

GetByIndex mocks base method.

func (*MockRoleTemplateCache) List

List mocks base method.

type MockRoleTemplateCacheMockRecorder

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

MockRoleTemplateCacheMockRecorder is the mock recorder for MockRoleTemplateCache.

func (*MockRoleTemplateCacheMockRecorder) AddIndexer

func (mr *MockRoleTemplateCacheMockRecorder) AddIndexer(arg0, arg1 interface{}) *gomock.Call

AddIndexer indicates an expected call of AddIndexer.

func (*MockRoleTemplateCacheMockRecorder) Get

func (mr *MockRoleTemplateCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRoleTemplateCacheMockRecorder) GetByIndex

func (mr *MockRoleTemplateCacheMockRecorder) GetByIndex(arg0, arg1 interface{}) *gomock.Call

GetByIndex indicates an expected call of GetByIndex.

func (*MockRoleTemplateCacheMockRecorder) List

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

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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