 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func CreateVM(op trace.Operation, sess *session.Session, name string) (types.ManagedObjectReference, error)
- func PickRandomHost(ctx context.Context, session *session.Session, t *testing.T) *object.HostSystem
- func Session(ctx context.Context, t *testing.T) *session.Session
- func SessionWithESX(ctx context.Context, service string) (*session.Session, error)
- func SessionWithVPX(ctx context.Context, service string) (*session.Session, error)
- func SpecConfig(session *session.Session, name string) *spec.VirtualMachineConfigSpecConfig
- func VpxModelSetup(ctx context.Context, t *testing.T) (*simulator.Model, *simulator.Server, *session.Session)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateVM ¶
func CreateVM(op trace.Operation, sess *session.Session, name string) (types.ManagedObjectReference, error)
CreateVM provides a moref to a created VM
func PickRandomHost ¶
PickRandomHost returns a random object.HostSystem from the hosts attached to the datastore and also lives in the same cluster
func Session ¶
Session returns a session.Session struct
func SessionWithESX ¶
SessionWithESX returns a general-purpose ESX session for tests.
func SessionWithVPX ¶
SessionWithVPX returns a general-purpose VPX session for tests.
Types ¶
This section is empty.
       Source Files
      ¶
      Source Files
      ¶
    
- test.go
 Click to show internal directories. 
   Click to hide internal directories.