fake

package
v2.0.0-...-1d53c46 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 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 ...interface{}) *gomock.Call

AddTemplate indicates an expected call of AddTemplate.

func (*MockFactoryMockRecorder) ByGVK

func (mr *MockFactoryMockRecorder) ByGVK(arg0 interface{}) *gomock.Call

ByGVK indicates an expected call of ByGVK.

func (*MockFactoryMockRecorder) ByGVR

func (mr *MockFactoryMockRecorder) ByGVR(arg0 interface{}) *gomock.Call

ByGVR indicates an expected call of ByGVR.

func (*MockFactoryMockRecorder) OnChange

func (mr *MockFactoryMockRecorder) OnChange(arg0, arg1 interface{}) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockFactoryMockRecorder) Schemas

func (mr *MockFactoryMockRecorder) Schemas(arg0 interface{}) *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