mock

package
v0.33.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: k8s.io/apiserver/pkg/authorization/authorizer (interfaces: Authorizer)

Generated by this command:

mockgen -destination=./mock/authorizer.go -package mock k8s.io/apiserver/pkg/authorization/authorizer Authorizer

Package mock is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: k8s.io/apiserver/pkg/registry/rest (interfaces: StandardStorage,Storage,Responder)

Generated by this command:

mockgen -destination=./mock/storage.go -package mock k8s.io/apiserver/pkg/registry/rest StandardStorage,Storage,Responder

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 MockAuthorizer

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

MockAuthorizer is a mock of Authorizer interface.

func NewMockAuthorizer

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance.

func (*MockAuthorizer) Authorize

Authorize mocks base method.

func (*MockAuthorizer) EXPECT

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

type MockAuthorizerMockRecorder

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

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.

func (*MockAuthorizerMockRecorder) Authorize

func (mr *MockAuthorizerMockRecorder) Authorize(arg0, arg1 any) *gomock.Call

Authorize indicates an expected call of Authorize.

type MockResponder added in v0.13.0

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

MockResponder is a mock of Responder interface.

func NewMockResponder added in v0.13.0

func NewMockResponder(ctrl *gomock.Controller) *MockResponder

NewMockResponder creates a new mock instance.

func (*MockResponder) EXPECT added in v0.13.0

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

func (*MockResponder) Error added in v0.13.0

func (m *MockResponder) Error(arg0 error)

Error mocks base method.

func (*MockResponder) Object added in v0.13.0

func (m *MockResponder) Object(arg0 int, arg1 runtime.Object)

Object mocks base method.

type MockResponderMockRecorder added in v0.13.0

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

MockResponderMockRecorder is the mock recorder for MockResponder.

func (*MockResponderMockRecorder) Error added in v0.13.0

func (mr *MockResponderMockRecorder) Error(arg0 any) *gomock.Call

Error indicates an expected call of Error.

func (*MockResponderMockRecorder) Object added in v0.13.0

func (mr *MockResponderMockRecorder) Object(arg0, arg1 any) *gomock.Call

Object indicates an expected call of Object.

type MockStandardStorage

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

MockStandardStorage is a mock of StandardStorage interface.

func NewMockStandardStorage

func NewMockStandardStorage(ctrl *gomock.Controller) *MockStandardStorage

NewMockStandardStorage creates a new mock instance.

func (*MockStandardStorage) ConvertToTable

func (m *MockStandardStorage) ConvertToTable(arg0 context.Context, arg1, arg2 runtime.Object) (*v1.Table, error)

ConvertToTable mocks base method.

func (*MockStandardStorage) Create

Create mocks base method.

func (*MockStandardStorage) Delete

Delete mocks base method.

func (*MockStandardStorage) DeleteCollection

DeleteCollection mocks base method.

func (*MockStandardStorage) Destroy

func (m *MockStandardStorage) Destroy()

Destroy mocks base method.

func (*MockStandardStorage) EXPECT

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

func (*MockStandardStorage) Get

func (m *MockStandardStorage) Get(arg0 context.Context, arg1 string, arg2 *v1.GetOptions) (runtime.Object, error)

Get mocks base method.

func (*MockStandardStorage) List

List mocks base method.

func (*MockStandardStorage) New

New mocks base method.

func (*MockStandardStorage) NewList

func (m *MockStandardStorage) NewList() runtime.Object

NewList mocks base method.

func (*MockStandardStorage) Update

Update mocks base method.

func (*MockStandardStorage) Watch

Watch mocks base method.

type MockStandardStorageMockRecorder

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

MockStandardStorageMockRecorder is the mock recorder for MockStandardStorage.

func (*MockStandardStorageMockRecorder) ConvertToTable

func (mr *MockStandardStorageMockRecorder) ConvertToTable(arg0, arg1, arg2 any) *gomock.Call

ConvertToTable indicates an expected call of ConvertToTable.

func (*MockStandardStorageMockRecorder) Create

func (mr *MockStandardStorageMockRecorder) Create(arg0, arg1, arg2, arg3 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStandardStorageMockRecorder) Delete

func (mr *MockStandardStorageMockRecorder) Delete(arg0, arg1, arg2, arg3 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStandardStorageMockRecorder) DeleteCollection

func (mr *MockStandardStorageMockRecorder) DeleteCollection(arg0, arg1, arg2, arg3 any) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockStandardStorageMockRecorder) Destroy

Destroy indicates an expected call of Destroy.

func (*MockStandardStorageMockRecorder) Get

func (mr *MockStandardStorageMockRecorder) Get(arg0, arg1, arg2 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockStandardStorageMockRecorder) List

func (mr *MockStandardStorageMockRecorder) List(arg0, arg1 any) *gomock.Call

List indicates an expected call of List.

func (*MockStandardStorageMockRecorder) New

New indicates an expected call of New.

func (*MockStandardStorageMockRecorder) NewList

NewList indicates an expected call of NewList.

func (*MockStandardStorageMockRecorder) Update

func (mr *MockStandardStorageMockRecorder) Update(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call

Update indicates an expected call of Update.

func (*MockStandardStorageMockRecorder) Watch

func (mr *MockStandardStorageMockRecorder) Watch(arg0, arg1 any) *gomock.Call

Watch indicates an expected call of Watch.

type MockStorage

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

MockStorage is a mock of Storage interface.

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) Destroy

func (m *MockStorage) Destroy()

Destroy mocks base method.

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) New

func (m *MockStorage) New() runtime.Object

New mocks base method.

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) Destroy

func (mr *MockStorageMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockStorageMockRecorder) New

func (mr *MockStorageMockRecorder) New() *gomock.Call

New indicates an expected call of New.

Jump to

Keyboard shortcuts

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