juju: github.com/wallyworld/juju/provider/vsphere/mocks Index | Files

package mocks

import "github.com/wallyworld/juju/provider/vsphere/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

client_mock.go

type MockClient Uses

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

MockClient is a mock of Client interface

func NewMockClient Uses

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Close Uses

func (m *MockClient) Close(arg0 context.Context) error

Close mocks base method

func (*MockClient) ComputeResources Uses

func (m *MockClient) ComputeResources(arg0 context.Context) ([]*mo.ComputeResource, error)

ComputeResources mocks base method

func (*MockClient) CreateVirtualMachine Uses

func (m *MockClient) CreateVirtualMachine(arg0 context.Context, arg1 vsphereclient.CreateVirtualMachineParams) (*mo.VirtualMachine, error)

CreateVirtualMachine mocks base method

func (*MockClient) Datastores Uses

func (m *MockClient) Datastores(arg0 context.Context) ([]mo.Datastore, error)

Datastores mocks base method

func (*MockClient) DeleteDatastoreFile Uses

func (m *MockClient) DeleteDatastoreFile(arg0 context.Context, arg1 string) error

DeleteDatastoreFile mocks base method

func (*MockClient) DestroyVMFolder Uses

func (m *MockClient) DestroyVMFolder(arg0 context.Context, arg1 string) error

DestroyVMFolder mocks base method

func (*MockClient) EXPECT Uses

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) EnsureVMFolder Uses

func (m *MockClient) EnsureVMFolder(arg0 context.Context, arg1, arg2 string) (*object.Folder, error)

EnsureVMFolder mocks base method

func (*MockClient) FindFolder Uses

func (m *MockClient) FindFolder(arg0 context.Context, arg1 string) (*object.Folder, error)

FindFolder mocks base method

func (*MockClient) MoveVMFolderInto Uses

func (m *MockClient) MoveVMFolderInto(arg0 context.Context, arg1, arg2 string) error

MoveVMFolderInto mocks base method

func (*MockClient) MoveVMsInto Uses

func (m *MockClient) MoveVMsInto(arg0 context.Context, arg1 string, arg2 ...types.ManagedObjectReference) error

MoveVMsInto mocks base method

func (*MockClient) RemoveVirtualMachines Uses

func (m *MockClient) RemoveVirtualMachines(arg0 context.Context, arg1 string) error

RemoveVirtualMachines mocks base method

func (*MockClient) ResourcePools Uses

func (m *MockClient) ResourcePools(arg0 context.Context, arg1 string) ([]*object.ResourcePool, error)

ResourcePools mocks base method

func (*MockClient) UpdateVirtualMachineExtraConfig Uses

func (m *MockClient) UpdateVirtualMachineExtraConfig(arg0 context.Context, arg1 *mo.VirtualMachine, arg2 map[string]string) error

UpdateVirtualMachineExtraConfig mocks base method

func (*MockClient) UserHasRootLevelPrivilege Uses

func (m *MockClient) UserHasRootLevelPrivilege(arg0 context.Context, arg1 string) (bool, error)

UserHasRootLevelPrivilege mocks base method

func (*MockClient) VirtualMachines Uses

func (m *MockClient) VirtualMachines(arg0 context.Context, arg1 string) ([]*mo.VirtualMachine, error)

VirtualMachines mocks base method

type MockClientMockRecorder Uses

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Close Uses

func (mr *MockClientMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockClientMockRecorder) ComputeResources Uses

func (mr *MockClientMockRecorder) ComputeResources(arg0 interface{}) *gomock.Call

ComputeResources indicates an expected call of ComputeResources

func (*MockClientMockRecorder) CreateVirtualMachine Uses

func (mr *MockClientMockRecorder) CreateVirtualMachine(arg0, arg1 interface{}) *gomock.Call

CreateVirtualMachine indicates an expected call of CreateVirtualMachine

func (*MockClientMockRecorder) Datastores Uses

func (mr *MockClientMockRecorder) Datastores(arg0 interface{}) *gomock.Call

Datastores indicates an expected call of Datastores

func (*MockClientMockRecorder) DeleteDatastoreFile Uses

func (mr *MockClientMockRecorder) DeleteDatastoreFile(arg0, arg1 interface{}) *gomock.Call

DeleteDatastoreFile indicates an expected call of DeleteDatastoreFile

func (*MockClientMockRecorder) DestroyVMFolder Uses

func (mr *MockClientMockRecorder) DestroyVMFolder(arg0, arg1 interface{}) *gomock.Call

DestroyVMFolder indicates an expected call of DestroyVMFolder

func (*MockClientMockRecorder) EnsureVMFolder Uses

func (mr *MockClientMockRecorder) EnsureVMFolder(arg0, arg1, arg2 interface{}) *gomock.Call

EnsureVMFolder indicates an expected call of EnsureVMFolder

func (*MockClientMockRecorder) FindFolder Uses

func (mr *MockClientMockRecorder) FindFolder(arg0, arg1 interface{}) *gomock.Call

FindFolder indicates an expected call of FindFolder

func (*MockClientMockRecorder) MoveVMFolderInto Uses

func (mr *MockClientMockRecorder) MoveVMFolderInto(arg0, arg1, arg2 interface{}) *gomock.Call

MoveVMFolderInto indicates an expected call of MoveVMFolderInto

func (*MockClientMockRecorder) MoveVMsInto Uses

func (mr *MockClientMockRecorder) MoveVMsInto(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

MoveVMsInto indicates an expected call of MoveVMsInto

func (*MockClientMockRecorder) RemoveVirtualMachines Uses

func (mr *MockClientMockRecorder) RemoveVirtualMachines(arg0, arg1 interface{}) *gomock.Call

RemoveVirtualMachines indicates an expected call of RemoveVirtualMachines

func (*MockClientMockRecorder) ResourcePools Uses

func (mr *MockClientMockRecorder) ResourcePools(arg0, arg1 interface{}) *gomock.Call

ResourcePools indicates an expected call of ResourcePools

func (*MockClientMockRecorder) UpdateVirtualMachineExtraConfig Uses

func (mr *MockClientMockRecorder) UpdateVirtualMachineExtraConfig(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateVirtualMachineExtraConfig indicates an expected call of UpdateVirtualMachineExtraConfig

func (*MockClientMockRecorder) UserHasRootLevelPrivilege Uses

func (mr *MockClientMockRecorder) UserHasRootLevelPrivilege(arg0, arg1 interface{}) *gomock.Call

UserHasRootLevelPrivilege indicates an expected call of UserHasRootLevelPrivilege

func (*MockClientMockRecorder) VirtualMachines Uses

func (mr *MockClientMockRecorder) VirtualMachines(arg0, arg1 interface{}) *gomock.Call

VirtualMachines indicates an expected call of VirtualMachines

Package mocks imports 7 packages (graph). Updated 2020-07-08. Refresh now. Tools for package owners.