Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) DeleteFolder(ctx context.Context, f mo.Folder) error
- func (m *MockAPI) DeleteStoragePolicy(ctx context.Context, policyName string) error
- func (m *MockAPI) DeleteTag(ctx context.Context, id string) error
- func (m *MockAPI) DeleteTagCategory(ctx context.Context, id string) error
- func (m *MockAPI) DeleteVirtualMachine(ctx context.Context, vmMO mo.VirtualMachine) error
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) ListFolders(ctx context.Context, tagID string) ([]mo.Folder, error)
- func (m *MockAPI) ListVirtualMachines(ctx context.Context, tagID string) ([]mo.VirtualMachine, error)
- func (m *MockAPI) Logout()
- func (m *MockAPI) StopVirtualMachine(ctx context.Context, vmMO mo.VirtualMachine) error
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) DeleteFolder(ctx, f interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteStoragePolicy(ctx, policyName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteTag(ctx, id interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteTagCategory(ctx, id interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteVirtualMachine(ctx, vmMO interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ListFolders(ctx, tagID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ListVirtualMachines(ctx, tagID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Logout() *gomock.Call
- func (mr *MockAPIMockRecorder) StopVirtualMachine(ctx, vmMO interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) DeleteFolder ¶
DeleteFolder mocks base method.
func (*MockAPI) DeleteStoragePolicy ¶
DeleteStoragePolicy mocks base method.
func (*MockAPI) DeleteTagCategory ¶
DeleteTagCategory mocks base method.
func (*MockAPI) DeleteVirtualMachine ¶
DeleteVirtualMachine mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPI) ListFolders ¶
ListFolders mocks base method.
func (*MockAPI) ListVirtualMachines ¶
func (m *MockAPI) ListVirtualMachines(ctx context.Context, tagID string) ([]mo.VirtualMachine, error)
ListVirtualMachines mocks base method.
func (*MockAPI) StopVirtualMachine ¶
StopVirtualMachine mocks base method.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) DeleteFolder ¶
func (mr *MockAPIMockRecorder) DeleteFolder(ctx, f interface{}) *gomock.Call
DeleteFolder indicates an expected call of DeleteFolder.
func (*MockAPIMockRecorder) DeleteStoragePolicy ¶
func (mr *MockAPIMockRecorder) DeleteStoragePolicy(ctx, policyName interface{}) *gomock.Call
DeleteStoragePolicy indicates an expected call of DeleteStoragePolicy.
func (*MockAPIMockRecorder) DeleteTag ¶
func (mr *MockAPIMockRecorder) DeleteTag(ctx, id interface{}) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
func (*MockAPIMockRecorder) DeleteTagCategory ¶
func (mr *MockAPIMockRecorder) DeleteTagCategory(ctx, id interface{}) *gomock.Call
DeleteTagCategory indicates an expected call of DeleteTagCategory.
func (*MockAPIMockRecorder) DeleteVirtualMachine ¶
func (mr *MockAPIMockRecorder) DeleteVirtualMachine(ctx, vmMO interface{}) *gomock.Call
DeleteVirtualMachine indicates an expected call of DeleteVirtualMachine.
func (*MockAPIMockRecorder) ListFolders ¶
func (mr *MockAPIMockRecorder) ListFolders(ctx, tagID interface{}) *gomock.Call
ListFolders indicates an expected call of ListFolders.
func (*MockAPIMockRecorder) ListVirtualMachines ¶
func (mr *MockAPIMockRecorder) ListVirtualMachines(ctx, tagID interface{}) *gomock.Call
ListVirtualMachines indicates an expected call of ListVirtualMachines.
func (*MockAPIMockRecorder) Logout ¶
func (mr *MockAPIMockRecorder) Logout() *gomock.Call
Logout indicates an expected call of Logout.
func (*MockAPIMockRecorder) StopVirtualMachine ¶
func (mr *MockAPIMockRecorder) StopVirtualMachine(ctx, vmMO interface{}) *gomock.Call
StopVirtualMachine indicates an expected call of StopVirtualMachine.