mock_capability

package
v0.5.4-rc6 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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 *v1.Reference) error

Install mocks base method.

func (*MockBackend) InstallerTemplate

func (m *MockBackend) InstallerTemplate() string

InstallerTemplate mocks base method.

func (*MockBackend) Uninstall added in v0.4.2

func (m *MockBackend) Uninstall(cluster *v1.Reference) error

Uninstall 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

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.

func (*MockBackendMockRecorder) Uninstall added in v0.4.2

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

Uninstall indicates an expected call of Uninstall.

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

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