simulator

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *simulator.Registry

Types

type CnsVolumeManager

type CnsVolumeManager struct {
	vim25types.ManagedObjectReference
	// contains filtered or unexported fields
}

func (*CnsVolumeManager) CnsAttachVolume

func (m *CnsVolumeManager) CnsAttachVolume(ctx context.Context, req *cnstypes.CnsAttachVolume) soap.HasFault

CnsAttachVolume simulates AttachVolume call for simulated vc

func (*CnsVolumeManager) CnsCreateVolume

func (m *CnsVolumeManager) CnsCreateVolume(ctx context.Context, req *cnstypes.CnsCreateVolume) soap.HasFault

func (*CnsVolumeManager) CnsDeleteVolume

func (m *CnsVolumeManager) CnsDeleteVolume(ctx context.Context, req *cnstypes.CnsDeleteVolume) soap.HasFault

func (*CnsVolumeManager) CnsDetachVolume

func (m *CnsVolumeManager) CnsDetachVolume(ctx context.Context, req *cnstypes.CnsDetachVolume) soap.HasFault

CnsDetachVolume simulates DetachVolume call for simulated vc

func (*CnsVolumeManager) CnsQueryAllVolume

func (m *CnsVolumeManager) CnsQueryAllVolume(ctx context.Context, req *cnstypes.CnsQueryAllVolume) soap.HasFault

CnsQueryAllVolume simulates the query volumes implementation for CNSQueryAll API

func (*CnsVolumeManager) CnsQueryVolume

func (m *CnsVolumeManager) CnsQueryVolume(ctx context.Context, req *cnstypes.CnsQueryVolume) soap.HasFault

CnsQueryVolume simulates the query volumes implementation for CNSQuery API

func (*CnsVolumeManager) CnsUpdateVolumeMetadata

func (m *CnsVolumeManager) CnsUpdateVolumeMetadata(ctx context.Context, req *cnstypes.CnsUpdateVolumeMetadata) soap.HasFault

CnsUpdateVolumeMetadata simulates UpdateVolumeMetadata call for simulated vc

Jump to

Keyboard shortcuts

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