Documentation
¶
Index ¶
- Constants
- type HttperrorsHTTPErrorResponse
- type MetalSwitchSync
- type RestStatus
- type RestVersion
- type V1BGPFilter
- type V1BootInfo
- type V1ChassisIdentifyLEDState
- type V1EmptyBody
- type V1FirewallCreateRequest
- type V1FirewallFindRequest
- type V1FirewallResponse
- type V1IPAllocateRequest
- type V1IPFindRequest
- type V1IPResponse
- type V1IPUpdateRequest
- type V1ImageCreateRequest
- type V1ImageResponse
- type V1ImageUpdateRequest
- type V1MachineAbortReinstallRequest
- type V1MachineAllocateRequest
- type V1MachineAllocation
- type V1MachineAllocationNetwork
- type V1MachineBIOS
- type V1MachineBlockDevice
- type V1MachineDiskPartition
- type V1MachineFinalizeAllocationRequest
- type V1MachineFindRequest
- type V1MachineFru
- type V1MachineHardware
- type V1MachineHardwareExtended
- type V1MachineIPMI
- type V1MachineIPMIReport
- type V1MachineIPMIReportResponse
- type V1MachineIPMIResponse
- type V1MachineNetwork
- type V1MachineNic
- type V1MachineNicExtended
- type V1MachineProvisioningEvent
- type V1MachineRecentProvisioningEvents
- type V1MachineRegisterRequest
- type V1MachineReinstallRequest
- type V1MachineResponse
- type V1MachineState
- type V1Meta
- type V1NetworkAllocateRequest
- type V1NetworkCreateRequest
- type V1NetworkFindRequest
- type V1NetworkResponse
- type V1NetworkUpdateRequest
- type V1NetworkUsage
- type V1PartitionBootConfiguration
- type V1PartitionCapacity
- type V1PartitionCreateRequest
- type V1PartitionResponse
- type V1PartitionUpdateRequest
- type V1ProjectFindRequest
- type V1ProjectResponse
- type V1Quota
- type V1QuotaSet
- type V1ServerCapacity
- type V1SizeConstraint
- type V1SizeConstraintMatchingLog
- type V1SizeCreateRequest
- type V1SizeMatchingLog
- type V1SizeResponse
- type V1SizeUpdateRequest
- type V1SwitchConnection
- type V1SwitchNic
- type V1SwitchNotifyRequest
- type V1SwitchRegisterRequest
- type V1SwitchResponse
- type V1SwitchUpdateRequest
Constants ¶
const ( // V1IPAllocateRequestTypeEphemeral captures enum value "ephemeral" V1IPAllocateRequestTypeEphemeral string = "ephemeral" // V1IPAllocateRequestTypeStatic captures enum value "static" V1IPAllocateRequestTypeStatic string = "static" )
const ( // V1IPResponseTypeEphemeral captures enum value "ephemeral" V1IPResponseTypeEphemeral string = "ephemeral" // V1IPResponseTypeStatic captures enum value "static" V1IPResponseTypeStatic string = "static" )
const ( // V1IPUpdateRequestTypeEphemeral captures enum value "ephemeral" V1IPUpdateRequestTypeEphemeral string = "ephemeral" // V1IPUpdateRequestTypeStatic captures enum value "static" V1IPUpdateRequestTypeStatic string = "static" )
const ( // V1SizeConstraintTypeCores captures enum value "cores" V1SizeConstraintTypeCores string = "cores" // V1SizeConstraintTypeMemory captures enum value "memory" V1SizeConstraintTypeMemory string = "memory" // V1SizeConstraintTypeStorage captures enum value "storage" V1SizeConstraintTypeStorage string = "storage" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttperrorsHTTPErrorResponse ¶
type HttperrorsHTTPErrorResponse struct {
// error message
// Required: true
Message *string `json:"message"`
// http status code
// Required: true
Statuscode *int32 `json:"statuscode"`
}
HttperrorsHTTPErrorResponse httperrors HTTP error response swagger:model httperrors.HTTPErrorResponse
func (*HttperrorsHTTPErrorResponse) MarshalBinary ¶
func (m *HttperrorsHTTPErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HttperrorsHTTPErrorResponse) UnmarshalBinary ¶
func (m *HttperrorsHTTPErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetalSwitchSync ¶ added in v0.7.1
type MetalSwitchSync struct {
// duration
// Required: true
Duration *int64 `json:"duration"`
// error
// Required: true
Error *string `json:"error"`
// time
// Required: true
// Format: date-time
Time *strfmt.DateTime `json:"time"`
}
MetalSwitchSync metal switch sync swagger:model metal.SwitchSync
func (*MetalSwitchSync) MarshalBinary ¶ added in v0.7.1
func (m *MetalSwitchSync) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetalSwitchSync) UnmarshalBinary ¶ added in v0.7.1
func (m *MetalSwitchSync) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestStatus ¶
type RestStatus struct {
// message
// Required: true
Message *string `json:"message"`
// status
// Required: true
Status *string `json:"status"`
}
RestStatus rest status swagger:model rest.status
func (*RestStatus) MarshalBinary ¶
func (m *RestStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestStatus) UnmarshalBinary ¶
func (m *RestStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestVersion ¶
type RestVersion struct {
// builddate
// Required: true
Builddate *string `json:"builddate"`
// gitsha1
// Required: true
Gitsha1 *string `json:"gitsha1"`
// name
// Required: true
Name *string `json:"name"`
// revision
// Required: true
Revision *string `json:"revision"`
// version
// Required: true
Version *string `json:"version"`
}
RestVersion rest version swagger:model rest.version
func (*RestVersion) MarshalBinary ¶
func (m *RestVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestVersion) UnmarshalBinary ¶
func (m *RestVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1BGPFilter ¶
type V1BGPFilter struct {
// the cidr addresses that are allowed to be announced at this switch port
// Required: true
Cidrs []string `json:"cidrs"`
// the virtual networks that are exposed at this switch port
Vnis []string `json:"vnis"`
}
V1BGPFilter v1 b g p filter swagger:model v1.BGPFilter
func (*V1BGPFilter) MarshalBinary ¶
func (m *V1BGPFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1BGPFilter) UnmarshalBinary ¶
func (m *V1BGPFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1BootInfo ¶ added in v0.4.0
type V1BootInfo struct {
// the bootloader ID
// Required: true
Bootloaderid *string `json:"bootloaderid"`
// the cmdline
// Required: true
Cmdline *string `json:"cmdline"`
// the ID of the current image
// Required: true
ImageID *string `json:"image_id"`
// the initrd image
// Required: true
Initrd *string `json:"initrd"`
// the kernel
// Required: true
Kernel *string `json:"kernel"`
// the partition containing the OS
// Required: true
OsPartition *string `json:"os_partition"`
// the primary disk
// Required: true
PrimaryDisk *string `json:"primary_disk"`
}
V1BootInfo v1 boot info swagger:model v1.BootInfo
func (*V1BootInfo) MarshalBinary ¶ added in v0.4.0
func (m *V1BootInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1BootInfo) UnmarshalBinary ¶ added in v0.4.0
func (m *V1BootInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ChassisIdentifyLEDState ¶
type V1ChassisIdentifyLEDState struct {
// a description why this chassis identify LED is in the given state
// Required: true
Description *string `json:"description"`
// the state of this chassis identify LED. empty means LED-OFF
// Required: true
Value *string `json:"value"`
}
V1ChassisIdentifyLEDState v1 chassis identify l e d state swagger:model v1.ChassisIdentifyLEDState
func (*V1ChassisIdentifyLEDState) MarshalBinary ¶
func (m *V1ChassisIdentifyLEDState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ChassisIdentifyLEDState) UnmarshalBinary ¶
func (m *V1ChassisIdentifyLEDState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1EmptyBody ¶
type V1EmptyBody interface{}
V1EmptyBody v1 empty body swagger:model v1.EmptyBody
type V1FirewallCreateRequest ¶
type V1FirewallCreateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// if set to true, this firewall is set up in a High Available manner
Ha bool `json:"ha,omitempty"`
// the hostname for the allocated machine (defaults to metal)
Hostname string `json:"hostname,omitempty"`
// the image id to assign this machine to
// Required: true
Imageid *string `json:"imageid"`
// the ips to attach to this machine additionally
Ips []string `json:"ips"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the networks that this machine will be placed in.
Networks []*V1MachineAllocationNetwork `json:"networks"`
// the partition id to assign this machine to
// Required: true
Partitionid *string `json:"partitionid"`
// the project id to assign this machine to
// Required: true
Projectid *string `json:"projectid"`
// the size id to assign this machine to
// Required: true
Sizeid *string `json:"sizeid"`
// the public ssh keys to access the machine with
// Required: true
SSHPubKeys []string `json:"ssh_pub_keys"`
// tags for this machine
Tags []string `json:"tags"`
// cloud-init.io compatible userdata must be base64 encoded
UserData string `json:"user_data,omitempty"`
// if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated. this field overrules size and partition
UUID string `json:"uuid,omitempty"`
}
V1FirewallCreateRequest v1 firewall create request swagger:model v1.FirewallCreateRequest
func (*V1FirewallCreateRequest) MarshalBinary ¶
func (m *V1FirewallCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallCreateRequest) UnmarshalBinary ¶
func (m *V1FirewallCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirewallFindRequest ¶
type V1FirewallFindRequest struct {
// allocation hostname
// Required: true
AllocationHostname *string `json:"allocation_hostname"`
// allocation image id
// Required: true
AllocationImageID *string `json:"allocation_image_id"`
// allocation name
// Required: true
AllocationName *string `json:"allocation_name"`
// allocation project
// Required: true
AllocationProject *string `json:"allocation_project"`
// allocation succeeded
// Required: true
AllocationSucceeded *bool `json:"allocation_succeeded"`
// disk names
// Required: true
DiskNames []string `json:"disk_names"`
// disk sizes
// Required: true
DiskSizes []int64 `json:"disk_sizes"`
// fru board mfg
// Required: true
FruBoardMfg *string `json:"fru_board_mfg"`
// fru board mfg serial
// Required: true
FruBoardMfgSerial *string `json:"fru_board_mfg_serial"`
// fru board part number
// Required: true
FruBoardPartNumber *string `json:"fru_board_part_number"`
// fru chassis part number
// Required: true
FruChassisPartNumber *string `json:"fru_chassis_part_number"`
// fru chassis part serial
// Required: true
FruChassisPartSerial *string `json:"fru_chassis_part_serial"`
// fru product manufacturer
// Required: true
FruProductManufacturer *string `json:"fru_product_manufacturer"`
// fru product part number
// Required: true
FruProductPartNumber *string `json:"fru_product_part_number"`
// fru product serial
// Required: true
FruProductSerial *string `json:"fru_product_serial"`
// hardware cpu cores
// Required: true
HardwareCPUCores *int64 `json:"hardware_cpu_cores"`
// hardware memory
// Required: true
HardwareMemory *int64 `json:"hardware_memory"`
// id
// Required: true
ID *string `json:"id"`
// ipmi address
// Required: true
IPMIAddress *string `json:"ipmi_address"`
// ipmi interface
// Required: true
IPMIInterface *string `json:"ipmi_interface"`
// ipmi mac address
// Required: true
IPMIMacAddress *string `json:"ipmi_mac_address"`
// ipmi user
// Required: true
IPMIUser *string `json:"ipmi_user"`
// liveliness
// Required: true
Liveliness *string `json:"liveliness"`
// name
// Required: true
Name *string `json:"name"`
// network asns
// Required: true
NetworkAsns []int64 `json:"network_asns"`
// network destination prefixes
// Required: true
NetworkDestinationPrefixes []string `json:"network_destination_prefixes"`
// network ids
// Required: true
NetworkIds []string `json:"network_ids"`
// network ips
// Required: true
NetworkIps []string `json:"network_ips"`
// network nat
// Required: true
NetworkNat *bool `json:"network_nat"`
// network prefixes
// Required: true
NetworkPrefixes []string `json:"network_prefixes"`
// network private
// Required: true
NetworkPrivate *bool `json:"network_private"`
// network underlay
// Required: true
NetworkUnderlay *bool `json:"network_underlay"`
// network vrfs
// Required: true
NetworkVrfs []int64 `json:"network_vrfs"`
// nics mac addresses
// Required: true
NicsMacAddresses []string `json:"nics_mac_addresses"`
// nics names
// Required: true
NicsNames []string `json:"nics_names"`
// nics neighbor mac addresses
// Required: true
NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses"`
// nics neighbor names
// Required: true
NicsNeighborNames []string `json:"nics_neighbor_names"`
// nics neighbor vrfs
// Required: true
NicsNeighborVrfs []string `json:"nics_neighbor_vrfs"`
// nics vrfs
// Required: true
NicsVrfs []string `json:"nics_vrfs"`
// partition id
// Required: true
PartitionID *string `json:"partition_id"`
// rackid
// Required: true
Rackid *string `json:"rackid"`
// sizeid
// Required: true
Sizeid *string `json:"sizeid"`
// state value
// Required: true
StateValue *string `json:"state_value"`
// tags
// Required: true
Tags []string `json:"tags"`
}
V1FirewallFindRequest v1 firewall find request swagger:model v1.FirewallFindRequest
func (*V1FirewallFindRequest) MarshalBinary ¶
func (m *V1FirewallFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallFindRequest) UnmarshalBinary ¶
func (m *V1FirewallFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirewallResponse ¶
type V1FirewallResponse struct {
// the allocation data of an allocated machine
// Required: true
Allocation *V1MachineAllocation `json:"allocation"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios"`
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the partition assigned to this machine
// Required: true
// Read Only: true
Partition *V1PartitionResponse `json:"partition"`
// the rack assigned to this machine
// Required: true
// Read Only: true
Rackid string `json:"rackid"`
// the size of this machine
// Required: true
// Read Only: true
Size *V1SizeResponse `json:"size"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags"`
}
V1FirewallResponse v1 firewall response swagger:model v1.FirewallResponse
func (*V1FirewallResponse) MarshalBinary ¶
func (m *V1FirewallResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallResponse) UnmarshalBinary ¶
func (m *V1FirewallResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPAllocateRequest ¶
type V1IPAllocateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the machine id this ip should be associated with
// Required: true
Machineid *string `json:"machineid"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the network this ip allocate request address belongs to
// Required: true
Networkid *string `json:"networkid"`
// the project this ip address belongs to
// Required: true
Projectid *string `json:"projectid"`
// free tags that you associate with this ip.
// Required: true
Tags []string `json:"tags"`
// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
// Required: true
// Enum: [ephemeral static]
Type *string `json:"type"`
}
V1IPAllocateRequest v1 IP allocate request swagger:model v1.IPAllocateRequest
func (*V1IPAllocateRequest) MarshalBinary ¶
func (m *V1IPAllocateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IPAllocateRequest) UnmarshalBinary ¶
func (m *V1IPAllocateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPFindRequest ¶
type V1IPFindRequest struct {
// the address (ipv4 or ipv6) of this ip
// Required: true
Ipaddress *string `json:"ipaddress"`
// the machine an ip address is associated to
// Required: true
Machineid *string `json:"machineid"`
// the network this ip allocate request address belongs to
// Required: true
Networkid *string `json:"networkid"`
// the prefix of the network this ip address belongs to
// Required: true
Networkprefix *string `json:"networkprefix"`
// the project this ip address belongs to, empty if not strong coupled
// Required: true
Projectid *string `json:"projectid"`
// the tags that are assigned to this ip address
// Required: true
Tags []string `json:"tags"`
// the type of the ip address, ephemeral or static
// Required: true
Type *string `json:"type"`
}
V1IPFindRequest v1 IP find request swagger:model v1.IPFindRequest
func (*V1IPFindRequest) MarshalBinary ¶
func (m *V1IPFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IPFindRequest) UnmarshalBinary ¶
func (m *V1IPFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPResponse ¶
type V1IPResponse struct {
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// the address (ipv4 or ipv6) of this ip
// Required: true
// Unique: true
Ipaddress *string `json:"ipaddress"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the network this ip allocate request address belongs to
// Required: true
Networkid *string `json:"networkid"`
// the project this ip address belongs to
// Required: true
Projectid *string `json:"projectid"`
// free tags that you associate with this ip.
// Required: true
Tags []string `json:"tags"`
// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
// Required: true
// Enum: [ephemeral static]
Type *string `json:"type"`
}
V1IPResponse v1 IP response swagger:model v1.IPResponse
func (*V1IPResponse) MarshalBinary ¶
func (m *V1IPResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IPResponse) UnmarshalBinary ¶
func (m *V1IPResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPUpdateRequest ¶
type V1IPUpdateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the address (ipv4 or ipv6) of this ip
// Required: true
// Unique: true
Ipaddress *string `json:"ipaddress"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// free tags that you associate with this ip.
// Required: true
Tags []string `json:"tags"`
// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
// Required: true
// Enum: [ephemeral static]
Type *string `json:"type"`
}
V1IPUpdateRequest v1 IP update request swagger:model v1.IPUpdateRequest
func (*V1IPUpdateRequest) MarshalBinary ¶
func (m *V1IPUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IPUpdateRequest) UnmarshalBinary ¶
func (m *V1IPUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageCreateRequest ¶
type V1ImageCreateRequest struct {
// classification of this image
Classification string `json:"classification,omitempty"`
// a description for this entity
Description string `json:"description,omitempty"`
// expirationDate of this image
// Format: date-time
ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"`
// features of this image
Features []string `json:"features"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the url of this image
// Required: true
URL *string `json:"url"`
}
V1ImageCreateRequest v1 image create request swagger:model v1.ImageCreateRequest
func (*V1ImageCreateRequest) MarshalBinary ¶
func (m *V1ImageCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageCreateRequest) UnmarshalBinary ¶
func (m *V1ImageCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageResponse ¶
type V1ImageResponse struct {
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// classification of this image
Classification string `json:"classification,omitempty"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// expirationDate of this image
// Required: true
// Format: date-time
ExpirationDate *strfmt.DateTime `json:"expirationDate"`
// features of this image
Features []string `json:"features"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the url of this image
URL string `json:"url,omitempty"`
// machines where this image is in use
Usedby []string `json:"usedby"`
}
V1ImageResponse v1 image response swagger:model v1.ImageResponse
func (*V1ImageResponse) MarshalBinary ¶
func (m *V1ImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageResponse) UnmarshalBinary ¶
func (m *V1ImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageUpdateRequest ¶
type V1ImageUpdateRequest struct {
// classification of this image
Classification string `json:"classification,omitempty"`
// a description for this entity
Description string `json:"description,omitempty"`
// expirationDate of this image
// Required: true
// Format: date-time
ExpirationDate *strfmt.DateTime `json:"expirationDate"`
// features of this image
Features []string `json:"features"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the url of this image
URL string `json:"url,omitempty"`
// machines where this image is in use
Usedby []string `json:"usedby"`
}
V1ImageUpdateRequest v1 image update request swagger:model v1.ImageUpdateRequest
func (*V1ImageUpdateRequest) MarshalBinary ¶
func (m *V1ImageUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageUpdateRequest) UnmarshalBinary ¶
func (m *V1ImageUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineAbortReinstallRequest ¶ added in v0.4.0
type V1MachineAbortReinstallRequest struct {
// indicates whether the primary disk is already wiped
// Required: true
PrimaryDiskWiped *bool `json:"primary_disk_wiped"`
}
V1MachineAbortReinstallRequest v1 machine abort reinstall request swagger:model v1.MachineAbortReinstallRequest
func (*V1MachineAbortReinstallRequest) MarshalBinary ¶ added in v0.4.0
func (m *V1MachineAbortReinstallRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineAbortReinstallRequest) UnmarshalBinary ¶ added in v0.4.0
func (m *V1MachineAbortReinstallRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineAllocateRequest ¶
type V1MachineAllocateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the hostname for the allocated machine (defaults to metal)
Hostname string `json:"hostname,omitempty"`
// the image id to assign this machine to
// Required: true
Imageid *string `json:"imageid"`
// the ips to attach to this machine additionally
Ips []string `json:"ips"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the networks that this machine will be placed in.
Networks []*V1MachineAllocationNetwork `json:"networks"`
// the partition id to assign this machine to
// Required: true
Partitionid *string `json:"partitionid"`
// the project id to assign this machine to
// Required: true
Projectid *string `json:"projectid"`
// the size id to assign this machine to
// Required: true
Sizeid *string `json:"sizeid"`
// the public ssh keys to access the machine with
// Required: true
SSHPubKeys []string `json:"ssh_pub_keys"`
// tags for this machine
Tags []string `json:"tags"`
// cloud-init.io compatible userdata must be base64 encoded
UserData string `json:"user_data,omitempty"`
// if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated. this field overrules size and partition
UUID string `json:"uuid,omitempty"`
}
V1MachineAllocateRequest v1 machine allocate request swagger:model v1.MachineAllocateRequest
func (*V1MachineAllocateRequest) MarshalBinary ¶
func (m *V1MachineAllocateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineAllocateRequest) UnmarshalBinary ¶
func (m *V1MachineAllocateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineAllocation ¶
type V1MachineAllocation struct {
// information required for booting the machine from HD
BootInfo *V1BootInfo `json:"boot_info,omitempty"`
// the console password which was generated while provisioning
ConsolePassword string `json:"console_password,omitempty"`
// the time when the machine was created
// Required: true
// Format: date-time
Created *strfmt.DateTime `json:"created"`
// a description for this machine
Description string `json:"description,omitempty"`
// the hostname which will be used when creating the machine
// Required: true
Hostname *string `json:"hostname"`
// the image assigned to this machine
// Read Only: true
Image *V1ImageResponse `json:"image,omitempty"`
// the name of the machine
// Required: true
Name *string `json:"name"`
// the networks of this machine
// Required: true
Networks []*V1MachineNetwork `json:"networks"`
// the project id that this machine is assigned to
// Required: true
Project *string `json:"project"`
// indicates whether to reinstall the machine
// Required: true
Reinstall *bool `json:"reinstall"`
// the public ssh keys to access the machine with
// Required: true
SSHPubKeys []string `json:"ssh_pub_keys"`
// if the allocation of the machine was successful, this is set to true
// Required: true
Succeeded *bool `json:"succeeded"`
// userdata to execute post installation tasks
UserData string `json:"user_data,omitempty"`
}
V1MachineAllocation v1 machine allocation swagger:model v1.MachineAllocation
func (*V1MachineAllocation) MarshalBinary ¶
func (m *V1MachineAllocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineAllocation) UnmarshalBinary ¶
func (m *V1MachineAllocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineAllocationNetwork ¶
type V1MachineAllocationNetwork struct {
// will automatically acquire an ip in this network if set to true, default is true
// Required: true
Autoacquire *bool `json:"autoacquire"`
// the id of the network that this machine will be placed in
// Required: true
Networkid *string `json:"networkid"`
}
V1MachineAllocationNetwork v1 machine allocation network swagger:model v1.MachineAllocationNetwork
func (*V1MachineAllocationNetwork) MarshalBinary ¶
func (m *V1MachineAllocationNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineAllocationNetwork) UnmarshalBinary ¶
func (m *V1MachineAllocationNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineBIOS ¶
type V1MachineBIOS struct {
// the bios date
// Required: true
Date *string `json:"date"`
// the bios vendor
// Required: true
Vendor *string `json:"vendor"`
// the bios version
// Required: true
Version *string `json:"version"`
}
V1MachineBIOS The bios version swagger:model v1.MachineBIOS
func (*V1MachineBIOS) MarshalBinary ¶
func (m *V1MachineBIOS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineBIOS) UnmarshalBinary ¶
func (m *V1MachineBIOS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineBlockDevice ¶
type V1MachineBlockDevice struct {
// the name of this block device
// Required: true
Name *string `json:"name"`
// the partitions of this disk
// Required: true
Partitions []*V1MachineDiskPartition `json:"partitions"`
// whether this disk has the OS installed
// Required: true
Primary *bool `json:"primary"`
// the size of this block device
// Required: true
Size *int64 `json:"size"`
}
V1MachineBlockDevice v1 machine block device swagger:model v1.MachineBlockDevice
func (*V1MachineBlockDevice) MarshalBinary ¶
func (m *V1MachineBlockDevice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineBlockDevice) UnmarshalBinary ¶
func (m *V1MachineBlockDevice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineDiskPartition ¶ added in v0.4.0
type V1MachineDiskPartition struct {
// the partition device name, e.g. sda1
// Required: true
Device *string `json:"device"`
// the partition filesystem
// Required: true
Filesystem *string `json:"filesystem"`
// the partition GPT guid
// Required: true
Gptguid *string `json:"gptguid"`
// the partition GPT type
// Required: true
Gpttyoe *string `json:"gpttyoe"`
// the partition label
// Required: true
Label *string `json:"label"`
// the partition mount options
// Required: true
Mountoptions []string `json:"mountoptions"`
// the partition mount point
// Required: true
Mountpoint *string `json:"mountpoint"`
// the partition number
// Required: true
Number *int64 `json:"number"`
// the partition properties
// Required: true
Properties map[string]string `json:"properties"`
// the partition size
// Required: true
Size *int64 `json:"size"`
}
V1MachineDiskPartition v1 machine disk partition swagger:model v1.MachineDiskPartition
func (*V1MachineDiskPartition) MarshalBinary ¶ added in v0.4.0
func (m *V1MachineDiskPartition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineDiskPartition) UnmarshalBinary ¶ added in v0.4.0
func (m *V1MachineDiskPartition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineFinalizeAllocationRequest ¶
type V1MachineFinalizeAllocationRequest struct {
// the bootloader ID
// Required: true
Bootloaderid *string `json:"bootloaderid"`
// the cmdline
// Required: true
Cmdline *string `json:"cmdline"`
// the console password which was generated while provisioning
// Required: true
ConsolePassword *string `json:"console_password"`
// the initrd image
// Required: true
Initrd *string `json:"initrd"`
// the kernel
// Required: true
Kernel *string `json:"kernel"`
// the partition that has the OS installed
// Required: true
Ospartition *string `json:"ospartition"`
// the device name of the primary disk
// Required: true
Primarydisk *string `json:"primarydisk"`
}
V1MachineFinalizeAllocationRequest v1 machine finalize allocation request swagger:model v1.MachineFinalizeAllocationRequest
func (*V1MachineFinalizeAllocationRequest) MarshalBinary ¶
func (m *V1MachineFinalizeAllocationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineFinalizeAllocationRequest) UnmarshalBinary ¶
func (m *V1MachineFinalizeAllocationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineFindRequest ¶
type V1MachineFindRequest struct {
// allocation hostname
// Required: true
AllocationHostname *string `json:"allocation_hostname"`
// allocation image id
// Required: true
AllocationImageID *string `json:"allocation_image_id"`
// allocation name
// Required: true
AllocationName *string `json:"allocation_name"`
// allocation project
// Required: true
AllocationProject *string `json:"allocation_project"`
// allocation succeeded
// Required: true
AllocationSucceeded *bool `json:"allocation_succeeded"`
// disk names
// Required: true
DiskNames []string `json:"disk_names"`
// disk sizes
// Required: true
DiskSizes []int64 `json:"disk_sizes"`
// fru board mfg
// Required: true
FruBoardMfg *string `json:"fru_board_mfg"`
// fru board mfg serial
// Required: true
FruBoardMfgSerial *string `json:"fru_board_mfg_serial"`
// fru board part number
// Required: true
FruBoardPartNumber *string `json:"fru_board_part_number"`
// fru chassis part number
// Required: true
FruChassisPartNumber *string `json:"fru_chassis_part_number"`
// fru chassis part serial
// Required: true
FruChassisPartSerial *string `json:"fru_chassis_part_serial"`
// fru product manufacturer
// Required: true
FruProductManufacturer *string `json:"fru_product_manufacturer"`
// fru product part number
// Required: true
FruProductPartNumber *string `json:"fru_product_part_number"`
// fru product serial
// Required: true
FruProductSerial *string `json:"fru_product_serial"`
// hardware cpu cores
// Required: true
HardwareCPUCores *int64 `json:"hardware_cpu_cores"`
// hardware memory
// Required: true
HardwareMemory *int64 `json:"hardware_memory"`
// id
// Required: true
ID *string `json:"id"`
// ipmi address
// Required: true
IPMIAddress *string `json:"ipmi_address"`
// ipmi interface
// Required: true
IPMIInterface *string `json:"ipmi_interface"`
// ipmi mac address
// Required: true
IPMIMacAddress *string `json:"ipmi_mac_address"`
// ipmi user
// Required: true
IPMIUser *string `json:"ipmi_user"`
// liveliness
// Required: true
Liveliness *string `json:"liveliness"`
// name
// Required: true
Name *string `json:"name"`
// network asns
// Required: true
NetworkAsns []int64 `json:"network_asns"`
// network destination prefixes
// Required: true
NetworkDestinationPrefixes []string `json:"network_destination_prefixes"`
// network ids
// Required: true
NetworkIds []string `json:"network_ids"`
// network ips
// Required: true
NetworkIps []string `json:"network_ips"`
// network nat
// Required: true
NetworkNat *bool `json:"network_nat"`
// network prefixes
// Required: true
NetworkPrefixes []string `json:"network_prefixes"`
// network private
// Required: true
NetworkPrivate *bool `json:"network_private"`
// network underlay
// Required: true
NetworkUnderlay *bool `json:"network_underlay"`
// network vrfs
// Required: true
NetworkVrfs []int64 `json:"network_vrfs"`
// nics mac addresses
// Required: true
NicsMacAddresses []string `json:"nics_mac_addresses"`
// nics names
// Required: true
NicsNames []string `json:"nics_names"`
// nics neighbor mac addresses
// Required: true
NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses"`
// nics neighbor names
// Required: true
NicsNeighborNames []string `json:"nics_neighbor_names"`
// nics neighbor vrfs
// Required: true
NicsNeighborVrfs []string `json:"nics_neighbor_vrfs"`
// nics vrfs
// Required: true
NicsVrfs []string `json:"nics_vrfs"`
// partition id
// Required: true
PartitionID *string `json:"partition_id"`
// rackid
// Required: true
Rackid *string `json:"rackid"`
// sizeid
// Required: true
Sizeid *string `json:"sizeid"`
// state value
// Required: true
StateValue *string `json:"state_value"`
// tags
// Required: true
Tags []string `json:"tags"`
}
V1MachineFindRequest v1 machine find request swagger:model v1.MachineFindRequest
func (*V1MachineFindRequest) MarshalBinary ¶
func (m *V1MachineFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineFindRequest) UnmarshalBinary ¶
func (m *V1MachineFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineFru ¶
type V1MachineFru struct {
// the board mfg
BoardMfg string `json:"board_mfg,omitempty"`
// the board mfg serial
BoardMfgSerial string `json:"board_mfg_serial,omitempty"`
// the board part number
BoardPartNumber string `json:"board_part_number,omitempty"`
// the chassis part number
ChassisPartNumber string `json:"chassis_part_number,omitempty"`
// the chassis part serial
ChassisPartSerial string `json:"chassis_part_serial,omitempty"`
// the product manufacturer
ProductManufacturer string `json:"product_manufacturer,omitempty"`
// the product part number
ProductPartNumber string `json:"product_part_number,omitempty"`
// the product serial
ProductSerial string `json:"product_serial,omitempty"`
}
V1MachineFru The Field Replaceable Unit data swagger:model v1.MachineFru
func (*V1MachineFru) MarshalBinary ¶
func (m *V1MachineFru) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineFru) UnmarshalBinary ¶
func (m *V1MachineFru) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineHardware ¶
type V1MachineHardware struct {
// the number of cpu cores
// Required: true
CPUCores *int32 `json:"cpu_cores"`
// the list of block devices of this machine
// Required: true
Disks []*V1MachineBlockDevice `json:"disks"`
// the total memory of the machine
// Required: true
Memory *int64 `json:"memory"`
// the list of network interfaces of this machine
// Required: true
Nics []*V1MachineNic `json:"nics"`
}
V1MachineHardware v1 machine hardware swagger:model v1.MachineHardware
func (*V1MachineHardware) MarshalBinary ¶
func (m *V1MachineHardware) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineHardware) UnmarshalBinary ¶
func (m *V1MachineHardware) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineHardwareExtended ¶
type V1MachineHardwareExtended struct {
// the number of cpu cores
// Required: true
CPUCores *int32 `json:"cpu_cores"`
// the list of block devices of this machine
// Required: true
Disks []*V1MachineBlockDevice `json:"disks"`
// the total memory of the machine
// Required: true
Memory *int64 `json:"memory"`
// the list of network interfaces of this machine with extended information
// Required: true
Nics []*V1MachineNicExtended `json:"nics"`
}
V1MachineHardwareExtended v1 machine hardware extended swagger:model v1.MachineHardwareExtended
func (*V1MachineHardwareExtended) MarshalBinary ¶
func (m *V1MachineHardwareExtended) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineHardwareExtended) UnmarshalBinary ¶
func (m *V1MachineHardwareExtended) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIPMI ¶
type V1MachineIPMI struct {
// address
// Required: true
Address *string `json:"address"`
// bmcversion
// Required: true
Bmcversion *string `json:"bmcversion"`
// fru
// Required: true
Fru *V1MachineFru `json:"fru"`
// interface
// Required: true
Interface *string `json:"interface"`
// mac
// Required: true
Mac *string `json:"mac"`
// password
// Required: true
Password *string `json:"password"`
// user
// Required: true
User *string `json:"user"`
}
V1MachineIPMI The IPMI connection data swagger:model v1.MachineIPMI
func (*V1MachineIPMI) MarshalBinary ¶
func (m *V1MachineIPMI) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIPMI) UnmarshalBinary ¶
func (m *V1MachineIPMI) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIPMIReport ¶
type V1MachineIPMIReport struct {
// the active leases to be reported by a management server
// Required: true
Leases map[string]string `json:"leases"`
// the partition id for the ipmi report
// Required: true
Partitionid *string `json:"partitionid"`
}
V1MachineIPMIReport v1 machine ipmi report swagger:model v1.MachineIpmiReport
func (*V1MachineIPMIReport) MarshalBinary ¶
func (m *V1MachineIPMIReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIPMIReport) UnmarshalBinary ¶
func (m *V1MachineIPMIReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIPMIReportResponse ¶
type V1MachineIPMIReportResponse struct {
// the leases that triggered a creation of a machine entity
// Required: true
Created map[string]string `json:"created"`
// the leases that triggered an update of ipmi data
// Required: true
Updated map[string]string `json:"updated"`
}
V1MachineIPMIReportResponse v1 machine ipmi report response swagger:model v1.MachineIpmiReportResponse
func (*V1MachineIPMIReportResponse) MarshalBinary ¶
func (m *V1MachineIPMIReportResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIPMIReportResponse) UnmarshalBinary ¶
func (m *V1MachineIPMIReportResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIPMIResponse ¶
type V1MachineIPMIResponse struct {
// the allocation data of an allocated machine
// Required: true
Allocation *V1MachineAllocation `json:"allocation"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios"`
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// ipmi information of this machine
// Required: true
IPMI *V1MachineIPMI `json:"ipmi"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the partition assigned to this machine
// Required: true
// Read Only: true
Partition *V1PartitionResponse `json:"partition"`
// the rack assigned to this machine
// Required: true
// Read Only: true
Rackid string `json:"rackid"`
// the size of this machine
// Required: true
// Read Only: true
Size *V1SizeResponse `json:"size"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags"`
}
V1MachineIPMIResponse v1 machine IP m i response swagger:model v1.MachineIPMIResponse
func (*V1MachineIPMIResponse) MarshalBinary ¶
func (m *V1MachineIPMIResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIPMIResponse) UnmarshalBinary ¶
func (m *V1MachineIPMIResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineNetwork ¶
type V1MachineNetwork struct {
// ASN number for this network in the bgp configuration
// Required: true
Asn *int64 `json:"asn"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes"`
// the ip addresses of the allocated machine in this vrf
// Required: true
Ips []string `json:"ips"`
// if set to true, packets leaving this network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat"`
// the networkID of the allocated machine in this vrf
// Required: true
Networkid *string `json:"networkid"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes"`
// indicates whether this network is the private network of this machine
// Required: true
Private *bool `json:"private"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay"`
// the vrf of the allocated machine
// Required: true
Vrf *int64 `json:"vrf"`
}
V1MachineNetwork prefixes that are reachable within this network swagger:model v1.MachineNetwork
func (*V1MachineNetwork) MarshalBinary ¶
func (m *V1MachineNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineNetwork) UnmarshalBinary ¶
func (m *V1MachineNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineNic ¶
type V1MachineNic struct {
// the mac address of this network interface
// Required: true
Mac *string `json:"mac"`
// the name of this network interface
// Required: true
Name *string `json:"name"`
}
V1MachineNic v1 machine nic swagger:model v1.MachineNic
func (*V1MachineNic) MarshalBinary ¶
func (m *V1MachineNic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineNic) UnmarshalBinary ¶
func (m *V1MachineNic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineNicExtended ¶
type V1MachineNicExtended struct {
// the mac address of this network interface
// Required: true
Mac *string `json:"mac"`
// the name of this network interface
// Required: true
Name *string `json:"name"`
// the neighbors visible to this network interface
// Required: true
Neighbors []*V1MachineNicExtended `json:"neighbors"`
}
V1MachineNicExtended v1 machine nic extended swagger:model v1.MachineNicExtended
func (*V1MachineNicExtended) MarshalBinary ¶
func (m *V1MachineNicExtended) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineNicExtended) UnmarshalBinary ¶
func (m *V1MachineNicExtended) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineProvisioningEvent ¶
type V1MachineProvisioningEvent struct {
// the event emitted by the machine
// Required: true
Event *string `json:"event"`
// an additional message to add to the event
Message string `json:"message,omitempty"`
// the time that this event was received
// Read Only: true
// Format: date-time
Time strfmt.DateTime `json:"time,omitempty"`
}
V1MachineProvisioningEvent v1 machine provisioning event swagger:model v1.MachineProvisioningEvent
func (*V1MachineProvisioningEvent) MarshalBinary ¶
func (m *V1MachineProvisioningEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineProvisioningEvent) UnmarshalBinary ¶
func (m *V1MachineProvisioningEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineRecentProvisioningEvents ¶
type V1MachineRecentProvisioningEvents struct {
// the amount of incomplete provisioning cycles in the event container
// Required: true
IncompleteProvisioningCycles *string `json:"incomplete_provisioning_cycles"`
// the time where the last event was received
// Required: true
// Format: date-time
LastEventTime *strfmt.DateTime `json:"last_event_time"`
// the log of recent machine provisioning events
// Required: true
Log []*V1MachineProvisioningEvent `json:"log"`
}
V1MachineRecentProvisioningEvents v1 machine recent provisioning events swagger:model v1.MachineRecentProvisioningEvents
func (*V1MachineRecentProvisioningEvents) MarshalBinary ¶
func (m *V1MachineRecentProvisioningEvents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineRecentProvisioningEvents) UnmarshalBinary ¶
func (m *V1MachineRecentProvisioningEvents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineRegisterRequest ¶
type V1MachineRegisterRequest struct {
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardwareExtended `json:"hardware"`
// the ipmi access infos
// Required: true
IPMI *V1MachineIPMI `json:"ipmi"`
// the partition id to register this machine with
// Required: true
Partitionid *string `json:"partitionid"`
// the rack id where this machine is connected to
// Required: true
Rackid *string `json:"rackid"`
// tags for this machine
// Required: true
Tags []string `json:"tags"`
// the product uuid of the machine to register
// Required: true
UUID *string `json:"uuid"`
}
V1MachineRegisterRequest v1 machine register request swagger:model v1.MachineRegisterRequest
func (*V1MachineRegisterRequest) MarshalBinary ¶
func (m *V1MachineRegisterRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineRegisterRequest) UnmarshalBinary ¶
func (m *V1MachineRegisterRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineReinstallRequest ¶ added in v0.4.0
type V1MachineReinstallRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the image id to be installed
// Required: true
Imageid *string `json:"imageid"`
// a readable name for this entity
Name string `json:"name,omitempty"`
}
V1MachineReinstallRequest v1 machine reinstall request swagger:model v1.MachineReinstallRequest
func (*V1MachineReinstallRequest) MarshalBinary ¶ added in v0.4.0
func (m *V1MachineReinstallRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineReinstallRequest) UnmarshalBinary ¶ added in v0.4.0
func (m *V1MachineReinstallRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineResponse ¶
type V1MachineResponse struct {
// the allocation data of an allocated machine
// Required: true
Allocation *V1MachineAllocation `json:"allocation"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios"`
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the partition assigned to this machine
// Required: true
// Read Only: true
Partition *V1PartitionResponse `json:"partition"`
// the rack assigned to this machine
// Required: true
// Read Only: true
Rackid string `json:"rackid"`
// the size of this machine
// Required: true
// Read Only: true
Size *V1SizeResponse `json:"size"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags"`
}
V1MachineResponse v1 machine response swagger:model v1.MachineResponse
func (*V1MachineResponse) MarshalBinary ¶
func (m *V1MachineResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineResponse) UnmarshalBinary ¶
func (m *V1MachineResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineState ¶
type V1MachineState struct {
// a description why this machine is in the given state
// Required: true
Description *string `json:"description"`
// the state of this machine. empty means available for all
// Required: true
Value *string `json:"value"`
}
V1MachineState v1 machine state swagger:model v1.MachineState
func (*V1MachineState) MarshalBinary ¶
func (m *V1MachineState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineState) UnmarshalBinary ¶
func (m *V1MachineState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Meta ¶
type V1Meta struct {
// annotations
Annotations map[string]string `json:"annotations,omitempty"`
// apiversion
Apiversion string `json:"apiversion,omitempty"`
// created time
// Format: date-time
CreatedTime strfmt.DateTime `json:"created_time,omitempty"`
// id
ID string `json:"id,omitempty"`
// kind
Kind string `json:"kind,omitempty"`
// labels
Labels []string `json:"labels"`
// updated time
// Format: date-time
UpdatedTime strfmt.DateTime `json:"updated_time,omitempty"`
// version
Version int64 `json:"version,omitempty"`
}
V1Meta v1 meta swagger:model v1.Meta
func (*V1Meta) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Meta) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1NetworkAllocateRequest ¶
type V1NetworkAllocateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// free labels that you associate with this network.
// Required: true
Labels map[string]string `json:"labels"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty"`
}
V1NetworkAllocateRequest v1 network allocate request swagger:model v1.NetworkAllocateRequest
func (*V1NetworkAllocateRequest) MarshalBinary ¶
func (m *V1NetworkAllocateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkAllocateRequest) UnmarshalBinary ¶
func (m *V1NetworkAllocateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkCreateRequest ¶
type V1NetworkCreateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes"`
// the unique ID of this entity, auto-generated if left empty
// Required: true
// Unique: true
ID *string `json:"id"`
// free labels that you associate with this network.
// Required: true
Labels map[string]string `json:"labels"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// if set to true, packets leaving this network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat"`
// the id of the parent network
// Required: true
Parentnetworkid *string `json:"parentnetworkid"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes"`
// if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition
// Required: true
Privatesuper *bool `json:"privatesuper"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay"`
// the vrf this network is associated with
Vrf int64 `json:"vrf,omitempty"`
Vrfshared bool `json:"vrfshared,omitempty"`
}
V1NetworkCreateRequest v1 network create request swagger:model v1.NetworkCreateRequest
func (*V1NetworkCreateRequest) MarshalBinary ¶
func (m *V1NetworkCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkCreateRequest) UnmarshalBinary ¶
func (m *V1NetworkCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkFindRequest ¶
type V1NetworkFindRequest struct {
// destinationprefixes
// Required: true
Destinationprefixes []string `json:"destinationprefixes"`
// id
// Required: true
ID *string `json:"id"`
// labels
// Required: true
Labels map[string]string `json:"labels"`
// name
// Required: true
Name *string `json:"name"`
// nat
// Required: true
Nat *bool `json:"nat"`
// parentnetworkid
// Required: true
Parentnetworkid *string `json:"parentnetworkid"`
// partitionid
// Required: true
Partitionid *string `json:"partitionid"`
// prefixes
// Required: true
Prefixes []string `json:"prefixes"`
// privatesuper
// Required: true
Privatesuper *bool `json:"privatesuper"`
// projectid
// Required: true
Projectid *string `json:"projectid"`
// underlay
// Required: true
Underlay *bool `json:"underlay"`
// vrf
// Required: true
Vrf *int64 `json:"vrf"`
}
V1NetworkFindRequest v1 network find request swagger:model v1.NetworkFindRequest
func (*V1NetworkFindRequest) MarshalBinary ¶
func (m *V1NetworkFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkFindRequest) UnmarshalBinary ¶
func (m *V1NetworkFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkResponse ¶
type V1NetworkResponse struct {
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// free labels that you associate with this network.
// Required: true
Labels map[string]string `json:"labels"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// if set to true, packets leaving this network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat"`
// the id of the parent network
// Required: true
Parentnetworkid *string `json:"parentnetworkid"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes"`
// if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition
// Required: true
Privatesuper *bool `json:"privatesuper"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay"`
// usage of ips and prefixes in this network
// Required: true
Usage *V1NetworkUsage `json:"usage"`
// the vrf this network is associated with
Vrf int64 `json:"vrf,omitempty"`
Vrfshared bool `json:"vrfshared,omitempty"`
}
V1NetworkResponse v1 network response swagger:model v1.NetworkResponse
func (*V1NetworkResponse) MarshalBinary ¶
func (m *V1NetworkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkResponse) UnmarshalBinary ¶
func (m *V1NetworkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkUpdateRequest ¶
type V1NetworkUpdateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the prefixes of this network
Prefixes []string `json:"prefixes"`
}
V1NetworkUpdateRequest v1 network update request swagger:model v1.NetworkUpdateRequest
func (*V1NetworkUpdateRequest) MarshalBinary ¶
func (m *V1NetworkUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkUpdateRequest) UnmarshalBinary ¶
func (m *V1NetworkUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkUsage ¶
type V1NetworkUsage struct {
// the total available IPs
// Required: true
AvailableIps *int64 `json:"available_ips"`
// the total available Prefixes
// Required: true
AvailablePrefixes *int64 `json:"available_prefixes"`
// the total used IPs
// Required: true
UsedIps *int64 `json:"used_ips"`
// the total used Prefixes
// Required: true
UsedPrefixes *int64 `json:"used_prefixes"`
}
V1NetworkUsage v1 network usage swagger:model v1.NetworkUsage
func (*V1NetworkUsage) MarshalBinary ¶
func (m *V1NetworkUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkUsage) UnmarshalBinary ¶
func (m *V1NetworkUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PartitionBootConfiguration ¶
type V1PartitionBootConfiguration struct {
// the cmdline to the kernel for the boot image
Commandline string `json:"commandline,omitempty"`
// the url to download the initrd for the boot image
Imageurl string `json:"imageurl,omitempty"`
// the url to download the kernel for the boot image
Kernelurl string `json:"kernelurl,omitempty"`
}
V1PartitionBootConfiguration a partition has a distinct location in a data center, individual entities belong to a partition swagger:model v1.PartitionBootConfiguration
func (*V1PartitionBootConfiguration) MarshalBinary ¶
func (m *V1PartitionBootConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionBootConfiguration) UnmarshalBinary ¶
func (m *V1PartitionBootConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PartitionCapacity ¶
type V1PartitionCapacity struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// servers available in this partition
// Required: true
Servers []*V1ServerCapacity `json:"servers"`
}
V1PartitionCapacity v1 partition capacity swagger:model v1.PartitionCapacity
func (*V1PartitionCapacity) MarshalBinary ¶
func (m *V1PartitionCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionCapacity) UnmarshalBinary ¶
func (m *V1PartitionCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PartitionCreateRequest ¶
type V1PartitionCreateRequest struct {
// the boot configuration of this partition
// Required: true
Bootconfig *V1PartitionBootConfiguration `json:"bootconfig"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the length of private networks for the machine's child networks in this partition, default 22
// Maximum: 30
// Minimum: 16
Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty"`
}
V1PartitionCreateRequest v1 partition create request swagger:model v1.PartitionCreateRequest
func (*V1PartitionCreateRequest) MarshalBinary ¶
func (m *V1PartitionCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionCreateRequest) UnmarshalBinary ¶
func (m *V1PartitionCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PartitionResponse ¶
type V1PartitionResponse struct {
// the boot configuration of this partition
// Required: true
Bootconfig *V1PartitionBootConfiguration `json:"bootconfig"`
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the length of private networks for the machine's child networks in this partition, default 22
// Maximum: 30
// Minimum: 16
Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty"`
}
V1PartitionResponse v1 partition response swagger:model v1.PartitionResponse
func (*V1PartitionResponse) MarshalBinary ¶
func (m *V1PartitionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionResponse) UnmarshalBinary ¶
func (m *V1PartitionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PartitionUpdateRequest ¶
type V1PartitionUpdateRequest struct {
// the boot configuration of this partition
Bootconfig *V1PartitionBootConfiguration `json:"bootconfig,omitempty"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty"`
}
V1PartitionUpdateRequest v1 partition update request swagger:model v1.PartitionUpdateRequest
func (*V1PartitionUpdateRequest) MarshalBinary ¶
func (m *V1PartitionUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionUpdateRequest) UnmarshalBinary ¶
func (m *V1PartitionUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ProjectFindRequest ¶
type V1ProjectFindRequest struct {
// description
Description string `json:"description,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty"`
}
V1ProjectFindRequest v1 project find request swagger:model v1.ProjectFindRequest
func (*V1ProjectFindRequest) MarshalBinary ¶
func (m *V1ProjectFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProjectFindRequest) UnmarshalBinary ¶
func (m *V1ProjectFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ProjectResponse ¶
type V1ProjectResponse struct {
// description
Description string `json:"description,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty"`
// name
Name string `json:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty"`
}
V1ProjectResponse v1 project response swagger:model v1.ProjectResponse
func (*V1ProjectResponse) MarshalBinary ¶
func (m *V1ProjectResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProjectResponse) UnmarshalBinary ¶
func (m *V1ProjectResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Quota ¶
type V1Quota struct {
// quota
Quota int32 `json:"quota,omitempty"`
// used
Used int32 `json:"used,omitempty"`
}
V1Quota v1 quota swagger:model v1.Quota
func (*V1Quota) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Quota) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1QuotaSet ¶
type V1QuotaSet struct {
// cluster
Cluster *V1Quota `json:"cluster,omitempty"`
// ip
IP *V1Quota `json:"ip,omitempty"`
// machine
Machine *V1Quota `json:"machine,omitempty"`
// project
Project *V1Quota `json:"project,omitempty"`
}
V1QuotaSet v1 quota set swagger:model v1.QuotaSet
func (*V1QuotaSet) MarshalBinary ¶
func (m *V1QuotaSet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1QuotaSet) UnmarshalBinary ¶
func (m *V1QuotaSet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ServerCapacity ¶
type V1ServerCapacity struct {
// allocated servers with this size
// Required: true
Allocated *int32 `json:"allocated"`
// servers with issues with this size
// Required: true
Faulty *int32 `json:"faulty"`
// free servers with this size
// Required: true
Free *int32 `json:"free"`
// servers neither free, allocated or faulty with this size
// Required: true
Other *int32 `json:"other"`
// the size of the server
// Required: true
Size *string `json:"size"`
// total amount of servers with this size
// Required: true
Total *int32 `json:"total"`
}
V1ServerCapacity v1 server capacity swagger:model v1.ServerCapacity
func (*V1ServerCapacity) MarshalBinary ¶
func (m *V1ServerCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ServerCapacity) UnmarshalBinary ¶
func (m *V1ServerCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeConstraint ¶
type V1SizeConstraint struct {
// the maximum value of the constraint
// Required: true
Max *int64 `json:"max"`
// the minimum value of the constraint
// Required: true
Min *int64 `json:"min"`
// the type of the constraint
// Required: true
// Enum: [cores memory storage]
Type *string `json:"type"`
}
V1SizeConstraint a machine matches to a size in order to make them easier to categorize swagger:model v1.SizeConstraint
func (*V1SizeConstraint) MarshalBinary ¶
func (m *V1SizeConstraint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeConstraint) UnmarshalBinary ¶
func (m *V1SizeConstraint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeConstraintMatchingLog ¶
type V1SizeConstraintMatchingLog struct {
// the size constraint to which this log relates to
// Required: true
Constraint *V1SizeConstraint `json:"constraint"`
// a string represention of the matching condition
// Required: true
Log *string `json:"log"`
// indicates whether the constraint matched or not
// Required: true
Match *bool `json:"match"`
}
V1SizeConstraintMatchingLog v1 size constraint matching log swagger:model v1.SizeConstraintMatchingLog
func (*V1SizeConstraintMatchingLog) MarshalBinary ¶
func (m *V1SizeConstraintMatchingLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeConstraintMatchingLog) UnmarshalBinary ¶
func (m *V1SizeConstraintMatchingLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeCreateRequest ¶
type V1SizeCreateRequest struct {
// a list of constraints that defines this size
// Required: true
Constraints []*V1SizeConstraint `json:"constraints"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
}
V1SizeCreateRequest v1 size create request swagger:model v1.SizeCreateRequest
func (*V1SizeCreateRequest) MarshalBinary ¶
func (m *V1SizeCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeCreateRequest) UnmarshalBinary ¶
func (m *V1SizeCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeMatchingLog ¶
type V1SizeMatchingLog struct {
// constraints
// Required: true
Constraints []*V1SizeConstraintMatchingLog `json:"constraints"`
// log
// Required: true
Log *string `json:"log"`
// match
// Required: true
Match *bool `json:"match"`
// name
// Required: true
Name *string `json:"name"`
}
V1SizeMatchingLog v1 size matching log swagger:model v1.SizeMatchingLog
func (*V1SizeMatchingLog) MarshalBinary ¶
func (m *V1SizeMatchingLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeMatchingLog) UnmarshalBinary ¶
func (m *V1SizeMatchingLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeResponse ¶
type V1SizeResponse struct {
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// a list of constraints that defines this size
// Required: true
Constraints []*V1SizeConstraint `json:"constraints"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
}
V1SizeResponse v1 size response swagger:model v1.SizeResponse
func (*V1SizeResponse) MarshalBinary ¶
func (m *V1SizeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeResponse) UnmarshalBinary ¶
func (m *V1SizeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeUpdateRequest ¶
type V1SizeUpdateRequest struct {
// a list of constraints that defines this size
Constraints []*V1SizeConstraint `json:"constraints"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// a readable name for this entity
Name string `json:"name,omitempty"`
}
V1SizeUpdateRequest v1 size update request swagger:model v1.SizeUpdateRequest
func (*V1SizeUpdateRequest) MarshalBinary ¶
func (m *V1SizeUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeUpdateRequest) UnmarshalBinary ¶
func (m *V1SizeUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchConnection ¶
type V1SwitchConnection struct {
// the machine id of the machine connected to the nic
MachineID string `json:"machine_id,omitempty"`
// a network interface on the switch
// Required: true
Nic *V1SwitchNic `json:"nic"`
}
V1SwitchConnection v1 switch connection swagger:model v1.SwitchConnection
func (*V1SwitchConnection) MarshalBinary ¶
func (m *V1SwitchConnection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchConnection) UnmarshalBinary ¶
func (m *V1SwitchConnection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchNic ¶
type V1SwitchNic struct {
// configures the bgp filter applied at the switch port
Filter *V1BGPFilter `json:"filter,omitempty"`
// the mac address of this network interface
// Required: true
Mac *string `json:"mac"`
// the name of this network interface
// Required: true
Name *string `json:"name"`
// the vrf this network interface is part of
Vrf string `json:"vrf,omitempty"`
}
V1SwitchNic v1 switch nic swagger:model v1.SwitchNic
func (*V1SwitchNic) MarshalBinary ¶
func (m *V1SwitchNic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchNic) UnmarshalBinary ¶
func (m *V1SwitchNic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchNotifyRequest ¶ added in v0.7.1
type V1SwitchNotifyRequest struct {
// error
// Required: true
Error *string `json:"error"`
// the duration of the switch synchronization
// Required: true
SyncDuration *int64 `json:"sync_duration"`
}
V1SwitchNotifyRequest v1 switch notify request swagger:model v1.SwitchNotifyRequest
func (*V1SwitchNotifyRequest) MarshalBinary ¶ added in v0.7.1
func (m *V1SwitchNotifyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchNotifyRequest) UnmarshalBinary ¶ added in v0.7.1
func (m *V1SwitchNotifyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchRegisterRequest ¶
type V1SwitchRegisterRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the mode the switch currently has
Mode string `json:"mode,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the list of network interfaces on the switch
// Required: true
Nics []*V1SwitchNic `json:"nics"`
// the partition in which this switch is located
// Required: true
PartitionID *string `json:"partition_id"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id"`
}
V1SwitchRegisterRequest v1 switch register request swagger:model v1.SwitchRegisterRequest
func (*V1SwitchRegisterRequest) MarshalBinary ¶
func (m *V1SwitchRegisterRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchRegisterRequest) UnmarshalBinary ¶
func (m *V1SwitchRegisterRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchResponse ¶
type V1SwitchResponse struct {
// the last changed timestamp of this entity
// Required: true
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed"`
// a connection between a switch port and a machine
// Required: true
Connections []*V1SwitchConnection `json:"connections"`
// the creation time of this entity
// Required: true
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created"`
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// last successful synchronization to the switch
// Required: true
LastSync *MetalSwitchSync `json:"last_sync"`
// last synchronization to the switch that was erroneous
// Required: true
LastSyncError *MetalSwitchSync `json:"last_sync_error"`
// the mode the switch currently has
Mode string `json:"mode,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the list of network interfaces on the switch
// Required: true
Nics []*V1SwitchNic `json:"nics"`
// the partition in which this switch is located
// Required: true
Partition *V1PartitionResponse `json:"partition"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id"`
}
V1SwitchResponse v1 switch response swagger:model v1.SwitchResponse
func (*V1SwitchResponse) MarshalBinary ¶
func (m *V1SwitchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchResponse) UnmarshalBinary ¶
func (m *V1SwitchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchUpdateRequest ¶ added in v0.8.0
type V1SwitchUpdateRequest struct {
// a description for this entity
Description string `json:"description,omitempty"`
// the unique ID of this entity
// Required: true
// Unique: true
ID *string `json:"id"`
// the mode the switch currently has
Mode string `json:"mode,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id"`
}
V1SwitchUpdateRequest v1 switch update request swagger:model v1.SwitchUpdateRequest
func (*V1SwitchUpdateRequest) MarshalBinary ¶ added in v0.8.0
func (m *V1SwitchUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchUpdateRequest) UnmarshalBinary ¶ added in v0.8.0
func (m *V1SwitchUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- httperrors_http_error_response.go
- metal_switch_sync.go
- rest_status.go
- rest_version.go
- v1_b_g_p_filter.go
- v1_boot_info.go
- v1_chassis_identify_l_e_d_state.go
- v1_empty_body.go
- v1_firewall_create_request.go
- v1_firewall_find_request.go
- v1_firewall_response.go
- v1_image_create_request.go
- v1_image_response.go
- v1_image_update_request.go
- v1_ip_allocate_request.go
- v1_ip_find_request.go
- v1_ip_response.go
- v1_ip_update_request.go
- v1_machine_abort_reinstall_request.go
- v1_machine_allocate_request.go
- v1_machine_allocation.go
- v1_machine_allocation_network.go
- v1_machine_b_i_o_s.go
- v1_machine_block_device.go
- v1_machine_disk_partition.go
- v1_machine_finalize_allocation_request.go
- v1_machine_find_request.go
- v1_machine_fru.go
- v1_machine_hardware.go
- v1_machine_hardware_extended.go
- v1_machine_ip_m_i.go
- v1_machine_ip_m_i_report.go
- v1_machine_ip_m_i_report_response.go
- v1_machine_ip_m_i_response.go
- v1_machine_network.go
- v1_machine_nic.go
- v1_machine_nic_extended.go
- v1_machine_provisioning_event.go
- v1_machine_recent_provisioning_events.go
- v1_machine_register_request.go
- v1_machine_reinstall_request.go
- v1_machine_response.go
- v1_machine_state.go
- v1_meta.go
- v1_network_allocate_request.go
- v1_network_create_request.go
- v1_network_find_request.go
- v1_network_response.go
- v1_network_update_request.go
- v1_network_usage.go
- v1_partition_boot_configuration.go
- v1_partition_capacity.go
- v1_partition_create_request.go
- v1_partition_response.go
- v1_partition_update_request.go
- v1_project_find_request.go
- v1_project_response.go
- v1_quota.go
- v1_quota_set.go
- v1_server_capacity.go
- v1_size_constraint.go
- v1_size_constraint_matching_log.go
- v1_size_create_request.go
- v1_size_matching_log.go
- v1_size_response.go
- v1_size_update_request.go
- v1_switch_connection.go
- v1_switch_nic.go
- v1_switch_notify_request.go
- v1_switch_register_request.go
- v1_switch_response.go
- v1_switch_update_request.go