Documentation
¶
Index ¶
- Constants
- type DatastoreIPSearchQuery
- func (m *DatastoreIPSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatastoreIPSearchQuery) MarshalBinary() ([]byte, error)
- func (m *DatastoreIPSearchQuery) UnmarshalBinary(b []byte) error
- func (m *DatastoreIPSearchQuery) Validate(formats strfmt.Registry) error
- type DatastoreImageSearchQuery
- func (m *DatastoreImageSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatastoreImageSearchQuery) MarshalBinary() ([]byte, error)
- func (m *DatastoreImageSearchQuery) UnmarshalBinary(b []byte) error
- func (m *DatastoreImageSearchQuery) Validate(formats strfmt.Registry) error
- type DatastoreMachineSearchQuery
- func (m *DatastoreMachineSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatastoreMachineSearchQuery) MarshalBinary() ([]byte, error)
- func (m *DatastoreMachineSearchQuery) UnmarshalBinary(b []byte) error
- func (m *DatastoreMachineSearchQuery) Validate(formats strfmt.Registry) error
- type DatastoreNetworkSearchQuery
- func (m *DatastoreNetworkSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatastoreNetworkSearchQuery) MarshalBinary() ([]byte, error)
- func (m *DatastoreNetworkSearchQuery) UnmarshalBinary(b []byte) error
- func (m *DatastoreNetworkSearchQuery) Validate(formats strfmt.Registry) error
- type DatastoreSwitchSearchQuery
- func (m *DatastoreSwitchSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatastoreSwitchSearchQuery) MarshalBinary() ([]byte, error)
- func (m *DatastoreSwitchSearchQuery) UnmarshalBinary(b []byte) error
- func (m *DatastoreSwitchSearchQuery) Validate(formats strfmt.Registry) error
- type MetalSwitchBGPPortState
- func (m *MetalSwitchBGPPortState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MetalSwitchBGPPortState) MarshalBinary() ([]byte, error)
- func (m *MetalSwitchBGPPortState) UnmarshalBinary(b []byte) error
- func (m *MetalSwitchBGPPortState) Validate(formats strfmt.Registry) error
- type RestHealthResponse
- type RestVersion
- type V1AuditFindRequest
- type V1AuditResponse
- type V1BGPFilter
- type V1BoardRevisions
- type V1BootInfo
- type V1ChassisIdentifyLEDState
- func (m *V1ChassisIdentifyLEDState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ChassisIdentifyLEDState) MarshalBinary() ([]byte, error)
- func (m *V1ChassisIdentifyLEDState) UnmarshalBinary(b []byte) error
- func (m *V1ChassisIdentifyLEDState) Validate(formats strfmt.Registry) error
- type V1Common
- type V1DNSServer
- type V1Describable
- type V1Disk
- type V1DiskPartition
- type V1EmptyBody
- type V1Filesystem
- type V1FilesystemLayoutBase
- func (m *V1FilesystemLayoutBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutBase) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutBase) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutBase) Validate(formats strfmt.Registry) error
- type V1FilesystemLayoutConstraints
- func (m *V1FilesystemLayoutConstraints) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutConstraints) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutConstraints) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutConstraints) Validate(formats strfmt.Registry) error
- type V1FilesystemLayoutCreateRequest
- func (m *V1FilesystemLayoutCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutCreateRequest) Validate(formats strfmt.Registry) error
- type V1FilesystemLayoutMatchRequest
- func (m *V1FilesystemLayoutMatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutMatchRequest) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutMatchRequest) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutMatchRequest) Validate(formats strfmt.Registry) error
- type V1FilesystemLayoutResponse
- func (m *V1FilesystemLayoutResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutResponse) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutResponse) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutResponse) Validate(formats strfmt.Registry) error
- type V1FilesystemLayoutTryRequest
- func (m *V1FilesystemLayoutTryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutTryRequest) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutTryRequest) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutTryRequest) Validate(formats strfmt.Registry) error
- type V1FilesystemLayoutUpdateRequest
- func (m *V1FilesystemLayoutUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FilesystemLayoutUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1FilesystemLayoutUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1FilesystemLayoutUpdateRequest) Validate(formats strfmt.Registry) error
- type V1FirewallAllocateRequest
- func (m *V1FirewallAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FirewallAllocateRequest) MarshalBinary() ([]byte, error)
- func (m *V1FirewallAllocateRequest) UnmarshalBinary(b []byte) error
- func (m *V1FirewallAllocateRequest) Validate(formats strfmt.Registry) error
- type V1FirewallCreateRequest
- func (m *V1FirewallCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1FirewallCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1FirewallCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1FirewallCreateRequest) Validate(formats strfmt.Registry) error
- type V1FirewallEgressRule
- type V1FirewallFindRequest
- type V1FirewallIngressRule
- type V1FirewallResponse
- type V1FirewallRules
- type V1FirmwaresResponse
- type V1IAMConfig
- type V1IDMConfig
- type V1IPAllocateRequest
- type V1IPBase
- type V1IPFindRequest
- type V1IPIdentifiable
- type V1IPResponse
- type V1IPUpdateRequest
- type V1Identifiable
- type V1ImageBase
- type V1ImageCreateRequest
- type V1ImageFindRequest
- type V1ImageResponse
- type V1ImageUpdateRequest
- type V1IssuerConfig
- type V1LogicalVolume
- type V1MachineAllocateRequest
- func (m *V1MachineAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineAllocateRequest) MarshalBinary() ([]byte, error)
- func (m *V1MachineAllocateRequest) UnmarshalBinary(b []byte) error
- func (m *V1MachineAllocateRequest) Validate(formats strfmt.Registry) error
- type V1MachineAllocation
- type V1MachineAllocationNetwork
- func (m *V1MachineAllocationNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineAllocationNetwork) MarshalBinary() ([]byte, error)
- func (m *V1MachineAllocationNetwork) UnmarshalBinary(b []byte) error
- func (m *V1MachineAllocationNetwork) Validate(formats strfmt.Registry) error
- type V1MachineBIOS
- type V1MachineBase
- type V1MachineBlockDevice
- type V1MachineConsolePasswordRequest
- func (m *V1MachineConsolePasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineConsolePasswordRequest) MarshalBinary() ([]byte, error)
- func (m *V1MachineConsolePasswordRequest) UnmarshalBinary(b []byte) error
- func (m *V1MachineConsolePasswordRequest) Validate(formats strfmt.Registry) error
- type V1MachineConsolePasswordResponse
- func (m *V1MachineConsolePasswordResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineConsolePasswordResponse) MarshalBinary() ([]byte, error)
- func (m *V1MachineConsolePasswordResponse) UnmarshalBinary(b []byte) error
- func (m *V1MachineConsolePasswordResponse) Validate(formats strfmt.Registry) error
- type V1MachineFindRequest
- type V1MachineFru
- type V1MachineHardware
- type V1MachineHardwareBase
- type V1MachineIPMI
- type V1MachineIPMIResponse
- type V1MachineIpmiReport
- type V1MachineIpmiReportResponse
- func (m *V1MachineIpmiReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineIpmiReportResponse) MarshalBinary() ([]byte, error)
- func (m *V1MachineIpmiReportResponse) UnmarshalBinary(b []byte) error
- func (m *V1MachineIpmiReportResponse) Validate(formats strfmt.Registry) error
- type V1MachineIpmiReports
- type V1MachineIssue
- type V1MachineIssueResponse
- func (m *V1MachineIssueResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineIssueResponse) MarshalBinary() ([]byte, error)
- func (m *V1MachineIssueResponse) UnmarshalBinary(b []byte) error
- func (m *V1MachineIssueResponse) Validate(formats strfmt.Registry) error
- type V1MachineIssuesRequest
- func (m *V1MachineIssuesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineIssuesRequest) MarshalBinary() ([]byte, error)
- func (m *V1MachineIssuesRequest) UnmarshalBinary(b []byte) error
- func (m *V1MachineIssuesRequest) Validate(formats strfmt.Registry) error
- type V1MachineNetwork
- type V1MachineNic
- type V1MachineProvisioningEvent
- func (m *V1MachineProvisioningEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineProvisioningEvent) MarshalBinary() ([]byte, error)
- func (m *V1MachineProvisioningEvent) UnmarshalBinary(b []byte) error
- func (m *V1MachineProvisioningEvent) Validate(formats strfmt.Registry) error
- type V1MachineRecentProvisioningEvents
- func (m *V1MachineRecentProvisioningEvents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineRecentProvisioningEvents) MarshalBinary() ([]byte, error)
- func (m *V1MachineRecentProvisioningEvents) UnmarshalBinary(b []byte) error
- func (m *V1MachineRecentProvisioningEvents) Validate(formats strfmt.Registry) error
- type V1MachineReinstallRequest
- func (m *V1MachineReinstallRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineReinstallRequest) MarshalBinary() ([]byte, error)
- func (m *V1MachineReinstallRequest) UnmarshalBinary(b []byte) error
- func (m *V1MachineReinstallRequest) Validate(formats strfmt.Registry) error
- type V1MachineResponse
- type V1MachineState
- type V1MachineUpdateFirmwareRequest
- func (m *V1MachineUpdateFirmwareRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineUpdateFirmwareRequest) MarshalBinary() ([]byte, error)
- func (m *V1MachineUpdateFirmwareRequest) UnmarshalBinary(b []byte) error
- func (m *V1MachineUpdateFirmwareRequest) Validate(formats strfmt.Registry) error
- type V1MachineUpdateRequest
- func (m *V1MachineUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1MachineUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1MachineUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1MachineUpdateRequest) Validate(formats strfmt.Registry) error
- type V1MachineVPN
- type V1Meta
- type V1MetalCPU
- type V1MetalGPU
- type V1NTPServer
- type V1NetworkAllocateRequest
- func (m *V1NetworkAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1NetworkAllocateRequest) MarshalBinary() ([]byte, error)
- func (m *V1NetworkAllocateRequest) UnmarshalBinary(b []byte) error
- func (m *V1NetworkAllocateRequest) Validate(formats strfmt.Registry) error
- type V1NetworkBase
- type V1NetworkConsumption
- type V1NetworkCreateRequest
- func (m *V1NetworkCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1NetworkCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1NetworkCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1NetworkCreateRequest) Validate(formats strfmt.Registry) error
- type V1NetworkFindRequest
- type V1NetworkImmutable
- type V1NetworkResponse
- type V1NetworkUpdateRequest
- func (m *V1NetworkUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1NetworkUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1NetworkUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1NetworkUpdateRequest) Validate(formats strfmt.Registry) error
- type V1NetworkUsage
- type V1Paging
- type V1PartitionBase
- type V1PartitionBootConfiguration
- func (m *V1PartitionBootConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1PartitionBootConfiguration) MarshalBinary() ([]byte, error)
- func (m *V1PartitionBootConfiguration) UnmarshalBinary(b []byte) error
- func (m *V1PartitionBootConfiguration) Validate(formats strfmt.Registry) error
- type V1PartitionCapacity
- type V1PartitionCapacityRequest
- func (m *V1PartitionCapacityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1PartitionCapacityRequest) MarshalBinary() ([]byte, error)
- func (m *V1PartitionCapacityRequest) UnmarshalBinary(b []byte) error
- func (m *V1PartitionCapacityRequest) Validate(formats strfmt.Registry) error
- type V1PartitionCreateRequest
- func (m *V1PartitionCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1PartitionCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1PartitionCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1PartitionCreateRequest) Validate(formats strfmt.Registry) error
- type V1PartitionResponse
- type V1PartitionUpdateRequest
- func (m *V1PartitionUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1PartitionUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1PartitionUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1PartitionUpdateRequest) Validate(formats strfmt.Registry) error
- type V1PowerMetric
- type V1PowerSupply
- type V1PowerSupplyStatus
- type V1Project
- type V1ProjectCreateRequest
- func (m *V1ProjectCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ProjectCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1ProjectCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1ProjectCreateRequest) Validate(formats strfmt.Registry) error
- type V1ProjectFindRequest
- type V1ProjectResponse
- type V1ProjectUpdateRequest
- func (m *V1ProjectUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ProjectUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1ProjectUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1ProjectUpdateRequest) Validate(formats strfmt.Registry) error
- type V1Quota
- type V1QuotaSet
- type V1Raid
- type V1ServerCapacity
- type V1SizeConstraint
- type V1SizeCreateRequest
- type V1SizeImageConstraintBase
- func (m *V1SizeImageConstraintBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeImageConstraintBase) MarshalBinary() ([]byte, error)
- func (m *V1SizeImageConstraintBase) UnmarshalBinary(b []byte) error
- func (m *V1SizeImageConstraintBase) Validate(formats strfmt.Registry) error
- type V1SizeImageConstraintCreateRequest
- func (m *V1SizeImageConstraintCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeImageConstraintCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1SizeImageConstraintCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1SizeImageConstraintCreateRequest) Validate(formats strfmt.Registry) error
- type V1SizeImageConstraintResponse
- func (m *V1SizeImageConstraintResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeImageConstraintResponse) MarshalBinary() ([]byte, error)
- func (m *V1SizeImageConstraintResponse) UnmarshalBinary(b []byte) error
- func (m *V1SizeImageConstraintResponse) Validate(formats strfmt.Registry) error
- type V1SizeImageConstraintTryRequest
- func (m *V1SizeImageConstraintTryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeImageConstraintTryRequest) MarshalBinary() ([]byte, error)
- func (m *V1SizeImageConstraintTryRequest) UnmarshalBinary(b []byte) error
- func (m *V1SizeImageConstraintTryRequest) Validate(formats strfmt.Registry) error
- type V1SizeImageConstraintUpdateRequest
- func (m *V1SizeImageConstraintUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeImageConstraintUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1SizeImageConstraintUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1SizeImageConstraintUpdateRequest) Validate(formats strfmt.Registry) error
- type V1SizeReservationCreateRequest
- func (m *V1SizeReservationCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeReservationCreateRequest) MarshalBinary() ([]byte, error)
- func (m *V1SizeReservationCreateRequest) UnmarshalBinary(b []byte) error
- func (m *V1SizeReservationCreateRequest) Validate(formats strfmt.Registry) error
- type V1SizeReservationListRequest
- func (m *V1SizeReservationListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeReservationListRequest) MarshalBinary() ([]byte, error)
- func (m *V1SizeReservationListRequest) UnmarshalBinary(b []byte) error
- func (m *V1SizeReservationListRequest) Validate(formats strfmt.Registry) error
- type V1SizeReservationResponse
- func (m *V1SizeReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeReservationResponse) MarshalBinary() ([]byte, error)
- func (m *V1SizeReservationResponse) UnmarshalBinary(b []byte) error
- func (m *V1SizeReservationResponse) Validate(formats strfmt.Registry) error
- type V1SizeReservationUpdateRequest
- func (m *V1SizeReservationUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeReservationUpdateRequest) MarshalBinary() ([]byte, error)
- func (m *V1SizeReservationUpdateRequest) UnmarshalBinary(b []byte) error
- func (m *V1SizeReservationUpdateRequest) Validate(formats strfmt.Registry) error
- type V1SizeReservationUsageResponse
- func (m *V1SizeReservationUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SizeReservationUsageResponse) MarshalBinary() ([]byte, error)
- func (m *V1SizeReservationUsageResponse) UnmarshalBinary(b []byte) error
- func (m *V1SizeReservationUsageResponse) Validate(formats strfmt.Registry) error
- type V1SizeResponse
- type V1SizeSuggestRequest
- type V1SizeUpdateRequest
- type V1SwitchBGPPortState
- type V1SwitchBase
- type V1SwitchConnection
- type V1SwitchFindRequest
- type V1SwitchMigrateRequest
- func (m *V1SwitchMigrateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SwitchMigrateRequest) MarshalBinary() ([]byte, error)
- func (m *V1SwitchMigrateRequest) UnmarshalBinary(b []byte) error
- func (m *V1SwitchMigrateRequest) Validate(formats strfmt.Registry) error
- type V1SwitchNic
- type V1SwitchNotifyRequest
- type V1SwitchNotifyResponse
- func (m *V1SwitchNotifyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SwitchNotifyResponse) MarshalBinary() ([]byte, error)
- func (m *V1SwitchNotifyResponse) UnmarshalBinary(b []byte) error
- func (m *V1SwitchNotifyResponse) Validate(formats strfmt.Registry) error
- type V1SwitchOS
- type V1SwitchPortToggleRequest
- func (m *V1SwitchPortToggleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SwitchPortToggleRequest) MarshalBinary() ([]byte, error)
- func (m *V1SwitchPortToggleRequest) UnmarshalBinary(b []byte) error
- func (m *V1SwitchPortToggleRequest) Validate(formats strfmt.Registry) error
- type V1SwitchRegisterRequest
- func (m *V1SwitchRegisterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1SwitchRegisterRequest) MarshalBinary() ([]byte, error)
- func (m *V1SwitchRegisterRequest) UnmarshalBinary(b []byte) error
- func (m *V1SwitchRegisterRequest) Validate(formats strfmt.Registry) error
- type V1SwitchResponse
- type V1SwitchSync
- type V1SwitchUpdateRequest
- type V1Tenant
- type V1TenantCreateRequest
- type V1TenantFindRequest
- type V1TenantResponse
- type V1TenantUpdateRequest
- type V1Timestamps
- type V1User
- type V1VPNRequest
- type V1VPNResponse
- type V1VendorRevisions
- type V1VolumeGroup
Constants ¶
const ( // DatastoreImageSearchQueryClassificationDeprecated captures enum value "deprecated" DatastoreImageSearchQueryClassificationDeprecated string = "deprecated" // DatastoreImageSearchQueryClassificationPreview captures enum value "preview" DatastoreImageSearchQueryClassificationPreview string = "preview" // DatastoreImageSearchQueryClassificationSupported captures enum value "supported" DatastoreImageSearchQueryClassificationSupported string = "supported" )
const ( // DatastoreIPSearchQueryAddressfamilyIPV4 captures enum value "IPv4" DatastoreIPSearchQueryAddressfamilyIPV4 string = "IPv4" // DatastoreIPSearchQueryAddressfamilyIPV6 captures enum value "IPv6" DatastoreIPSearchQueryAddressfamilyIPV6 string = "IPv6" )
const ( // DatastoreMachineSearchQueryStateValueEmpty captures enum value "" DatastoreMachineSearchQueryStateValueEmpty string = "" // DatastoreMachineSearchQueryStateValueLOCKED captures enum value "LOCKED" DatastoreMachineSearchQueryStateValueLOCKED string = "LOCKED" // DatastoreMachineSearchQueryStateValueRESERVED captures enum value "RESERVED" DatastoreMachineSearchQueryStateValueRESERVED string = "RESERVED" )
const ( // DatastoreNetworkSearchQueryAddressfamilyIPV4 captures enum value "IPv4" DatastoreNetworkSearchQueryAddressfamilyIPV4 string = "IPv4" // DatastoreNetworkSearchQueryAddressfamilyIPV6 captures enum value "IPv6" DatastoreNetworkSearchQueryAddressfamilyIPV6 string = "IPv6" )
const ( // V1FirewallEgressRuleProtocolTCP captures enum value "tcp" V1FirewallEgressRuleProtocolTCP string = "tcp" // V1FirewallEgressRuleProtocolUDP captures enum value "udp" V1FirewallEgressRuleProtocolUDP string = "udp" )
const ( // V1FirewallFindRequestStateValueEmpty captures enum value "" V1FirewallFindRequestStateValueEmpty string = "" // V1FirewallFindRequestStateValueLOCKED captures enum value "LOCKED" V1FirewallFindRequestStateValueLOCKED string = "LOCKED" // V1FirewallFindRequestStateValueRESERVED captures enum value "RESERVED" V1FirewallFindRequestStateValueRESERVED string = "RESERVED" )
const ( // V1FirewallIngressRuleProtocolTCP captures enum value "tcp" V1FirewallIngressRuleProtocolTCP string = "tcp" // V1FirewallIngressRuleProtocolUDP captures enum value "udp" V1FirewallIngressRuleProtocolUDP string = "udp" )
const ( // V1ImageFindRequestClassificationDeprecated captures enum value "deprecated" V1ImageFindRequestClassificationDeprecated string = "deprecated" // V1ImageFindRequestClassificationPreview captures enum value "preview" V1ImageFindRequestClassificationPreview string = "preview" // V1ImageFindRequestClassificationSupported captures enum value "supported" V1ImageFindRequestClassificationSupported string = "supported" )
const ( // V1IPAllocateRequestAddressfamilyIPV4 captures enum value "IPv4" V1IPAllocateRequestAddressfamilyIPV4 string = "IPv4" // V1IPAllocateRequestAddressfamilyIPV6 captures enum value "IPv6" V1IPAllocateRequestAddressfamilyIPV6 string = "IPv6" )
const ( // V1IPAllocateRequestTypeEphemeral captures enum value "ephemeral" V1IPAllocateRequestTypeEphemeral string = "ephemeral" // V1IPAllocateRequestTypeStatic captures enum value "static" V1IPAllocateRequestTypeStatic string = "static" )
const ( // V1IPBaseTypeEphemeral captures enum value "ephemeral" V1IPBaseTypeEphemeral string = "ephemeral" // V1IPBaseTypeStatic captures enum value "static" V1IPBaseTypeStatic string = "static" )
const ( // V1IPFindRequestAddressfamilyIPV4 captures enum value "IPv4" V1IPFindRequestAddressfamilyIPV4 string = "IPv4" // V1IPFindRequestAddressfamilyIPV6 captures enum value "IPv6" V1IPFindRequestAddressfamilyIPV6 string = "IPv6" )
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 ( // V1MachineAllocationRoleFirewall captures enum value "firewall" V1MachineAllocationRoleFirewall string = "firewall" // V1MachineAllocationRoleMachine captures enum value "machine" V1MachineAllocationRoleMachine string = "machine" )
const ( // V1MachineFindRequestStateValueEmpty captures enum value "" V1MachineFindRequestStateValueEmpty string = "" // V1MachineFindRequestStateValueLOCKED captures enum value "LOCKED" V1MachineFindRequestStateValueLOCKED string = "LOCKED" // V1MachineFindRequestStateValueRESERVED captures enum value "RESERVED" V1MachineFindRequestStateValueRESERVED string = "RESERVED" )
const ( // V1MachineIssuesRequestStateValueEmpty captures enum value "" V1MachineIssuesRequestStateValueEmpty string = "" // V1MachineIssuesRequestStateValueLOCKED captures enum value "LOCKED" V1MachineIssuesRequestStateValueLOCKED string = "LOCKED" // V1MachineIssuesRequestStateValueRESERVED captures enum value "RESERVED" V1MachineIssuesRequestStateValueRESERVED string = "RESERVED" )
const ( // V1MachineStateValueEmpty captures enum value "" V1MachineStateValueEmpty string = "" // V1MachineStateValueLOCKED captures enum value "LOCKED" V1MachineStateValueLOCKED string = "LOCKED" // V1MachineStateValueRESERVED captures enum value "RESERVED" V1MachineStateValueRESERVED string = "RESERVED" )
const ( // V1MachineUpdateFirmwareRequestKindBios captures enum value "bios" V1MachineUpdateFirmwareRequestKindBios string = "bios" // V1MachineUpdateFirmwareRequestKindBmc captures enum value "bmc" V1MachineUpdateFirmwareRequestKindBmc string = "bmc" )
const ( // V1NetworkAllocateRequestAddressfamilyIPV4 captures enum value "IPv4" V1NetworkAllocateRequestAddressfamilyIPV4 string = "IPv4" // V1NetworkAllocateRequestAddressfamilyIPV6 captures enum value "IPv6" V1NetworkAllocateRequestAddressfamilyIPV6 string = "IPv6" )
const ( // V1NetworkFindRequestAddressfamilyIPV4 captures enum value "IPv4" V1NetworkFindRequestAddressfamilyIPV4 string = "IPv4" // V1NetworkFindRequestAddressfamilyIPV6 captures enum value "IPv6" V1NetworkFindRequestAddressfamilyIPV6 string = "IPv6" )
const ( // V1SizeConstraintTypeCores captures enum value "cores" V1SizeConstraintTypeCores string = "cores" // V1SizeConstraintTypeGpu captures enum value "gpu" V1SizeConstraintTypeGpu string = "gpu" // V1SizeConstraintTypeMemory captures enum value "memory" V1SizeConstraintTypeMemory string = "memory" // V1SizeConstraintTypeStorage captures enum value "storage" V1SizeConstraintTypeStorage string = "storage" )
const ( // V1SwitchNicActualDOWN captures enum value "DOWN" V1SwitchNicActualDOWN string = "DOWN" // V1SwitchNicActualUNKNOWN captures enum value "UNKNOWN" V1SwitchNicActualUNKNOWN string = "UNKNOWN" // V1SwitchNicActualUP captures enum value "UP" V1SwitchNicActualUP string = "UP" )
const ( // V1SwitchOSVendorCumulus captures enum value "Cumulus" V1SwitchOSVendorCumulus string = "Cumulus" // V1SwitchOSVendorSONiC captures enum value "SONiC" V1SwitchOSVendorSONiC string = "SONiC" )
const ( // V1SwitchPortToggleRequestStatusDOWN captures enum value "DOWN" V1SwitchPortToggleRequestStatusDOWN string = "DOWN" // V1SwitchPortToggleRequestStatusUP captures enum value "UP" V1SwitchPortToggleRequestStatusUP string = "UP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatastoreIPSearchQuery ¶ added in v0.15.1
type DatastoreIPSearchQuery struct {
// addressfamily
// Enum: ["IPv4","IPv6"]
Addressfamily string `json:"addressfamily,omitempty" yaml:"addressfamily,omitempty"`
// a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time.
Allocationuuid string `json:"allocationuuid,omitempty" yaml:"allocationuuid,omitempty"`
// the address (ipv4 or ipv6) of this ip
Ipaddress string `json:"ipaddress,omitempty" yaml:"ipaddress,omitempty"`
// the machine an ip address is associated to
Machineid string `json:"machineid,omitempty" yaml:"machineid,omitempty"`
// the name of the ip address
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the network this ip allocate request address belongs to
Networkid string `json:"networkid,omitempty" yaml:"networkid,omitempty"`
// the prefix of the network this ip address belongs to
Networkprefix string `json:"networkprefix,omitempty" yaml:"networkprefix,omitempty"`
// the project this ip address belongs to, empty if not strong coupled
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
// the tags that are assigned to this ip address
Tags []string `json:"tags" yaml:"tags"`
// the type of the ip address, ephemeral or static
Type string `json:"type,omitempty" yaml:"type,omitempty"`
}
DatastoreIPSearchQuery an ip address that can be attached to a machine
swagger:model datastore.IPSearchQuery
func (*DatastoreIPSearchQuery) ContextValidate ¶ added in v0.15.1
func (m *DatastoreIPSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this datastore IP search query based on context it is used
func (*DatastoreIPSearchQuery) MarshalBinary ¶ added in v0.15.1
func (m *DatastoreIPSearchQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreIPSearchQuery) UnmarshalBinary ¶ added in v0.15.1
func (m *DatastoreIPSearchQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreImageSearchQuery ¶ added in v0.22.2
type DatastoreImageSearchQuery struct {
// classification
// Enum: ["deprecated","preview","supported"]
Classification string `json:"classification,omitempty" yaml:"classification,omitempty"`
// features
Features []string `json:"features" yaml:"features"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// os
Os string `json:"os,omitempty" yaml:"os,omitempty"`
// version
Version string `json:"version,omitempty" yaml:"version,omitempty"`
}
DatastoreImageSearchQuery datastore image search query
swagger:model datastore.ImageSearchQuery
func (*DatastoreImageSearchQuery) ContextValidate ¶ added in v0.22.2
func (m *DatastoreImageSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this datastore image search query based on context it is used
func (*DatastoreImageSearchQuery) MarshalBinary ¶ added in v0.22.2
func (m *DatastoreImageSearchQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreImageSearchQuery) UnmarshalBinary ¶ added in v0.22.2
func (m *DatastoreImageSearchQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreMachineSearchQuery ¶ added in v0.15.1
type DatastoreMachineSearchQuery struct {
// allocation hostname
AllocationHostname string `json:"allocation_hostname,omitempty" yaml:"allocation_hostname,omitempty"`
// allocation image id
AllocationImageID string `json:"allocation_image_id,omitempty" yaml:"allocation_image_id,omitempty"`
// allocation name
AllocationName string `json:"allocation_name,omitempty" yaml:"allocation_name,omitempty"`
// allocation project
AllocationProject string `json:"allocation_project,omitempty" yaml:"allocation_project,omitempty"`
// allocation role
AllocationRole string `json:"allocation_role,omitempty" yaml:"allocation_role,omitempty"`
// allocation succeeded
AllocationSucceeded bool `json:"allocation_succeeded,omitempty" yaml:"allocation_succeeded,omitempty"`
// disk names
DiskNames []string `json:"disk_names" yaml:"disk_names"`
// disk sizes
DiskSizes []int64 `json:"disk_sizes" yaml:"disk_sizes"`
// fru board mfg
FruBoardMfg string `json:"fru_board_mfg,omitempty" yaml:"fru_board_mfg,omitempty"`
// fru board mfg serial
FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty" yaml:"fru_board_mfg_serial,omitempty"`
// fru board part number
FruBoardPartNumber string `json:"fru_board_part_number,omitempty" yaml:"fru_board_part_number,omitempty"`
// fru chassis part number
FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty" yaml:"fru_chassis_part_number,omitempty"`
// fru chassis part serial
FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty" yaml:"fru_chassis_part_serial,omitempty"`
// fru product manufacturer
FruProductManufacturer string `json:"fru_product_manufacturer,omitempty" yaml:"fru_product_manufacturer,omitempty"`
// fru product part number
FruProductPartNumber string `json:"fru_product_part_number,omitempty" yaml:"fru_product_part_number,omitempty"`
// fru product serial
FruProductSerial string `json:"fru_product_serial,omitempty" yaml:"fru_product_serial,omitempty"`
// hardware memory
HardwareMemory int64 `json:"hardware_memory,omitempty" yaml:"hardware_memory,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// ipmi address
IpmiAddress string `json:"ipmi_address,omitempty" yaml:"ipmi_address,omitempty"`
// ipmi interface
IpmiInterface string `json:"ipmi_interface,omitempty" yaml:"ipmi_interface,omitempty"`
// ipmi mac address
IpmiMacAddress string `json:"ipmi_mac_address,omitempty" yaml:"ipmi_mac_address,omitempty"`
// ipmi user
IpmiUser string `json:"ipmi_user,omitempty" yaml:"ipmi_user,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// network asns
NetworkAsns []int64 `json:"network_asns" yaml:"network_asns"`
// network destination prefixes
NetworkDestinationPrefixes []string `json:"network_destination_prefixes" yaml:"network_destination_prefixes"`
// network ids
NetworkIds []string `json:"network_ids" yaml:"network_ids"`
// network ips
NetworkIps []string `json:"network_ips" yaml:"network_ips"`
// network prefixes
NetworkPrefixes []string `json:"network_prefixes" yaml:"network_prefixes"`
// network vrfs
NetworkVrfs []int64 `json:"network_vrfs" yaml:"network_vrfs"`
// nics mac addresses
NicsMacAddresses []string `json:"nics_mac_addresses" yaml:"nics_mac_addresses"`
// nics names
NicsNames []string `json:"nics_names" yaml:"nics_names"`
// nics neighbor mac addresses
NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses" yaml:"nics_neighbor_mac_addresses"`
// nics neighbor names
NicsNeighborNames []string `json:"nics_neighbor_names" yaml:"nics_neighbor_names"`
// nics neighbor vrfs
NicsNeighborVrfs []string `json:"nics_neighbor_vrfs" yaml:"nics_neighbor_vrfs"`
// nics vrfs
NicsVrfs []string `json:"nics_vrfs" yaml:"nics_vrfs"`
// partition id
PartitionID string `json:"partition_id,omitempty" yaml:"partition_id,omitempty"`
// rackid
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// sizeid
Sizeid string `json:"sizeid,omitempty" yaml:"sizeid,omitempty"`
// state value
// Enum: ["","LOCKED","RESERVED"]
StateValue string `json:"state_value,omitempty" yaml:"state_value,omitempty"`
// tags
Tags []string `json:"tags" yaml:"tags"`
}
DatastoreMachineSearchQuery datastore machine search query
swagger:model datastore.MachineSearchQuery
func (*DatastoreMachineSearchQuery) ContextValidate ¶ added in v0.15.1
func (m *DatastoreMachineSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this datastore machine search query based on context it is used
func (*DatastoreMachineSearchQuery) MarshalBinary ¶ added in v0.15.1
func (m *DatastoreMachineSearchQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreMachineSearchQuery) UnmarshalBinary ¶ added in v0.15.1
func (m *DatastoreMachineSearchQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreNetworkSearchQuery ¶ added in v0.15.1
type DatastoreNetworkSearchQuery struct {
// addressfamily
// Enum: ["IPv4","IPv6"]
Addressfamily string `json:"addressfamily,omitempty" yaml:"addressfamily,omitempty"`
// destinationprefixes
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// labels
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// nat
Nat bool `json:"nat,omitempty" yaml:"nat,omitempty"`
// parentnetworkid
Parentnetworkid string `json:"parentnetworkid,omitempty" yaml:"parentnetworkid,omitempty"`
// partitionid
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// prefixes
Prefixes []string `json:"prefixes" yaml:"prefixes"`
// privatesuper
Privatesuper bool `json:"privatesuper,omitempty" yaml:"privatesuper,omitempty"`
// projectid
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
// underlay
Underlay bool `json:"underlay,omitempty" yaml:"underlay,omitempty"`
// vrf
Vrf int64 `json:"vrf,omitempty" yaml:"vrf,omitempty"`
}
DatastoreNetworkSearchQuery datastore network search query
swagger:model datastore.NetworkSearchQuery
func (*DatastoreNetworkSearchQuery) ContextValidate ¶ added in v0.15.1
func (m *DatastoreNetworkSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this datastore network search query based on context it is used
func (*DatastoreNetworkSearchQuery) MarshalBinary ¶ added in v0.15.1
func (m *DatastoreNetworkSearchQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreNetworkSearchQuery) UnmarshalBinary ¶ added in v0.15.1
func (m *DatastoreNetworkSearchQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatastoreSwitchSearchQuery ¶ added in v0.22.1
type DatastoreSwitchSearchQuery struct {
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// osvendor
Osvendor string `json:"osvendor,omitempty" yaml:"osvendor,omitempty"`
// osversion
Osversion string `json:"osversion,omitempty" yaml:"osversion,omitempty"`
// partitionid
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// rackid
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
}
DatastoreSwitchSearchQuery datastore switch search query
swagger:model datastore.SwitchSearchQuery
func (*DatastoreSwitchSearchQuery) ContextValidate ¶ added in v0.22.1
func (m *DatastoreSwitchSearchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this datastore switch search query based on context it is used
func (*DatastoreSwitchSearchQuery) MarshalBinary ¶ added in v0.22.1
func (m *DatastoreSwitchSearchQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatastoreSwitchSearchQuery) UnmarshalBinary ¶ added in v0.22.1
func (m *DatastoreSwitchSearchQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MetalSwitchBGPPortState ¶ added in v0.39.5
type MetalSwitchBGPPortState struct {
// accepted prefix counter
// Required: true
AcceptedPrefixCounter *int64 `json:"AcceptedPrefixCounter" yaml:"AcceptedPrefixCounter"`
// bgp state
// Required: true
BgpState *string `json:"BgpState" yaml:"BgpState"`
// bgp timer up established
// Required: true
BgpTimerUpEstablished *int64 `json:"BgpTimerUpEstablished" yaml:"BgpTimerUpEstablished"`
// neighbor
// Required: true
Neighbor *string `json:"Neighbor" yaml:"Neighbor"`
// peer group
// Required: true
PeerGroup *string `json:"PeerGroup" yaml:"PeerGroup"`
// sent prefix counter
// Required: true
SentPrefixCounter *int64 `json:"SentPrefixCounter" yaml:"SentPrefixCounter"`
// vrf name
// Required: true
VrfName *string `json:"VrfName" yaml:"VrfName"`
}
MetalSwitchBGPPortState metal switch b g p port state
swagger:model metal.SwitchBGPPortState
func (*MetalSwitchBGPPortState) ContextValidate ¶ added in v0.39.5
func (m *MetalSwitchBGPPortState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this metal switch b g p port state based on context it is used
func (*MetalSwitchBGPPortState) MarshalBinary ¶ added in v0.39.5
func (m *MetalSwitchBGPPortState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetalSwitchBGPPortState) UnmarshalBinary ¶ added in v0.39.5
func (m *MetalSwitchBGPPortState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestHealthResponse ¶ added in v0.16.3
type RestHealthResponse struct {
// message
// Required: true
Message *string `json:"message" yaml:"message"`
// services
Services map[string]RestHealthResponse `json:"services,omitempty" yaml:"services,omitempty"`
// status
// Required: true
Status *string `json:"status" yaml:"status"`
}
RestHealthResponse rest health response
swagger:model rest.HealthResponse
func (*RestHealthResponse) ContextValidate ¶ added in v0.16.3
ContextValidate validate this rest health response based on the context it is used
func (*RestHealthResponse) MarshalBinary ¶ added in v0.16.3
func (m *RestHealthResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestHealthResponse) UnmarshalBinary ¶ added in v0.16.3
func (m *RestHealthResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestVersion ¶
type RestVersion struct {
// builddate
// Required: true
Builddate *string `json:"builddate" yaml:"builddate"`
// gitsha1
// Required: true
Gitsha1 *string `json:"gitsha1" yaml:"gitsha1"`
// min client version
// Required: true
MinClientVersion *string `json:"min_client_version" yaml:"min_client_version"`
// name
// Required: true
Name *string `json:"name" yaml:"name"`
// release version
ReleaseVersion string `json:"release_version,omitempty" yaml:"release_version,omitempty"`
// revision
// Required: true
Revision *string `json:"revision" yaml:"revision"`
// version
// Required: true
Version *string `json:"version" yaml:"version"`
}
RestVersion rest version
swagger:model rest.version
func (*RestVersion) ContextValidate ¶ added in v0.12.1
ContextValidate validates this rest version based on context it is used
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 V1AuditFindRequest ¶ added in v0.22.4
type V1AuditFindRequest struct {
// body
Body string `json:"body,omitempty" yaml:"body,omitempty"`
// component
Component string `json:"component,omitempty" yaml:"component,omitempty"`
// detail
Detail string `json:"detail,omitempty" yaml:"detail,omitempty"`
// error
Error string `json:"error,omitempty" yaml:"error,omitempty"`
// forwarded for
ForwardedFor string `json:"forwarded_for,omitempty" yaml:"forwarded_for,omitempty"`
// from
// Format: date-time
From strfmt.DateTime `json:"from,omitempty" yaml:"from,omitempty"`
// limit
Limit int64 `json:"limit,omitempty" yaml:"limit,omitempty"`
// path
Path string `json:"path,omitempty" yaml:"path,omitempty"`
// phase
Phase string `json:"phase,omitempty" yaml:"phase,omitempty"`
// project
Project string `json:"project,omitempty" yaml:"project,omitempty"`
// remote addr
RemoteAddr string `json:"remote_addr,omitempty" yaml:"remote_addr,omitempty"`
// rqid
Rqid string `json:"rqid,omitempty" yaml:"rqid,omitempty"`
// status code
StatusCode int32 `json:"status_code,omitempty" yaml:"status_code,omitempty"`
// tenant
Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
// to
// Format: date-time
To strfmt.DateTime `json:"to,omitempty" yaml:"to,omitempty"`
// type
Type string `json:"type,omitempty" yaml:"type,omitempty"`
// user
User string `json:"user,omitempty" yaml:"user,omitempty"`
}
V1AuditFindRequest v1 audit find request
swagger:model v1.AuditFindRequest
func (*V1AuditFindRequest) ContextValidate ¶ added in v0.22.4
ContextValidate validates this v1 audit find request based on context it is used
func (*V1AuditFindRequest) MarshalBinary ¶ added in v0.22.4
func (m *V1AuditFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1AuditFindRequest) UnmarshalBinary ¶ added in v0.22.4
func (m *V1AuditFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1AuditResponse ¶ added in v0.22.4
type V1AuditResponse struct {
// body
Body string `json:"body,omitempty" yaml:"body,omitempty"`
// component
Component string `json:"component,omitempty" yaml:"component,omitempty"`
// detail
Detail string `json:"detail,omitempty" yaml:"detail,omitempty"`
// error
Error string `json:"error,omitempty" yaml:"error,omitempty"`
// forwarded for
ForwardedFor string `json:"forwarded_for,omitempty" yaml:"forwarded_for,omitempty"`
// path
Path string `json:"path,omitempty" yaml:"path,omitempty"`
// phase
Phase string `json:"phase,omitempty" yaml:"phase,omitempty"`
// remote addr
RemoteAddr string `json:"remote_addr,omitempty" yaml:"remote_addr,omitempty"`
// rqid
Rqid string `json:"rqid,omitempty" yaml:"rqid,omitempty"`
// status code
StatusCode int32 `json:"status_code,omitempty" yaml:"status_code,omitempty"`
// tenant
Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
// timestamp
// Format: date-time
Timestamp strfmt.DateTime `json:"timestamp,omitempty" yaml:"timestamp,omitempty"`
// type
Type string `json:"type,omitempty" yaml:"type,omitempty"`
// user
User string `json:"user,omitempty" yaml:"user,omitempty"`
}
V1AuditResponse v1 audit response
swagger:model v1.AuditResponse
func (*V1AuditResponse) ContextValidate ¶ added in v0.22.4
ContextValidate validates this v1 audit response based on context it is used
func (*V1AuditResponse) MarshalBinary ¶ added in v0.22.4
func (m *V1AuditResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1AuditResponse) UnmarshalBinary ¶ added in v0.22.4
func (m *V1AuditResponse) 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" yaml:"cidrs"`
// the virtual networks that are exposed at this switch port
Vnis []string `json:"vnis" yaml:"vnis"`
}
V1BGPFilter v1 b g p filter
swagger:model v1.BGPFilter
func (*V1BGPFilter) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 b g p filter based on context it is used
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 V1BoardRevisions ¶ added in v0.13.2
type V1BoardRevisions struct {
// board revisions
// Required: true
BoardRevisions map[string][]string `json:"BoardRevisions" yaml:"BoardRevisions"`
}
V1BoardRevisions v1 board revisions
swagger:model v1.BoardRevisions
func (*V1BoardRevisions) ContextValidate ¶ added in v0.13.2
ContextValidate validates this v1 board revisions based on context it is used
func (*V1BoardRevisions) MarshalBinary ¶ added in v0.13.2
func (m *V1BoardRevisions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1BoardRevisions) UnmarshalBinary ¶ added in v0.13.2
func (m *V1BoardRevisions) 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" yaml:"bootloaderid"`
// the cmdline
// Required: true
Cmdline *string `json:"cmdline" yaml:"cmdline"`
// the ID of the current image
// Required: true
ImageID *string `json:"image_id" yaml:"image_id"`
// the initrd image
// Required: true
Initrd *string `json:"initrd" yaml:"initrd"`
// the kernel
// Required: true
Kernel *string `json:"kernel" yaml:"kernel"`
// the partition containing the OS
// Required: true
OsPartition *string `json:"os_partition" yaml:"os_partition"`
// the primary disk
// Required: true
PrimaryDisk *string `json:"primary_disk" yaml:"primary_disk"`
}
V1BootInfo v1 boot info
swagger:model v1.BootInfo
func (*V1BootInfo) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 boot info based on context it is used
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" yaml:"description"`
// the state of this chassis identify LED. empty means LED-OFF
// Required: true
Value *string `json:"value" yaml:"value"`
}
V1ChassisIdentifyLEDState v1 chassis identify l e d state
swagger:model v1.ChassisIdentifyLEDState
func (*V1ChassisIdentifyLEDState) ContextValidate ¶ added in v0.12.1
func (m *V1ChassisIdentifyLEDState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 chassis identify l e d state based on context it is used
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 V1Common ¶ added in v0.15.1
type V1Common struct {
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1Common v1 common
swagger:model v1.Common
func (*V1Common) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 common based on context it is used
func (*V1Common) MarshalBinary ¶ added in v0.15.1
MarshalBinary interface implementation
func (*V1Common) UnmarshalBinary ¶ added in v0.15.1
UnmarshalBinary interface implementation
type V1DNSServer ¶ added in v0.39.0
type V1DNSServer struct {
// ip address of this dns server
// Required: true
IP *string `json:"ip" yaml:"ip"`
}
V1DNSServer v1 DNS server
swagger:model v1.DNSServer
func (*V1DNSServer) ContextValidate ¶ added in v0.39.0
ContextValidate validates this v1 DNS server based on context it is used
func (*V1DNSServer) MarshalBinary ¶ added in v0.39.0
func (m *V1DNSServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DNSServer) UnmarshalBinary ¶ added in v0.39.0
func (m *V1DNSServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Describable ¶ added in v0.15.1
type V1Describable struct {
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1Describable v1 describable
swagger:model v1.Describable
func (*V1Describable) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 describable based on context it is used
func (*V1Describable) MarshalBinary ¶ added in v0.15.1
func (m *V1Describable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Describable) UnmarshalBinary ¶ added in v0.15.1
func (m *V1Describable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Disk ¶ added in v0.15.0
type V1Disk struct {
// the device to create the partitions
// Required: true
Device *string `json:"device" yaml:"device"`
// list of partitions to create on this disk
Partitions []*V1DiskPartition `json:"partitions" yaml:"partitions"`
// if set to true, this disk will be wiped before reinstallation
// Required: true
Wipeonreinstall *bool `json:"wipeonreinstall" yaml:"wipeonreinstall"`
}
V1Disk v1 disk
swagger:model v1.Disk
func (*V1Disk) ContextValidate ¶ added in v0.15.0
ContextValidate validate this v1 disk based on the context it is used
func (*V1Disk) MarshalBinary ¶ added in v0.15.0
MarshalBinary interface implementation
func (*V1Disk) UnmarshalBinary ¶ added in v0.15.0
UnmarshalBinary interface implementation
type V1DiskPartition ¶ added in v0.15.0
type V1DiskPartition struct {
// the gpt partition table type of this partition
// Required: true
Gpttype *string `json:"gpttype" yaml:"gpttype"`
// optional label for this this partition
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// partition number, will be appended to partitionprefix to create the final devicename
// Required: true
Number *int64 `json:"number" yaml:"number"`
// size in mebibytes (MiB) of this partition
// Required: true
Size *int64 `json:"size" yaml:"size"`
}
V1DiskPartition v1 disk partition
swagger:model v1.DiskPartition
func (*V1DiskPartition) ContextValidate ¶ added in v0.15.0
ContextValidate validates this v1 disk partition based on context it is used
func (*V1DiskPartition) MarshalBinary ¶ added in v0.15.0
func (m *V1DiskPartition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DiskPartition) UnmarshalBinary ¶ added in v0.15.0
func (m *V1DiskPartition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1EmptyBody ¶
type V1EmptyBody interface{}
V1EmptyBody v1 empty body
swagger:model v1.EmptyBody
type V1Filesystem ¶ added in v0.15.0
type V1Filesystem struct {
// the options to use to create (mkfs) this filesystem
Createoptions []string `json:"createoptions" yaml:"createoptions"`
// the underlying device where this filesystem should be created
// Required: true
Device *string `json:"device" yaml:"device"`
// the filesystem format
// Required: true
Format *string `json:"format" yaml:"format"`
// optional label for this this filesystem
Label string `json:"label,omitempty" yaml:"label,omitempty"`
// the options to use to mount this filesystem
Mountoptions []string `json:"mountoptions" yaml:"mountoptions"`
// the mountpoint where this filesystem should be mounted on
Path string `json:"path,omitempty" yaml:"path,omitempty"`
}
V1Filesystem v1 filesystem
swagger:model v1.Filesystem
func (*V1Filesystem) ContextValidate ¶ added in v0.15.0
ContextValidate validates this v1 filesystem based on context it is used
func (*V1Filesystem) MarshalBinary ¶ added in v0.15.0
func (m *V1Filesystem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Filesystem) UnmarshalBinary ¶ added in v0.15.0
func (m *V1Filesystem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutBase ¶ added in v0.15.1
type V1FilesystemLayoutBase struct {
// constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts
// Required: true
Constraints *V1FilesystemLayoutConstraints `json:"constraints" yaml:"constraints"`
// list of disks that belong to this layout
Disks []*V1Disk `json:"disks" yaml:"disks"`
// list of filesystems to create
Filesystems []*V1Filesystem `json:"filesystems" yaml:"filesystems"`
// list of logicalvolumes to create
Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes" yaml:"logicalvolumes"`
// list of raid arrays to create
Raid []*V1Raid `json:"raid" yaml:"raid"`
// list of volumegroups to create
Volumegroups []*V1VolumeGroup `json:"volumegroups" yaml:"volumegroups"`
}
V1FilesystemLayoutBase v1 filesystem layout base
swagger:model v1.FilesystemLayoutBase
func (*V1FilesystemLayoutBase) ContextValidate ¶ added in v0.15.1
func (m *V1FilesystemLayoutBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 filesystem layout base based on the context it is used
func (*V1FilesystemLayoutBase) MarshalBinary ¶ added in v0.15.1
func (m *V1FilesystemLayoutBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1FilesystemLayoutBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutConstraints ¶ added in v0.15.0
type V1FilesystemLayoutConstraints struct {
// list of images this layout applies to
// Required: true
Images map[string]string `json:"images" yaml:"images"`
// list of sizes this layout applies to
Sizes []string `json:"sizes" yaml:"sizes"`
}
V1FilesystemLayoutConstraints v1 filesystem layout constraints
swagger:model v1.FilesystemLayoutConstraints
func (*V1FilesystemLayoutConstraints) ContextValidate ¶ added in v0.15.0
func (m *V1FilesystemLayoutConstraints) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 filesystem layout constraints based on context it is used
func (*V1FilesystemLayoutConstraints) MarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutConstraints) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutConstraints) UnmarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutConstraints) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutCreateRequest ¶ added in v0.15.0
type V1FilesystemLayoutCreateRequest struct {
// constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts
// Required: true
Constraints *V1FilesystemLayoutConstraints `json:"constraints" yaml:"constraints"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// list of disks that belong to this layout
Disks []*V1Disk `json:"disks" yaml:"disks"`
// list of filesystems to create
Filesystems []*V1Filesystem `json:"filesystems" yaml:"filesystems"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// list of logicalvolumes to create
Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes" yaml:"logicalvolumes"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// list of raid arrays to create
Raid []*V1Raid `json:"raid" yaml:"raid"`
// list of volumegroups to create
Volumegroups []*V1VolumeGroup `json:"volumegroups" yaml:"volumegroups"`
}
V1FilesystemLayoutCreateRequest v1 filesystem layout create request
swagger:model v1.FilesystemLayoutCreateRequest
func (*V1FilesystemLayoutCreateRequest) ContextValidate ¶ added in v0.15.0
func (m *V1FilesystemLayoutCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 filesystem layout create request based on the context it is used
func (*V1FilesystemLayoutCreateRequest) MarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutCreateRequest) UnmarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutMatchRequest ¶ added in v0.15.0
type V1FilesystemLayoutMatchRequest struct {
// filesystemlayout id to check
// Required: true
Filesystemlayout *string `json:"filesystemlayout" yaml:"filesystemlayout"`
// machine id to check
// Required: true
Machine *string `json:"machine" yaml:"machine"`
}
V1FilesystemLayoutMatchRequest v1 filesystem layout match request
swagger:model v1.FilesystemLayoutMatchRequest
func (*V1FilesystemLayoutMatchRequest) ContextValidate ¶ added in v0.15.0
func (m *V1FilesystemLayoutMatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 filesystem layout match request based on context it is used
func (*V1FilesystemLayoutMatchRequest) MarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutMatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutMatchRequest) UnmarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutMatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutResponse ¶ added in v0.15.0
type V1FilesystemLayoutResponse struct {
// constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts
// Required: true
Constraints *V1FilesystemLayoutConstraints `json:"constraints" yaml:"constraints"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// list of disks that belong to this layout
Disks []*V1Disk `json:"disks" yaml:"disks"`
// list of filesystems to create
Filesystems []*V1Filesystem `json:"filesystems" yaml:"filesystems"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// list of logicalvolumes to create
Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes" yaml:"logicalvolumes"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// list of raid arrays to create
Raid []*V1Raid `json:"raid" yaml:"raid"`
// list of volumegroups to create
Volumegroups []*V1VolumeGroup `json:"volumegroups" yaml:"volumegroups"`
}
V1FilesystemLayoutResponse v1 filesystem layout response
swagger:model v1.FilesystemLayoutResponse
func (*V1FilesystemLayoutResponse) ContextValidate ¶ added in v0.15.0
func (m *V1FilesystemLayoutResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 filesystem layout response based on the context it is used
func (*V1FilesystemLayoutResponse) MarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutResponse) UnmarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutTryRequest ¶ added in v0.15.0
type V1FilesystemLayoutTryRequest struct {
// image to try
// Required: true
Image *string `json:"image" yaml:"image"`
// machine size to try
// Required: true
Size *string `json:"size" yaml:"size"`
}
V1FilesystemLayoutTryRequest v1 filesystem layout try request
swagger:model v1.FilesystemLayoutTryRequest
func (*V1FilesystemLayoutTryRequest) ContextValidate ¶ added in v0.15.0
func (m *V1FilesystemLayoutTryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 filesystem layout try request based on context it is used
func (*V1FilesystemLayoutTryRequest) MarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutTryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutTryRequest) UnmarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutTryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FilesystemLayoutUpdateRequest ¶ added in v0.15.0
type V1FilesystemLayoutUpdateRequest struct {
// constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts
// Required: true
Constraints *V1FilesystemLayoutConstraints `json:"constraints" yaml:"constraints"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// list of disks that belong to this layout
Disks []*V1Disk `json:"disks" yaml:"disks"`
// list of filesystems to create
Filesystems []*V1Filesystem `json:"filesystems" yaml:"filesystems"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// list of logicalvolumes to create
Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes" yaml:"logicalvolumes"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// list of raid arrays to create
Raid []*V1Raid `json:"raid" yaml:"raid"`
// list of volumegroups to create
Volumegroups []*V1VolumeGroup `json:"volumegroups" yaml:"volumegroups"`
}
V1FilesystemLayoutUpdateRequest v1 filesystem layout update request
swagger:model v1.FilesystemLayoutUpdateRequest
func (*V1FilesystemLayoutUpdateRequest) ContextValidate ¶ added in v0.15.0
func (m *V1FilesystemLayoutUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 filesystem layout update request based on the context it is used
func (*V1FilesystemLayoutUpdateRequest) MarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FilesystemLayoutUpdateRequest) UnmarshalBinary ¶ added in v0.15.0
func (m *V1FilesystemLayoutUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirewallAllocateRequest ¶ added in v0.27.0
type V1FirewallAllocateRequest struct {
// optional egress and ingress firewall rules to deploy during firewall allocation
FirewallRules *V1FirewallRules `json:"firewall_rules,omitempty" yaml:"firewall_rules,omitempty"`
}
V1FirewallAllocateRequest v1 firewall allocate request
swagger:model v1.FirewallAllocateRequest
func (*V1FirewallAllocateRequest) ContextValidate ¶ added in v0.27.0
func (m *V1FirewallAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 firewall allocate request based on the context it is used
func (*V1FirewallAllocateRequest) MarshalBinary ¶ added in v0.27.0
func (m *V1FirewallAllocateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallAllocateRequest) UnmarshalBinary ¶ added in v0.27.0
func (m *V1FirewallAllocateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirewallCreateRequest ¶
type V1FirewallCreateRequest struct {
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the dns servers used for the machine
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// the filesystemlayout id to assign to this machine
Filesystemlayoutid string `json:"filesystemlayoutid,omitempty" yaml:"filesystemlayoutid,omitempty"`
// optional egress and ingress firewall rules to deploy during firewall allocation
FirewallRules *V1FirewallRules `json:"firewall_rules,omitempty" yaml:"firewall_rules,omitempty"`
// the hostname for the allocated machine (defaults to metal)
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
// the image id to assign this machine to
// Required: true
Imageid *string `json:"imageid" yaml:"imageid"`
// the ips to attach to this machine additionally
Ips []string `json:"ips" yaml:"ips"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the networks that this machine will be placed in.
Networks []*V1MachineAllocationNetwork `json:"networks" yaml:"networks"`
// the ntp servers used for the machine
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
// the partition id to assign this machine to
// Required: true
Partitionid *string `json:"partitionid" yaml:"partitionid"`
// by default machines are spread across the racks inside a partition for every project. if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
PlacementTags []string `json:"placement_tags" yaml:"placement_tags"`
// the project id to assign this machine to
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// the size id to assign this machine to
// Required: true
Sizeid *string `json:"sizeid" yaml:"sizeid"`
// the public ssh keys to access the machine with
// Required: true
SSHPubKeys []string `json:"ssh_pub_keys" yaml:"ssh_pub_keys"`
// tags for this machine
Tags []string `json:"tags" yaml:"tags"`
// cloud-init.io compatible userdata must be base64 encoded
UserData string `json:"user_data,omitempty" yaml:"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" yaml:"uuid,omitempty"`
}
V1FirewallCreateRequest v1 firewall create request
swagger:model v1.FirewallCreateRequest
func (*V1FirewallCreateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1FirewallCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 firewall create request based on the context it is used
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 V1FirewallEgressRule ¶ added in v0.27.0
type V1FirewallEgressRule struct {
// an optional comment describing what this rule is used for
Comment string `json:"comment,omitempty" yaml:"comment,omitempty"`
// the ports affected by this rule
// Required: true
Ports []int32 `json:"ports" yaml:"ports"`
// the protocol for the rule, defaults to tcp
// Enum: ["tcp","udp"]
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
// the cidrs affected by this rule
// Required: true
To []string `json:"to" yaml:"to"`
}
V1FirewallEgressRule v1 firewall egress rule
swagger:model v1.FirewallEgressRule
func (*V1FirewallEgressRule) ContextValidate ¶ added in v0.27.0
ContextValidate validates this v1 firewall egress rule based on context it is used
func (*V1FirewallEgressRule) MarshalBinary ¶ added in v0.27.0
func (m *V1FirewallEgressRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallEgressRule) UnmarshalBinary ¶ added in v0.27.0
func (m *V1FirewallEgressRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirewallFindRequest ¶
type V1FirewallFindRequest struct {
// allocation hostname
AllocationHostname string `json:"allocation_hostname,omitempty" yaml:"allocation_hostname,omitempty"`
// allocation image id
AllocationImageID string `json:"allocation_image_id,omitempty" yaml:"allocation_image_id,omitempty"`
// allocation name
AllocationName string `json:"allocation_name,omitempty" yaml:"allocation_name,omitempty"`
// allocation project
AllocationProject string `json:"allocation_project,omitempty" yaml:"allocation_project,omitempty"`
// allocation role
AllocationRole string `json:"allocation_role,omitempty" yaml:"allocation_role,omitempty"`
// allocation succeeded
AllocationSucceeded bool `json:"allocation_succeeded,omitempty" yaml:"allocation_succeeded,omitempty"`
// disk names
DiskNames []string `json:"disk_names" yaml:"disk_names"`
// disk sizes
DiskSizes []int64 `json:"disk_sizes" yaml:"disk_sizes"`
// fru board mfg
FruBoardMfg string `json:"fru_board_mfg,omitempty" yaml:"fru_board_mfg,omitempty"`
// fru board mfg serial
FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty" yaml:"fru_board_mfg_serial,omitempty"`
// fru board part number
FruBoardPartNumber string `json:"fru_board_part_number,omitempty" yaml:"fru_board_part_number,omitempty"`
// fru chassis part number
FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty" yaml:"fru_chassis_part_number,omitempty"`
// fru chassis part serial
FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty" yaml:"fru_chassis_part_serial,omitempty"`
// fru product manufacturer
FruProductManufacturer string `json:"fru_product_manufacturer,omitempty" yaml:"fru_product_manufacturer,omitempty"`
// fru product part number
FruProductPartNumber string `json:"fru_product_part_number,omitempty" yaml:"fru_product_part_number,omitempty"`
// fru product serial
FruProductSerial string `json:"fru_product_serial,omitempty" yaml:"fru_product_serial,omitempty"`
// hardware memory
HardwareMemory int64 `json:"hardware_memory,omitempty" yaml:"hardware_memory,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// ipmi address
IpmiAddress string `json:"ipmi_address,omitempty" yaml:"ipmi_address,omitempty"`
// ipmi interface
IpmiInterface string `json:"ipmi_interface,omitempty" yaml:"ipmi_interface,omitempty"`
// ipmi mac address
IpmiMacAddress string `json:"ipmi_mac_address,omitempty" yaml:"ipmi_mac_address,omitempty"`
// ipmi user
IpmiUser string `json:"ipmi_user,omitempty" yaml:"ipmi_user,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// network asns
NetworkAsns []int64 `json:"network_asns" yaml:"network_asns"`
// network destination prefixes
NetworkDestinationPrefixes []string `json:"network_destination_prefixes" yaml:"network_destination_prefixes"`
// network ids
NetworkIds []string `json:"network_ids" yaml:"network_ids"`
// network ips
NetworkIps []string `json:"network_ips" yaml:"network_ips"`
// network prefixes
NetworkPrefixes []string `json:"network_prefixes" yaml:"network_prefixes"`
// network vrfs
NetworkVrfs []int64 `json:"network_vrfs" yaml:"network_vrfs"`
// nics mac addresses
NicsMacAddresses []string `json:"nics_mac_addresses" yaml:"nics_mac_addresses"`
// nics names
NicsNames []string `json:"nics_names" yaml:"nics_names"`
// nics neighbor mac addresses
NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses" yaml:"nics_neighbor_mac_addresses"`
// nics neighbor names
NicsNeighborNames []string `json:"nics_neighbor_names" yaml:"nics_neighbor_names"`
// nics neighbor vrfs
NicsNeighborVrfs []string `json:"nics_neighbor_vrfs" yaml:"nics_neighbor_vrfs"`
// nics vrfs
NicsVrfs []string `json:"nics_vrfs" yaml:"nics_vrfs"`
// partition id
PartitionID string `json:"partition_id,omitempty" yaml:"partition_id,omitempty"`
// rackid
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// sizeid
Sizeid string `json:"sizeid,omitempty" yaml:"sizeid,omitempty"`
// state value
// Enum: ["","LOCKED","RESERVED"]
StateValue string `json:"state_value,omitempty" yaml:"state_value,omitempty"`
// tags
Tags []string `json:"tags" yaml:"tags"`
}
V1FirewallFindRequest v1 firewall find request
swagger:model v1.FirewallFindRequest
func (*V1FirewallFindRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 firewall find request based on context it is used
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 V1FirewallIngressRule ¶ added in v0.27.0
type V1FirewallIngressRule struct {
// an optional comment describing what this rule is used for
Comment string `json:"comment,omitempty" yaml:"comment,omitempty"`
// the cidrs affected by this rule
// Required: true
From []string `json:"from" yaml:"from"`
// the ports affected by this rule
// Required: true
Ports []int32 `json:"ports" yaml:"ports"`
// the protocol for the rule, defaults to tcp
// Enum: ["tcp","udp"]
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
// the cidrs affected by this rule
To []string `json:"to" yaml:"to"`
}
V1FirewallIngressRule v1 firewall ingress rule
swagger:model v1.FirewallIngressRule
func (*V1FirewallIngressRule) ContextValidate ¶ added in v0.27.0
ContextValidate validates this v1 firewall ingress rule based on context it is used
func (*V1FirewallIngressRule) MarshalBinary ¶ added in v0.27.0
func (m *V1FirewallIngressRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallIngressRule) UnmarshalBinary ¶ added in v0.27.0
func (m *V1FirewallIngressRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirewallResponse ¶
type V1FirewallResponse struct {
// the allocation data of an allocated machine
Allocation *V1MachineAllocation `json:"allocation,omitempty" yaml:"allocation,omitempty"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios" yaml:"bios"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events" yaml:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware" yaml:"hardware"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate" yaml:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness" yaml:"liveliness"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition assigned to this machine
// Read Only: true
Partition *V1PartitionResponse `json:"partition,omitempty" yaml:"partition,omitempty"`
// the rack assigned to this machine
// Read Only: true
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// the size of this machine
// Read Only: true
Size *V1SizeResponse `json:"size,omitempty" yaml:"size,omitempty"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state" yaml:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags" yaml:"tags"`
}
V1FirewallResponse v1 firewall response
swagger:model v1.FirewallResponse
func (*V1FirewallResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 firewall response based on the context it is used
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 V1FirewallRules ¶ added in v0.27.0
type V1FirewallRules struct {
// list of egress rules to be deployed during firewall allocation
Egress []*V1FirewallEgressRule `json:"egress" yaml:"egress"`
// list of ingress rules to be deployed during firewall allocation
Ingress []*V1FirewallIngressRule `json:"ingress" yaml:"ingress"`
}
V1FirewallRules v1 firewall rules
swagger:model v1.FirewallRules
func (*V1FirewallRules) ContextValidate ¶ added in v0.27.0
ContextValidate validate this v1 firewall rules based on the context it is used
func (*V1FirewallRules) MarshalBinary ¶ added in v0.27.0
func (m *V1FirewallRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirewallRules) UnmarshalBinary ¶ added in v0.27.0
func (m *V1FirewallRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1FirmwaresResponse ¶ added in v0.13.1
type V1FirmwaresResponse struct {
// list of firmwares per board per vendor per kind
// Required: true
Revisions map[string]V1VendorRevisions `json:"revisions" yaml:"revisions"`
}
V1FirmwaresResponse v1 firmwares response
swagger:model v1.FirmwaresResponse
func (*V1FirmwaresResponse) ContextValidate ¶ added in v0.13.1
ContextValidate validate this v1 firmwares response based on the context it is used
func (*V1FirmwaresResponse) MarshalBinary ¶ added in v0.13.1
func (m *V1FirmwaresResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1FirmwaresResponse) UnmarshalBinary ¶ added in v0.13.1
func (m *V1FirmwaresResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IAMConfig ¶ added in v0.14.0
type V1IAMConfig struct {
// idm config
IdmConfig *V1IDMConfig `json:"idm_config,omitempty" yaml:"idm_config,omitempty"`
// issuer config
IssuerConfig *V1IssuerConfig `json:"issuer_config,omitempty" yaml:"issuer_config,omitempty"`
}
V1IAMConfig v1 i a m config
swagger:model v1.IAMConfig
func (*V1IAMConfig) ContextValidate ¶ added in v0.14.0
ContextValidate validate this v1 i a m config based on the context it is used
func (*V1IAMConfig) MarshalBinary ¶ added in v0.14.0
func (m *V1IAMConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IAMConfig) UnmarshalBinary ¶ added in v0.14.0
func (m *V1IAMConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IDMConfig ¶ added in v0.14.0
type V1IDMConfig struct {
// idm type
IdmType string `json:"idm_type,omitempty" yaml:"idm_type,omitempty"`
}
V1IDMConfig v1 ID m config
swagger:model v1.IDMConfig
func (*V1IDMConfig) ContextValidate ¶ added in v0.14.0
ContextValidate validates this v1 ID m config based on context it is used
func (*V1IDMConfig) MarshalBinary ¶ added in v0.14.0
func (m *V1IDMConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IDMConfig) UnmarshalBinary ¶ added in v0.14.0
func (m *V1IDMConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPAllocateRequest ¶
type V1IPAllocateRequest struct {
// the addressfamily to allocate a ip address from the given network, defaults to IPv4
// Enum: ["IPv4","IPv6"]
Addressfamily string `json:"addressfamily,omitempty" yaml:"addressfamily,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the machine id this ip should be associated with
Machineid string `json:"machineid,omitempty" yaml:"machineid,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the network this ip allocate request address belongs to
// Required: true
Networkid *string `json:"networkid" yaml:"networkid"`
// the project this ip address belongs to
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// free tags that you associate with this ip.
Tags []string `json:"tags" yaml:"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" yaml:"type"`
}
V1IPAllocateRequest v1 IP allocate request
swagger:model v1.IPAllocateRequest
func (*V1IPAllocateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 IP allocate request based on context it is used
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 V1IPBase ¶ added in v0.15.1
type V1IPBase struct {
// the network this ip allocate request address belongs to
// Required: true
Networkid *string `json:"networkid" yaml:"networkid"`
// the project this ip address belongs to
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// free tags that you associate with this ip.
Tags []string `json:"tags" yaml:"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" yaml:"type"`
}
V1IPBase v1 IP base
swagger:model v1.IPBase
func (*V1IPBase) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 IP base based on context it is used
func (*V1IPBase) MarshalBinary ¶ added in v0.15.1
MarshalBinary interface implementation
func (*V1IPBase) UnmarshalBinary ¶ added in v0.15.1
UnmarshalBinary interface implementation
type V1IPFindRequest ¶
type V1IPFindRequest struct {
// addressfamily
// Enum: ["IPv4","IPv6"]
Addressfamily string `json:"addressfamily,omitempty" yaml:"addressfamily,omitempty"`
// a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time.
Allocationuuid string `json:"allocationuuid,omitempty" yaml:"allocationuuid,omitempty"`
// the address (ipv4 or ipv6) of this ip
Ipaddress string `json:"ipaddress,omitempty" yaml:"ipaddress,omitempty"`
// the machine an ip address is associated to
Machineid string `json:"machineid,omitempty" yaml:"machineid,omitempty"`
// the name of the ip address
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the network this ip allocate request address belongs to
Networkid string `json:"networkid,omitempty" yaml:"networkid,omitempty"`
// the prefix of the network this ip address belongs to
Networkprefix string `json:"networkprefix,omitempty" yaml:"networkprefix,omitempty"`
// the project this ip address belongs to, empty if not strong coupled
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
// the tags that are assigned to this ip address
Tags []string `json:"tags" yaml:"tags"`
// the type of the ip address, ephemeral or static
Type string `json:"type,omitempty" yaml:"type,omitempty"`
}
V1IPFindRequest v1 IP find request
swagger:model v1.IPFindRequest
func (*V1IPFindRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 IP find request based on context it is used
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 V1IPIdentifiable ¶ added in v0.15.1
type V1IPIdentifiable struct {
// a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time.
// Required: true
Allocationuuid *string `json:"allocationuuid" yaml:"allocationuuid"`
// the address (ipv4 or ipv6) of this ip
// Required: true
Ipaddress *string `json:"ipaddress" yaml:"ipaddress"`
}
V1IPIdentifiable an ip address that can be attached to a machine
swagger:model v1.IPIdentifiable
func (*V1IPIdentifiable) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 IP identifiable based on context it is used
func (*V1IPIdentifiable) MarshalBinary ¶ added in v0.15.1
func (m *V1IPIdentifiable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IPIdentifiable) UnmarshalBinary ¶ added in v0.15.1
func (m *V1IPIdentifiable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPResponse ¶
type V1IPResponse struct {
// a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time.
// Required: true
Allocationuuid *string `json:"allocationuuid" yaml:"allocationuuid"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the address (ipv4 or ipv6) of this ip
// Required: true
Ipaddress *string `json:"ipaddress" yaml:"ipaddress"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the network this ip allocate request address belongs to
// Required: true
Networkid *string `json:"networkid" yaml:"networkid"`
// the project this ip address belongs to
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// free tags that you associate with this ip.
Tags []string `json:"tags" yaml:"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" yaml:"type"`
}
V1IPResponse v1 IP response
swagger:model v1.IPResponse
func (*V1IPResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 IP response based on the context it is used
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" yaml:"description,omitempty"`
// the address (ipv4 or ipv6) of this ip
// Required: true
Ipaddress *string `json:"ipaddress" yaml:"ipaddress"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// free tags that you associate with this ip.
Tags []string `json:"tags" yaml:"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" yaml:"type"`
}
V1IPUpdateRequest an ip address that can be attached to a machine
swagger:model v1.IPUpdateRequest
func (*V1IPUpdateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 IP update request based on context it is used
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 V1Identifiable ¶ added in v0.15.1
type V1Identifiable struct {
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
}
V1Identifiable v1 identifiable
swagger:model v1.Identifiable
func (*V1Identifiable) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 identifiable based on context it is used
func (*V1Identifiable) MarshalBinary ¶ added in v0.15.1
func (m *V1Identifiable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Identifiable) UnmarshalBinary ¶ added in v0.15.1
func (m *V1Identifiable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageBase ¶ added in v0.15.1
type V1ImageBase struct {
// classification of this image
Classification string `json:"classification,omitempty" yaml:"classification,omitempty"`
// expirationDate of this image
// Required: true
// Format: date-time
ExpirationDate *strfmt.DateTime `json:"expirationDate" yaml:"expirationDate"`
// features of this image
Features []string `json:"features" yaml:"features"`
// the url of this image
URL string `json:"url,omitempty" yaml:"url,omitempty"`
// machines where this image is in use
Usedby []string `json:"usedby" yaml:"usedby"`
}
V1ImageBase an image that can be attached to a machine
swagger:model v1.ImageBase
func (*V1ImageBase) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 image base based on context it is used
func (*V1ImageBase) MarshalBinary ¶ added in v0.15.1
func (m *V1ImageBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1ImageBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageCreateRequest ¶
type V1ImageCreateRequest struct {
// classification of this image
Classification string `json:"classification,omitempty" yaml:"classification,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// expirationDate of this image
// Format: date-time
ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty" yaml:"expirationDate,omitempty"`
// features of this image
Features []string `json:"features" yaml:"features"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the url of this image
// Required: true
URL *string `json:"url" yaml:"url"`
}
V1ImageCreateRequest v1 image create request
swagger:model v1.ImageCreateRequest
func (*V1ImageCreateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 image create request based on context it is used
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 V1ImageFindRequest ¶ added in v0.22.2
type V1ImageFindRequest struct {
// classification
// Enum: ["deprecated","preview","supported"]
Classification string `json:"classification,omitempty" yaml:"classification,omitempty"`
// features
Features []string `json:"features" yaml:"features"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// os
Os string `json:"os,omitempty" yaml:"os,omitempty"`
// version
Version string `json:"version,omitempty" yaml:"version,omitempty"`
}
V1ImageFindRequest v1 image find request
swagger:model v1.ImageFindRequest
func (*V1ImageFindRequest) ContextValidate ¶ added in v0.22.2
ContextValidate validates this v1 image find request based on context it is used
func (*V1ImageFindRequest) MarshalBinary ¶ added in v0.22.2
func (m *V1ImageFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageFindRequest) UnmarshalBinary ¶ added in v0.22.2
func (m *V1ImageFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageResponse ¶
type V1ImageResponse struct {
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// classification of this image
Classification string `json:"classification,omitempty" yaml:"classification,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// expirationDate of this image
// Required: true
// Format: date-time
ExpirationDate *strfmt.DateTime `json:"expirationDate" yaml:"expirationDate"`
// features of this image
Features []string `json:"features" yaml:"features"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the url of this image
URL string `json:"url,omitempty" yaml:"url,omitempty"`
// machines where this image is in use
Usedby []string `json:"usedby" yaml:"usedby"`
}
V1ImageResponse v1 image response
swagger:model v1.ImageResponse
func (*V1ImageResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 image response based on the context it is used
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" yaml:"classification,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// expirationDate of this image
// Required: true
// Format: date-time
ExpirationDate *strfmt.DateTime `json:"expirationDate" yaml:"expirationDate"`
// features of this image
Features []string `json:"features" yaml:"features"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the url of this image
URL string `json:"url,omitempty" yaml:"url,omitempty"`
// machines where this image is in use
Usedby []string `json:"usedby" yaml:"usedby"`
}
V1ImageUpdateRequest v1 image update request
swagger:model v1.ImageUpdateRequest
func (*V1ImageUpdateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 image update request based on context it is used
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 V1IssuerConfig ¶ added in v0.14.0
type V1IssuerConfig struct {
// client id
ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`
// url
URL string `json:"url,omitempty" yaml:"url,omitempty"`
}
V1IssuerConfig v1 issuer config
swagger:model v1.IssuerConfig
func (*V1IssuerConfig) ContextValidate ¶ added in v0.14.0
ContextValidate validates this v1 issuer config based on context it is used
func (*V1IssuerConfig) MarshalBinary ¶ added in v0.14.0
func (m *V1IssuerConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1IssuerConfig) UnmarshalBinary ¶ added in v0.14.0
func (m *V1IssuerConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1LogicalVolume ¶ added in v0.15.0
type V1LogicalVolume struct {
// the type of this logical volume can be either linear|striped|raid1
// Required: true
Lvmtype *string `json:"lvmtype" yaml:"lvmtype"`
// the name of the logical volume
// Required: true
Name *string `json:"name" yaml:"name"`
// size in mebibytes (MiB) of this volume
// Required: true
Size *int64 `json:"size" yaml:"size"`
// the name of the volume group where to create the logical volume onto
// Required: true
Volumegroup *string `json:"volumegroup" yaml:"volumegroup"`
}
V1LogicalVolume v1 logical volume
swagger:model v1.LogicalVolume
func (*V1LogicalVolume) ContextValidate ¶ added in v0.15.0
ContextValidate validates this v1 logical volume based on context it is used
func (*V1LogicalVolume) MarshalBinary ¶ added in v0.15.0
func (m *V1LogicalVolume) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1LogicalVolume) UnmarshalBinary ¶ added in v0.15.0
func (m *V1LogicalVolume) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineAllocateRequest ¶
type V1MachineAllocateRequest struct {
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the dns servers used for the machine
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// the filesystemlayout id to assign to this machine
Filesystemlayoutid string `json:"filesystemlayoutid,omitempty" yaml:"filesystemlayoutid,omitempty"`
// the hostname for the allocated machine (defaults to metal)
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
// the image id to assign this machine to
// Required: true
Imageid *string `json:"imageid" yaml:"imageid"`
// the ips to attach to this machine additionally
Ips []string `json:"ips" yaml:"ips"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the networks that this machine will be placed in.
Networks []*V1MachineAllocationNetwork `json:"networks" yaml:"networks"`
// the ntp servers used for the machine
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
// the partition id to assign this machine to
// Required: true
Partitionid *string `json:"partitionid" yaml:"partitionid"`
// by default machines are spread across the racks inside a partition for every project. if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
PlacementTags []string `json:"placement_tags" yaml:"placement_tags"`
// the project id to assign this machine to
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// the size id to assign this machine to
// Required: true
Sizeid *string `json:"sizeid" yaml:"sizeid"`
// the public ssh keys to access the machine with
// Required: true
SSHPubKeys []string `json:"ssh_pub_keys" yaml:"ssh_pub_keys"`
// tags for this machine
Tags []string `json:"tags" yaml:"tags"`
// cloud-init.io compatible userdata must be base64 encoded
UserData string `json:"user_data,omitempty" yaml:"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" yaml:"uuid,omitempty"`
}
V1MachineAllocateRequest v1 machine allocate request
swagger:model v1.MachineAllocateRequest
func (*V1MachineAllocateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1MachineAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 machine allocate request based on the context it is used
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 {
// a unique identifier for this machine allocation, can be used to distinguish between machine allocations over time.
// Required: true
Allocationuuid *string `json:"allocationuuid" yaml:"allocationuuid"`
// information required for booting the machine from HD
BootInfo *V1BootInfo `json:"boot_info,omitempty" yaml:"boot_info,omitempty"`
// the time when the machine was created
// Required: true
// Format: date-time
Created *strfmt.DateTime `json:"created" yaml:"created"`
// email of machine creator
// Required: true
Creator *string `json:"creator" yaml:"creator"`
// a description for this machine
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the dns servers used for the machine
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// filesystemlayout to create on this machine
Filesystemlayout *V1FilesystemLayoutResponse `json:"filesystemlayout,omitempty" yaml:"filesystemlayout,omitempty"`
// a set of firewall rules to apply
FirewallRules *V1FirewallRules `json:"firewall_rules,omitempty" yaml:"firewall_rules,omitempty"`
// the hostname which will be used when creating the machine
// Required: true
Hostname *string `json:"hostname" yaml:"hostname"`
// the image assigned to this machine
// Read Only: true
Image *V1ImageResponse `json:"image,omitempty" yaml:"image,omitempty"`
// the name of the machine
// Required: true
Name *string `json:"name" yaml:"name"`
// the networks of this machine
// Required: true
Networks []*V1MachineNetwork `json:"networks" yaml:"networks"`
// the ntp servers used for the machine
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
// the project id that this machine is assigned to
// Required: true
Project *string `json:"project" yaml:"project"`
// indicates whether to reinstall the machine
// Required: true
Reinstall *bool `json:"reinstall" yaml:"reinstall"`
// the role of the machine
// Required: true
// Enum: ["firewall","machine"]
Role *string `json:"role" yaml:"role"`
// the public ssh keys to access the machine with
// Required: true
SSHPubKeys []string `json:"ssh_pub_keys" yaml:"ssh_pub_keys"`
// if the allocation of the machine was successful, this is set to true
// Required: true
Succeeded *bool `json:"succeeded" yaml:"succeeded"`
// userdata to execute post installation tasks
UserData string `json:"user_data,omitempty" yaml:"user_data,omitempty"`
// vpn connection info for machine
Vpn *V1MachineVPN `json:"vpn,omitempty" yaml:"vpn,omitempty"`
}
V1MachineAllocation v1 machine allocation
swagger:model v1.MachineAllocation
func (*V1MachineAllocation) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine allocation based on the context it is used
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" yaml:"autoacquire"`
// the id of the network that this machine will be placed in
// Required: true
Networkid *string `json:"networkid" yaml:"networkid"`
}
V1MachineAllocationNetwork v1 machine allocation network
swagger:model v1.MachineAllocationNetwork
func (*V1MachineAllocationNetwork) ContextValidate ¶ added in v0.12.1
func (m *V1MachineAllocationNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine allocation network based on context it is used
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" yaml:"date"`
// the bios vendor
// Required: true
Vendor *string `json:"vendor" yaml:"vendor"`
// the bios version
// Required: true
Version *string `json:"version" yaml:"version"`
}
V1MachineBIOS The bios version
swagger:model v1.MachineBIOS
func (*V1MachineBIOS) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 machine b i o s based on context it is used
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 V1MachineBase ¶ added in v0.15.1
type V1MachineBase struct {
// the allocation data of an allocated machine
Allocation *V1MachineAllocation `json:"allocation,omitempty" yaml:"allocation,omitempty"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios" yaml:"bios"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events" yaml:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware" yaml:"hardware"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate" yaml:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness" yaml:"liveliness"`
// the partition assigned to this machine
// Read Only: true
Partition *V1PartitionResponse `json:"partition,omitempty" yaml:"partition,omitempty"`
// the rack assigned to this machine
// Read Only: true
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// the size of this machine
// Read Only: true
Size *V1SizeResponse `json:"size,omitempty" yaml:"size,omitempty"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state" yaml:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags" yaml:"tags"`
}
V1MachineBase A machine representing a bare metal machine.
swagger:model v1.MachineBase
func (*V1MachineBase) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 machine base based on the context it is used
func (*V1MachineBase) MarshalBinary ¶ added in v0.15.1
func (m *V1MachineBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1MachineBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineBlockDevice ¶
type V1MachineBlockDevice struct {
// the name of this block device
// Required: true
Name *string `json:"name" yaml:"name"`
// the size of this block device
// Required: true
Size *int64 `json:"size" yaml:"size"`
}
V1MachineBlockDevice v1 machine block device
swagger:model v1.MachineBlockDevice
func (*V1MachineBlockDevice) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 machine block device based on context it is used
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 V1MachineConsolePasswordRequest ¶ added in v0.14.3
type V1MachineConsolePasswordRequest struct {
// id of the machine to get the consolepassword for
// Required: true
ID *string `json:"id" yaml:"id"`
// reason why the consolepassword is requested, typically a incident number with short description
// Required: true
Reason *string `json:"reason" yaml:"reason"`
}
V1MachineConsolePasswordRequest v1 machine console password request
swagger:model v1.MachineConsolePasswordRequest
func (*V1MachineConsolePasswordRequest) ContextValidate ¶ added in v0.14.3
func (m *V1MachineConsolePasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine console password request based on context it is used
func (*V1MachineConsolePasswordRequest) MarshalBinary ¶ added in v0.14.3
func (m *V1MachineConsolePasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineConsolePasswordRequest) UnmarshalBinary ¶ added in v0.14.3
func (m *V1MachineConsolePasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineConsolePasswordResponse ¶ added in v0.14.3
type V1MachineConsolePasswordResponse struct {
// the console password which was generated while provisioning
// Required: true
ConsolePassword *string `json:"console_password" yaml:"console_password"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1MachineConsolePasswordResponse v1 machine console password response
swagger:model v1.MachineConsolePasswordResponse
func (*V1MachineConsolePasswordResponse) ContextValidate ¶ added in v0.14.3
func (m *V1MachineConsolePasswordResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine console password response based on context it is used
func (*V1MachineConsolePasswordResponse) MarshalBinary ¶ added in v0.14.3
func (m *V1MachineConsolePasswordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineConsolePasswordResponse) UnmarshalBinary ¶ added in v0.14.3
func (m *V1MachineConsolePasswordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineFindRequest ¶
type V1MachineFindRequest struct {
// allocation hostname
AllocationHostname string `json:"allocation_hostname,omitempty" yaml:"allocation_hostname,omitempty"`
// allocation image id
AllocationImageID string `json:"allocation_image_id,omitempty" yaml:"allocation_image_id,omitempty"`
// allocation name
AllocationName string `json:"allocation_name,omitempty" yaml:"allocation_name,omitempty"`
// allocation project
AllocationProject string `json:"allocation_project,omitempty" yaml:"allocation_project,omitempty"`
// allocation role
AllocationRole string `json:"allocation_role,omitempty" yaml:"allocation_role,omitempty"`
// allocation succeeded
AllocationSucceeded bool `json:"allocation_succeeded,omitempty" yaml:"allocation_succeeded,omitempty"`
// disk names
DiskNames []string `json:"disk_names" yaml:"disk_names"`
// disk sizes
DiskSizes []int64 `json:"disk_sizes" yaml:"disk_sizes"`
// fru board mfg
FruBoardMfg string `json:"fru_board_mfg,omitempty" yaml:"fru_board_mfg,omitempty"`
// fru board mfg serial
FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty" yaml:"fru_board_mfg_serial,omitempty"`
// fru board part number
FruBoardPartNumber string `json:"fru_board_part_number,omitempty" yaml:"fru_board_part_number,omitempty"`
// fru chassis part number
FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty" yaml:"fru_chassis_part_number,omitempty"`
// fru chassis part serial
FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty" yaml:"fru_chassis_part_serial,omitempty"`
// fru product manufacturer
FruProductManufacturer string `json:"fru_product_manufacturer,omitempty" yaml:"fru_product_manufacturer,omitempty"`
// fru product part number
FruProductPartNumber string `json:"fru_product_part_number,omitempty" yaml:"fru_product_part_number,omitempty"`
// fru product serial
FruProductSerial string `json:"fru_product_serial,omitempty" yaml:"fru_product_serial,omitempty"`
// hardware memory
HardwareMemory int64 `json:"hardware_memory,omitempty" yaml:"hardware_memory,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// ipmi address
IpmiAddress string `json:"ipmi_address,omitempty" yaml:"ipmi_address,omitempty"`
// ipmi interface
IpmiInterface string `json:"ipmi_interface,omitempty" yaml:"ipmi_interface,omitempty"`
// ipmi mac address
IpmiMacAddress string `json:"ipmi_mac_address,omitempty" yaml:"ipmi_mac_address,omitempty"`
// ipmi user
IpmiUser string `json:"ipmi_user,omitempty" yaml:"ipmi_user,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// network asns
NetworkAsns []int64 `json:"network_asns" yaml:"network_asns"`
// network destination prefixes
NetworkDestinationPrefixes []string `json:"network_destination_prefixes" yaml:"network_destination_prefixes"`
// network ids
NetworkIds []string `json:"network_ids" yaml:"network_ids"`
// network ips
NetworkIps []string `json:"network_ips" yaml:"network_ips"`
// network prefixes
NetworkPrefixes []string `json:"network_prefixes" yaml:"network_prefixes"`
// network vrfs
NetworkVrfs []int64 `json:"network_vrfs" yaml:"network_vrfs"`
// nics mac addresses
NicsMacAddresses []string `json:"nics_mac_addresses" yaml:"nics_mac_addresses"`
// nics names
NicsNames []string `json:"nics_names" yaml:"nics_names"`
// nics neighbor mac addresses
NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses" yaml:"nics_neighbor_mac_addresses"`
// nics neighbor names
NicsNeighborNames []string `json:"nics_neighbor_names" yaml:"nics_neighbor_names"`
// nics neighbor vrfs
NicsNeighborVrfs []string `json:"nics_neighbor_vrfs" yaml:"nics_neighbor_vrfs"`
// nics vrfs
NicsVrfs []string `json:"nics_vrfs" yaml:"nics_vrfs"`
// partition id
PartitionID string `json:"partition_id,omitempty" yaml:"partition_id,omitempty"`
// rackid
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// sizeid
Sizeid string `json:"sizeid,omitempty" yaml:"sizeid,omitempty"`
// state value
// Enum: ["","LOCKED","RESERVED"]
StateValue string `json:"state_value,omitempty" yaml:"state_value,omitempty"`
// tags
Tags []string `json:"tags" yaml:"tags"`
}
V1MachineFindRequest v1 machine find request
swagger:model v1.MachineFindRequest
func (*V1MachineFindRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 machine find request based on context it is used
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" yaml:"board_mfg,omitempty"`
// the board mfg serial
BoardMfgSerial string `json:"board_mfg_serial,omitempty" yaml:"board_mfg_serial,omitempty"`
// the board part number
BoardPartNumber string `json:"board_part_number,omitempty" yaml:"board_part_number,omitempty"`
// the chassis part number
ChassisPartNumber string `json:"chassis_part_number,omitempty" yaml:"chassis_part_number,omitempty"`
// the chassis part serial
ChassisPartSerial string `json:"chassis_part_serial,omitempty" yaml:"chassis_part_serial,omitempty"`
// the product manufacturer
ProductManufacturer string `json:"product_manufacturer,omitempty" yaml:"product_manufacturer,omitempty"`
// the product part number
ProductPartNumber string `json:"product_part_number,omitempty" yaml:"product_part_number,omitempty"`
// the product serial
ProductSerial string `json:"product_serial,omitempty" yaml:"product_serial,omitempty"`
}
V1MachineFru The Field Replaceable Unit data
swagger:model v1.MachineFru
func (*V1MachineFru) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 machine fru based on context it is used
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" yaml:"cpu_cores"`
// the cpu details
Cpus []*V1MetalCPU `json:"cpus" yaml:"cpus"`
// the list of block devices of this machine
// Required: true
Disks []*V1MachineBlockDevice `json:"disks" yaml:"disks"`
// the gpu details
Gpus []*V1MetalGPU `json:"gpus" yaml:"gpus"`
// the total memory of the machine
// Required: true
Memory *int64 `json:"memory" yaml:"memory"`
// the list of network interfaces of this machine
// Required: true
Nics []*V1MachineNic `json:"nics" yaml:"nics"`
}
V1MachineHardware v1 machine hardware
swagger:model v1.MachineHardware
func (*V1MachineHardware) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine hardware based on the context it is used
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 V1MachineHardwareBase ¶ added in v0.15.1
type V1MachineHardwareBase struct {
// the number of cpu cores
// Required: true
CPUCores *int32 `json:"cpu_cores" yaml:"cpu_cores"`
// the cpu details
Cpus []*V1MetalCPU `json:"cpus" yaml:"cpus"`
// the list of block devices of this machine
// Required: true
Disks []*V1MachineBlockDevice `json:"disks" yaml:"disks"`
// the gpu details
Gpus []*V1MetalGPU `json:"gpus" yaml:"gpus"`
// the total memory of the machine
// Required: true
Memory *int64 `json:"memory" yaml:"memory"`
}
V1MachineHardwareBase v1 machine hardware base
swagger:model v1.MachineHardwareBase
func (*V1MachineHardwareBase) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 machine hardware base based on the context it is used
func (*V1MachineHardwareBase) MarshalBinary ¶ added in v0.15.1
func (m *V1MachineHardwareBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineHardwareBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1MachineHardwareBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIPMI ¶
type V1MachineIPMI struct {
// address
// Required: true
Address *string `json:"address" yaml:"address"`
// bmcversion
// Required: true
Bmcversion *string `json:"bmcversion" yaml:"bmcversion"`
// fru
// Required: true
Fru *V1MachineFru `json:"fru" yaml:"fru"`
// interface
// Required: true
Interface *string `json:"interface" yaml:"interface"`
// last updated
// Required: true
// Format: date-time
LastUpdated *strfmt.DateTime `json:"last_updated" yaml:"last_updated"`
// mac
// Required: true
Mac *string `json:"mac" yaml:"mac"`
// password
// Required: true
Password *string `json:"password" yaml:"password"`
// powermetric
// Required: true
Powermetric *V1PowerMetric `json:"powermetric" yaml:"powermetric"`
// powerstate
// Required: true
Powerstate *string `json:"powerstate" yaml:"powerstate"`
// powersupplies
// Required: true
Powersupplies []*V1PowerSupply `json:"powersupplies" yaml:"powersupplies"`
// user
// Required: true
User *string `json:"user" yaml:"user"`
}
V1MachineIPMI The IPMI connection data
swagger:model v1.MachineIPMI
func (*V1MachineIPMI) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine IP m i based on the context it is used
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 V1MachineIPMIResponse ¶
type V1MachineIPMIResponse struct {
// the allocation data of an allocated machine
Allocation *V1MachineAllocation `json:"allocation,omitempty" yaml:"allocation,omitempty"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios" yaml:"bios"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events" yaml:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware" yaml:"hardware"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// ipmi information of this machine
// Required: true
Ipmi *V1MachineIPMI `json:"ipmi" yaml:"ipmi"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate" yaml:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness" yaml:"liveliness"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition assigned to this machine
// Read Only: true
Partition *V1PartitionResponse `json:"partition,omitempty" yaml:"partition,omitempty"`
// the rack assigned to this machine
// Read Only: true
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// the size of this machine
// Read Only: true
Size *V1SizeResponse `json:"size,omitempty" yaml:"size,omitempty"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state" yaml:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags" yaml:"tags"`
}
V1MachineIPMIResponse v1 machine IP m i response
swagger:model v1.MachineIPMIResponse
func (*V1MachineIPMIResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine IP m i response based on the context it is used
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 V1MachineIpmiReport ¶ added in v0.11.0
type V1MachineIpmiReport struct {
// b i o s version
// Required: true
BIOSVersion *string `json:"BIOSVersion" yaml:"BIOSVersion"`
// b m c Ip
// Required: true
BMCIP *string `json:"BMCIp" yaml:"BMCIp"`
// b m c version
// Required: true
BMCVersion *string `json:"BMCVersion" yaml:"BMCVersion"`
// f r u
// Required: true
FRU *V1MachineFru `json:"FRU" yaml:"FRU"`
// indicator l e d state
// Required: true
IndicatorLEDState *string `json:"IndicatorLEDState" yaml:"IndicatorLEDState"`
// power metric
// Required: true
PowerMetric *V1PowerMetric `json:"PowerMetric" yaml:"PowerMetric"`
// power state
// Required: true
PowerState *string `json:"PowerState" yaml:"PowerState"`
// power supplies
// Required: true
PowerSupplies []*V1PowerSupply `json:"PowerSupplies" yaml:"PowerSupplies"`
}
V1MachineIpmiReport v1 machine ipmi report
swagger:model v1.MachineIpmiReport
func (*V1MachineIpmiReport) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine ipmi report based on the context it is used
func (*V1MachineIpmiReport) MarshalBinary ¶ added in v0.11.0
func (m *V1MachineIpmiReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIpmiReport) UnmarshalBinary ¶ added in v0.11.0
func (m *V1MachineIpmiReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIpmiReportResponse ¶ added in v0.11.0
type V1MachineIpmiReportResponse struct {
// the machine uuids that triggered a creation of a machine entity
// Required: true
Created []string `json:"created" yaml:"created"`
// the machine uuids that triggered an update of ipmi data
// Required: true
Updated []string `json:"updated" yaml:"updated"`
}
V1MachineIpmiReportResponse v1 machine ipmi report response
swagger:model v1.MachineIpmiReportResponse
func (*V1MachineIpmiReportResponse) ContextValidate ¶ added in v0.12.1
func (m *V1MachineIpmiReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine ipmi report response based on context it is used
func (*V1MachineIpmiReportResponse) MarshalBinary ¶ added in v0.11.0
func (m *V1MachineIpmiReportResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIpmiReportResponse) UnmarshalBinary ¶ added in v0.11.0
func (m *V1MachineIpmiReportResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIpmiReports ¶ added in v0.11.0
type V1MachineIpmiReports struct {
// the partition id for the ipmi report
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// uuid to machinereport
Reports map[string]V1MachineIpmiReport `json:"reports,omitempty" yaml:"reports,omitempty"`
}
V1MachineIpmiReports v1 machine ipmi reports
swagger:model v1.MachineIpmiReports
func (*V1MachineIpmiReports) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine ipmi reports based on the context it is used
func (*V1MachineIpmiReports) MarshalBinary ¶ added in v0.11.0
func (m *V1MachineIpmiReports) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIpmiReports) UnmarshalBinary ¶ added in v0.11.0
func (m *V1MachineIpmiReports) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIssue ¶ added in v0.24.2
type V1MachineIssue struct {
// a description of the issue
// Required: true
Description *string `json:"description" yaml:"description"`
// details of the issue
// Required: true
Details *string `json:"details" yaml:"details"`
// the id of the issue
// Required: true
ID *string `json:"id" yaml:"id"`
// an issue reference to the issue in metal-stack docs
// Required: true
RefURL *string `json:"ref_url" yaml:"ref_url"`
// the severity of the issue
// Required: true
Severity *string `json:"severity" yaml:"severity"`
}
V1MachineIssue v1 machine issue
swagger:model v1.MachineIssue
func (*V1MachineIssue) ContextValidate ¶ added in v0.24.2
ContextValidate validates this v1 machine issue based on context it is used
func (*V1MachineIssue) MarshalBinary ¶ added in v0.24.2
func (m *V1MachineIssue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIssue) UnmarshalBinary ¶ added in v0.24.2
func (m *V1MachineIssue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIssueResponse ¶ added in v0.24.2
type V1MachineIssueResponse struct {
// the list of issues (only issue ids) of this machine
// Required: true
Issues []string `json:"issues" yaml:"issues"`
// the machine id that has the given issues
// Required: true
Machineid *string `json:"machineid" yaml:"machineid"`
}
V1MachineIssueResponse v1 machine issue response
swagger:model v1.MachineIssueResponse
func (*V1MachineIssueResponse) ContextValidate ¶ added in v0.24.2
func (m *V1MachineIssueResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine issue response based on context it is used
func (*V1MachineIssueResponse) MarshalBinary ¶ added in v0.24.2
func (m *V1MachineIssueResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIssueResponse) UnmarshalBinary ¶ added in v0.24.2
func (m *V1MachineIssueResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineIssuesRequest ¶ added in v0.24.2
type V1MachineIssuesRequest struct {
// allocation hostname
AllocationHostname string `json:"allocation_hostname,omitempty" yaml:"allocation_hostname,omitempty"`
// allocation image id
AllocationImageID string `json:"allocation_image_id,omitempty" yaml:"allocation_image_id,omitempty"`
// allocation name
AllocationName string `json:"allocation_name,omitempty" yaml:"allocation_name,omitempty"`
// allocation project
AllocationProject string `json:"allocation_project,omitempty" yaml:"allocation_project,omitempty"`
// allocation role
AllocationRole string `json:"allocation_role,omitempty" yaml:"allocation_role,omitempty"`
// allocation succeeded
AllocationSucceeded bool `json:"allocation_succeeded,omitempty" yaml:"allocation_succeeded,omitempty"`
// disk names
DiskNames []string `json:"disk_names" yaml:"disk_names"`
// disk sizes
DiskSizes []int64 `json:"disk_sizes" yaml:"disk_sizes"`
// fru board mfg
FruBoardMfg string `json:"fru_board_mfg,omitempty" yaml:"fru_board_mfg,omitempty"`
// fru board mfg serial
FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty" yaml:"fru_board_mfg_serial,omitempty"`
// fru board part number
FruBoardPartNumber string `json:"fru_board_part_number,omitempty" yaml:"fru_board_part_number,omitempty"`
// fru chassis part number
FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty" yaml:"fru_chassis_part_number,omitempty"`
// fru chassis part serial
FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty" yaml:"fru_chassis_part_serial,omitempty"`
// fru product manufacturer
FruProductManufacturer string `json:"fru_product_manufacturer,omitempty" yaml:"fru_product_manufacturer,omitempty"`
// fru product part number
FruProductPartNumber string `json:"fru_product_part_number,omitempty" yaml:"fru_product_part_number,omitempty"`
// fru product serial
FruProductSerial string `json:"fru_product_serial,omitempty" yaml:"fru_product_serial,omitempty"`
// hardware memory
HardwareMemory int64 `json:"hardware_memory,omitempty" yaml:"hardware_memory,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// ipmi address
IpmiAddress string `json:"ipmi_address,omitempty" yaml:"ipmi_address,omitempty"`
// ipmi interface
IpmiInterface string `json:"ipmi_interface,omitempty" yaml:"ipmi_interface,omitempty"`
// ipmi mac address
IpmiMacAddress string `json:"ipmi_mac_address,omitempty" yaml:"ipmi_mac_address,omitempty"`
// ipmi user
IpmiUser string `json:"ipmi_user,omitempty" yaml:"ipmi_user,omitempty"`
// defines the last error threshold
// Required: true
LastErrorThreshold *int64 `json:"last_error_threshold" yaml:"last_error_threshold"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// network asns
NetworkAsns []int64 `json:"network_asns" yaml:"network_asns"`
// network destination prefixes
NetworkDestinationPrefixes []string `json:"network_destination_prefixes" yaml:"network_destination_prefixes"`
// network ids
NetworkIds []string `json:"network_ids" yaml:"network_ids"`
// network ips
NetworkIps []string `json:"network_ips" yaml:"network_ips"`
// network prefixes
NetworkPrefixes []string `json:"network_prefixes" yaml:"network_prefixes"`
// network vrfs
NetworkVrfs []int64 `json:"network_vrfs" yaml:"network_vrfs"`
// nics mac addresses
NicsMacAddresses []string `json:"nics_mac_addresses" yaml:"nics_mac_addresses"`
// nics names
NicsNames []string `json:"nics_names" yaml:"nics_names"`
// nics neighbor mac addresses
NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses" yaml:"nics_neighbor_mac_addresses"`
// nics neighbor names
NicsNeighborNames []string `json:"nics_neighbor_names" yaml:"nics_neighbor_names"`
// nics neighbor vrfs
NicsNeighborVrfs []string `json:"nics_neighbor_vrfs" yaml:"nics_neighbor_vrfs"`
// nics vrfs
NicsVrfs []string `json:"nics_vrfs" yaml:"nics_vrfs"`
// a list of machine issues to omit
// Required: true
Omit []string `json:"omit" yaml:"omit"`
// a list of machine issues to include
// Required: true
Only []string `json:"only" yaml:"only"`
// partition id
PartitionID string `json:"partition_id,omitempty" yaml:"partition_id,omitempty"`
// rackid
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// filters issue for given severity
// Required: true
Severity *string `json:"severity" yaml:"severity"`
// sizeid
Sizeid string `json:"sizeid,omitempty" yaml:"sizeid,omitempty"`
// state value
// Enum: ["","LOCKED","RESERVED"]
StateValue string `json:"state_value,omitempty" yaml:"state_value,omitempty"`
// tags
Tags []string `json:"tags" yaml:"tags"`
}
V1MachineIssuesRequest v1 machine issues request
swagger:model v1.MachineIssuesRequest
func (*V1MachineIssuesRequest) ContextValidate ¶ added in v0.24.2
func (m *V1MachineIssuesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine issues request based on context it is used
func (*V1MachineIssuesRequest) MarshalBinary ¶ added in v0.24.2
func (m *V1MachineIssuesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineIssuesRequest) UnmarshalBinary ¶ added in v0.24.2
func (m *V1MachineIssuesRequest) 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" yaml:"asn"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// the ip addresses of the allocated machine in this vrf
// Required: true
Ips []string `json:"ips" yaml:"ips"`
// if set to true, packets leaving this network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat" yaml:"nat"`
// the networkID of the allocated machine in this vrf
// Required: true
Networkid *string `json:"networkid" yaml:"networkid"`
// the network type, types can be looked up in the network package of metal-lib
// Required: true
Networktype *string `json:"networktype" yaml:"networktype"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes" yaml:"prefixes"`
// indicates whether this network is the private network of this machine
// Required: true
Private *bool `json:"private" yaml:"private"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay" yaml:"underlay"`
// the vrf of the allocated machine
// Required: true
Vrf *int64 `json:"vrf" yaml:"vrf"`
}
V1MachineNetwork prefixes that are reachable within this network
swagger:model v1.MachineNetwork
func (*V1MachineNetwork) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 machine network based on context it is used
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 unique identifier of this network interface
// Required: true
Identifier *string `json:"identifier" yaml:"identifier"`
// the mac address of this network interface
// Required: true
Mac *string `json:"mac" yaml:"mac"`
// the name of this network interface
// Required: true
Name *string `json:"name" yaml:"name"`
// the neighbors visible to this network interface
// Required: true
Neighbors []*V1MachineNic `json:"neighbors" yaml:"neighbors"`
}
V1MachineNic v1 machine nic
swagger:model v1.MachineNic
func (*V1MachineNic) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine nic based on the context it is used
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 V1MachineProvisioningEvent ¶
type V1MachineProvisioningEvent struct {
// the event emitted by the machine
// Required: true
Event *string `json:"event" yaml:"event"`
// an additional message to add to the event
Message string `json:"message,omitempty" yaml:"message,omitempty"`
// the time that this event was received
// Read Only: true
// Format: date-time
Time strfmt.DateTime `json:"time,omitempty" yaml:"time,omitempty"`
}
V1MachineProvisioningEvent v1 machine provisioning event
swagger:model v1.MachineProvisioningEvent
func (*V1MachineProvisioningEvent) ContextValidate ¶ added in v0.12.1
func (m *V1MachineProvisioningEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 machine provisioning event based on the context it is used
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 {
// indicates that machine is provisioning crash loop
// Required: true
CrashLoop *bool `json:"crash_loop" yaml:"crash_loop"`
// indicates that machine reclaim has failed
// Required: true
FailedMachineReclaim *bool `json:"failed_machine_reclaim" yaml:"failed_machine_reclaim"`
// the last erroneous event received
LastErrorEvent *V1MachineProvisioningEvent `json:"last_error_event,omitempty" yaml:"last_error_event,omitempty"`
// the time where the last event was received
// Format: date-time
LastEventTime strfmt.DateTime `json:"last_event_time,omitempty" yaml:"last_event_time,omitempty"`
// the log of recent machine provisioning events
// Required: true
Log []*V1MachineProvisioningEvent `json:"log" yaml:"log"`
}
V1MachineRecentProvisioningEvents v1 machine recent provisioning events
swagger:model v1.MachineRecentProvisioningEvents
func (*V1MachineRecentProvisioningEvents) ContextValidate ¶ added in v0.12.1
func (m *V1MachineRecentProvisioningEvents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 machine recent provisioning events based on the context it is used
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 V1MachineReinstallRequest ¶ added in v0.4.0
type V1MachineReinstallRequest struct {
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// the image id to be installed
// Required: true
Imageid *string `json:"imageid" yaml:"imageid"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1MachineReinstallRequest v1 machine reinstall request
swagger:model v1.MachineReinstallRequest
func (*V1MachineReinstallRequest) ContextValidate ¶ added in v0.12.1
func (m *V1MachineReinstallRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine reinstall request based on context it is used
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
Allocation *V1MachineAllocation `json:"allocation,omitempty" yaml:"allocation,omitempty"`
// bios information of this machine
// Required: true
Bios *V1MachineBIOS `json:"bios" yaml:"bios"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// recent events of this machine during provisioning
// Required: true
Events *V1MachineRecentProvisioningEvents `json:"events" yaml:"events"`
// the hardware of this machine
// Required: true
Hardware *V1MachineHardware `json:"hardware" yaml:"hardware"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// the state of this chassis identify LED
// Required: true
Ledstate *V1ChassisIdentifyLEDState `json:"ledstate" yaml:"ledstate"`
// the liveliness of this machine
// Required: true
Liveliness *string `json:"liveliness" yaml:"liveliness"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition assigned to this machine
// Read Only: true
Partition *V1PartitionResponse `json:"partition,omitempty" yaml:"partition,omitempty"`
// the rack assigned to this machine
// Read Only: true
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
// the size of this machine
// Read Only: true
Size *V1SizeResponse `json:"size,omitempty" yaml:"size,omitempty"`
// the state of this machine
// Required: true
State *V1MachineState `json:"state" yaml:"state"`
// tags for this machine
// Required: true
Tags []string `json:"tags" yaml:"tags"`
}
V1MachineResponse v1 machine response
swagger:model v1.MachineResponse
func (*V1MachineResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 machine response based on the context it is used
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" yaml:"description"`
// the user that changed the state
Issuer string `json:"issuer,omitempty" yaml:"issuer,omitempty"`
// the version of metal hammer which put the machine in waiting state
// Required: true
MetalHammerVersion *string `json:"metal_hammer_version" yaml:"metal_hammer_version"`
// the state of this machine. empty means available for all
// Required: true
// Enum: ["","LOCKED","RESERVED"]
Value *string `json:"value" yaml:"value"`
}
V1MachineState v1 machine state
swagger:model v1.MachineState
func (*V1MachineState) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 machine state based on context it is used
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 V1MachineUpdateFirmwareRequest ¶ added in v0.13.1
type V1MachineUpdateFirmwareRequest struct {
// a description why the machine has been updated
// Required: true
Description *string `json:"description" yaml:"description"`
// the firmware kind, i.e. [bios|bmc]
// Required: true
// Enum: ["bios","bmc"]
Kind *string `json:"kind" yaml:"kind"`
// the update revision
// Required: true
Revision *string `json:"revision" yaml:"revision"`
}
V1MachineUpdateFirmwareRequest v1 machine update firmware request
swagger:model v1.MachineUpdateFirmwareRequest
func (*V1MachineUpdateFirmwareRequest) ContextValidate ¶ added in v0.13.1
func (m *V1MachineUpdateFirmwareRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine update firmware request based on context it is used
func (*V1MachineUpdateFirmwareRequest) MarshalBinary ¶ added in v0.13.1
func (m *V1MachineUpdateFirmwareRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineUpdateFirmwareRequest) UnmarshalBinary ¶ added in v0.13.1
func (m *V1MachineUpdateFirmwareRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineUpdateRequest ¶ added in v0.17.0
type V1MachineUpdateRequest struct {
// a description for this machine
// Required: true
Description *string `json:"description" yaml:"description"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// the public ssh keys to access the machine with
SSHPubKeys []string `json:"ssh_pub_keys" yaml:"ssh_pub_keys"`
// tags for this machine.
Tags []string `json:"tags" yaml:"tags"`
}
V1MachineUpdateRequest v1 machine update request
swagger:model v1.MachineUpdateRequest
func (*V1MachineUpdateRequest) ContextValidate ¶ added in v0.17.0
func (m *V1MachineUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 machine update request based on context it is used
func (*V1MachineUpdateRequest) MarshalBinary ¶ added in v0.17.0
func (m *V1MachineUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineUpdateRequest) UnmarshalBinary ¶ added in v0.17.0
func (m *V1MachineUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MachineVPN ¶ added in v0.20.0
type V1MachineVPN struct {
// address of VPN control plane
// Required: true
Address *string `json:"address" yaml:"address"`
// auth key used to connect to VPN
// Required: true
AuthKey *string `json:"auth_key" yaml:"auth_key"`
// connected to the VPN
// Required: true
Connected *bool `json:"connected" yaml:"connected"`
}
V1MachineVPN v1 machine v p n
swagger:model v1.MachineVPN
func (*V1MachineVPN) ContextValidate ¶ added in v0.20.0
ContextValidate validates this v1 machine v p n based on context it is used
func (*V1MachineVPN) MarshalBinary ¶ added in v0.20.0
func (m *V1MachineVPN) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MachineVPN) UnmarshalBinary ¶ added in v0.20.0
func (m *V1MachineVPN) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Meta ¶
type V1Meta struct {
// annotations
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
// apiversion
Apiversion string `json:"apiversion,omitempty" yaml:"apiversion,omitempty"`
// created time
// Format: date-time
CreatedTime strfmt.DateTime `json:"created_time,omitempty" yaml:"created_time,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// kind
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
// labels
Labels []string `json:"labels" yaml:"labels"`
// updated time
// Format: date-time
UpdatedTime strfmt.DateTime `json:"updated_time,omitempty" yaml:"updated_time,omitempty"`
// version
Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}
V1Meta v1 meta
swagger:model v1.Meta
func (*V1Meta) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 meta based on context it is used
func (*V1Meta) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Meta) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1MetalCPU ¶ added in v0.29.0
type V1MetalCPU struct {
// the cpu cores
// Required: true
Cores *int64 `json:"cores" yaml:"cores"`
// the cpu model
// Required: true
Model *string `json:"model" yaml:"model"`
// the cpu threads
// Required: true
Threads *int64 `json:"threads" yaml:"threads"`
// the cpu vendor
// Required: true
Vendor *string `json:"vendor" yaml:"vendor"`
}
V1MetalCPU v1 metal CPU
swagger:model v1.MetalCPU
func (*V1MetalCPU) ContextValidate ¶ added in v0.29.0
ContextValidate validates this v1 metal CPU based on context it is used
func (*V1MetalCPU) MarshalBinary ¶ added in v0.29.0
func (m *V1MetalCPU) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MetalCPU) UnmarshalBinary ¶ added in v0.29.0
func (m *V1MetalCPU) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MetalGPU ¶ added in v0.29.0
type V1MetalGPU struct {
// the gpu model
// Required: true
Model *string `json:"model" yaml:"model"`
// the gpu vendor
// Required: true
Vendor *string `json:"vendor" yaml:"vendor"`
}
V1MetalGPU v1 metal g p u
swagger:model v1.MetalGPU
func (*V1MetalGPU) ContextValidate ¶ added in v0.29.0
ContextValidate validates this v1 metal g p u based on context it is used
func (*V1MetalGPU) MarshalBinary ¶ added in v0.29.0
func (m *V1MetalGPU) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MetalGPU) UnmarshalBinary ¶ added in v0.29.0
func (m *V1MetalGPU) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NTPServer ¶ added in v0.39.0
type V1NTPServer struct {
// ip address or dns hostname of this ntp server
// Required: true
Address *string `json:"address" yaml:"address"`
}
V1NTPServer v1 n t p server
swagger:model v1.NTPServer
func (*V1NTPServer) ContextValidate ¶ added in v0.39.0
ContextValidate validates this v1 n t p server based on context it is used
func (*V1NTPServer) MarshalBinary ¶ added in v0.39.0
func (m *V1NTPServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NTPServer) UnmarshalBinary ¶ added in v0.39.0
func (m *V1NTPServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkAllocateRequest ¶
type V1NetworkAllocateRequest struct {
// the addressfamily to allocate a child network. If not specified, the child network inherits the addressfamilies from the parent.
// Enum: ["IPv4","IPv6"]
Addressfamily string `json:"addressfamily,omitempty" yaml:"addressfamily,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the destination prefixes of this network
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// free labels that you associate with this network.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// the bit lengths of the prefix to allocate, defaults to the default child prefix lengths of the parent network
Length map[string]int64 `json:"length,omitempty" yaml:"length,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// if set to true, packets leaving this network get masqueraded behind interface ip
Nat bool `json:"nat,omitempty" yaml:"nat,omitempty"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
}
V1NetworkAllocateRequest v1 network allocate request
swagger:model v1.NetworkAllocateRequest
func (*V1NetworkAllocateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1NetworkAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 network allocate request based on context it is used
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 V1NetworkBase ¶ added in v0.15.1
type V1NetworkBase struct {
// free labels that you associate with this network.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
}
V1NetworkBase v1 network base
swagger:model v1.NetworkBase
func (*V1NetworkBase) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 network base based on context it is used
func (*V1NetworkBase) MarshalBinary ¶ added in v0.15.1
func (m *V1NetworkBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1NetworkBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkConsumption ¶ added in v0.40.0
type V1NetworkConsumption struct {
// ip and prefix consumption in the ipv4 addressfamily
IPV4 *V1NetworkUsage `json:"ipv4,omitempty" yaml:"ipv4,omitempty"`
// ip and prefix consumption in the ipv6 addressfamily
IPV6 *V1NetworkUsage `json:"ipv6,omitempty" yaml:"ipv6,omitempty"`
}
V1NetworkConsumption v1 network consumption
swagger:model v1.NetworkConsumption
func (*V1NetworkConsumption) ContextValidate ¶ added in v0.40.0
ContextValidate validate this v1 network consumption based on the context it is used
func (*V1NetworkConsumption) MarshalBinary ¶ added in v0.40.0
func (m *V1NetworkConsumption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkConsumption) UnmarshalBinary ¶ added in v0.40.0
func (m *V1NetworkConsumption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkCreateRequest ¶
type V1NetworkCreateRequest struct {
// list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks
AdditionalAnnouncableCIDRs []string `json:"additionalAnnouncableCIDRs" yaml:"additionalAnnouncableCIDRs"`
// if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil
Defaultchildprefixlength map[string]int64 `json:"defaultchildprefixlength,omitempty" yaml:"defaultchildprefixlength,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// the unique ID of this entity, auto-generated if left empty
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this network.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// if set to true, packets leaving this ipv4 network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat" yaml:"nat"`
// the id of the parent network
Parentnetworkid string `json:"parentnetworkid,omitempty" yaml:"parentnetworkid,omitempty"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes" yaml:"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" yaml:"privatesuper"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay" yaml:"underlay"`
// the vrf this network is associated with
Vrf int64 `json:"vrf,omitempty" yaml:"vrf,omitempty"`
Vrfshared bool `json:"vrfshared,omitempty" yaml:"vrfshared,omitempty"`
}
V1NetworkCreateRequest v1 network create request
swagger:model v1.NetworkCreateRequest
func (*V1NetworkCreateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1NetworkCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 network create request based on context it is used
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 {
// addressfamily
// Enum: ["IPv4","IPv6"]
Addressfamily string `json:"addressfamily,omitempty" yaml:"addressfamily,omitempty"`
// destinationprefixes
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// labels
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// nat
Nat bool `json:"nat,omitempty" yaml:"nat,omitempty"`
// parentnetworkid
Parentnetworkid string `json:"parentnetworkid,omitempty" yaml:"parentnetworkid,omitempty"`
// partitionid
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// prefixes
Prefixes []string `json:"prefixes" yaml:"prefixes"`
// privatesuper
Privatesuper bool `json:"privatesuper,omitempty" yaml:"privatesuper,omitempty"`
// projectid
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
// underlay
Underlay bool `json:"underlay,omitempty" yaml:"underlay,omitempty"`
// vrf
Vrf int64 `json:"vrf,omitempty" yaml:"vrf,omitempty"`
}
V1NetworkFindRequest v1 network find request
swagger:model v1.NetworkFindRequest
func (*V1NetworkFindRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 network find request based on context it is used
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 V1NetworkImmutable ¶ added in v0.15.1
type V1NetworkImmutable struct {
// list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks
AdditionalAnnouncableCIDRs []string `json:"additionalAnnouncableCIDRs" yaml:"additionalAnnouncableCIDRs"`
// if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil
Defaultchildprefixlength map[string]int64 `json:"defaultchildprefixlength,omitempty" yaml:"defaultchildprefixlength,omitempty"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// if set to true, packets leaving this ipv4 network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat" yaml:"nat"`
// the id of the parent network
Parentnetworkid string `json:"parentnetworkid,omitempty" yaml:"parentnetworkid,omitempty"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes" yaml:"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" yaml:"privatesuper"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay" yaml:"underlay"`
// the vrf this network is associated with
Vrf int64 `json:"vrf,omitempty" yaml:"vrf,omitempty"`
Vrfshared bool `json:"vrfshared,omitempty" yaml:"vrfshared,omitempty"`
}
V1NetworkImmutable a network which contains prefixes from which IP addresses can be allocated prefixes that are reachable within this network
swagger:model v1.NetworkImmutable
func (*V1NetworkImmutable) ContextValidate ¶ added in v0.15.1
ContextValidate validates this v1 network immutable based on context it is used
func (*V1NetworkImmutable) MarshalBinary ¶ added in v0.15.1
func (m *V1NetworkImmutable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkImmutable) UnmarshalBinary ¶ added in v0.15.1
func (m *V1NetworkImmutable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkResponse ¶
type V1NetworkResponse struct {
// list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks
AdditionalAnnouncableCIDRs []string `json:"additionalAnnouncableCIDRs" yaml:"additionalAnnouncableCIDRs"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// consumption of ips and prefixes in this network
// Required: true
Consumption *V1NetworkConsumption `json:"consumption" yaml:"consumption"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil
Defaultchildprefixlength map[string]int64 `json:"defaultchildprefixlength,omitempty" yaml:"defaultchildprefixlength,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the destination prefixes of this network
// Required: true
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this network.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// if set to true, packets leaving this ipv4 network get masqueraded behind interface ip
// Required: true
Nat *bool `json:"nat" yaml:"nat"`
// the id of the parent network
Parentnetworkid string `json:"parentnetworkid,omitempty" yaml:"parentnetworkid,omitempty"`
// the partition this network belongs to
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// the prefixes of this network
// Required: true
Prefixes []string `json:"prefixes" yaml:"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" yaml:"privatesuper"`
// the project id this network belongs to, can be empty if globally available
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
// if set to true, this network can be used for underlay communication
// Required: true
Underlay *bool `json:"underlay" yaml:"underlay"`
// usage of IPv4 ips and prefixes in this network
// Required: true
Usage *V1NetworkUsage `json:"usage" yaml:"usage"`
// the vrf this network is associated with
Vrf int64 `json:"vrf,omitempty" yaml:"vrf,omitempty"`
Vrfshared bool `json:"vrfshared,omitempty" yaml:"vrfshared,omitempty"`
}
V1NetworkResponse v1 network response
swagger:model v1.NetworkResponse
func (*V1NetworkResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 network response based on the context it is used
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 {
// list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks
AdditionalAnnouncableCIDRs []string `json:"additionalAnnouncableCIDRs" yaml:"additionalAnnouncableCIDRs"`
// if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil
Defaultchildprefixlength map[string]int64 `json:"defaultchildprefixlength,omitempty" yaml:"defaultchildprefixlength,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the destination prefixes of this network
Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this network.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the prefixes of this network
Prefixes []string `json:"prefixes" yaml:"prefixes"`
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
}
V1NetworkUpdateRequest v1 network update request
swagger:model v1.NetworkUpdateRequest
func (*V1NetworkUpdateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1NetworkUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 network update request based on context it is used
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" yaml:"available_ips"`
// the total available 2 bit Prefixes
// Required: true
AvailablePrefixes *int64 `json:"available_prefixes" yaml:"available_prefixes"`
// the total used IPs
// Required: true
UsedIps *int64 `json:"used_ips" yaml:"used_ips"`
// the total used Prefixes
// Required: true
UsedPrefixes *int64 `json:"used_prefixes" yaml:"used_prefixes"`
}
V1NetworkUsage v1 network usage
swagger:model v1.NetworkUsage
func (*V1NetworkUsage) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 network usage based on context it is used
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 V1Paging ¶ added in v0.24.0
type V1Paging struct {
// count
Count int64 `json:"count,omitempty" yaml:"count,omitempty"`
// page
Page int64 `json:"page,omitempty" yaml:"page,omitempty"`
}
V1Paging v1 paging
swagger:model v1.Paging
func (*V1Paging) ContextValidate ¶ added in v0.24.0
ContextValidate validates this v1 paging based on context it is used
func (*V1Paging) MarshalBinary ¶ added in v0.24.0
MarshalBinary interface implementation
func (*V1Paging) UnmarshalBinary ¶ added in v0.24.0
UnmarshalBinary interface implementation
type V1PartitionBase ¶ added in v0.15.1
type V1PartitionBase struct {
// the dns servers for this partition
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// free labels that you associate with this partition
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty" yaml:"mgmtserviceaddress,omitempty"`
// the ntp servers for this partition
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
}
V1PartitionBase v1 partition base
swagger:model v1.PartitionBase
func (*V1PartitionBase) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 partition base based on the context it is used
func (*V1PartitionBase) MarshalBinary ¶ added in v0.15.1
func (m *V1PartitionBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1PartitionBase) 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" yaml:"commandline,omitempty"`
// the url to download the initrd for the boot image
Imageurl string `json:"imageurl,omitempty" yaml:"imageurl,omitempty"`
// the url to download the kernel for the boot image
Kernelurl string `json:"kernelurl,omitempty" yaml:"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) ContextValidate ¶ added in v0.12.1
func (m *V1PartitionBootConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 partition boot configuration based on context it is used
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" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// servers available in this partition
// Required: true
Servers []*V1ServerCapacity `json:"servers" yaml:"servers"`
}
V1PartitionCapacity v1 partition capacity
swagger:model v1.PartitionCapacity
func (*V1PartitionCapacity) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 partition capacity based on the context it is used
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 V1PartitionCapacityRequest ¶ added in v0.15.6
type V1PartitionCapacityRequest struct {
// the id of the partition
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// if provided the machine reservations of this project will be respected in the free counts
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// the size to filter for
Sizeid string `json:"sizeid,omitempty" yaml:"sizeid,omitempty"`
}
V1PartitionCapacityRequest v1 partition capacity request
swagger:model v1.PartitionCapacityRequest
func (*V1PartitionCapacityRequest) ContextValidate ¶ added in v0.15.6
func (m *V1PartitionCapacityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 partition capacity request based on context it is used
func (*V1PartitionCapacityRequest) MarshalBinary ¶ added in v0.15.6
func (m *V1PartitionCapacityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PartitionCapacityRequest) UnmarshalBinary ¶ added in v0.15.6
func (m *V1PartitionCapacityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PartitionCreateRequest ¶
type V1PartitionCreateRequest struct {
// the boot configuration of this partition
// Required: true
Bootconfig *V1PartitionBootConfiguration `json:"bootconfig" yaml:"bootconfig"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the dns servers for this partition
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this partition
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty" yaml:"mgmtserviceaddress,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the ntp servers for this partition
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
}
V1PartitionCreateRequest v1 partition create request
swagger:model v1.PartitionCreateRequest
func (*V1PartitionCreateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1PartitionCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 partition create request based on the context it is used
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" yaml:"bootconfig"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the dns servers for this partition
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this partition
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty" yaml:"mgmtserviceaddress,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the ntp servers for this partition
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
}
V1PartitionResponse v1 partition response
swagger:model v1.PartitionResponse
func (*V1PartitionResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 partition response based on the context it is used
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" yaml:"bootconfig,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the dns servers for this partition
// Required: true
DNSServers []*V1DNSServer `json:"dns_servers" yaml:"dns_servers"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this partition
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// the address to the management service of this partition
Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty" yaml:"mgmtserviceaddress,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the ntp servers for this partition
// Required: true
NtpServers []*V1NTPServer `json:"ntp_servers" yaml:"ntp_servers"`
}
V1PartitionUpdateRequest v1 partition update request
swagger:model v1.PartitionUpdateRequest
func (*V1PartitionUpdateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1PartitionUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 partition update request based on the context it is used
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 V1PowerMetric ¶ added in v0.21.5
type V1PowerMetric struct {
// averageconsumedwatts
// Required: true
Averageconsumedwatts *float32 `json:"averageconsumedwatts" yaml:"averageconsumedwatts"`
// intervalinmin
// Required: true
Intervalinmin *float32 `json:"intervalinmin" yaml:"intervalinmin"`
// maxconsumedwatts
// Required: true
Maxconsumedwatts *float32 `json:"maxconsumedwatts" yaml:"maxconsumedwatts"`
// minconsumedwatts
// Required: true
Minconsumedwatts *float32 `json:"minconsumedwatts" yaml:"minconsumedwatts"`
}
V1PowerMetric v1 power metric
swagger:model v1.PowerMetric
func (*V1PowerMetric) ContextValidate ¶ added in v0.21.5
ContextValidate validates this v1 power metric based on context it is used
func (*V1PowerMetric) MarshalBinary ¶ added in v0.21.5
func (m *V1PowerMetric) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PowerMetric) UnmarshalBinary ¶ added in v0.21.5
func (m *V1PowerMetric) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PowerSupply ¶ added in v0.37.1
type V1PowerSupply struct {
// status
// Required: true
Status *V1PowerSupplyStatus `json:"status" yaml:"status"`
}
V1PowerSupply v1 power supply
swagger:model v1.PowerSupply
func (*V1PowerSupply) ContextValidate ¶ added in v0.37.1
ContextValidate validate this v1 power supply based on the context it is used
func (*V1PowerSupply) MarshalBinary ¶ added in v0.37.1
func (m *V1PowerSupply) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PowerSupply) UnmarshalBinary ¶ added in v0.37.1
func (m *V1PowerSupply) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PowerSupplyStatus ¶ added in v0.37.1
type V1PowerSupplyStatus struct {
// health
// Required: true
Health *string `json:"health" yaml:"health"`
// state
// Required: true
State *string `json:"state" yaml:"state"`
}
V1PowerSupplyStatus v1 power supply status
swagger:model v1.PowerSupplyStatus
func (*V1PowerSupplyStatus) ContextValidate ¶ added in v0.37.1
ContextValidate validates this v1 power supply status based on context it is used
func (*V1PowerSupplyStatus) MarshalBinary ¶ added in v0.37.1
func (m *V1PowerSupplyStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PowerSupplyStatus) UnmarshalBinary ¶ added in v0.37.1
func (m *V1PowerSupplyStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Project ¶ added in v0.15.1
type V1Project struct {
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}
V1Project v1 project
swagger:model v1.Project
func (*V1Project) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 project based on the context it is used
func (*V1Project) MarshalBinary ¶ added in v0.15.1
MarshalBinary interface implementation
func (*V1Project) UnmarshalBinary ¶ added in v0.15.1
UnmarshalBinary interface implementation
type V1ProjectCreateRequest ¶ added in v0.8.2
type V1ProjectCreateRequest struct {
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}
V1ProjectCreateRequest v1 project create request
swagger:model v1.ProjectCreateRequest
func (*V1ProjectCreateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1ProjectCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 project create request based on the context it is used
func (*V1ProjectCreateRequest) MarshalBinary ¶ added in v0.8.2
func (m *V1ProjectCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProjectCreateRequest) UnmarshalBinary ¶ added in v0.8.2
func (m *V1ProjectCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ProjectFindRequest ¶
type V1ProjectFindRequest struct {
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}
V1ProjectFindRequest v1 project find request
swagger:model v1.ProjectFindRequest
func (*V1ProjectFindRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 project find request based on context it is used
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" yaml:"description,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}
V1ProjectResponse v1 project response
swagger:model v1.ProjectResponse
func (*V1ProjectResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 project response based on the context it is used
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 V1ProjectUpdateRequest ¶ added in v0.8.2
type V1ProjectUpdateRequest struct {
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
// tenant id
TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}
V1ProjectUpdateRequest v1 project update request
swagger:model v1.ProjectUpdateRequest
func (*V1ProjectUpdateRequest) ContextValidate ¶ added in v0.12.1
func (m *V1ProjectUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 project update request based on the context it is used
func (*V1ProjectUpdateRequest) MarshalBinary ¶ added in v0.8.2
func (m *V1ProjectUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProjectUpdateRequest) UnmarshalBinary ¶ added in v0.8.2
func (m *V1ProjectUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Quota ¶
type V1Quota struct {
// quota
Quota int32 `json:"quota,omitempty" yaml:"quota,omitempty"`
// used
Used int32 `json:"used,omitempty" yaml:"used,omitempty"`
}
V1Quota v1 quota
swagger:model v1.Quota
func (*V1Quota) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 quota based on context it is used
func (*V1Quota) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Quota) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1QuotaSet ¶
type V1QuotaSet struct {
// cluster
Cluster *V1Quota `json:"cluster,omitempty" yaml:"cluster,omitempty"`
// ip
IP *V1Quota `json:"ip,omitempty" yaml:"ip,omitempty"`
// machine
Machine *V1Quota `json:"machine,omitempty" yaml:"machine,omitempty"`
// project
Project *V1Quota `json:"project,omitempty" yaml:"project,omitempty"`
}
V1QuotaSet v1 quota set
swagger:model v1.QuotaSet
func (*V1QuotaSet) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 quota set based on the context it is used
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 V1Raid ¶ added in v0.15.0
type V1Raid struct {
// the name of the resulting array device
// Required: true
Arrayname *string `json:"arrayname" yaml:"arrayname"`
// the options to use to create the raid array
Createoptions []string `json:"createoptions" yaml:"createoptions"`
// list of devices to form the raid array from
Devices []string `json:"devices" yaml:"devices"`
// raid level to create, should be 0 or 1
// Required: true
Level *string `json:"level" yaml:"level"`
// number of spares for the raid array
// Required: true
Spares *int32 `json:"spares" yaml:"spares"`
}
V1Raid v1 raid
swagger:model v1.Raid
func (*V1Raid) ContextValidate ¶ added in v0.15.0
ContextValidate validates this v1 raid based on context it is used
func (*V1Raid) MarshalBinary ¶ added in v0.15.0
MarshalBinary interface implementation
func (*V1Raid) UnmarshalBinary ¶ added in v0.15.0
UnmarshalBinary interface implementation
type V1ServerCapacity ¶
type V1ServerCapacity struct {
// free machines with this size, size reservations are not considered
Allocatable int32 `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
// allocated machines
Allocated int32 `json:"allocated,omitempty" yaml:"allocated,omitempty"`
// machines with issues with this size
Faulty int32 `json:"faulty,omitempty" yaml:"faulty,omitempty"`
// machine ids with issues with this size
Faultymachines []string `json:"faultymachines" yaml:"faultymachines"`
// free machines with this size (freely allocatable)
Free int32 `json:"free,omitempty" yaml:"free,omitempty"`
// machines neither phoned home nor waiting but in another provisioning state
Other int32 `json:"other,omitempty" yaml:"other,omitempty"`
// machine ids neither allocated nor waiting with this size
Othermachines []string `json:"othermachines" yaml:"othermachines"`
// machines in phoned home provisioning state
PhonedHome int32 `json:"phoned_home,omitempty" yaml:"phoned_home,omitempty"`
// the amount of unused / remaining / open reservations for this size
Remainingreservations int32 `json:"remainingreservations,omitempty" yaml:"remainingreservations,omitempty"`
// the amount of reservations for this size
Reservations int32 `json:"reservations,omitempty" yaml:"reservations,omitempty"`
// the size of the machine
// Required: true
Size *string `json:"size" yaml:"size"`
// total amount of machines with size
Total int32 `json:"total,omitempty" yaml:"total,omitempty"`
Unavailable int32 `json:"unavailable,omitempty" yaml:"unavailable,omitempty"`
// the amount of used reservations for this size
Usedreservations int32 `json:"usedreservations,omitempty" yaml:"usedreservations,omitempty"`
// machines in waiting provisioning state
Waiting int32 `json:"waiting,omitempty" yaml:"waiting,omitempty"`
}
V1ServerCapacity v1 server capacity
swagger:model v1.ServerCapacity
func (*V1ServerCapacity) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 server capacity based on context it is used
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 {
// glob pattern which matches to the given type, for example gpu pci id
Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"`
// the maximum value of the constraint
Max int64 `json:"max,omitempty" yaml:"max,omitempty"`
// the minimum value of the constraint
Min int64 `json:"min,omitempty" yaml:"min,omitempty"`
// the type of the constraint
// Required: true
// Enum: ["cores","gpu","memory","storage"]
Type *string `json:"type" yaml:"type"`
}
V1SizeConstraint a machine matches to a size in order to make them easier to categorize
swagger:model v1.SizeConstraint
func (*V1SizeConstraint) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 size constraint based on context it is used
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 V1SizeCreateRequest ¶
type V1SizeCreateRequest struct {
// a list of constraints that defines this size
// Required: true
Constraints []*V1SizeConstraint `json:"constraints" yaml:"constraints"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this size.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SizeCreateRequest v1 size create request
swagger:model v1.SizeCreateRequest
func (*V1SizeCreateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 size create request based on the context it is used
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 V1SizeImageConstraintBase ¶ added in v0.16.3
type V1SizeImageConstraintBase struct {
// a list of images for this constraints apply
// Required: true
Images map[string]string `json:"images" yaml:"images"`
}
V1SizeImageConstraintBase v1 size image constraint base
swagger:model v1.SizeImageConstraintBase
func (*V1SizeImageConstraintBase) ContextValidate ¶ added in v0.16.3
func (m *V1SizeImageConstraintBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 size image constraint base based on context it is used
func (*V1SizeImageConstraintBase) MarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeImageConstraintBase) UnmarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintBase) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeImageConstraintCreateRequest ¶ added in v0.16.3
type V1SizeImageConstraintCreateRequest struct {
// a list of constraints that for this size
Constraints *V1SizeImageConstraintBase `json:"constraints,omitempty" yaml:"constraints,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SizeImageConstraintCreateRequest v1 size image constraint create request
swagger:model v1.SizeImageConstraintCreateRequest
func (*V1SizeImageConstraintCreateRequest) ContextValidate ¶ added in v0.16.3
func (m *V1SizeImageConstraintCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 size image constraint create request based on the context it is used
func (*V1SizeImageConstraintCreateRequest) MarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeImageConstraintCreateRequest) UnmarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeImageConstraintResponse ¶ added in v0.16.3
type V1SizeImageConstraintResponse struct {
// a list of constraints that for this size
// Required: true
Constraints *V1SizeImageConstraintBase `json:"constraints" yaml:"constraints"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SizeImageConstraintResponse v1 size image constraint response
swagger:model v1.SizeImageConstraintResponse
func (*V1SizeImageConstraintResponse) ContextValidate ¶ added in v0.16.3
func (m *V1SizeImageConstraintResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 size image constraint response based on the context it is used
func (*V1SizeImageConstraintResponse) MarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeImageConstraintResponse) UnmarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeImageConstraintTryRequest ¶ added in v0.16.3
type V1SizeImageConstraintTryRequest struct {
// image
// Required: true
Image *string `json:"image" yaml:"image"`
// size
// Required: true
Size *string `json:"size" yaml:"size"`
}
V1SizeImageConstraintTryRequest v1 size image constraint try request
swagger:model v1.SizeImageConstraintTryRequest
func (*V1SizeImageConstraintTryRequest) ContextValidate ¶ added in v0.16.3
func (m *V1SizeImageConstraintTryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 size image constraint try request based on context it is used
func (*V1SizeImageConstraintTryRequest) MarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintTryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeImageConstraintTryRequest) UnmarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintTryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeImageConstraintUpdateRequest ¶ added in v0.16.3
type V1SizeImageConstraintUpdateRequest struct {
// a list of constraints that for this size
Constraints *V1SizeImageConstraintBase `json:"constraints,omitempty" yaml:"constraints,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SizeImageConstraintUpdateRequest v1 size image constraint update request
swagger:model v1.SizeImageConstraintUpdateRequest
func (*V1SizeImageConstraintUpdateRequest) ContextValidate ¶ added in v0.16.3
func (m *V1SizeImageConstraintUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 size image constraint update request based on the context it is used
func (*V1SizeImageConstraintUpdateRequest) MarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeImageConstraintUpdateRequest) UnmarshalBinary ¶ added in v0.16.3
func (m *V1SizeImageConstraintUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeReservationCreateRequest ¶ added in v0.36.0
type V1SizeReservationCreateRequest struct {
// the amount of reservations of this size reservation
// Required: true
Amount *int32 `json:"amount" yaml:"amount"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels associated with this size reservation.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition id of this size reservation
// Required: true
Partitionids []string `json:"partitionids" yaml:"partitionids"`
// the project id of this size reservation
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// the size id of this size reservation
// Required: true
Sizeid *string `json:"sizeid" yaml:"sizeid"`
}
V1SizeReservationCreateRequest v1 size reservation create request
swagger:model v1.SizeReservationCreateRequest
func (*V1SizeReservationCreateRequest) ContextValidate ¶ added in v0.36.0
func (m *V1SizeReservationCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 size reservation create request based on context it is used
func (*V1SizeReservationCreateRequest) MarshalBinary ¶ added in v0.36.0
func (m *V1SizeReservationCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeReservationCreateRequest) UnmarshalBinary ¶ added in v0.36.0
func (m *V1SizeReservationCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeReservationListRequest ¶ added in v0.32.2
type V1SizeReservationListRequest struct {
// the id of this size reservation
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// the partition id of this size reservation
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// the project id of this size reservation
Projectid string `json:"projectid,omitempty" yaml:"projectid,omitempty"`
// the size id of this size reservation
Sizeid string `json:"sizeid,omitempty" yaml:"sizeid,omitempty"`
}
V1SizeReservationListRequest v1 size reservation list request
swagger:model v1.SizeReservationListRequest
func (*V1SizeReservationListRequest) ContextValidate ¶ added in v0.32.2
func (m *V1SizeReservationListRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 size reservation list request based on context it is used
func (*V1SizeReservationListRequest) MarshalBinary ¶ added in v0.32.2
func (m *V1SizeReservationListRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeReservationListRequest) UnmarshalBinary ¶ added in v0.32.2
func (m *V1SizeReservationListRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeReservationResponse ¶ added in v0.26.0
type V1SizeReservationResponse struct {
// the amount of reservations of this size reservation
// Required: true
Amount *int32 `json:"amount" yaml:"amount"`
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels associated with this size reservation.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition id of this size reservation
// Required: true
Partitionids []string `json:"partitionids" yaml:"partitionids"`
// the project id of this size reservation
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// the size id of this size reservation
// Required: true
Sizeid *string `json:"sizeid" yaml:"sizeid"`
}
V1SizeReservationResponse v1 size reservation response
swagger:model v1.SizeReservationResponse
func (*V1SizeReservationResponse) ContextValidate ¶ added in v0.26.0
func (m *V1SizeReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 size reservation response based on the context it is used
func (*V1SizeReservationResponse) MarshalBinary ¶ added in v0.26.0
func (m *V1SizeReservationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeReservationResponse) UnmarshalBinary ¶ added in v0.26.0
func (m *V1SizeReservationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeReservationUpdateRequest ¶ added in v0.36.0
type V1SizeReservationUpdateRequest struct {
// the amount of reservations of this size reservation
// Required: true
Amount *int32 `json:"amount" yaml:"amount"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels associated with this size reservation.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition id of this size reservation
// Required: true
Partitionids []string `json:"partitionids" yaml:"partitionids"`
}
V1SizeReservationUpdateRequest v1 size reservation update request
swagger:model v1.SizeReservationUpdateRequest
func (*V1SizeReservationUpdateRequest) ContextValidate ¶ added in v0.36.0
func (m *V1SizeReservationUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 size reservation update request based on context it is used
func (*V1SizeReservationUpdateRequest) MarshalBinary ¶ added in v0.36.0
func (m *V1SizeReservationUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeReservationUpdateRequest) UnmarshalBinary ¶ added in v0.36.0
func (m *V1SizeReservationUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeReservationUsageResponse ¶ added in v0.36.0
type V1SizeReservationUsageResponse struct {
// the amount of reservations of this size reservation
// Required: true
Amount *int32 `json:"amount" yaml:"amount"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels associated with this size reservation.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the partition id of this size reservation
// Required: true
Partitionid *string `json:"partitionid" yaml:"partitionid"`
// the amount of allocations of this project referenced by this size reservation
// Required: true
Projectallocations *int32 `json:"projectallocations" yaml:"projectallocations"`
// the project id of this size reservation
// Required: true
Projectid *string `json:"projectid" yaml:"projectid"`
// the size id of this size reservation
// Required: true
Sizeid *string `json:"sizeid" yaml:"sizeid"`
// the used amount of reservations of this size reservation
// Required: true
Usedamount *int32 `json:"usedamount" yaml:"usedamount"`
}
V1SizeReservationUsageResponse v1 size reservation usage response
swagger:model v1.SizeReservationUsageResponse
func (*V1SizeReservationUsageResponse) ContextValidate ¶ added in v0.36.0
func (m *V1SizeReservationUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 size reservation usage response based on context it is used
func (*V1SizeReservationUsageResponse) MarshalBinary ¶ added in v0.36.0
func (m *V1SizeReservationUsageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeReservationUsageResponse) UnmarshalBinary ¶ added in v0.36.0
func (m *V1SizeReservationUsageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeResponse ¶
type V1SizeResponse struct {
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// a list of constraints that defines this size
// Required: true
Constraints []*V1SizeConstraint `json:"constraints" yaml:"constraints"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this size.
// Required: true
Labels map[string]string `json:"labels" yaml:"labels"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SizeResponse v1 size response
swagger:model v1.SizeResponse
func (*V1SizeResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 size response based on the context it is used
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 V1SizeSuggestRequest ¶ added in v0.24.3
type V1SizeSuggestRequest struct {
// machineID to retrieve size suggestion for
// Required: true
MachineID *string `json:"machineID" yaml:"machineID"`
}
V1SizeSuggestRequest v1 size suggest request
swagger:model v1.SizeSuggestRequest
func (*V1SizeSuggestRequest) ContextValidate ¶ added in v0.24.3
ContextValidate validates this v1 size suggest request based on context it is used
func (*V1SizeSuggestRequest) MarshalBinary ¶ added in v0.24.3
func (m *V1SizeSuggestRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SizeSuggestRequest) UnmarshalBinary ¶ added in v0.24.3
func (m *V1SizeSuggestRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SizeUpdateRequest ¶
type V1SizeUpdateRequest struct {
// a list of constraints that defines this size
Constraints []*V1SizeConstraint `json:"constraints" yaml:"constraints"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// free labels that you associate with this size.
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SizeUpdateRequest v1 size update request
swagger:model v1.SizeUpdateRequest
func (*V1SizeUpdateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 size update request based on the context it is used
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 V1SwitchBGPPortState ¶ added in v0.39.5
type V1SwitchBGPPortState struct {
// accepted prefix counter
// Required: true
AcceptedPrefixCounter *int64 `json:"AcceptedPrefixCounter" yaml:"AcceptedPrefixCounter"`
// bgp state
// Required: true
BgpState *string `json:"BgpState" yaml:"BgpState"`
// bgp timer up established
// Required: true
BgpTimerUpEstablished *int64 `json:"BgpTimerUpEstablished" yaml:"BgpTimerUpEstablished"`
// neighbor
// Required: true
Neighbor *string `json:"Neighbor" yaml:"Neighbor"`
// peer group
// Required: true
PeerGroup *string `json:"PeerGroup" yaml:"PeerGroup"`
// sent prefix counter
// Required: true
SentPrefixCounter *int64 `json:"SentPrefixCounter" yaml:"SentPrefixCounter"`
// vrf name
// Required: true
VrfName *string `json:"VrfName" yaml:"VrfName"`
}
V1SwitchBGPPortState v1 switch b g p port state
swagger:model v1.SwitchBGPPortState
func (*V1SwitchBGPPortState) ContextValidate ¶ added in v0.39.5
ContextValidate validates this v1 switch b g p port state based on context it is used
func (*V1SwitchBGPPortState) MarshalBinary ¶ added in v0.39.5
func (m *V1SwitchBGPPortState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchBGPPortState) UnmarshalBinary ¶ added in v0.39.5
func (m *V1SwitchBGPPortState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchBase ¶ added in v0.15.1
type V1SwitchBase struct {
// command to access the console of the switch
ConsoleCommand string `json:"console_command,omitempty" yaml:"console_command,omitempty"`
// the ip address of the management interface of the switch
ManagementIP string `json:"management_ip,omitempty" yaml:"management_ip,omitempty"`
// the user to connect to the switch
ManagementUser string `json:"management_user,omitempty" yaml:"management_user,omitempty"`
// the mode the switch currently has
Mode string `json:"mode,omitempty" yaml:"mode,omitempty"`
// the operating system the switch currently has
Os *V1SwitchOS `json:"os,omitempty" yaml:"os,omitempty"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id" yaml:"rack_id"`
}
V1SwitchBase A switch that can register at the api.
swagger:model v1.SwitchBase
func (*V1SwitchBase) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 switch base based on the context it is used
func (*V1SwitchBase) MarshalBinary ¶ added in v0.15.1
func (m *V1SwitchBase) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchBase) UnmarshalBinary ¶ added in v0.15.1
func (m *V1SwitchBase) 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" yaml:"machine_id,omitempty"`
// a network interface on the switch
// Required: true
Nic *V1SwitchNic `json:"nic" yaml:"nic"`
}
V1SwitchConnection v1 switch connection
swagger:model v1.SwitchConnection
func (*V1SwitchConnection) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 switch connection based on the context it is used
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 V1SwitchFindRequest ¶ added in v0.22.1
type V1SwitchFindRequest struct {
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// osvendor
Osvendor string `json:"osvendor,omitempty" yaml:"osvendor,omitempty"`
// osversion
Osversion string `json:"osversion,omitempty" yaml:"osversion,omitempty"`
// partitionid
Partitionid string `json:"partitionid,omitempty" yaml:"partitionid,omitempty"`
// rackid
Rackid string `json:"rackid,omitempty" yaml:"rackid,omitempty"`
}
V1SwitchFindRequest v1 switch find request
swagger:model v1.SwitchFindRequest
func (*V1SwitchFindRequest) ContextValidate ¶ added in v0.22.1
ContextValidate validates this v1 switch find request based on context it is used
func (*V1SwitchFindRequest) MarshalBinary ¶ added in v0.22.1
func (m *V1SwitchFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchFindRequest) UnmarshalBinary ¶ added in v0.22.1
func (m *V1SwitchFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchMigrateRequest ¶ added in v0.38.0
type V1SwitchMigrateRequest struct {
// the id of the new switch to migrate to
// Required: true
NewSwitchID *string `json:"new_switch_id" yaml:"new_switch_id"`
// the id of the switch that should be migrated away from
// Required: true
OldSwitchID *string `json:"old_switch_id" yaml:"old_switch_id"`
}
V1SwitchMigrateRequest v1 switch migrate request
swagger:model v1.SwitchMigrateRequest
func (*V1SwitchMigrateRequest) ContextValidate ¶ added in v0.38.0
func (m *V1SwitchMigrateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 switch migrate request based on context it is used
func (*V1SwitchMigrateRequest) MarshalBinary ¶ added in v0.38.0
func (m *V1SwitchMigrateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchMigrateRequest) UnmarshalBinary ¶ added in v0.38.0
func (m *V1SwitchMigrateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchNic ¶
type V1SwitchNic struct {
// the current state of the nic
// Required: true
// Enum: ["DOWN","UNKNOWN","UP"]
Actual *string `json:"actual" yaml:"actual"`
// the current bgp port state
BgpPortState *MetalSwitchBGPPortState `json:"bgp_port_state,omitempty" yaml:"bgp_port_state,omitempty"`
// configures the bgp filter applied at the switch port
Filter *V1BGPFilter `json:"filter,omitempty" yaml:"filter,omitempty"`
// the identifier of this network interface
// Required: true
Identifier *string `json:"identifier" yaml:"identifier"`
// the mac address of this network interface
// Required: true
Mac *string `json:"mac" yaml:"mac"`
// the name of this network interface
// Required: true
Name *string `json:"name" yaml:"name"`
// the vrf this network interface is part of
Vrf string `json:"vrf,omitempty" yaml:"vrf,omitempty"`
}
V1SwitchNic v1 switch nic
swagger:model v1.SwitchNic
func (*V1SwitchNic) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 switch nic based on the context it is used
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 {
// the current bgp port states
BgpPortStates map[string]V1SwitchBGPPortState `json:"bgp_port_states,omitempty" yaml:"bgp_port_states,omitempty"`
// error
// Required: true
Error *string `json:"error" yaml:"error"`
// the current switch port states
// Required: true
PortStates map[string]string `json:"port_states" yaml:"port_states"`
// the duration of the switch synchronization
// Required: true
SyncDuration *int64 `json:"sync_duration" yaml:"sync_duration"`
}
V1SwitchNotifyRequest v1 switch notify request
swagger:model v1.SwitchNotifyRequest
func (*V1SwitchNotifyRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 switch notify request based on the context it is used
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 V1SwitchNotifyResponse ¶ added in v0.22.8
type V1SwitchNotifyResponse struct {
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// last successful synchronization to the switch
LastSync *V1SwitchSync `json:"last_sync,omitempty" yaml:"last_sync,omitempty"`
// last synchronization to the switch that was erroneous
LastSyncError *V1SwitchSync `json:"last_sync_error,omitempty" yaml:"last_sync_error,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
V1SwitchNotifyResponse v1 switch notify response
swagger:model v1.SwitchNotifyResponse
func (*V1SwitchNotifyResponse) ContextValidate ¶ added in v0.22.8
func (m *V1SwitchNotifyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 switch notify response based on the context it is used
func (*V1SwitchNotifyResponse) MarshalBinary ¶ added in v0.22.8
func (m *V1SwitchNotifyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchNotifyResponse) UnmarshalBinary ¶ added in v0.22.8
func (m *V1SwitchNotifyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchOS ¶ added in v0.22.1
type V1SwitchOS struct {
// the version of metal-core running
MetalCoreVersion string `json:"metal_core_version,omitempty" yaml:"metal_core_version,omitempty"`
// the operating system vendor the switch currently has
// Enum: ["Cumulus","SONiC"]
Vendor string `json:"vendor,omitempty" yaml:"vendor,omitempty"`
// the operating system version the switch currently has
Version string `json:"version,omitempty" yaml:"version,omitempty"`
}
V1SwitchOS v1 switch o s
swagger:model v1.SwitchOS
func (*V1SwitchOS) ContextValidate ¶ added in v0.22.1
ContextValidate validates this v1 switch o s based on context it is used
func (*V1SwitchOS) MarshalBinary ¶ added in v0.22.1
func (m *V1SwitchOS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchOS) UnmarshalBinary ¶ added in v0.22.1
func (m *V1SwitchOS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchPortToggleRequest ¶ added in v0.28.5
type V1SwitchPortToggleRequest struct {
// the nic of the switch you want to change
// Required: true
Nic *string `json:"nic" yaml:"nic"`
// sets the port status
// Required: true
// Enum: ["DOWN","UP"]
Status *string `json:"status" yaml:"status"`
}
V1SwitchPortToggleRequest v1 switch port toggle request
swagger:model v1.SwitchPortToggleRequest
func (*V1SwitchPortToggleRequest) ContextValidate ¶ added in v0.28.5
func (m *V1SwitchPortToggleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 switch port toggle request based on context it is used
func (*V1SwitchPortToggleRequest) MarshalBinary ¶ added in v0.28.5
func (m *V1SwitchPortToggleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchPortToggleRequest) UnmarshalBinary ¶ added in v0.28.5
func (m *V1SwitchPortToggleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchRegisterRequest ¶
type V1SwitchRegisterRequest struct {
// command to access the console of the switch
ConsoleCommand string `json:"console_command,omitempty" yaml:"console_command,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// the ip address of the management interface of the switch
ManagementIP string `json:"management_ip,omitempty" yaml:"management_ip,omitempty"`
// the user to connect to the switch
ManagementUser string `json:"management_user,omitempty" yaml:"management_user,omitempty"`
// the mode the switch currently has
Mode string `json:"mode,omitempty" yaml:"mode,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the list of network interfaces on the switch
// Required: true
Nics []*V1SwitchNic `json:"nics" yaml:"nics"`
// the operating system the switch currently has
Os *V1SwitchOS `json:"os,omitempty" yaml:"os,omitempty"`
// the partition in which this switch is located
// Required: true
PartitionID *string `json:"partition_id" yaml:"partition_id"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id" yaml:"rack_id"`
}
V1SwitchRegisterRequest v1 switch register request
swagger:model v1.SwitchRegisterRequest
func (*V1SwitchRegisterRequest) ContextValidate ¶ added in v0.12.1
func (m *V1SwitchRegisterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 switch register request based on the context it is used
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
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// a connection between a switch port and a machine with the real nic states
// Required: true
Connections []*V1SwitchConnection `json:"connections" yaml:"connections"`
// command to access the console of the switch
ConsoleCommand string `json:"console_command,omitempty" yaml:"console_command,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// last successful synchronization to the switch
LastSync *V1SwitchSync `json:"last_sync,omitempty" yaml:"last_sync,omitempty"`
// last synchronization to the switch that was erroneous
LastSyncError *V1SwitchSync `json:"last_sync_error,omitempty" yaml:"last_sync_error,omitempty"`
// the ip address of the management interface of the switch
ManagementIP string `json:"management_ip,omitempty" yaml:"management_ip,omitempty"`
// the user to connect to the switch
ManagementUser string `json:"management_user,omitempty" yaml:"management_user,omitempty"`
// the mode the switch currently has
Mode string `json:"mode,omitempty" yaml:"mode,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the list of network interfaces on the switch with the desired nic states
// Required: true
Nics []*V1SwitchNic `json:"nics" yaml:"nics"`
// the operating system the switch currently has
Os *V1SwitchOS `json:"os,omitempty" yaml:"os,omitempty"`
// the partition in which this switch is located
// Required: true
Partition *V1PartitionResponse `json:"partition" yaml:"partition"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id" yaml:"rack_id"`
}
V1SwitchResponse v1 switch response
swagger:model v1.SwitchResponse
func (*V1SwitchResponse) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 switch response based on the context it is used
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 V1SwitchSync ¶ added in v0.9.2
type V1SwitchSync struct {
// the duration that lat switch sync took
// Required: true
Duration *int64 `json:"duration" yaml:"duration"`
// shows the error occurred during the sync
Error string `json:"error,omitempty" yaml:"error,omitempty"`
// point in time when the last switch sync happened
// Required: true
// Format: date-time
Time *strfmt.DateTime `json:"time" yaml:"time"`
}
V1SwitchSync v1 switch sync
swagger:model v1.SwitchSync
func (*V1SwitchSync) ContextValidate ¶ added in v0.12.1
ContextValidate validates this v1 switch sync based on context it is used
func (*V1SwitchSync) MarshalBinary ¶ added in v0.9.2
func (m *V1SwitchSync) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1SwitchSync) UnmarshalBinary ¶ added in v0.9.2
func (m *V1SwitchSync) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1SwitchUpdateRequest ¶ added in v0.8.0
type V1SwitchUpdateRequest struct {
// command to access the console of the switch
ConsoleCommand string `json:"console_command,omitempty" yaml:"console_command,omitempty"`
// a description for this entity
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// the unique ID of this entity
// Required: true
ID *string `json:"id" yaml:"id"`
// the ip address of the management interface of the switch
ManagementIP string `json:"management_ip,omitempty" yaml:"management_ip,omitempty"`
// the user to connect to the switch
ManagementUser string `json:"management_user,omitempty" yaml:"management_user,omitempty"`
// the mode the switch currently has
Mode string `json:"mode,omitempty" yaml:"mode,omitempty"`
// a readable name for this entity
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// the operating system the switch currently has
Os *V1SwitchOS `json:"os,omitempty" yaml:"os,omitempty"`
// the id of the rack in which this switch is located
// Required: true
RackID *string `json:"rack_id" yaml:"rack_id"`
}
V1SwitchUpdateRequest v1 switch update request
swagger:model v1.SwitchUpdateRequest
func (*V1SwitchUpdateRequest) ContextValidate ¶ added in v0.12.1
ContextValidate validate this v1 switch update request based on the context it is used
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
type V1Tenant ¶ added in v0.15.1
type V1Tenant struct {
// default quotas
DefaultQuotas *V1QuotaSet `json:"default_quotas,omitempty" yaml:"default_quotas,omitempty"`
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// iam config
IamConfig *V1IAMConfig `json:"iam_config,omitempty" yaml:"iam_config,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
}
V1Tenant v1 tenant
swagger:model v1.Tenant
func (*V1Tenant) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 tenant based on the context it is used
func (*V1Tenant) MarshalBinary ¶ added in v0.15.1
MarshalBinary interface implementation
func (*V1Tenant) UnmarshalBinary ¶ added in v0.15.1
UnmarshalBinary interface implementation
type V1TenantCreateRequest ¶ added in v0.24.0
type V1TenantCreateRequest struct {
// default quotas
DefaultQuotas *V1QuotaSet `json:"default_quotas,omitempty" yaml:"default_quotas,omitempty"`
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// iam config
IamConfig *V1IAMConfig `json:"iam_config,omitempty" yaml:"iam_config,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
}
V1TenantCreateRequest v1 tenant create request
swagger:model v1.TenantCreateRequest
func (*V1TenantCreateRequest) ContextValidate ¶ added in v0.24.0
ContextValidate validate this v1 tenant create request based on the context it is used
func (*V1TenantCreateRequest) MarshalBinary ¶ added in v0.24.0
func (m *V1TenantCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TenantCreateRequest) UnmarshalBinary ¶ added in v0.24.0
func (m *V1TenantCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1TenantFindRequest ¶ added in v0.24.0
type V1TenantFindRequest struct {
// annotations
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
// id
ID string `json:"id,omitempty" yaml:"id,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// paging
Paging *V1Paging `json:"paging,omitempty" yaml:"paging,omitempty"`
}
V1TenantFindRequest v1 tenant find request
swagger:model v1.TenantFindRequest
func (*V1TenantFindRequest) ContextValidate ¶ added in v0.24.0
ContextValidate validate this v1 tenant find request based on the context it is used
func (*V1TenantFindRequest) MarshalBinary ¶ added in v0.24.0
func (m *V1TenantFindRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TenantFindRequest) UnmarshalBinary ¶ added in v0.24.0
func (m *V1TenantFindRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1TenantResponse ¶ added in v0.14.0
type V1TenantResponse struct {
// default quotas
DefaultQuotas *V1QuotaSet `json:"default_quotas,omitempty" yaml:"default_quotas,omitempty"`
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// iam config
IamConfig *V1IAMConfig `json:"iam_config,omitempty" yaml:"iam_config,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
}
V1TenantResponse v1 tenant response
swagger:model v1.TenantResponse
func (*V1TenantResponse) ContextValidate ¶ added in v0.14.0
ContextValidate validate this v1 tenant response based on the context it is used
func (*V1TenantResponse) MarshalBinary ¶ added in v0.14.0
func (m *V1TenantResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TenantResponse) UnmarshalBinary ¶ added in v0.14.0
func (m *V1TenantResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1TenantUpdateRequest ¶ added in v0.24.0
type V1TenantUpdateRequest struct {
// default quotas
DefaultQuotas *V1QuotaSet `json:"default_quotas,omitempty" yaml:"default_quotas,omitempty"`
// description
Description string `json:"description,omitempty" yaml:"description,omitempty"`
// iam config
IamConfig *V1IAMConfig `json:"iam_config,omitempty" yaml:"iam_config,omitempty"`
// meta
Meta *V1Meta `json:"meta,omitempty" yaml:"meta,omitempty"`
// name
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// quotas
Quotas *V1QuotaSet `json:"quotas,omitempty" yaml:"quotas,omitempty"`
}
V1TenantUpdateRequest v1 tenant update request
swagger:model v1.TenantUpdateRequest
func (*V1TenantUpdateRequest) ContextValidate ¶ added in v0.24.0
ContextValidate validate this v1 tenant update request based on the context it is used
func (*V1TenantUpdateRequest) MarshalBinary ¶ added in v0.24.0
func (m *V1TenantUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TenantUpdateRequest) UnmarshalBinary ¶ added in v0.24.0
func (m *V1TenantUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Timestamps ¶ added in v0.15.1
type V1Timestamps struct {
// the last changed timestamp of this entity
// Read Only: true
// Format: date-time
Changed strfmt.DateTime `json:"changed,omitempty" yaml:"changed,omitempty"`
// the creation time of this entity
// Read Only: true
// Format: date-time
Created strfmt.DateTime `json:"created,omitempty" yaml:"created,omitempty"`
}
V1Timestamps v1 timestamps
swagger:model v1.Timestamps
func (*V1Timestamps) ContextValidate ¶ added in v0.15.1
ContextValidate validate this v1 timestamps based on the context it is used
func (*V1Timestamps) MarshalBinary ¶ added in v0.15.1
func (m *V1Timestamps) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Timestamps) UnmarshalBinary ¶ added in v0.15.1
func (m *V1Timestamps) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1User ¶ added in v0.15.7
type V1User struct {
// e mail
// Required: true
EMail *string `json:"EMail" yaml:"EMail"`
// groups
// Required: true
Groups []string `json:"Groups" yaml:"Groups"`
// issuer
// Required: true
Issuer *string `json:"Issuer" yaml:"Issuer"`
// name
// Required: true
Name *string `json:"Name" yaml:"Name"`
// subject
// Required: true
Subject *string `json:"Subject" yaml:"Subject"`
// tenant
// Required: true
Tenant *string `json:"Tenant" yaml:"Tenant"`
}
V1User v1 user
swagger:model v1.User
func (*V1User) ContextValidate ¶ added in v0.15.7
ContextValidate validates this v1 user based on context it is used
func (*V1User) MarshalBinary ¶ added in v0.15.7
MarshalBinary interface implementation
func (*V1User) UnmarshalBinary ¶ added in v0.15.7
UnmarshalBinary interface implementation
type V1VPNRequest ¶ added in v0.20.0
type V1VPNRequest struct {
// specifies if auth key should be ephemeral
// Required: true
Ephemeral *bool `json:"ephemeral" yaml:"ephemeral"`
// expiration time
Expiration int64 `json:"expiration,omitempty" yaml:"expiration,omitempty"`
// project ID
// Required: true
Pid *string `json:"pid" yaml:"pid"`
}
V1VPNRequest v1 v p n request
swagger:model v1.VPNRequest
func (*V1VPNRequest) ContextValidate ¶ added in v0.20.0
ContextValidate validates this v1 v p n request based on context it is used
func (*V1VPNRequest) MarshalBinary ¶ added in v0.20.0
func (m *V1VPNRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VPNRequest) UnmarshalBinary ¶ added in v0.20.0
func (m *V1VPNRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VPNResponse ¶ added in v0.20.0
type V1VPNResponse struct {
// address of VPN's control plane
// Required: true
Address *string `json:"address" yaml:"address"`
// auth key to connect to the VPN
// Required: true
AuthKey *string `json:"auth_key" yaml:"auth_key"`
}
V1VPNResponse v1 v p n response
swagger:model v1.VPNResponse
func (*V1VPNResponse) ContextValidate ¶ added in v0.20.0
ContextValidate validates this v1 v p n response based on context it is used
func (*V1VPNResponse) MarshalBinary ¶ added in v0.20.0
func (m *V1VPNResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VPNResponse) UnmarshalBinary ¶ added in v0.20.0
func (m *V1VPNResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VendorRevisions ¶ added in v0.13.2
type V1VendorRevisions struct {
// vendor revisions
// Required: true
VendorRevisions map[string]V1BoardRevisions `json:"VendorRevisions" yaml:"VendorRevisions"`
}
V1VendorRevisions v1 vendor revisions
swagger:model v1.VendorRevisions
func (*V1VendorRevisions) ContextValidate ¶ added in v0.13.2
ContextValidate validate this v1 vendor revisions based on the context it is used
func (*V1VendorRevisions) MarshalBinary ¶ added in v0.13.2
func (m *V1VendorRevisions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VendorRevisions) UnmarshalBinary ¶ added in v0.13.2
func (m *V1VendorRevisions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VolumeGroup ¶ added in v0.15.0
type V1VolumeGroup struct {
// list of devices to form the volume group from
Devices []string `json:"devices" yaml:"devices"`
// the name of the resulting volume group
// Required: true
Name *string `json:"name" yaml:"name"`
// list of tags to add to the volume group
Tags []string `json:"tags" yaml:"tags"`
}
V1VolumeGroup v1 volume group
swagger:model v1.VolumeGroup
func (*V1VolumeGroup) ContextValidate ¶ added in v0.15.0
ContextValidate validates this v1 volume group based on context it is used
func (*V1VolumeGroup) MarshalBinary ¶ added in v0.15.0
func (m *V1VolumeGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VolumeGroup) UnmarshalBinary ¶ added in v0.15.0
func (m *V1VolumeGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- datastore_image_search_query.go
- datastore_ip_search_query.go
- datastore_machine_search_query.go
- datastore_network_search_query.go
- datastore_switch_search_query.go
- metal_switch_b_g_p_port_state.go
- rest_health_response.go
- rest_version.go
- v1_audit_find_request.go
- v1_audit_response.go
- v1_b_g_p_filter.go
- v1_board_revisions.go
- v1_boot_info.go
- v1_chassis_identify_l_e_d_state.go
- v1_common.go
- v1_describable.go
- v1_disk.go
- v1_disk_partition.go
- v1_dns_server.go
- v1_empty_body.go
- v1_filesystem.go
- v1_filesystem_layout_base.go
- v1_filesystem_layout_constraints.go
- v1_filesystem_layout_create_request.go
- v1_filesystem_layout_match_request.go
- v1_filesystem_layout_response.go
- v1_filesystem_layout_try_request.go
- v1_filesystem_layout_update_request.go
- v1_firewall_allocate_request.go
- v1_firewall_create_request.go
- v1_firewall_egress_rule.go
- v1_firewall_find_request.go
- v1_firewall_ingress_rule.go
- v1_firewall_response.go
- v1_firewall_rules.go
- v1_firmwares_response.go
- v1_i_a_m_config.go
- v1_id_m_config.go
- v1_identifiable.go
- v1_image_base.go
- v1_image_create_request.go
- v1_image_find_request.go
- v1_image_response.go
- v1_image_update_request.go
- v1_ip_allocate_request.go
- v1_ip_base.go
- v1_ip_find_request.go
- v1_ip_identifiable.go
- v1_ip_response.go
- v1_ip_update_request.go
- v1_issuer_config.go
- v1_logical_volume.go
- v1_machine_allocate_request.go
- v1_machine_allocation.go
- v1_machine_allocation_network.go
- v1_machine_b_i_o_s.go
- v1_machine_base.go
- v1_machine_block_device.go
- v1_machine_console_password_request.go
- v1_machine_console_password_response.go
- v1_machine_find_request.go
- v1_machine_fru.go
- v1_machine_hardware.go
- v1_machine_hardware_base.go
- v1_machine_ip_m_i.go
- v1_machine_ip_m_i_response.go
- v1_machine_ipmi_report.go
- v1_machine_ipmi_report_response.go
- v1_machine_ipmi_reports.go
- v1_machine_issue.go
- v1_machine_issue_response.go
- v1_machine_issues_request.go
- v1_machine_network.go
- v1_machine_nic.go
- v1_machine_provisioning_event.go
- v1_machine_recent_provisioning_events.go
- v1_machine_reinstall_request.go
- v1_machine_response.go
- v1_machine_state.go
- v1_machine_update_firmware_request.go
- v1_machine_update_request.go
- v1_machine_v_p_n.go
- v1_meta.go
- v1_metal_cpu.go
- v1_metal_g_p_u.go
- v1_n_t_p_server.go
- v1_network_allocate_request.go
- v1_network_base.go
- v1_network_consumption.go
- v1_network_create_request.go
- v1_network_find_request.go
- v1_network_immutable.go
- v1_network_response.go
- v1_network_update_request.go
- v1_network_usage.go
- v1_paging.go
- v1_partition_base.go
- v1_partition_boot_configuration.go
- v1_partition_capacity.go
- v1_partition_capacity_request.go
- v1_partition_create_request.go
- v1_partition_response.go
- v1_partition_update_request.go
- v1_power_metric.go
- v1_power_supply.go
- v1_power_supply_status.go
- v1_project.go
- v1_project_create_request.go
- v1_project_find_request.go
- v1_project_response.go
- v1_project_update_request.go
- v1_quota.go
- v1_quota_set.go
- v1_raid.go
- v1_server_capacity.go
- v1_size_constraint.go
- v1_size_create_request.go
- v1_size_image_constraint_base.go
- v1_size_image_constraint_create_request.go
- v1_size_image_constraint_response.go
- v1_size_image_constraint_try_request.go
- v1_size_image_constraint_update_request.go
- v1_size_reservation_create_request.go
- v1_size_reservation_list_request.go
- v1_size_reservation_response.go
- v1_size_reservation_update_request.go
- v1_size_reservation_usage_response.go
- v1_size_response.go
- v1_size_suggest_request.go
- v1_size_update_request.go
- v1_switch_b_g_p_port_state.go
- v1_switch_base.go
- v1_switch_connection.go
- v1_switch_find_request.go
- v1_switch_migrate_request.go
- v1_switch_nic.go
- v1_switch_notify_request.go
- v1_switch_notify_response.go
- v1_switch_o_s.go
- v1_switch_port_toggle_request.go
- v1_switch_register_request.go
- v1_switch_response.go
- v1_switch_sync.go
- v1_switch_update_request.go
- v1_tenant.go
- v1_tenant_create_request.go
- v1_tenant_find_request.go
- v1_tenant_response.go
- v1_tenant_update_request.go
- v1_timestamps.go
- v1_user.go
- v1_v_p_n_request.go
- v1_v_p_n_response.go
- v1_vendor_revisions.go
- v1_volume_group.go