mock

package
v0.0.0-...-574a00b Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSnapshotterClient

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

MockSnapshotterClient is a mock of SnapshotterClient interface

func NewMockSnapshotterClient

func NewMockSnapshotterClient(ctrl *gomock.Controller) *MockSnapshotterClient

NewMockSnapshotterClient creates a new mock instance

func (*MockSnapshotterClient) EXPECT

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

func (*MockSnapshotterClient) Snapshot

func (m *MockSnapshotterClient) Snapshot(ctx context.Context, in *v1.Request, opts ...grpc.CallOption) (*v1.Response, error)

Snapshot mocks base method

type MockSnapshotterClientMockRecorder

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

MockSnapshotterClientMockRecorder is the mock recorder for MockSnapshotterClient

func (*MockSnapshotterClientMockRecorder) Snapshot

func (mr *MockSnapshotterClientMockRecorder) Snapshot(ctx, in interface{}, opts ...interface{}) *gomock.Call

Snapshot indicates an expected call of Snapshot

type MockSnapshotterServer

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

MockSnapshotterServer is a mock of SnapshotterServer interface

func NewMockSnapshotterServer

func NewMockSnapshotterServer(ctrl *gomock.Controller) *MockSnapshotterServer

NewMockSnapshotterServer creates a new mock instance

func (*MockSnapshotterServer) EXPECT

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

func (*MockSnapshotterServer) Snapshot

func (m *MockSnapshotterServer) Snapshot(arg0 context.Context, arg1 *v1.Request) (*v1.Response, error)

Snapshot mocks base method

type MockSnapshotterServerMockRecorder

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

MockSnapshotterServerMockRecorder is the mock recorder for MockSnapshotterServer

func (*MockSnapshotterServerMockRecorder) Snapshot

func (mr *MockSnapshotterServerMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call

Snapshot indicates an expected call of Snapshot

Jump to

Keyboard shortcuts

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