fake

package
v1.8.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMProviderA2 added in v1.8.3

type VMProviderA2 struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewVMProviderA2 added in v1.8.3

func NewVMProviderA2() *VMProviderA2

func (*VMProviderA2) AddToVMPublishMap added in v1.8.3

func (s *VMProviderA2) AddToVMPublishMap(actID string, result vimTypes.TaskInfoState)

func (*VMProviderA2) ComputeCPUMinFrequency added in v1.8.3

func (s *VMProviderA2) ComputeCPUMinFrequency(ctx context.Context) error

func (*VMProviderA2) CreateOrUpdateVirtualMachine added in v1.8.3

func (s *VMProviderA2) CreateOrUpdateVirtualMachine(ctx context.Context, vm *vmopv1.VirtualMachine) error

func (*VMProviderA2) CreateOrUpdateVirtualMachineSetResourcePolicy added in v1.8.3

func (s *VMProviderA2) CreateOrUpdateVirtualMachineSetResourcePolicy(ctx context.Context, resourcePolicy *vmopv1.VirtualMachineSetResourcePolicy) error

func (*VMProviderA2) DeleteVirtualMachine added in v1.8.3

func (s *VMProviderA2) DeleteVirtualMachine(ctx context.Context, vm *vmopv1.VirtualMachine) error

func (*VMProviderA2) DeleteVirtualMachineSetResourcePolicy added in v1.8.3

func (s *VMProviderA2) DeleteVirtualMachineSetResourcePolicy(ctx context.Context, resourcePolicy *vmopv1.VirtualMachineSetResourcePolicy) error

func (*VMProviderA2) GetItemFromLibraryByName added in v1.8.3

func (s *VMProviderA2) GetItemFromLibraryByName(ctx context.Context,
	contentLibrary, itemName string) (*library.Item, error)

func (*VMProviderA2) GetTasksByActID added in v1.8.3

func (s *VMProviderA2) GetTasksByActID(ctx context.Context, actID string) (tasksInfo []vimTypes.TaskInfo, retErr error)

func (*VMProviderA2) GetVMPublishRequestResult added in v1.8.3

func (s *VMProviderA2) GetVMPublishRequestResult(vmPub *vmopv1.VirtualMachinePublishRequest) vimTypes.TaskInfoState

func (*VMProviderA2) GetVMPublishRequestResultWithActIDLocked added in v1.8.3

func (s *VMProviderA2) GetVMPublishRequestResultWithActIDLocked(actID string) vimTypes.TaskInfoState

func (*VMProviderA2) GetVirtualMachineGuestHeartbeat added in v1.8.3

func (s *VMProviderA2) GetVirtualMachineGuestHeartbeat(ctx context.Context, vm *vmopv1.VirtualMachine) (vmopv1.GuestHeartbeatStatus, error)

func (*VMProviderA2) GetVirtualMachineGuestInfo added in v1.8.5

func (s *VMProviderA2) GetVirtualMachineGuestInfo(ctx context.Context, vm *vmopv1.VirtualMachine) (map[string]string, error)

func (*VMProviderA2) GetVirtualMachineHardwareVersion added in v1.8.3

func (s *VMProviderA2) GetVirtualMachineHardwareVersion(ctx context.Context, vm *vmopv1.VirtualMachine) (vimTypes.HardwareVersion, error)

func (*VMProviderA2) GetVirtualMachineWebMKSTicket added in v1.8.3

func (s *VMProviderA2) GetVirtualMachineWebMKSTicket(ctx context.Context, vm *vmopv1.VirtualMachine, pubKey string) (string, error)

func (*VMProviderA2) IsPublishVMCalled added in v1.8.3

func (s *VMProviderA2) IsPublishVMCalled() bool

func (*VMProviderA2) IsVirtualMachineSetResourcePolicyReady added in v1.8.3

func (s *VMProviderA2) IsVirtualMachineSetResourcePolicyReady(ctx context.Context, azName string, resourcePolicy *vmopv1.VirtualMachineSetResourcePolicy) (bool, error)

func (*VMProviderA2) PublishVirtualMachine added in v1.8.3

func (*VMProviderA2) Reset added in v1.8.3

func (s *VMProviderA2) Reset()

func (*VMProviderA2) ResetVcClient added in v1.8.3

func (s *VMProviderA2) ResetVcClient(ctx context.Context)

func (*VMProviderA2) SyncVirtualMachineImage added in v1.8.3

func (s *VMProviderA2) SyncVirtualMachineImage(ctx context.Context, cli, vmi client.Object) error

func (*VMProviderA2) UpdateContentLibraryItem added in v1.8.3

func (s *VMProviderA2) UpdateContentLibraryItem(ctx context.Context, itemID, newName string, newDescription *string) error

func (*VMProviderA2) UpdateVcPNID added in v1.8.3

func (s *VMProviderA2) UpdateVcPNID(ctx context.Context, vcPNID, vcPort string) error

Jump to

Keyboard shortcuts

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