Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snapshot ¶
type Snapshot struct { Name string `json:"name"` Description string `json:"description"` ID int32 `json:"id"` CreatedAt time.Time `json:"created_at"` }
Snapshot stores info about VM snapshot
type SnapshotCreateParams ¶
type SnapshotCreateParams struct { UUID string `json:"vm_uuid"` Datacenter string `json:"datacenter"` Name string `json:"name"` Description string `json:"description"` Memory bool `json:"memory"` Quiesce bool `json:"quiesce"` }
SnapshotCreateParams stores user request params
func (*SnapshotCreateParams) FillEmptyFields ¶
func (p *SnapshotCreateParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMDeployParams ¶
type VMDeployParams struct { Name string OVAURL string Datastores []string Networks map[string]string Datacenter string Cluster string Folder string }
VMDeployParams stores user request params
func (*VMDeployParams) FillEmptyFields ¶
func (p *VMDeployParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMFindParams ¶
VMFindParams stores user request parameters
func (*VMFindParams) FillEmptyFields ¶
func (p *VMFindParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMInfoParams ¶
VMInfoParams stores user request parameters
func (*VMInfoParams) FillEmptyFields ¶
func (p *VMInfoParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMListParams ¶
VMListParams stores user request params
func (*VMListParams) FillEmptyFields ¶
func (p *VMListParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMRestoreFromSnapshotParams ¶
type VMRestoreFromSnapshotParams struct { UUID string `json:"vm_uuid"` SnapshotID int32 `json:"snapshot_id"` Datacenter string `json:"datacenter"` PowerOn bool `json:"power_on"` }
VMRestoreFromSnapshotParams stores user request params
func (*VMRestoreFromSnapshotParams) FillEmptyFields ¶
func (p *VMRestoreFromSnapshotParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMSnapshotDeleteParams ¶
VMSnapshotDeleteParams stores user request parameters
func (*VMSnapshotDeleteParams) FillEmptyFields ¶
func (p *VMSnapshotDeleteParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMSnapshotsListParams ¶
VMSnapshotsListParams stores user request parameters
func (*VMSnapshotsListParams) FillEmptyFields ¶
func (p *VMSnapshotsListParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMSummary ¶
type VMSummary struct { Guest *vmwaretypes.GuestInfo `json:"Guest,omitempty"` Heartbeat vmwaretypes.ManagedEntityStatus `json:"HeartBeat,omitempty"` Runtime vmwaretypes.VirtualMachineRuntimeInfo `json:"Runtime,omitempty"` Config vmwaretypes.VirtualMachineConfigSummary `json:"Config,omitempty"` }
VMSummary stores some information about Virtual Machines