Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGovcClient
- func (m *MockGovcClient) AddTag(ctx context.Context, path, tag string) error
- func (m *MockGovcClient) CreateCategoryForVM(ctx context.Context, name string) error
- func (m *MockGovcClient) CreateTag(ctx context.Context, tag, category string) error
- func (m *MockGovcClient) EXPECT() *MockGovcClientMockRecorder
- func (m *MockGovcClient) ListCategories(ctx context.Context) ([]string, error)
- func (m *MockGovcClient) ListTags(ctx context.Context) ([]string, error)
- type MockGovcClientMockRecorder
- func (mr *MockGovcClientMockRecorder) AddTag(ctx, path, tag interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) CreateCategoryForVM(ctx, name interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) CreateTag(ctx, tag, category interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) ListCategories(ctx interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) ListTags(ctx interface{}) *gomock.Call
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 ¶
func (m *MockGovcClient) EXPECT() *MockGovcClientMockRecorder
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.
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.