fake

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

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 MockActionRegistrar

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

MockActionRegistrar is a mock of ActionRegistrar interface

func NewMockActionRegistrar

func NewMockActionRegistrar(ctrl *gomock.Controller) *MockActionRegistrar

NewMockActionRegistrar creates a new mock instance

func (*MockActionRegistrar) EXPECT

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

func (*MockActionRegistrar) Register

func (m *MockActionRegistrar) Register(arg0 string, arg1 action.DispatcherFunc) error

Register mocks base method

type MockActionRegistrarMockRecorder

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

MockActionRegistrarMockRecorder is the mock recorder for MockActionRegistrar

func (*MockActionRegistrarMockRecorder) Register

func (mr *MockActionRegistrarMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register

type MockManagerInterface

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

MockManagerInterface is a mock of ManagerInterface interface

func NewMockManagerInterface

func NewMockManagerInterface(ctrl *gomock.Controller) *MockManagerInterface

NewMockManagerInterface creates a new mock instance

func (*MockManagerInterface) ClientRequestHandlers

func (m *MockManagerInterface) ClientRequestHandlers() []octant.ClientRequestHandler

ClientRequestHandlers mocks base method

func (*MockManagerInterface) EXPECT

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

func (*MockManagerInterface) GetNamespace

func (m *MockManagerInterface) GetNamespace() string

GetNamespace mocks base method

func (*MockManagerInterface) ModuleForContentPath

func (m *MockManagerInterface) ModuleForContentPath(arg0 string) (module.Module, bool)

ModuleForContentPath mocks base method

func (*MockManagerInterface) Modules

func (m *MockManagerInterface) Modules() []module.Module

Modules mocks base method

func (*MockManagerInterface) ObjectPath

func (m *MockManagerInterface) ObjectPath(arg0, arg1, arg2, arg3 string) (string, error)

ObjectPath mocks base method

func (*MockManagerInterface) Register

func (m *MockManagerInterface) Register(arg0 module.Module) error

Register mocks base method

func (*MockManagerInterface) SetNamespace

func (m *MockManagerInterface) SetNamespace(arg0 string)

SetNamespace mocks base method

func (*MockManagerInterface) UpdateContext

func (m *MockManagerInterface) UpdateContext(arg0 context.Context, arg1 string) error

UpdateContext mocks base method

type MockManagerInterfaceMockRecorder

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

MockManagerInterfaceMockRecorder is the mock recorder for MockManagerInterface

func (*MockManagerInterfaceMockRecorder) ClientRequestHandlers

func (mr *MockManagerInterfaceMockRecorder) ClientRequestHandlers() *gomock.Call

ClientRequestHandlers indicates an expected call of ClientRequestHandlers

func (*MockManagerInterfaceMockRecorder) GetNamespace

func (mr *MockManagerInterfaceMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace

func (*MockManagerInterfaceMockRecorder) ModuleForContentPath

func (mr *MockManagerInterfaceMockRecorder) ModuleForContentPath(arg0 interface{}) *gomock.Call

ModuleForContentPath indicates an expected call of ModuleForContentPath

func (*MockManagerInterfaceMockRecorder) Modules

Modules indicates an expected call of Modules

func (*MockManagerInterfaceMockRecorder) ObjectPath

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

ObjectPath indicates an expected call of ObjectPath

func (*MockManagerInterfaceMockRecorder) Register

func (mr *MockManagerInterfaceMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockManagerInterfaceMockRecorder) SetNamespace

func (mr *MockManagerInterfaceMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call

SetNamespace indicates an expected call of SetNamespace

func (*MockManagerInterfaceMockRecorder) UpdateContext

func (mr *MockManagerInterfaceMockRecorder) UpdateContext(arg0, arg1 interface{}) *gomock.Call

UpdateContext indicates an expected call of UpdateContext

type MockModule

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

MockModule is a mock of Module interface

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance

func (*MockModule) AddCRD

func (m *MockModule) AddCRD(arg0 context.Context, arg1 *unstructured.Unstructured) error

AddCRD mocks base method

func (*MockModule) ClientRequestHandlers

func (m *MockModule) ClientRequestHandlers() []octant.ClientRequestHandler

ClientRequestHandlers mocks base method

func (*MockModule) Content

Content mocks base method

func (*MockModule) ContentPath

func (m *MockModule) ContentPath() string

ContentPath mocks base method

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

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

func (*MockModule) Generators

func (m *MockModule) Generators() []octant.Generator

Generators mocks base method

func (*MockModule) GroupVersionKindPath

func (m *MockModule) GroupVersionKindPath(arg0, arg1, arg2, arg3 string) (string, error)

GroupVersionKindPath mocks base method

func (*MockModule) Name

func (m *MockModule) Name() string

Name mocks base method

func (*MockModule) Navigation

func (m *MockModule) Navigation(arg0 context.Context, arg1, arg2 string) ([]navigation.Navigation, error)

Navigation mocks base method

func (*MockModule) RemoveCRD

func (m *MockModule) RemoveCRD(arg0 context.Context, arg1 *unstructured.Unstructured) error

RemoveCRD mocks base method

func (*MockModule) ResetCRDs

func (m *MockModule) ResetCRDs(arg0 context.Context) error

ResetCRDs mocks base method

func (*MockModule) SetContext

func (m *MockModule) SetContext(arg0 context.Context, arg1 string) error

SetContext mocks base method

func (*MockModule) SetNamespace

func (m *MockModule) SetNamespace(arg0 string) error

SetNamespace mocks base method

func (*MockModule) Start

func (m *MockModule) Start() error

Start mocks base method

func (*MockModule) Stop

func (m *MockModule) Stop()

Stop mocks base method

func (*MockModule) SupportedGroupVersionKind

func (m *MockModule) SupportedGroupVersionKind() []schema.GroupVersionKind

SupportedGroupVersionKind mocks base method

type MockModuleMockRecorder

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

MockModuleMockRecorder is the mock recorder for MockModule

func (*MockModuleMockRecorder) AddCRD

func (mr *MockModuleMockRecorder) AddCRD(arg0, arg1 interface{}) *gomock.Call

AddCRD indicates an expected call of AddCRD

func (*MockModuleMockRecorder) ClientRequestHandlers

func (mr *MockModuleMockRecorder) ClientRequestHandlers() *gomock.Call

ClientRequestHandlers indicates an expected call of ClientRequestHandlers

func (*MockModuleMockRecorder) Content

func (mr *MockModuleMockRecorder) Content(arg0, arg1, arg2 interface{}) *gomock.Call

Content indicates an expected call of Content

func (*MockModuleMockRecorder) ContentPath

func (mr *MockModuleMockRecorder) ContentPath() *gomock.Call

ContentPath indicates an expected call of ContentPath

func (*MockModuleMockRecorder) Generators

func (mr *MockModuleMockRecorder) Generators() *gomock.Call

Generators indicates an expected call of Generators

func (*MockModuleMockRecorder) GroupVersionKindPath

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

GroupVersionKindPath indicates an expected call of GroupVersionKindPath

func (*MockModuleMockRecorder) Name

func (mr *MockModuleMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockModuleMockRecorder) Navigation

func (mr *MockModuleMockRecorder) Navigation(arg0, arg1, arg2 interface{}) *gomock.Call

Navigation indicates an expected call of Navigation

func (*MockModuleMockRecorder) RemoveCRD

func (mr *MockModuleMockRecorder) RemoveCRD(arg0, arg1 interface{}) *gomock.Call

RemoveCRD indicates an expected call of RemoveCRD

func (*MockModuleMockRecorder) ResetCRDs

func (mr *MockModuleMockRecorder) ResetCRDs(arg0 interface{}) *gomock.Call

ResetCRDs indicates an expected call of ResetCRDs

func (*MockModuleMockRecorder) SetContext

func (mr *MockModuleMockRecorder) SetContext(arg0, arg1 interface{}) *gomock.Call

SetContext indicates an expected call of SetContext

func (*MockModuleMockRecorder) SetNamespace

func (mr *MockModuleMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call

SetNamespace indicates an expected call of SetNamespace

func (*MockModuleMockRecorder) Start

func (mr *MockModuleMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockModuleMockRecorder) Stop

func (mr *MockModuleMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockModuleMockRecorder) SupportedGroupVersionKind

func (mr *MockModuleMockRecorder) SupportedGroupVersionKind() *gomock.Call

SupportedGroupVersionKind indicates an expected call of SupportedGroupVersionKind

Jump to

Keyboard shortcuts

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