fake

package
v0.0.0-...-61e80cf Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) AddTemplate

func (m *MockFactory) AddTemplate(arg0 ...schema.Template)

AddTemplate mocks base method.

func (*MockFactory) ByGVK

func (m *MockFactory) ByGVK(arg0 schema0.GroupVersionKind) string

ByGVK mocks base method.

func (*MockFactory) ByGVR

ByGVR mocks base method.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) OnChange

func (m *MockFactory) OnChange(arg0 context.Context, arg1 func())

OnChange mocks base method.

func (*MockFactory) Schemas

func (m *MockFactory) Schemas(arg0 user.Info) (*types.APISchemas, error)

Schemas mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) AddTemplate

func (mr *MockFactoryMockRecorder) AddTemplate(arg0 ...any) *gomock.Call

AddTemplate indicates an expected call of AddTemplate.

func (*MockFactoryMockRecorder) ByGVK

func (mr *MockFactoryMockRecorder) ByGVK(arg0 any) *gomock.Call

ByGVK indicates an expected call of ByGVK.

func (*MockFactoryMockRecorder) ByGVR

func (mr *MockFactoryMockRecorder) ByGVR(arg0 any) *gomock.Call

ByGVR indicates an expected call of ByGVR.

func (*MockFactoryMockRecorder) OnChange

func (mr *MockFactoryMockRecorder) OnChange(arg0, arg1 any) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockFactoryMockRecorder) Schemas

func (mr *MockFactoryMockRecorder) Schemas(arg0 any) *gomock.Call

Schemas indicates an expected call of Schemas.

Jump to

Keyboard shortcuts

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