mocks

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGovcClient

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

MockGovcClient is a mock of GovcClient interface.

func NewMockGovcClient

func NewMockGovcClient(ctrl *gomock.Controller) *MockGovcClient

NewMockGovcClient creates a new mock instance.

func (*MockGovcClient) AddTag

func (m *MockGovcClient) AddTag(ctx context.Context, path, tag string) error

AddTag mocks base method.

func (*MockGovcClient) CreateCategoryForVM

func (m *MockGovcClient) CreateCategoryForVM(ctx context.Context, name string) error

CreateCategoryForVM mocks base method.

func (*MockGovcClient) CreateTag

func (m *MockGovcClient) CreateTag(ctx context.Context, tag, category string) error

CreateTag mocks base method.

func (*MockGovcClient) EXPECT

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

func (*MockGovcClient) ListCategories

func (m *MockGovcClient) ListCategories(ctx context.Context) ([]string, error)

ListCategories mocks base method.

func (*MockGovcClient) ListTags

func (m *MockGovcClient) ListTags(ctx context.Context) ([]executables.Tag, error)

ListTags mocks base method.

type MockGovcClientMockRecorder

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

MockGovcClientMockRecorder is the mock recorder for MockGovcClient.

func (*MockGovcClientMockRecorder) AddTag

func (mr *MockGovcClientMockRecorder) AddTag(ctx, path, tag interface{}) *gomock.Call

AddTag indicates an expected call of AddTag.

func (*MockGovcClientMockRecorder) CreateCategoryForVM

func (mr *MockGovcClientMockRecorder) CreateCategoryForVM(ctx, name interface{}) *gomock.Call

CreateCategoryForVM indicates an expected call of CreateCategoryForVM.

func (*MockGovcClientMockRecorder) CreateTag

func (mr *MockGovcClientMockRecorder) CreateTag(ctx, tag, category interface{}) *gomock.Call

CreateTag indicates an expected call of CreateTag.

func (*MockGovcClientMockRecorder) ListCategories

func (mr *MockGovcClientMockRecorder) ListCategories(ctx interface{}) *gomock.Call

ListCategories indicates an expected call of ListCategories.

func (*MockGovcClientMockRecorder) ListTags

func (mr *MockGovcClientMockRecorder) ListTags(ctx interface{}) *gomock.Call

ListTags indicates an expected call of ListTags.

Jump to

Keyboard shortcuts

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