Documentation
¶
Index ¶
- type Condition
- type ConditionItem
- type ErrorBody
- type GetMachineData
- type GetMachineItem
- type GetMachineResource
- type GetMachineResponse
- type ScaleDownBody
- type ScaleDownMachineItem
- type ScaleDownResourceItem
- type ScaleDownResourceSpecItem
- type ScaleDownTenants
- type ScaleUpBody
- type ScaleUpMachineItem
- type ScaleUpResourceItem
- type ScaleUpResourceSpecItem
- type ScaleUpResponse
- type ScaleUpResponseData
- type ScaleUpResponseMachineItem
- type ScaleUpResponseResourceItem
- type ScaleUpTenants
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct {
Condition []ConditionItem `json:"condition"`
}
type ConditionItem ¶
type GetMachineData ¶
type GetMachineData struct {
Machines []GetMachineItem `json:"machines"`
}
type GetMachineItem ¶
type GetMachineItem struct {
FabricUUID string `json:"fabric_uuid"`
FabricID int `json:"fabric_id"`
MachineUUID string `json:"mach_uuid"`
MachineID int `json:"mach_id"`
MachineName string `json:"mach_name"`
TenantUUID string `json:"tenant_uuid"`
Status int `json:"mach_status"`
StatusDetail string `json:"mach_status_detail"`
Resources []GetMachineResource `json:"resources"`
}
type GetMachineResource ¶
type GetMachineResponse ¶
type GetMachineResponse struct {
Data GetMachineData `json:"data"`
}
type ScaleDownBody ¶
type ScaleDownBody struct {
Tenants ScaleDownTenants `json:"tenants"`
}
type ScaleDownMachineItem ¶
type ScaleDownMachineItem struct {
MachineUUID string `json:"mach_uuid"`
Resources []ScaleDownResourceItem `json:"resources"`
}
type ScaleDownResourceItem ¶
type ScaleDownResourceItem struct {
ResourceSpecs []ScaleDownResourceSpecItem `json:"res_specs"`
}
type ScaleDownTenants ¶
type ScaleDownTenants struct {
TenantUUID string `json:"tenant_uuid"`
Machines []ScaleDownMachineItem `json:"machines"`
}
type ScaleUpBody ¶
type ScaleUpBody struct {
Tenants ScaleUpTenants `json:"tenants"`
}
type ScaleUpMachineItem ¶
type ScaleUpMachineItem struct {
MachineUUID string `json:"mach_uuid"`
Resources []ScaleUpResourceItem `json:"resources"`
}
type ScaleUpResourceItem ¶
type ScaleUpResourceItem struct {
ResourceSpecs []ScaleUpResourceSpecItem `json:"res_specs"`
}
type ScaleUpResourceSpecItem ¶
type ScaleUpResponse ¶
type ScaleUpResponse struct {
Data ScaleUpResponseData `json:"data"`
}
type ScaleUpResponseData ¶
type ScaleUpResponseData struct {
Machines []ScaleUpResponseMachineItem `json:"machines"`
}
type ScaleUpResponseMachineItem ¶
type ScaleUpResponseMachineItem struct {
FabricUUID string `json:"fabric_uuid"`
FabricID int `json:"fabric_id"`
MachineUUID string `json:"mach_uuid"`
MachineID int `json:"mach_id"`
MachineName string `json:"mach_name"`
TenantUUID string `json:"tenant_uuid"`
Resources []ScaleUpResponseResourceItem `json:"resources"`
}
type ScaleUpTenants ¶
type ScaleUpTenants struct {
TenantUUID string `json:"tenant_uuid"`
Machines []ScaleUpMachineItem `json:"machines"`
}
Click to show internal directories.
Click to hide internal directories.