 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	PortLayerOptions = new(PortLayerOptionsType)
)
    Functions ¶
This section is empty.
Types ¶
type PortLayerOptionsType ¶
type PortLayerOptionsType struct {
	SDK       string        `long:"sdk" description:"SDK URL or proxy" env:"VC_URL" required:"true"`
	Cert      string        `long:"cert" description:"Client certificate" env:"VC_CERTIFICATE"`
	Key       string        `long:"key" description:"Private key file" env:"VC_PRIVATE_KEY"`
	Insecure  bool          `long:"insecure" default:"false" description:"Skip verification of server certificate" env:"VC_INSECURE"`
	Keepalive time.Duration `long:"keepalive" default:"20s" description:"Session timeout" env:"VC_KEEPALIVE"`
	DatacenterPath string `long:"datacenter" default:"/ha-datacenter" description:"Datacenter path" env:"DC_PATH" required:"true"`
	ClusterPath    string `long:"cluster" default:"" description:"Cluster path" env:"CS_PATH" required:"true"`
	PoolPath       string `long:"pool" default:"" description:"Resource pool path" env:"POOL_PATH" required:"true"`
	DatastorePath  string `long:"datastore" default:"/ha-datacenter/datastore/*" description:"Datastore path" env:"DS_PATH" required:"true"`
}
    
       Source Files
      ¶
      Source Files
      ¶
    
- options.go
 Click to show internal directories. 
   Click to hide internal directories.