mocks

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 10 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 MockVMOMIAuthorizationManager

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

MockVMOMIAuthorizationManager is a mock of VMOMIAuthorizationManager interface.

func NewMockVMOMIAuthorizationManager

func NewMockVMOMIAuthorizationManager(ctrl *gomock.Controller) *MockVMOMIAuthorizationManager

NewMockVMOMIAuthorizationManager creates a new mock instance.

func (*MockVMOMIAuthorizationManager) EXPECT

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

func (*MockVMOMIAuthorizationManager) FetchUserPrivilegeOnEntities

func (m *MockVMOMIAuthorizationManager) FetchUserPrivilegeOnEntities(arg0 context.Context, arg1 []types.ManagedObjectReference, arg2 string) ([]types.UserPrivilegeResult, error)

FetchUserPrivilegeOnEntities mocks base method.

type MockVMOMIAuthorizationManagerBuilder

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

MockVMOMIAuthorizationManagerBuilder is a mock of VMOMIAuthorizationManagerBuilder interface.

func NewMockVMOMIAuthorizationManagerBuilder

func NewMockVMOMIAuthorizationManagerBuilder(ctrl *gomock.Controller) *MockVMOMIAuthorizationManagerBuilder

NewMockVMOMIAuthorizationManagerBuilder creates a new mock instance.

func (*MockVMOMIAuthorizationManagerBuilder) Build

Build mocks base method.

func (*MockVMOMIAuthorizationManagerBuilder) EXPECT

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

type MockVMOMIAuthorizationManagerBuilderMockRecorder

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

MockVMOMIAuthorizationManagerBuilderMockRecorder is the mock recorder for MockVMOMIAuthorizationManagerBuilder.

func (*MockVMOMIAuthorizationManagerBuilderMockRecorder) Build

func (mr *MockVMOMIAuthorizationManagerBuilderMockRecorder) Build(arg0 interface{}) *gomock.Call

Build indicates an expected call of Build.

type MockVMOMIAuthorizationManagerMockRecorder

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

MockVMOMIAuthorizationManagerMockRecorder is the mock recorder for MockVMOMIAuthorizationManager.

func (*MockVMOMIAuthorizationManagerMockRecorder) FetchUserPrivilegeOnEntities

func (mr *MockVMOMIAuthorizationManagerMockRecorder) FetchUserPrivilegeOnEntities(arg0, arg1, arg2 interface{}) *gomock.Call

FetchUserPrivilegeOnEntities indicates an expected call of FetchUserPrivilegeOnEntities.

type MockVMOMIFinder

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

MockVMOMIFinder is a mock of VMOMIFinder interface.

func NewMockVMOMIFinder

func NewMockVMOMIFinder(ctrl *gomock.Controller) *MockVMOMIFinder

NewMockVMOMIFinder creates a new mock instance.

func (*MockVMOMIFinder) Datacenter

func (m *MockVMOMIFinder) Datacenter(arg0 context.Context, arg1 string) (*object.Datacenter, error)

Datacenter mocks base method.

func (*MockVMOMIFinder) Datastore

func (m *MockVMOMIFinder) Datastore(arg0 context.Context, arg1 string) (*object.Datastore, error)

Datastore mocks base method.

func (*MockVMOMIFinder) EXPECT

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

func (*MockVMOMIFinder) Folder

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

Folder mocks base method.

func (*MockVMOMIFinder) Network

Network mocks base method.

func (*MockVMOMIFinder) ResourcePool

func (m *MockVMOMIFinder) ResourcePool(arg0 context.Context, arg1 string) (*object.ResourcePool, error)

ResourcePool mocks base method.

func (*MockVMOMIFinder) SetDatacenter

func (m *MockVMOMIFinder) SetDatacenter(arg0 *object.Datacenter) *find.Finder

SetDatacenter mocks base method.

func (*MockVMOMIFinder) VirtualMachine

func (m *MockVMOMIFinder) VirtualMachine(arg0 context.Context, arg1 string) (*object.VirtualMachine, error)

VirtualMachine mocks base method.

type MockVMOMIFinderBuilder

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

MockVMOMIFinderBuilder is a mock of VMOMIFinderBuilder interface.

func NewMockVMOMIFinderBuilder

func NewMockVMOMIFinderBuilder(ctrl *gomock.Controller) *MockVMOMIFinderBuilder

NewMockVMOMIFinderBuilder creates a new mock instance.

func (*MockVMOMIFinderBuilder) Build

func (m *MockVMOMIFinderBuilder) Build(arg0 *vim25.Client, arg1 ...bool) govmomi.VMOMIFinder

Build mocks base method.

func (*MockVMOMIFinderBuilder) EXPECT

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

type MockVMOMIFinderBuilderMockRecorder

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

MockVMOMIFinderBuilderMockRecorder is the mock recorder for MockVMOMIFinderBuilder.

func (*MockVMOMIFinderBuilderMockRecorder) Build

func (mr *MockVMOMIFinderBuilderMockRecorder) Build(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Build indicates an expected call of Build.

type MockVMOMIFinderMockRecorder

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

MockVMOMIFinderMockRecorder is the mock recorder for MockVMOMIFinder.

func (*MockVMOMIFinderMockRecorder) Datacenter

func (mr *MockVMOMIFinderMockRecorder) Datacenter(arg0, arg1 interface{}) *gomock.Call

Datacenter indicates an expected call of Datacenter.

func (*MockVMOMIFinderMockRecorder) Datastore

func (mr *MockVMOMIFinderMockRecorder) Datastore(arg0, arg1 interface{}) *gomock.Call

Datastore indicates an expected call of Datastore.

func (*MockVMOMIFinderMockRecorder) Folder

func (mr *MockVMOMIFinderMockRecorder) Folder(arg0, arg1 interface{}) *gomock.Call

Folder indicates an expected call of Folder.

func (*MockVMOMIFinderMockRecorder) Network

func (mr *MockVMOMIFinderMockRecorder) Network(arg0, arg1 interface{}) *gomock.Call

Network indicates an expected call of Network.

func (*MockVMOMIFinderMockRecorder) ResourcePool

func (mr *MockVMOMIFinderMockRecorder) ResourcePool(arg0, arg1 interface{}) *gomock.Call

ResourcePool indicates an expected call of ResourcePool.

func (*MockVMOMIFinderMockRecorder) SetDatacenter

func (mr *MockVMOMIFinderMockRecorder) SetDatacenter(arg0 interface{}) *gomock.Call

SetDatacenter indicates an expected call of SetDatacenter.

func (*MockVMOMIFinderMockRecorder) VirtualMachine

func (mr *MockVMOMIFinderMockRecorder) VirtualMachine(arg0, arg1 interface{}) *gomock.Call

VirtualMachine indicates an expected call of VirtualMachine.

type MockVMOMISessionBuilder

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

MockVMOMISessionBuilder is a mock of VMOMISessionBuilder interface.

func NewMockVMOMISessionBuilder

func NewMockVMOMISessionBuilder(ctrl *gomock.Controller) *MockVMOMISessionBuilder

NewMockVMOMISessionBuilder creates a new mock instance.

func (*MockVMOMISessionBuilder) Build

func (m *MockVMOMISessionBuilder) Build(arg0 context.Context, arg1 *url.URL, arg2 bool) (*govmomi0.Client, error)

Build mocks base method.

func (*MockVMOMISessionBuilder) EXPECT

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

type MockVMOMISessionBuilderMockRecorder

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

MockVMOMISessionBuilderMockRecorder is the mock recorder for MockVMOMISessionBuilder.

func (*MockVMOMISessionBuilderMockRecorder) Build

func (mr *MockVMOMISessionBuilderMockRecorder) Build(arg0, arg1, arg2 interface{}) *gomock.Call

Build indicates an expected call of Build.

type MockVSphereClient

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

MockVSphereClient is a mock of VSphereClient interface.

func NewMockVSphereClient

func NewMockVSphereClient(ctrl *gomock.Controller) *MockVSphereClient

NewMockVSphereClient creates a new mock instance.

func (*MockVSphereClient) EXPECT

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

func (*MockVSphereClient) GetPrivsOnEntity

func (m *MockVSphereClient) GetPrivsOnEntity(arg0 context.Context, arg1, arg2, arg3 string) ([]string, error)

GetPrivsOnEntity mocks base method.

func (*MockVSphereClient) Username

func (m *MockVSphereClient) Username() string

Username mocks base method.

type MockVSphereClientMockRecorder

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

MockVSphereClientMockRecorder is the mock recorder for MockVSphereClient.

func (*MockVSphereClientMockRecorder) GetPrivsOnEntity

func (mr *MockVSphereClientMockRecorder) GetPrivsOnEntity(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetPrivsOnEntity indicates an expected call of GetPrivsOnEntity.

func (*MockVSphereClientMockRecorder) Username

func (mr *MockVSphereClientMockRecorder) Username() *gomock.Call

Username indicates an expected call of Username.

Jump to

Keyboard shortcuts

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