package simulator

import "github.com/vmware/govmomi/vslm/simulator"

Index

Functions

func New

func New() *simulator.Registry

Types

type ServiceInstance

type ServiceInstance struct {
	vim.ManagedObjectReference

	Content types.VslmServiceInstanceContent
}

func (*ServiceInstance) RetrieveContent

func (s *ServiceInstance) RetrieveContent(_ *types.RetrieveContent) soap.HasFault

type VStorageObjectManager

type VStorageObjectManager struct {
	vim.ManagedObjectReference
}

VStorageObjectManager APIs manage First Class Disks (FCDs) using the "Global Catalog". The majority of methods in this API simulator dispatch to VcenterVStorageObjectManager methods, after looking up a disk's Datastore. Along with 'VslmTask', who's methods proxy to a vim25 'Task'.

func (*VStorageObjectManager) VslmAttachDiskTask

func (m *VStorageObjectManager) VslmAttachDiskTask(ctx *simulator.Context, req *types.VslmAttachDisk_Task) soap.HasFault

func (*VStorageObjectManager) VslmAttachTagToVStorageObject

func (m *VStorageObjectManager) VslmAttachTagToVStorageObject(ctx *simulator.Context, req *types.VslmAttachTagToVStorageObject) soap.HasFault

func (*VStorageObjectManager) VslmCreateDiskTask

func (m *VStorageObjectManager) VslmCreateDiskTask(ctx *simulator.Context, req *types.VslmCreateDisk_Task) soap.HasFault

func (*VStorageObjectManager) VslmCreateSnapshotTask

func (m *VStorageObjectManager) VslmCreateSnapshotTask(ctx *simulator.Context, req *types.VslmCreateSnapshot_Task) soap.HasFault

func (*VStorageObjectManager) VslmDeleteSnapshotTask

func (m *VStorageObjectManager) VslmDeleteSnapshotTask(ctx *simulator.Context, req *types.VslmDeleteSnapshot_Task) soap.HasFault

func (*VStorageObjectManager) VslmDeleteVStorageObjectTask

func (m *VStorageObjectManager) VslmDeleteVStorageObjectTask(ctx *simulator.Context, req *types.VslmDeleteVStorageObject_Task) soap.HasFault

func (*VStorageObjectManager) VslmDetachTagFromVStorageObject

func (m *VStorageObjectManager) VslmDetachTagFromVStorageObject(ctx *simulator.Context, req *types.VslmDetachTagFromVStorageObject) soap.HasFault

func (*VStorageObjectManager) VslmListTagsAttachedToVStorageObject

func (m *VStorageObjectManager) VslmListTagsAttachedToVStorageObject(ctx *simulator.Context, req *types.VslmListTagsAttachedToVStorageObject) soap.HasFault

func (*VStorageObjectManager) VslmListVStorageObjectForSpec

func (m *VStorageObjectManager) VslmListVStorageObjectForSpec(ctx *simulator.Context, req *types.VslmListVStorageObjectForSpec) soap.HasFault

func (*VStorageObjectManager) VslmListVStorageObjectsAttachedToTag

func (m *VStorageObjectManager) VslmListVStorageObjectsAttachedToTag(ctx *simulator.Context, req *types.VslmListVStorageObjectsAttachedToTag) soap.HasFault

func (*VStorageObjectManager) VslmReconcileDatastoreInventoryTask

func (m *VStorageObjectManager) VslmReconcileDatastoreInventoryTask(ctx *simulator.Context, req *types.VslmReconcileDatastoreInventory_Task) soap.HasFault

func (*VStorageObjectManager) VslmRegisterDisk

func (m *VStorageObjectManager) VslmRegisterDisk(ctx *simulator.Context, req *types.VslmRegisterDisk) soap.HasFault

func (*VStorageObjectManager) VslmRetrieveSnapshotInfo

func (m *VStorageObjectManager) VslmRetrieveSnapshotInfo(ctx *simulator.Context, req *types.VslmRetrieveSnapshotInfo) soap.HasFault

func (*VStorageObjectManager) VslmRetrieveVStorageObject

func (m *VStorageObjectManager) VslmRetrieveVStorageObject(ctx *simulator.Context, req *types.VslmRetrieveVStorageObject) soap.HasFault

func (*VStorageObjectManager) VslmRetrieveVStorageObjectMetadata

func (m *VStorageObjectManager) VslmRetrieveVStorageObjectMetadata(ctx *simulator.Context, req *types.VslmRetrieveVStorageObjectMetadata) soap.HasFault

func (*VStorageObjectManager) VslmRetrieveVStorageObjectMetadataValue

func (m *VStorageObjectManager) VslmRetrieveVStorageObjectMetadataValue(ctx *simulator.Context, req *types.VslmRetrieveVStorageObjectMetadataValue) soap.HasFault

func (*VStorageObjectManager) VslmUpdateVStorageObjectMetadataTask

func (m *VStorageObjectManager) VslmUpdateVStorageObjectMetadataTask(ctx *simulator.Context, req *types.VslmUpdateVStorageObjectMetadata_Task) soap.HasFault

type VslmTask

type VslmTask struct {
	vim.ManagedObjectReference
}

VslmTask methods are just a proxy to vim25 Task methods

func (*VslmTask) VslmQueryInfo

func (p *VslmTask) VslmQueryInfo(ctx *simulator.Context, req *types.VslmQueryInfo) soap.HasFault

func (*VslmTask) VslmQueryTaskResult

func (p *VslmTask) VslmQueryTaskResult(ctx *simulator.Context, req *types.VslmQueryTaskResult) soap.HasFault

Source Files

simulator.go

Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
14 packages
Last checked
2 months ago

Tools for package owners.