Documentation ¶
Index ¶
- type Role
- type Snapshot
- type SnapshotCreateParams
- type TaskInfoParams
- type VMAddRoleParams
- type VMDeleteParams
- type VMDeployParams
- type VMFindParams
- type VMFound
- type VMInfoParams
- type VMListParams
- type VMRestoreFromSnapshotParams
- type VMRolesListParams
- type VMSnapshotDeleteParams
- type VMSnapshotsListParams
- type VMSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role struct { Name string `json:"name"` ID int32 `json:"id"` Description struct { Label string `json:"label"` Summary string `json:"summary"` } `json:"description"` }
Role stores response from RoleList method
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 Datacenter string Name string Description string Memory bool Quiesce bool }
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 TaskInfoParams ¶
type TaskInfoParams struct {
TaskID string
}
TaskInfoParams stores user request parameters
type VMAddRoleParams ¶
VMAddRoleParams stores user request parameters
func (*VMAddRoleParams) FillEmptyFields ¶
func (p *VMAddRoleParams) FillEmptyFields(cfg *config.Config)
FillEmptyFields stores default parameters to the struct if some fields was empty
type VMDeleteParams ¶ added in v0.3.0
VMDeleteParams stores user request parameters
func (*VMDeleteParams) FillEmptyFields ¶ added in v0.3.0
func (p *VMDeleteParams) 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 Datacenter string Folder string Annotation string Networks map[string]string ComputerResources struct { Path string Type string } Datastores struct { Type string Names []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 Datacenter string SnapshotID int32 PowerOn bool }
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 VMRolesListParams ¶
VMRolesListParams stores user request parameters
func (*VMRolesListParams) FillEmptyFields ¶
func (p *VMRolesListParams) 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