mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks provides the mocked resources and its clients for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOperationServiceClient added in v0.4.0

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

MockOperationServiceClient is a mock of OperationServiceClient interface.

func NewMockOperationServiceClient added in v0.4.0

func NewMockOperationServiceClient(ctrl *gomock.Controller) *MockOperationServiceClient

NewMockOperationServiceClient creates a new mock instance.

func (*MockOperationServiceClient) EXPECT added in v0.4.0

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

func (*MockOperationServiceClient) GetOperation added in v0.4.0

GetOperation mocks base method.

func (*MockOperationServiceClient) ListOperations added in v0.5.0

ListOperations mocks base method.

type MockOperationServiceClientMockRecorder added in v0.4.0

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

MockOperationServiceClientMockRecorder is the mock recorder for MockOperationServiceClient.

func (*MockOperationServiceClientMockRecorder) GetOperation added in v0.4.0

func (mr *MockOperationServiceClientMockRecorder) GetOperation(ctx, in any, opts ...any) *gomock.Call

GetOperation indicates an expected call of GetOperation.

func (*MockOperationServiceClientMockRecorder) ListOperations added in v0.5.0

func (mr *MockOperationServiceClientMockRecorder) ListOperations(ctx, in any, opts ...any) *gomock.Call

ListOperations indicates an expected call of ListOperations.

Jump to

Keyboard shortcuts

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