mock_capability

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_capability is a generated GoMock package.

Package mock_capability is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackend

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

MockBackend is a mock of Backend interface.

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance.

func (*MockBackend) CanInstall

func (m *MockBackend) CanInstall() error

CanInstall mocks base method.

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) Install

func (m *MockBackend) Install(cluster *core.Reference) error

Install mocks base method.

func (*MockBackend) InstallerTemplate

func (m *MockBackend) InstallerTemplate() string

InstallerTemplate mocks base method.

type MockBackendClient

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

MockBackendClient is a mock of BackendClient interface.

func NewMockBackendClient

func NewMockBackendClient(ctrl *gomock.Controller) *MockBackendClient

NewMockBackendClient creates a new mock instance.

func (*MockBackendClient) CanInstall

func (m *MockBackendClient) CanInstall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

CanInstall mocks base method.

func (*MockBackendClient) EXPECT

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

func (*MockBackendClient) Info

Info mocks base method.

func (*MockBackendClient) Install

Install mocks base method.

func (*MockBackendClient) InstallerTemplate

InstallerTemplate mocks base method.

func (*MockBackendClient) Uninstall

func (m *MockBackendClient) Uninstall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

Uninstall mocks base method.

type MockBackendClientMockRecorder

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

MockBackendClientMockRecorder is the mock recorder for MockBackendClient.

func (*MockBackendClientMockRecorder) CanInstall

func (mr *MockBackendClientMockRecorder) CanInstall(ctx, in interface{}, opts ...interface{}) *gomock.Call

CanInstall indicates an expected call of CanInstall.

func (*MockBackendClientMockRecorder) Info

func (mr *MockBackendClientMockRecorder) Info(ctx, in interface{}, opts ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockBackendClientMockRecorder) Install

func (mr *MockBackendClientMockRecorder) Install(ctx, in interface{}, opts ...interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockBackendClientMockRecorder) InstallerTemplate

func (mr *MockBackendClientMockRecorder) InstallerTemplate(ctx, in interface{}, opts ...interface{}) *gomock.Call

InstallerTemplate indicates an expected call of InstallerTemplate.

func (*MockBackendClientMockRecorder) Uninstall

func (mr *MockBackendClientMockRecorder) Uninstall(ctx, in interface{}, opts ...interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall.

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend.

func (*MockBackendMockRecorder) CanInstall

func (mr *MockBackendMockRecorder) CanInstall() *gomock.Call

CanInstall indicates an expected call of CanInstall.

func (*MockBackendMockRecorder) Install

func (mr *MockBackendMockRecorder) Install(cluster interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockBackendMockRecorder) InstallerTemplate

func (mr *MockBackendMockRecorder) InstallerTemplate() *gomock.Call

InstallerTemplate indicates an expected call of InstallerTemplate.

type MockBackendServer

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

MockBackendServer is a mock of BackendServer interface.

func NewMockBackendServer

func NewMockBackendServer(ctrl *gomock.Controller) *MockBackendServer

NewMockBackendServer creates a new mock instance.

func (*MockBackendServer) CanInstall

func (m *MockBackendServer) CanInstall(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)

CanInstall mocks base method.

func (*MockBackendServer) EXPECT

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

func (*MockBackendServer) Info

Info mocks base method.

func (*MockBackendServer) Install

Install mocks base method.

func (*MockBackendServer) InstallerTemplate

InstallerTemplate mocks base method.

func (*MockBackendServer) Uninstall

func (m *MockBackendServer) Uninstall(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)

Uninstall mocks base method.

type MockBackendServerMockRecorder

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

MockBackendServerMockRecorder is the mock recorder for MockBackendServer.

func (*MockBackendServerMockRecorder) CanInstall

func (mr *MockBackendServerMockRecorder) CanInstall(arg0, arg1 interface{}) *gomock.Call

CanInstall indicates an expected call of CanInstall.

func (*MockBackendServerMockRecorder) Info

func (mr *MockBackendServerMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockBackendServerMockRecorder) Install

func (mr *MockBackendServerMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockBackendServerMockRecorder) InstallerTemplate

func (mr *MockBackendServerMockRecorder) InstallerTemplate(arg0, arg1 interface{}) *gomock.Call

InstallerTemplate indicates an expected call of InstallerTemplate.

func (*MockBackendServerMockRecorder) Uninstall

func (mr *MockBackendServerMockRecorder) Uninstall(arg0, arg1 interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall.

type MockUnsafeBackendServer

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

MockUnsafeBackendServer is a mock of UnsafeBackendServer interface.

func NewMockUnsafeBackendServer

func NewMockUnsafeBackendServer(ctrl *gomock.Controller) *MockUnsafeBackendServer

NewMockUnsafeBackendServer creates a new mock instance.

func (*MockUnsafeBackendServer) EXPECT

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

type MockUnsafeBackendServerMockRecorder

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

MockUnsafeBackendServerMockRecorder is the mock recorder for MockUnsafeBackendServer.

Jump to

Keyboard shortcuts

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