fake

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 13 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.

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, arg1 string, arg2 action.DispatcherFunc) error

Register mocks base method.

func (*MockActionRegistrar) Unregister added in v0.14.0

func (m *MockActionRegistrar) Unregister(arg0, arg1 string)

Unregister 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, arg2 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockActionRegistrarMockRecorder) Unregister added in v0.14.0

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

Unregister indicates an expected call of Unregister.

type MockBroker

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

MockBroker is a mock of Broker interface.

func NewMockBroker

func NewMockBroker(ctrl *gomock.Controller) *MockBroker

NewMockBroker creates a new mock instance.

func (*MockBroker) AcceptAndServe

func (m *MockBroker) AcceptAndServe(arg0 uint32, arg1 func([]grpc.ServerOption) *grpc.Server)

AcceptAndServe mocks base method.

func (*MockBroker) EXPECT

func (m *MockBroker) EXPECT() *MockBrokerMockRecorder

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

func (*MockBroker) NextId

func (m *MockBroker) NextId() uint32

NextId mocks base method.

type MockBrokerMockRecorder

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

MockBrokerMockRecorder is the mock recorder for MockBroker.

func (*MockBrokerMockRecorder) AcceptAndServe

func (mr *MockBrokerMockRecorder) AcceptAndServe(arg0, arg1 interface{}) *gomock.Call

AcceptAndServe indicates an expected call of AcceptAndServe.

func (*MockBrokerMockRecorder) NextId

func (mr *MockBrokerMockRecorder) NextId() *gomock.Call

NextId indicates an expected call of NextId.

type MockClientFactory

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

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) EXPECT

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

func (*MockClientFactory) Init

func (m *MockClientFactory) Init(arg0 context.Context, arg1 string) plugin.Client

Init mocks base method.

type MockClientFactoryMockRecorder

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

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) Init

func (mr *MockClientFactoryMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call

Init indicates an expected call of Init.

type MockClientProtocol

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

MockClientProtocol is a mock of ClientProtocol interface.

func NewMockClientProtocol

func NewMockClientProtocol(ctrl *gomock.Controller) *MockClientProtocol

NewMockClientProtocol creates a new mock instance.

func (*MockClientProtocol) Close

func (m *MockClientProtocol) Close() error

Close mocks base method.

func (*MockClientProtocol) Dispense

func (m *MockClientProtocol) Dispense(arg0 string) (interface{}, error)

Dispense mocks base method.

func (*MockClientProtocol) EXPECT

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

func (*MockClientProtocol) Ping

func (m *MockClientProtocol) Ping() error

Ping mocks base method.

type MockClientProtocolMockRecorder

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

MockClientProtocolMockRecorder is the mock recorder for MockClientProtocol.

func (*MockClientProtocolMockRecorder) Close

Close indicates an expected call of Close.

func (*MockClientProtocolMockRecorder) Dispense

func (mr *MockClientProtocolMockRecorder) Dispense(arg0 interface{}) *gomock.Call

Dispense indicates an expected call of Dispense.

func (*MockClientProtocolMockRecorder) Ping

Ping indicates an expected call of Ping.

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) EXPECT

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

func (*MockManagerInterface) ObjectStatus

ObjectStatus mocks base method.

func (*MockManagerInterface) Print

Print mocks base method.

func (*MockManagerInterface) SetOctantClient added in v0.15.0

func (m *MockManagerInterface) SetOctantClient(arg0 javascript.OctantClient)

SetOctantClient mocks base method.

func (*MockManagerInterface) Store

Store mocks base method.

func (*MockManagerInterface) Tabs

Tabs mocks base method.

type MockManagerInterfaceMockRecorder

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

MockManagerInterfaceMockRecorder is the mock recorder for MockManagerInterface.

func (*MockManagerInterfaceMockRecorder) ObjectStatus

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

ObjectStatus indicates an expected call of ObjectStatus.

func (*MockManagerInterfaceMockRecorder) Print

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

Print indicates an expected call of Print.

func (*MockManagerInterfaceMockRecorder) SetOctantClient added in v0.15.0

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

SetOctantClient indicates an expected call of SetOctantClient.

func (*MockManagerInterfaceMockRecorder) Store

Store indicates an expected call of Store.

func (*MockManagerInterfaceMockRecorder) Tabs

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

Tabs indicates an expected call of Tabs.

type MockManagerStore

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

MockManagerStore is a mock of ManagerStore interface.

func NewMockManagerStore

func NewMockManagerStore(ctrl *gomock.Controller) *MockManagerStore

NewMockManagerStore creates a new mock instance.

func (*MockManagerStore) ClientNames

func (m *MockManagerStore) ClientNames() []string

ClientNames mocks base method.

func (*MockManagerStore) Clients

func (m *MockManagerStore) Clients() map[string]plugin.Client

Clients mocks base method.

func (*MockManagerStore) EXPECT

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

func (*MockManagerStore) Get added in v0.24.0

func (m *MockManagerStore) Get(arg0 string) (plugin.Client, bool)

Get mocks base method.

func (*MockManagerStore) GetCommand

func (m *MockManagerStore) GetCommand(arg0 string) (string, error)

GetCommand mocks base method.

func (*MockManagerStore) GetJS added in v0.14.0

func (m *MockManagerStore) GetJS(arg0 string) (plugin.JSPlugin, bool)

GetJS mocks base method.

func (*MockManagerStore) GetMetadata

func (m *MockManagerStore) GetMetadata(arg0 string) (*plugin.Metadata, error)

GetMetadata mocks base method.

func (*MockManagerStore) GetModuleService added in v0.24.0

func (m *MockManagerStore) GetModuleService(arg0 string) (plugin.ModuleService, error)

GetModuleService mocks base method.

func (*MockManagerStore) GetService

func (m *MockManagerStore) GetService(arg0 string) (plugin.Service, error)

GetService mocks base method.

func (*MockManagerStore) NamesJS added in v0.14.0

func (m *MockManagerStore) NamesJS() []string

NamesJS mocks base method.

func (*MockManagerStore) Remove added in v0.24.0

func (m *MockManagerStore) Remove(arg0 string)

Remove mocks base method.

func (*MockManagerStore) RemoveJS added in v0.14.0

func (m *MockManagerStore) RemoveJS(arg0 string)

RemoveJS mocks base method.

func (*MockManagerStore) Store

func (m *MockManagerStore) Store(arg0 string, arg1 plugin.Client, arg2 *plugin.Metadata, arg3 string) error

Store mocks base method.

func (*MockManagerStore) StoreJS added in v0.14.0

func (m *MockManagerStore) StoreJS(arg0 string, arg1 plugin.JSPlugin) error

StoreJS mocks base method.

type MockManagerStoreMockRecorder

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

MockManagerStoreMockRecorder is the mock recorder for MockManagerStore.

func (*MockManagerStoreMockRecorder) ClientNames

func (mr *MockManagerStoreMockRecorder) ClientNames() *gomock.Call

ClientNames indicates an expected call of ClientNames.

func (*MockManagerStoreMockRecorder) Clients

func (mr *MockManagerStoreMockRecorder) Clients() *gomock.Call

Clients indicates an expected call of Clients.

func (*MockManagerStoreMockRecorder) Get added in v0.24.0

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

Get indicates an expected call of Get.

func (*MockManagerStoreMockRecorder) GetCommand

func (mr *MockManagerStoreMockRecorder) GetCommand(arg0 interface{}) *gomock.Call

GetCommand indicates an expected call of GetCommand.

func (*MockManagerStoreMockRecorder) GetJS added in v0.14.0

func (mr *MockManagerStoreMockRecorder) GetJS(arg0 interface{}) *gomock.Call

GetJS indicates an expected call of GetJS.

func (*MockManagerStoreMockRecorder) GetMetadata

func (mr *MockManagerStoreMockRecorder) GetMetadata(arg0 interface{}) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

func (*MockManagerStoreMockRecorder) GetModuleService added in v0.24.0

func (mr *MockManagerStoreMockRecorder) GetModuleService(arg0 interface{}) *gomock.Call

GetModuleService indicates an expected call of GetModuleService.

func (*MockManagerStoreMockRecorder) GetService

func (mr *MockManagerStoreMockRecorder) GetService(arg0 interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockManagerStoreMockRecorder) NamesJS added in v0.14.0

func (mr *MockManagerStoreMockRecorder) NamesJS() *gomock.Call

NamesJS indicates an expected call of NamesJS.

func (*MockManagerStoreMockRecorder) Remove added in v0.24.0

func (mr *MockManagerStoreMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockManagerStoreMockRecorder) RemoveJS added in v0.14.0

func (mr *MockManagerStoreMockRecorder) RemoveJS(arg0 interface{}) *gomock.Call

RemoveJS indicates an expected call of RemoveJS.

func (*MockManagerStoreMockRecorder) Store

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

Store indicates an expected call of Store.

func (*MockManagerStoreMockRecorder) StoreJS added in v0.14.0

func (mr *MockManagerStoreMockRecorder) StoreJS(arg0, arg1 interface{}) *gomock.Call

StoreJS indicates an expected call of StoreJS.

type MockModuleRegistrar

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

MockModuleRegistrar is a mock of ModuleRegistrar interface.

func NewMockModuleRegistrar

func NewMockModuleRegistrar(ctrl *gomock.Controller) *MockModuleRegistrar

NewMockModuleRegistrar creates a new mock instance.

func (*MockModuleRegistrar) EXPECT

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

func (*MockModuleRegistrar) Register

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

Register mocks base method.

func (*MockModuleRegistrar) Unregister added in v0.14.0

func (m *MockModuleRegistrar) Unregister(arg0 module.Module)

Unregister mocks base method.

type MockModuleRegistrarMockRecorder

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

MockModuleRegistrarMockRecorder is the mock recorder for MockModuleRegistrar.

func (*MockModuleRegistrarMockRecorder) Register

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

Register indicates an expected call of Register.

func (*MockModuleRegistrarMockRecorder) Unregister added in v0.14.0

func (mr *MockModuleRegistrarMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister.

type MockModuleService

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

MockModuleService is a mock of ModuleService interface.

func NewMockModuleService

func NewMockModuleService(ctrl *gomock.Controller) *MockModuleService

NewMockModuleService creates a new mock instance.

func (*MockModuleService) Content

Content mocks base method.

func (*MockModuleService) EXPECT

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

func (*MockModuleService) HandleAction

func (m *MockModuleService) HandleAction(arg0 context.Context, arg1 string, arg2 action.Payload) error

HandleAction mocks base method.

func (*MockModuleService) Navigation

Navigation mocks base method.

func (*MockModuleService) ObjectStatus

ObjectStatus mocks base method.

func (*MockModuleService) Print

Print mocks base method.

func (*MockModuleService) PrintTabs added in v0.18.0

func (m *MockModuleService) PrintTabs(arg0 context.Context, arg1 runtime.Object) ([]plugin.TabResponse, error)

PrintTabs mocks base method.

func (*MockModuleService) Register

func (m *MockModuleService) Register(arg0 context.Context, arg1 string) (plugin.Metadata, error)

Register mocks base method.

type MockModuleServiceMockRecorder

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

MockModuleServiceMockRecorder is the mock recorder for MockModuleService.

func (*MockModuleServiceMockRecorder) Content

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

Content indicates an expected call of Content.

func (*MockModuleServiceMockRecorder) HandleAction

func (mr *MockModuleServiceMockRecorder) HandleAction(arg0, arg1, arg2 interface{}) *gomock.Call

HandleAction indicates an expected call of HandleAction.

func (*MockModuleServiceMockRecorder) Navigation

func (mr *MockModuleServiceMockRecorder) Navigation(arg0 interface{}) *gomock.Call

Navigation indicates an expected call of Navigation.

func (*MockModuleServiceMockRecorder) ObjectStatus

func (mr *MockModuleServiceMockRecorder) ObjectStatus(arg0, arg1 interface{}) *gomock.Call

ObjectStatus indicates an expected call of ObjectStatus.

func (*MockModuleServiceMockRecorder) Print

func (mr *MockModuleServiceMockRecorder) Print(arg0, arg1 interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockModuleServiceMockRecorder) PrintTabs added in v0.18.0

func (mr *MockModuleServiceMockRecorder) PrintTabs(arg0, arg1 interface{}) *gomock.Call

PrintTabs indicates an expected call of PrintTabs.

func (*MockModuleServiceMockRecorder) Register

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

Register indicates an expected call of Register.

type MockPluginClient

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

MockPluginClient is a mock of PluginClient interface.

func NewMockPluginClient

func NewMockPluginClient(ctrl *gomock.Controller) *MockPluginClient

NewMockPluginClient creates a new mock instance.

func (*MockPluginClient) Content

Content mocks base method.

func (*MockPluginClient) EXPECT

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

func (*MockPluginClient) HandleAction

HandleAction mocks base method.

func (*MockPluginClient) Navigation

Navigation mocks base method.

func (*MockPluginClient) ObjectStatus

ObjectStatus mocks base method.

func (*MockPluginClient) Print

Print mocks base method.

func (*MockPluginClient) PrintTabs added in v0.18.0

PrintTabs mocks base method.

func (*MockPluginClient) Register

Register mocks base method.

func (*MockPluginClient) WatchAdd

WatchAdd mocks base method.

func (*MockPluginClient) WatchDelete

func (m *MockPluginClient) WatchDelete(ctx context.Context, in *dashboard.WatchRequest, opts ...grpc.CallOption) (*dashboard.Empty, error)

WatchDelete mocks base method.

func (*MockPluginClient) WatchUpdate

func (m *MockPluginClient) WatchUpdate(ctx context.Context, in *dashboard.WatchRequest, opts ...grpc.CallOption) (*dashboard.Empty, error)

WatchUpdate mocks base method.

type MockPluginClientMockRecorder

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

MockPluginClientMockRecorder is the mock recorder for MockPluginClient.

func (*MockPluginClientMockRecorder) Content

func (mr *MockPluginClientMockRecorder) Content(ctx, in interface{}, opts ...interface{}) *gomock.Call

Content indicates an expected call of Content.

func (*MockPluginClientMockRecorder) HandleAction

func (mr *MockPluginClientMockRecorder) HandleAction(ctx, in interface{}, opts ...interface{}) *gomock.Call

HandleAction indicates an expected call of HandleAction.

func (*MockPluginClientMockRecorder) Navigation

func (mr *MockPluginClientMockRecorder) Navigation(ctx, in interface{}, opts ...interface{}) *gomock.Call

Navigation indicates an expected call of Navigation.

func (*MockPluginClientMockRecorder) ObjectStatus

func (mr *MockPluginClientMockRecorder) ObjectStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

ObjectStatus indicates an expected call of ObjectStatus.

func (*MockPluginClientMockRecorder) Print

func (mr *MockPluginClientMockRecorder) Print(ctx, in interface{}, opts ...interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockPluginClientMockRecorder) PrintTabs added in v0.18.0

func (mr *MockPluginClientMockRecorder) PrintTabs(ctx, in interface{}, opts ...interface{}) *gomock.Call

PrintTabs indicates an expected call of PrintTabs.

func (*MockPluginClientMockRecorder) Register

func (mr *MockPluginClientMockRecorder) Register(ctx, in interface{}, opts ...interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockPluginClientMockRecorder) WatchAdd

func (mr *MockPluginClientMockRecorder) WatchAdd(ctx, in interface{}, opts ...interface{}) *gomock.Call

WatchAdd indicates an expected call of WatchAdd.

func (*MockPluginClientMockRecorder) WatchDelete

func (mr *MockPluginClientMockRecorder) WatchDelete(ctx, in interface{}, opts ...interface{}) *gomock.Call

WatchDelete indicates an expected call of WatchDelete.

func (*MockPluginClientMockRecorder) WatchUpdate

func (mr *MockPluginClientMockRecorder) WatchUpdate(ctx, in interface{}, opts ...interface{}) *gomock.Call

WatchUpdate indicates an expected call of WatchUpdate.

type MockPluginServer

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

MockPluginServer is a mock of PluginServer interface.

func NewMockPluginServer

func NewMockPluginServer(ctrl *gomock.Controller) *MockPluginServer

NewMockPluginServer creates a new mock instance.

func (*MockPluginServer) Content

Content mocks base method.

func (*MockPluginServer) EXPECT

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

func (*MockPluginServer) HandleAction

HandleAction mocks base method.

func (*MockPluginServer) Navigation

Navigation mocks base method.

func (*MockPluginServer) ObjectStatus

ObjectStatus mocks base method.

func (*MockPluginServer) Print

Print mocks base method.

func (*MockPluginServer) PrintTabs added in v0.18.0

PrintTabs mocks base method.

func (*MockPluginServer) Register

Register mocks base method.

func (*MockPluginServer) WatchAdd

WatchAdd mocks base method.

func (*MockPluginServer) WatchDelete

func (m *MockPluginServer) WatchDelete(arg0 context.Context, arg1 *dashboard.WatchRequest) (*dashboard.Empty, error)

WatchDelete mocks base method.

func (*MockPluginServer) WatchUpdate

func (m *MockPluginServer) WatchUpdate(arg0 context.Context, arg1 *dashboard.WatchRequest) (*dashboard.Empty, error)

WatchUpdate mocks base method.

type MockPluginServerMockRecorder

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

MockPluginServerMockRecorder is the mock recorder for MockPluginServer.

func (*MockPluginServerMockRecorder) Content

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

Content indicates an expected call of Content.

func (*MockPluginServerMockRecorder) HandleAction

func (mr *MockPluginServerMockRecorder) HandleAction(arg0, arg1 interface{}) *gomock.Call

HandleAction indicates an expected call of HandleAction.

func (*MockPluginServerMockRecorder) Navigation

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

Navigation indicates an expected call of Navigation.

func (*MockPluginServerMockRecorder) ObjectStatus

func (mr *MockPluginServerMockRecorder) ObjectStatus(arg0, arg1 interface{}) *gomock.Call

ObjectStatus indicates an expected call of ObjectStatus.

func (*MockPluginServerMockRecorder) Print

func (mr *MockPluginServerMockRecorder) Print(arg0, arg1 interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockPluginServerMockRecorder) PrintTabs added in v0.18.0

func (mr *MockPluginServerMockRecorder) PrintTabs(arg0, arg1 interface{}) *gomock.Call

PrintTabs indicates an expected call of PrintTabs.

func (*MockPluginServerMockRecorder) Register

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

Register indicates an expected call of Register.

func (*MockPluginServerMockRecorder) WatchAdd

func (mr *MockPluginServerMockRecorder) WatchAdd(arg0, arg1 interface{}) *gomock.Call

WatchAdd indicates an expected call of WatchAdd.

func (*MockPluginServerMockRecorder) WatchDelete

func (mr *MockPluginServerMockRecorder) WatchDelete(arg0, arg1 interface{}) *gomock.Call

WatchDelete indicates an expected call of WatchDelete.

func (*MockPluginServerMockRecorder) WatchUpdate

func (mr *MockPluginServerMockRecorder) WatchUpdate(arg0, arg1 interface{}) *gomock.Call

WatchUpdate indicates an expected call of WatchUpdate.

type MockRunners

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

MockRunners is a mock of Runners interface.

func NewMockRunners

func NewMockRunners(ctrl *gomock.Controller) *MockRunners

NewMockRunners creates a new mock instance.

func (*MockRunners) EXPECT

func (m *MockRunners) EXPECT() *MockRunnersMockRecorder

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

func (*MockRunners) ObjectStatus

ObjectStatus mocks base method.

func (*MockRunners) Print

Print mocks base method.

func (*MockRunners) Tab

Tab mocks base method.

type MockRunnersMockRecorder

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

MockRunnersMockRecorder is the mock recorder for MockRunners.

func (*MockRunnersMockRecorder) ObjectStatus

func (mr *MockRunnersMockRecorder) ObjectStatus(arg0 interface{}) *gomock.Call

ObjectStatus indicates an expected call of ObjectStatus.

func (*MockRunnersMockRecorder) Print

func (mr *MockRunnersMockRecorder) Print(arg0 interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockRunnersMockRecorder) Tab

func (mr *MockRunnersMockRecorder) Tab(arg0 interface{}) *gomock.Call

Tab indicates an expected call of Tab.

type MockServerProtocol

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

MockServerProtocol is a mock of ServerProtocol interface.

func NewMockServerProtocol

func NewMockServerProtocol(ctrl *gomock.Controller) *MockServerProtocol

NewMockServerProtocol creates a new mock instance.

func (*MockServerProtocol) Config

func (m *MockServerProtocol) Config() string

Config mocks base method.

func (*MockServerProtocol) EXPECT

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

func (*MockServerProtocol) Init

func (m *MockServerProtocol) Init() error

Init mocks base method.

func (*MockServerProtocol) Serve

func (m *MockServerProtocol) Serve(arg0 net.Listener)

Serve mocks base method.

type MockServerProtocolMockRecorder

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

MockServerProtocolMockRecorder is the mock recorder for MockServerProtocol.

func (*MockServerProtocolMockRecorder) Config

Config indicates an expected call of Config.

func (*MockServerProtocolMockRecorder) Init

Init indicates an expected call of Init.

func (*MockServerProtocolMockRecorder) Serve

func (mr *MockServerProtocolMockRecorder) Serve(arg0 interface{}) *gomock.Call

Serve indicates an expected call of Serve.

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) HandleAction

func (m *MockService) HandleAction(arg0 context.Context, arg1 string, arg2 action.Payload) error

HandleAction mocks base method.

func (*MockService) ObjectStatus

func (m *MockService) ObjectStatus(arg0 context.Context, arg1 runtime.Object) (plugin.ObjectStatusResponse, error)

ObjectStatus mocks base method.

func (*MockService) Print

Print mocks base method.

func (*MockService) PrintTabs added in v0.18.0

func (m *MockService) PrintTabs(arg0 context.Context, arg1 runtime.Object) ([]plugin.TabResponse, error)

PrintTabs mocks base method.

func (*MockService) Register

func (m *MockService) Register(arg0 context.Context, arg1 string) (plugin.Metadata, error)

Register mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) HandleAction

func (mr *MockServiceMockRecorder) HandleAction(arg0, arg1, arg2 interface{}) *gomock.Call

HandleAction indicates an expected call of HandleAction.

func (*MockServiceMockRecorder) ObjectStatus

func (mr *MockServiceMockRecorder) ObjectStatus(arg0, arg1 interface{}) *gomock.Call

ObjectStatus indicates an expected call of ObjectStatus.

func (*MockServiceMockRecorder) Print

func (mr *MockServiceMockRecorder) Print(arg0, arg1 interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockServiceMockRecorder) PrintTabs added in v0.18.0

func (mr *MockServiceMockRecorder) PrintTabs(arg0, arg1 interface{}) *gomock.Call

PrintTabs indicates an expected call of PrintTabs.

func (*MockServiceMockRecorder) Register

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

Register indicates an expected call of Register.

type MockUnsafePluginServer added in v0.24.0

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

MockUnsafePluginServer is a mock of UnsafePluginServer interface.

func NewMockUnsafePluginServer added in v0.24.0

func NewMockUnsafePluginServer(ctrl *gomock.Controller) *MockUnsafePluginServer

NewMockUnsafePluginServer creates a new mock instance.

func (*MockUnsafePluginServer) EXPECT added in v0.24.0

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

type MockUnsafePluginServerMockRecorder added in v0.24.0

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

MockUnsafePluginServerMockRecorder is the mock recorder for MockUnsafePluginServer.

Jump to

Keyboard shortcuts

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