mock_v1

package
v0.9.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_v1 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) CancelUninstall added in v0.6.0

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

CancelUninstall mocks base method.

func (*MockBackendClient) EXPECT

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

func (*MockBackendClient) Info

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

Info mocks base method.

func (*MockBackendClient) Install

Install mocks base method.

func (*MockBackendClient) InstallerTemplate

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

InstallerTemplate mocks base method.

func (*MockBackendClient) Status added in v0.6.0

Status mocks base method.

func (*MockBackendClient) Uninstall

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

Uninstall mocks base method.

func (*MockBackendClient) UninstallStatus added in v0.6.0

func (m *MockBackendClient) UninstallStatus(ctx context.Context, in *v10.Reference, opts ...grpc.CallOption) (*v10.TaskStatus, error)

UninstallStatus 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) CancelUninstall added in v0.6.0

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

CancelUninstall indicates an expected call of CancelUninstall.

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) Status added in v0.6.0

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

Status indicates an expected call of Status.

func (*MockBackendClientMockRecorder) Uninstall

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

Uninstall indicates an expected call of Uninstall.

func (*MockBackendClientMockRecorder) UninstallStatus added in v0.6.0

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

UninstallStatus indicates an expected call of UninstallStatus.

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) CancelUninstall added in v0.6.0

func (m *MockBackendServer) CancelUninstall(arg0 context.Context, arg1 *v10.Reference) (*emptypb.Empty, error)

CancelUninstall mocks base method.

func (*MockBackendServer) EXPECT

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

func (*MockBackendServer) Info

func (m *MockBackendServer) Info(arg0 context.Context, arg1 *emptypb.Empty) (*v1.Details, error)

Info mocks base method.

func (*MockBackendServer) Install

Install mocks base method.

func (*MockBackendServer) InstallerTemplate

func (m *MockBackendServer) InstallerTemplate(arg0 context.Context, arg1 *emptypb.Empty) (*v1.InstallerTemplateResponse, error)

InstallerTemplate mocks base method.

func (*MockBackendServer) Status added in v0.6.0

Status mocks base method.

func (*MockBackendServer) Uninstall

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

Uninstall mocks base method.

func (*MockBackendServer) UninstallStatus added in v0.6.0

func (m *MockBackendServer) UninstallStatus(arg0 context.Context, arg1 *v10.Reference) (*v10.TaskStatus, error)

UninstallStatus 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) CancelUninstall added in v0.6.0

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

CancelUninstall indicates an expected call of CancelUninstall.

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) Status added in v0.6.0

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

Status indicates an expected call of Status.

func (*MockBackendServerMockRecorder) Uninstall

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

Uninstall indicates an expected call of Uninstall.

func (*MockBackendServerMockRecorder) UninstallStatus added in v0.6.0

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

UninstallStatus indicates an expected call of UninstallStatus.

type MockNodeClient added in v0.6.0

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

MockNodeClient is a mock of NodeClient interface.

func NewMockNodeClient added in v0.6.0

func NewMockNodeClient(ctrl *gomock.Controller) *MockNodeClient

NewMockNodeClient creates a new mock instance.

func (*MockNodeClient) EXPECT added in v0.6.0

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

func (*MockNodeClient) SyncNow added in v0.6.0

func (m *MockNodeClient) SyncNow(ctx context.Context, in *v1.Filter, opts ...grpc.CallOption) (*emptypb.Empty, error)

SyncNow mocks base method.

type MockNodeClientMockRecorder added in v0.6.0

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

MockNodeClientMockRecorder is the mock recorder for MockNodeClient.

func (*MockNodeClientMockRecorder) SyncNow added in v0.6.0

func (mr *MockNodeClientMockRecorder) SyncNow(ctx, in interface{}, opts ...interface{}) *gomock.Call

SyncNow indicates an expected call of SyncNow.

type MockNodeManagerClient added in v0.6.0

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

MockNodeManagerClient is a mock of NodeManagerClient interface.

func NewMockNodeManagerClient added in v0.6.0

func NewMockNodeManagerClient(ctrl *gomock.Controller) *MockNodeManagerClient

NewMockNodeManagerClient creates a new mock instance.

func (*MockNodeManagerClient) EXPECT added in v0.6.0

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

func (*MockNodeManagerClient) RequestSync added in v0.6.0

func (m *MockNodeManagerClient) RequestSync(ctx context.Context, in *v1.SyncRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

RequestSync mocks base method.

type MockNodeManagerClientMockRecorder added in v0.6.0

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

MockNodeManagerClientMockRecorder is the mock recorder for MockNodeManagerClient.

func (*MockNodeManagerClientMockRecorder) RequestSync added in v0.6.0

func (mr *MockNodeManagerClientMockRecorder) RequestSync(ctx, in interface{}, opts ...interface{}) *gomock.Call

RequestSync indicates an expected call of RequestSync.

type MockNodeManagerServer added in v0.6.0

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

MockNodeManagerServer is a mock of NodeManagerServer interface.

func NewMockNodeManagerServer added in v0.6.0

func NewMockNodeManagerServer(ctrl *gomock.Controller) *MockNodeManagerServer

NewMockNodeManagerServer creates a new mock instance.

func (*MockNodeManagerServer) EXPECT added in v0.6.0

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

func (*MockNodeManagerServer) RequestSync added in v0.6.0

func (m *MockNodeManagerServer) RequestSync(arg0 context.Context, arg1 *v1.SyncRequest) (*emptypb.Empty, error)

RequestSync mocks base method.

type MockNodeManagerServerMockRecorder added in v0.6.0

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

MockNodeManagerServerMockRecorder is the mock recorder for MockNodeManagerServer.

func (*MockNodeManagerServerMockRecorder) RequestSync added in v0.6.0

func (mr *MockNodeManagerServerMockRecorder) RequestSync(arg0, arg1 interface{}) *gomock.Call

RequestSync indicates an expected call of RequestSync.

type MockNodeServer added in v0.6.0

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

MockNodeServer is a mock of NodeServer interface.

func NewMockNodeServer added in v0.6.0

func NewMockNodeServer(ctrl *gomock.Controller) *MockNodeServer

NewMockNodeServer creates a new mock instance.

func (*MockNodeServer) EXPECT added in v0.6.0

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

func (*MockNodeServer) SyncNow added in v0.6.0

func (m *MockNodeServer) SyncNow(arg0 context.Context, arg1 *v1.Filter) (*emptypb.Empty, error)

SyncNow mocks base method.

type MockNodeServerMockRecorder added in v0.6.0

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

MockNodeServerMockRecorder is the mock recorder for MockNodeServer.

func (*MockNodeServerMockRecorder) SyncNow added in v0.6.0

func (mr *MockNodeServerMockRecorder) SyncNow(arg0, arg1 interface{}) *gomock.Call

SyncNow indicates an expected call of SyncNow.

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.

type MockUnsafeNodeManagerServer added in v0.6.0

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

MockUnsafeNodeManagerServer is a mock of UnsafeNodeManagerServer interface.

func NewMockUnsafeNodeManagerServer added in v0.6.0

func NewMockUnsafeNodeManagerServer(ctrl *gomock.Controller) *MockUnsafeNodeManagerServer

NewMockUnsafeNodeManagerServer creates a new mock instance.

func (*MockUnsafeNodeManagerServer) EXPECT added in v0.6.0

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

type MockUnsafeNodeManagerServerMockRecorder added in v0.6.0

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

MockUnsafeNodeManagerServerMockRecorder is the mock recorder for MockUnsafeNodeManagerServer.

type MockUnsafeNodeServer added in v0.6.0

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

MockUnsafeNodeServer is a mock of UnsafeNodeServer interface.

func NewMockUnsafeNodeServer added in v0.6.0

func NewMockUnsafeNodeServer(ctrl *gomock.Controller) *MockUnsafeNodeServer

NewMockUnsafeNodeServer creates a new mock instance.

func (*MockUnsafeNodeServer) EXPECT added in v0.6.0

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

type MockUnsafeNodeServerMockRecorder added in v0.6.0

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

MockUnsafeNodeServerMockRecorder is the mock recorder for MockUnsafeNodeServer.

Jump to

Keyboard shortcuts

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