models

package
v0.28.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 7 Imported by: 26

Documentation

Index

Constants

View Source
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"
)
View Source
const (

	// DatastoreMachineSearchQueryStateValueEmpty captures enum value ""
	DatastoreMachineSearchQueryStateValueEmpty string = ""

	// DatastoreMachineSearchQueryStateValueLOCKED captures enum value "LOCKED"
	DatastoreMachineSearchQueryStateValueLOCKED string = "LOCKED"

	// DatastoreMachineSearchQueryStateValueRESERVED captures enum value "RESERVED"
	DatastoreMachineSearchQueryStateValueRESERVED string = "RESERVED"
)
View Source
const (

	// V1FirewallEgressRuleProtocolTCP captures enum value "tcp"
	V1FirewallEgressRuleProtocolTCP string = "tcp"

	// V1FirewallEgressRuleProtocolUDP captures enum value "udp"
	V1FirewallEgressRuleProtocolUDP string = "udp"
)
View Source
const (

	// V1FirewallFindRequestStateValueEmpty captures enum value ""
	V1FirewallFindRequestStateValueEmpty string = ""

	// V1FirewallFindRequestStateValueLOCKED captures enum value "LOCKED"
	V1FirewallFindRequestStateValueLOCKED string = "LOCKED"

	// V1FirewallFindRequestStateValueRESERVED captures enum value "RESERVED"
	V1FirewallFindRequestStateValueRESERVED string = "RESERVED"
)
View Source
const (

	// V1FirewallIngressRuleProtocolTCP captures enum value "tcp"
	V1FirewallIngressRuleProtocolTCP string = "tcp"

	// V1FirewallIngressRuleProtocolUDP captures enum value "udp"
	V1FirewallIngressRuleProtocolUDP string = "udp"
)
View Source
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"
)
View Source
const (

	// V1IPAllocateRequestTypeEphemeral captures enum value "ephemeral"
	V1IPAllocateRequestTypeEphemeral string = "ephemeral"

	// V1IPAllocateRequestTypeStatic captures enum value "static"
	V1IPAllocateRequestTypeStatic string = "static"
)
View Source
const (

	// V1IPBaseTypeEphemeral captures enum value "ephemeral"
	V1IPBaseTypeEphemeral string = "ephemeral"

	// V1IPBaseTypeStatic captures enum value "static"
	V1IPBaseTypeStatic string = "static"
)
View Source
const (

	// V1IPResponseTypeEphemeral captures enum value "ephemeral"
	V1IPResponseTypeEphemeral string = "ephemeral"

	// V1IPResponseTypeStatic captures enum value "static"
	V1IPResponseTypeStatic string = "static"
)
View Source
const (

	// V1IPUpdateRequestTypeEphemeral captures enum value "ephemeral"
	V1IPUpdateRequestTypeEphemeral string = "ephemeral"

	// V1IPUpdateRequestTypeStatic captures enum value "static"
	V1IPUpdateRequestTypeStatic string = "static"
)
View Source
const (

	// V1MachineAllocationRoleFirewall captures enum value "firewall"
	V1MachineAllocationRoleFirewall string = "firewall"

	// V1MachineAllocationRoleMachine captures enum value "machine"
	V1MachineAllocationRoleMachine string = "machine"
)
View Source
const (

	// V1MachineFindRequestStateValueEmpty captures enum value ""
	V1MachineFindRequestStateValueEmpty string = ""

	// V1MachineFindRequestStateValueLOCKED captures enum value "LOCKED"
	V1MachineFindRequestStateValueLOCKED string = "LOCKED"

	// V1MachineFindRequestStateValueRESERVED captures enum value "RESERVED"
	V1MachineFindRequestStateValueRESERVED string = "RESERVED"
)
View Source
const (

	// V1MachineIssuesRequestStateValueEmpty captures enum value ""
	V1MachineIssuesRequestStateValueEmpty string = ""

	// V1MachineIssuesRequestStateValueLOCKED captures enum value "LOCKED"
	V1MachineIssuesRequestStateValueLOCKED string = "LOCKED"

	// V1MachineIssuesRequestStateValueRESERVED captures enum value "RESERVED"
	V1MachineIssuesRequestStateValueRESERVED string = "RESERVED"
)
View Source
const (

	// V1MachineStateValueEmpty captures enum value ""
	V1MachineStateValueEmpty string = ""

	// V1MachineStateValueLOCKED captures enum value "LOCKED"
	V1MachineStateValueLOCKED string = "LOCKED"

	// V1MachineStateValueRESERVED captures enum value "RESERVED"
	V1MachineStateValueRESERVED string = "RESERVED"
)
View Source
const (

	// V1MachineUpdateFirmwareRequestKindBios captures enum value "bios"
	V1MachineUpdateFirmwareRequestKindBios string = "bios"

	// V1MachineUpdateFirmwareRequestKindBmc captures enum value "bmc"
	V1MachineUpdateFirmwareRequestKindBmc string = "bmc"
)
View Source
const (

	// V1SizeConstraintTypeCores captures enum value "cores"
	V1SizeConstraintTypeCores string = "cores"

	// V1SizeConstraintTypeMemory captures enum value "memory"
	V1SizeConstraintTypeMemory string = "memory"

	// V1SizeConstraintTypeStorage captures enum value "storage"
	V1SizeConstraintTypeStorage string = "storage"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatastoreIPSearchQuery added in v0.15.1

type DatastoreIPSearchQuery struct {

	// 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

func (*DatastoreIPSearchQuery) Validate added in v0.15.1

func (m *DatastoreIPSearchQuery) Validate(formats strfmt.Registry) error

Validate validates this datastore IP search query

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

func (*DatastoreImageSearchQuery) Validate added in v0.22.2

func (m *DatastoreImageSearchQuery) Validate(formats strfmt.Registry) error

Validate validates this datastore image search query

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 cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty" yaml:"hardware_cpu_cores,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

func (*DatastoreMachineSearchQuery) Validate added in v0.15.1

func (m *DatastoreMachineSearchQuery) Validate(formats strfmt.Registry) error

Validate validates this datastore machine search query

type DatastoreNetworkSearchQuery added in v0.15.1

type DatastoreNetworkSearchQuery struct {

	// 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

func (*DatastoreNetworkSearchQuery) Validate added in v0.15.1

func (m *DatastoreNetworkSearchQuery) Validate(formats strfmt.Registry) error

Validate validates this datastore network search query

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

func (*DatastoreSwitchSearchQuery) Validate added in v0.22.1

func (m *DatastoreSwitchSearchQuery) Validate(formats strfmt.Registry) error

Validate validates this datastore switch search query

type RestHealthResponse added in v0.16.3

type RestHealthResponse struct {

	// message
	// Required: true
	Message *string `json:"message" yaml:"message"`

	// services
	Services map[string]RestHealthResult `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

func (m *RestHealthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*RestHealthResponse) Validate added in v0.16.3

func (m *RestHealthResponse) Validate(formats strfmt.Registry) error

Validate validates this rest health response

type RestHealthResult added in v0.16.3

type RestHealthResult struct {

	// message
	// Required: true
	Message *string `json:"message" yaml:"message"`

	// services
	Services map[string]RestHealthResult `json:"services,omitempty" yaml:"services,omitempty"`

	// status
	// Required: true
	Status *string `json:"status" yaml:"status"`
}

RestHealthResult rest health result

swagger:model rest.HealthResult

func (*RestHealthResult) ContextValidate added in v0.16.3

func (m *RestHealthResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rest health result based on the context it is used

func (*RestHealthResult) MarshalBinary added in v0.16.3

func (m *RestHealthResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestHealthResult) UnmarshalBinary added in v0.16.3

func (m *RestHealthResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestHealthResult) Validate added in v0.16.3

func (m *RestHealthResult) Validate(formats strfmt.Registry) error

Validate validates this rest health result

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"`

	// 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

func (m *RestVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*RestVersion) Validate

func (m *RestVersion) Validate(formats strfmt.Registry) error

Validate validates this rest version

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"`

	// 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

func (m *V1AuditFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1AuditFindRequest) Validate added in v0.22.4

func (m *V1AuditFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 audit find request

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

func (m *V1AuditResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1AuditResponse) Validate added in v0.22.4

func (m *V1AuditResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 audit response

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

func (m *V1BGPFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1BGPFilter) Validate

func (m *V1BGPFilter) Validate(formats strfmt.Registry) error

Validate validates this v1 b g p filter

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

func (m *V1BoardRevisions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1BoardRevisions) Validate added in v0.13.2

func (m *V1BoardRevisions) Validate(formats strfmt.Registry) error

Validate validates this v1 board revisions

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

func (m *V1BootInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1BootInfo) Validate added in v0.4.0

func (m *V1BootInfo) Validate(formats strfmt.Registry) error

Validate validates this v1 boot info

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

func (*V1ChassisIdentifyLEDState) Validate

func (m *V1ChassisIdentifyLEDState) Validate(formats strfmt.Registry) error

Validate validates this v1 chassis identify l e d state

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

func (m *V1Common) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 common based on context it is used

func (*V1Common) MarshalBinary added in v0.15.1

func (m *V1Common) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Common) UnmarshalBinary added in v0.15.1

func (m *V1Common) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Common) Validate added in v0.15.1

func (m *V1Common) Validate(formats strfmt.Registry) error

Validate validates this v1 common

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

func (m *V1Describable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1Describable) Validate added in v0.15.1

func (m *V1Describable) Validate(formats strfmt.Registry) error

Validate validates this v1 describable

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

func (m *V1Disk) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 disk based on the context it is used

func (*V1Disk) MarshalBinary added in v0.15.0

func (m *V1Disk) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Disk) UnmarshalBinary added in v0.15.0

func (m *V1Disk) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Disk) Validate added in v0.15.0

func (m *V1Disk) Validate(formats strfmt.Registry) error

Validate validates this v1 disk

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

func (m *V1DiskPartition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1DiskPartition) Validate added in v0.15.0

func (m *V1DiskPartition) Validate(formats strfmt.Registry) error

Validate validates this v1 disk partition

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 underlaying 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

func (m *V1Filesystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1Filesystem) Validate added in v0.15.0

func (m *V1Filesystem) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem

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

func (*V1FilesystemLayoutBase) Validate added in v0.15.1

func (m *V1FilesystemLayoutBase) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem layout base

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

func (*V1FilesystemLayoutConstraints) Validate added in v0.15.0

func (m *V1FilesystemLayoutConstraints) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem layout constraints

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

func (*V1FilesystemLayoutCreateRequest) Validate added in v0.15.0

Validate validates this v1 filesystem layout create request

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

func (*V1FilesystemLayoutMatchRequest) Validate added in v0.15.0

func (m *V1FilesystemLayoutMatchRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem layout match request

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

func (*V1FilesystemLayoutResponse) Validate added in v0.15.0

func (m *V1FilesystemLayoutResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem layout response

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

func (*V1FilesystemLayoutTryRequest) Validate added in v0.15.0

func (m *V1FilesystemLayoutTryRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 filesystem layout try request

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

func (*V1FilesystemLayoutUpdateRequest) Validate added in v0.15.0

Validate validates this v1 filesystem layout update request

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

func (*V1FirewallAllocateRequest) Validate added in v0.27.0

func (m *V1FirewallAllocateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall allocate request

type V1FirewallCreateRequest

type V1FirewallCreateRequest struct {

	// a description for this entity
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// the filesystemlayout id to assing 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 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

func (*V1FirewallCreateRequest) Validate

func (m *V1FirewallCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall create request

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

func (m *V1FirewallEgressRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1FirewallEgressRule) Validate added in v0.27.0

func (m *V1FirewallEgressRule) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall egress rule

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 cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty" yaml:"hardware_cpu_cores,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

func (m *V1FirewallFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1FirewallFindRequest) Validate

func (m *V1FirewallFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall find request

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

func (m *V1FirewallIngressRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1FirewallIngressRule) Validate added in v0.27.0

func (m *V1FirewallIngressRule) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall ingress rule

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

func (m *V1FirewallResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1FirewallResponse) Validate

func (m *V1FirewallResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall response

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

func (m *V1FirewallRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1FirewallRules) Validate added in v0.27.0

func (m *V1FirewallRules) Validate(formats strfmt.Registry) error

Validate validates this v1 firewall rules

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

func (m *V1FirmwaresResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1FirmwaresResponse) Validate added in v0.13.1

func (m *V1FirmwaresResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 firmwares response

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

func (m *V1IAMConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IAMConfig) Validate added in v0.14.0

func (m *V1IAMConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 i a m config

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

func (m *V1IDMConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IDMConfig) Validate added in v0.14.0

func (m *V1IDMConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 ID m config

type V1IPAllocateRequest

type V1IPAllocateRequest struct {

	// 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

func (m *V1IPAllocateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IPAllocateRequest) Validate

func (m *V1IPAllocateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 IP allocate request

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

func (m *V1IPBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 IP base based on context it is used

func (*V1IPBase) MarshalBinary added in v0.15.1

func (m *V1IPBase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1IPBase) UnmarshalBinary added in v0.15.1

func (m *V1IPBase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1IPBase) Validate added in v0.15.1

func (m *V1IPBase) Validate(formats strfmt.Registry) error

Validate validates this v1 IP base

type V1IPFindRequest

type V1IPFindRequest struct {

	// 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

func (m *V1IPFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IPFindRequest) Validate

func (m *V1IPFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 IP find request

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

func (m *V1IPIdentifiable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IPIdentifiable) Validate added in v0.15.1

func (m *V1IPIdentifiable) Validate(formats strfmt.Registry) error

Validate validates this v1 IP identifiable

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

func (m *V1IPResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IPResponse) Validate

func (m *V1IPResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 IP response

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

func (m *V1IPUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IPUpdateRequest) Validate

func (m *V1IPUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 IP update request

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

func (m *V1Identifiable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1Identifiable) Validate added in v0.15.1

func (m *V1Identifiable) Validate(formats strfmt.Registry) error

Validate validates this v1 identifiable

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

func (m *V1ImageBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ImageBase) Validate added in v0.15.1

func (m *V1ImageBase) Validate(formats strfmt.Registry) error

Validate validates this v1 image base

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

func (m *V1ImageCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ImageCreateRequest) Validate

func (m *V1ImageCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 image create request

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

func (m *V1ImageFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ImageFindRequest) Validate added in v0.22.2

func (m *V1ImageFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 image find request

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

func (m *V1ImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ImageResponse) Validate

func (m *V1ImageResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 image response

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

func (m *V1ImageUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ImageUpdateRequest) Validate

func (m *V1ImageUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 image update request

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

func (m *V1IssuerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1IssuerConfig) Validate added in v0.14.0

func (m *V1IssuerConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 issuer config

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

func (m *V1LogicalVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1LogicalVolume) Validate added in v0.15.0

func (m *V1LogicalVolume) Validate(formats strfmt.Registry) error

Validate validates this v1 logical volume

type V1MachineAllocateRequest

type V1MachineAllocateRequest struct {

	// a description for this entity
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// the filesystemlayout id to assing 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 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

func (*V1MachineAllocateRequest) Validate

func (m *V1MachineAllocateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 machine allocate request

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"`

	// 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 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

func (m *V1MachineAllocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineAllocation) Validate

func (m *V1MachineAllocation) Validate(formats strfmt.Registry) error

Validate validates this v1 machine allocation

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

func (*V1MachineAllocationNetwork) Validate

func (m *V1MachineAllocationNetwork) Validate(formats strfmt.Registry) error

Validate validates this v1 machine allocation network

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

func (m *V1MachineBIOS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineBIOS) Validate

func (m *V1MachineBIOS) Validate(formats strfmt.Registry) error

Validate validates this v1 machine b i o s

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

func (m *V1MachineBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineBase) Validate added in v0.15.1

func (m *V1MachineBase) Validate(formats strfmt.Registry) error

Validate validates this v1 machine base

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

func (m *V1MachineBlockDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineBlockDevice) Validate

func (m *V1MachineBlockDevice) Validate(formats strfmt.Registry) error

Validate validates this v1 machine block device

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

func (*V1MachineConsolePasswordRequest) Validate added in v0.14.3

Validate validates this v1 machine console password request

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

func (*V1MachineConsolePasswordResponse) Validate added in v0.14.3

Validate validates this v1 machine console password response

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 cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty" yaml:"hardware_cpu_cores,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

func (m *V1MachineFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineFindRequest) Validate

func (m *V1MachineFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 machine find request

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

func (m *V1MachineFru) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineFru) Validate

func (m *V1MachineFru) Validate(formats strfmt.Registry) error

Validate validates this v1 machine fru

type V1MachineHardware

type V1MachineHardware struct {

	// the number of cpu cores
	// Required: true
	CPUCores *int32 `json:"cpu_cores" yaml:"cpu_cores"`

	// the list of block devices of this machine
	// Required: true
	Disks []*V1MachineBlockDevice `json:"disks" yaml:"disks"`

	// 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

func (m *V1MachineHardware) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineHardware) Validate

func (m *V1MachineHardware) Validate(formats strfmt.Registry) error

Validate validates this v1 machine hardware

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 list of block devices of this machine
	// Required: true
	Disks []*V1MachineBlockDevice `json:"disks" yaml:"disks"`

	// 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

func (m *V1MachineHardwareBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineHardwareBase) Validate added in v0.15.1

func (m *V1MachineHardwareBase) Validate(formats strfmt.Registry) error

Validate validates this v1 machine hardware base

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"`

	// 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

func (m *V1MachineIPMI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineIPMI) Validate

func (m *V1MachineIPMI) Validate(formats strfmt.Registry) error

Validate validates this v1 machine IP m i

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

func (m *V1MachineIPMIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineIPMIResponse) Validate

func (m *V1MachineIPMIResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 machine IP m i response

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"`
}

V1MachineIpmiReport v1 machine ipmi report

swagger:model v1.MachineIpmiReport

func (*V1MachineIpmiReport) ContextValidate added in v0.12.1

func (m *V1MachineIpmiReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineIpmiReport) Validate added in v0.11.0

func (m *V1MachineIpmiReport) Validate(formats strfmt.Registry) error

Validate validates this v1 machine ipmi report

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

func (*V1MachineIpmiReportResponse) Validate added in v0.11.0

func (m *V1MachineIpmiReportResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 machine ipmi report response

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

func (m *V1MachineIpmiReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineIpmiReports) Validate added in v0.11.0

func (m *V1MachineIpmiReports) Validate(formats strfmt.Registry) error

Validate validates this v1 machine ipmi reports

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

func (m *V1MachineIssue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineIssue) Validate added in v0.24.2

func (m *V1MachineIssue) Validate(formats strfmt.Registry) error

Validate validates this v1 machine issue

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

func (*V1MachineIssueResponse) Validate added in v0.24.2

func (m *V1MachineIssueResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 machine issue response

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 cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty" yaml:"hardware_cpu_cores,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

func (*V1MachineIssuesRequest) Validate added in v0.24.2

func (m *V1MachineIssuesRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 machine issues request

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

func (m *V1MachineNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineNetwork) Validate

func (m *V1MachineNetwork) Validate(formats strfmt.Registry) error

Validate validates this v1 machine network

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

func (m *V1MachineNic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineNic) Validate

func (m *V1MachineNic) Validate(formats strfmt.Registry) error

Validate validates this v1 machine nic

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

func (*V1MachineProvisioningEvent) Validate

func (m *V1MachineProvisioningEvent) Validate(formats strfmt.Registry) error

Validate validates this v1 machine provisioning event

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

func (*V1MachineRecentProvisioningEvents) Validate

Validate validates this v1 machine recent provisioning events

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

func (*V1MachineReinstallRequest) Validate added in v0.4.0

func (m *V1MachineReinstallRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 machine reinstall request

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

func (m *V1MachineResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineResponse) Validate

func (m *V1MachineResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 machine response

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

func (m *V1MachineState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineState) Validate

func (m *V1MachineState) Validate(formats strfmt.Registry) error

Validate validates this v1 machine state

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

func (*V1MachineUpdateFirmwareRequest) Validate added in v0.13.1

func (m *V1MachineUpdateFirmwareRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 machine update firmware request

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

func (*V1MachineUpdateRequest) Validate added in v0.17.0

func (m *V1MachineUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 machine update request

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

func (m *V1MachineVPN) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1MachineVPN) Validate added in v0.20.0

func (m *V1MachineVPN) Validate(formats strfmt.Registry) error

Validate validates this v1 machine v p n

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

func (m *V1Meta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 meta based on context it is used

func (*V1Meta) MarshalBinary

func (m *V1Meta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Meta) UnmarshalBinary

func (m *V1Meta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Meta) Validate

func (m *V1Meta) Validate(formats strfmt.Registry) error

Validate validates this v1 meta

type V1NetworkAllocateRequest

type V1NetworkAllocateRequest struct {

	// 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"`

	// 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"`

	// marks a network as shareable.
	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

func (*V1NetworkAllocateRequest) Validate

func (m *V1NetworkAllocateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 network allocate request

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"`

	// marks a network as shareable.
	Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
}

V1NetworkBase v1 network base

swagger:model v1.NetworkBase

func (*V1NetworkBase) ContextValidate added in v0.15.1

func (m *V1NetworkBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1NetworkBase) Validate added in v0.15.1

func (m *V1NetworkBase) Validate(formats strfmt.Registry) error

Validate validates this v1 network base

type V1NetworkCreateRequest

type V1NetworkCreateRequest struct {

	// 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 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"`

	// marks a network as shareable.
	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"`

	// if set to true, given vrf can be used by multiple networks, which is sometimes useful for network partioning (default: false)
	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

func (*V1NetworkCreateRequest) Validate

func (m *V1NetworkCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 network create request

type V1NetworkFindRequest

type V1NetworkFindRequest struct {

	// 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

func (m *V1NetworkFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1NetworkFindRequest) Validate

func (m *V1NetworkFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 network find request

type V1NetworkImmutable added in v0.15.1

type V1NetworkImmutable struct {

	// the destination prefixes of this network
	// Required: true
	Destinationprefixes []string `json:"destinationprefixes" yaml:"destinationprefixes"`

	// if set to true, packets leaving this 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"`

	// if set to true, given vrf can be used by multiple networks, which is sometimes useful for network partioning (default: false)
	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

func (m *V1NetworkImmutable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1NetworkImmutable) Validate added in v0.15.1

func (m *V1NetworkImmutable) Validate(formats strfmt.Registry) error

Validate validates this v1 network immutable

type V1NetworkResponse

type V1NetworkResponse 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"`

	// 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 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"`

	// marks a network as shareable.
	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 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"`

	// if set to true, given vrf can be used by multiple networks, which is sometimes useful for network partioning (default: false)
	Vrfshared bool `json:"vrfshared,omitempty" yaml:"vrfshared,omitempty"`
}

V1NetworkResponse v1 network response

swagger:model v1.NetworkResponse

func (*V1NetworkResponse) ContextValidate added in v0.12.1

func (m *V1NetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1NetworkResponse) Validate

func (m *V1NetworkResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 network response

type V1NetworkUpdateRequest

type V1NetworkUpdateRequest struct {

	// 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"`

	// marks a network as shareable.
	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

func (*V1NetworkUpdateRequest) Validate

func (m *V1NetworkUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 network update request

type V1NetworkUsage

type V1NetworkUsage struct {

	// the total available IPs
	// Required: true
	AvailableIps *int64 `json:"available_ips" yaml:"available_ips"`

	// the total available 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

func (m *V1NetworkUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1NetworkUsage) Validate

func (m *V1NetworkUsage) Validate(formats strfmt.Registry) error

Validate validates this v1 network usage

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

func (m *V1Paging) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 paging based on context it is used

func (*V1Paging) MarshalBinary added in v0.24.0

func (m *V1Paging) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Paging) UnmarshalBinary added in v0.24.0

func (m *V1Paging) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Paging) Validate added in v0.24.0

func (m *V1Paging) Validate(formats strfmt.Registry) error

Validate validates this v1 paging

type V1PartitionBase added in v0.15.1

type V1PartitionBase struct {

	// 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 length of private networks for the machine's child networks in this partition, default 22
	// Maximum: 30
	// Minimum: 16
	Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty" yaml:"privatenetworkprefixlength,omitempty"`
}

V1PartitionBase v1 partition base

swagger:model v1.PartitionBase

func (*V1PartitionBase) ContextValidate added in v0.15.1

func (m *V1PartitionBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 partition base based on 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

func (*V1PartitionBase) Validate added in v0.15.1

func (m *V1PartitionBase) Validate(formats strfmt.Registry) error

Validate validates this v1 partition base

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

func (*V1PartitionBootConfiguration) Validate

func (m *V1PartitionBootConfiguration) Validate(formats strfmt.Registry) error

Validate validates this v1 partition boot configuration

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

func (m *V1PartitionCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1PartitionCapacity) Validate

func (m *V1PartitionCapacity) Validate(formats strfmt.Registry) error

Validate validates this v1 partition capacity

type V1PartitionCapacityRequest added in v0.15.6

type V1PartitionCapacityRequest struct {

	// the id of the partition
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// 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

func (*V1PartitionCapacityRequest) Validate added in v0.15.6

func (m *V1PartitionCapacityRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 partition capacity request

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 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 length of private networks for the machine's child networks in this partition, default 22
	// Maximum: 30
	// Minimum: 16
	Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty" yaml:"privatenetworkprefixlength,omitempty"`
}

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

func (*V1PartitionCreateRequest) Validate

func (m *V1PartitionCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 partition create request

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 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 length of private networks for the machine's child networks in this partition, default 22
	// Maximum: 30
	// Minimum: 16
	Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty" yaml:"privatenetworkprefixlength,omitempty"`
}

V1PartitionResponse v1 partition response

swagger:model v1.PartitionResponse

func (*V1PartitionResponse) ContextValidate added in v0.12.1

func (m *V1PartitionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1PartitionResponse) Validate

func (m *V1PartitionResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 partition response

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 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"`
}

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

func (*V1PartitionUpdateRequest) Validate

func (m *V1PartitionUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 partition update request

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

func (m *V1PowerMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1PowerMetric) Validate added in v0.21.5

func (m *V1PowerMetric) Validate(formats strfmt.Registry) error

Validate validates this v1 power metric

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

func (m *V1Project) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 project based on the context it is used

func (*V1Project) MarshalBinary added in v0.15.1

func (m *V1Project) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Project) UnmarshalBinary added in v0.15.1

func (m *V1Project) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Project) Validate added in v0.15.1

func (m *V1Project) Validate(formats strfmt.Registry) error

Validate validates this v1 project

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

func (*V1ProjectCreateRequest) Validate added in v0.8.2

func (m *V1ProjectCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 project create request

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

func (m *V1ProjectFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ProjectFindRequest) Validate

func (m *V1ProjectFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 project find request

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

func (m *V1ProjectResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ProjectResponse) Validate

func (m *V1ProjectResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 project response

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

func (*V1ProjectUpdateRequest) Validate added in v0.8.2

func (m *V1ProjectUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 project update request

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

func (m *V1Quota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 quota based on context it is used

func (*V1Quota) MarshalBinary

func (m *V1Quota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Quota) UnmarshalBinary

func (m *V1Quota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Quota) Validate

func (m *V1Quota) Validate(formats strfmt.Registry) error

Validate validates this v1 quota

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

func (m *V1QuotaSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1QuotaSet) Validate

func (m *V1QuotaSet) Validate(formats strfmt.Registry) error

Validate validates this v1 quota set

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

func (m *V1Raid) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 raid based on context it is used

func (*V1Raid) MarshalBinary added in v0.15.0

func (m *V1Raid) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Raid) UnmarshalBinary added in v0.15.0

func (m *V1Raid) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Raid) Validate added in v0.15.0

func (m *V1Raid) Validate(formats strfmt.Registry) error

Validate validates this v1 raid

type V1ServerCapacity

type V1ServerCapacity struct {

	// allocated servers with this size
	// Required: true
	Allocated *int32 `json:"allocated" yaml:"allocated"`

	// servers with issues with this size
	// Required: true
	Faulty *int32 `json:"faulty" yaml:"faulty"`

	// servers with issues with this size
	// Required: true
	Faultymachines []string `json:"faultymachines" yaml:"faultymachines"`

	// free servers with this size
	// Required: true
	Free *int32 `json:"free" yaml:"free"`

	// servers neither free, allocated or faulty with this size
	// Required: true
	Other *int32 `json:"other" yaml:"other"`

	// servers neither free, allocated or faulty with this size
	// Required: true
	Othermachines []string `json:"othermachines" yaml:"othermachines"`

	// the amount of reservations for this size
	// Required: true
	Reservations *int32 `json:"reservations" yaml:"reservations"`

	// the size of the server
	// Required: true
	Size *string `json:"size" yaml:"size"`

	// total amount of servers with this size
	// Required: true
	Total *int32 `json:"total" yaml:"total"`

	// the amount of used reservations for this size
	// Required: true
	Usedreservations *int32 `json:"usedreservations" yaml:"usedreservations"`
}

V1ServerCapacity v1 server capacity

swagger:model v1.ServerCapacity

func (*V1ServerCapacity) ContextValidate added in v0.12.1

func (m *V1ServerCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1ServerCapacity) Validate

func (m *V1ServerCapacity) Validate(formats strfmt.Registry) error

Validate validates this v1 server capacity

type V1SizeConstraint

type V1SizeConstraint struct {

	// the maximum value of the constraint
	// Required: true
	Max *int64 `json:"max" yaml:"max"`

	// the minimum value of the constraint
	// Required: true
	Min *int64 `json:"min" yaml:"min"`

	// the type of the constraint
	// Required: true
	// Enum: [cores 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

func (m *V1SizeConstraint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SizeConstraint) Validate

func (m *V1SizeConstraint) Validate(formats strfmt.Registry) error

Validate validates this v1 size constraint

type V1SizeConstraintMatchingLog

type V1SizeConstraintMatchingLog struct {

	// the size constraint to which this log relates to
	// Required: true
	Constraint *V1SizeConstraint `json:"constraint" yaml:"constraint"`

	// a string represention of the matching condition
	// Required: true
	Log *string `json:"log" yaml:"log"`

	// indicates whether the constraint matched or not
	// Required: true
	Match *bool `json:"match" yaml:"match"`
}

V1SizeConstraintMatchingLog v1 size constraint matching log

swagger:model v1.SizeConstraintMatchingLog

func (*V1SizeConstraintMatchingLog) ContextValidate added in v0.12.1

func (m *V1SizeConstraintMatchingLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 size constraint matching log based on the context it is used

func (*V1SizeConstraintMatchingLog) MarshalBinary

func (m *V1SizeConstraintMatchingLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SizeConstraintMatchingLog) UnmarshalBinary

func (m *V1SizeConstraintMatchingLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SizeConstraintMatchingLog) Validate

func (m *V1SizeConstraintMatchingLog) Validate(formats strfmt.Registry) error

Validate validates this v1 size constraint matching log

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"`

	// reservations for this size, which are considered during machine allocation
	Reservations []*V1SizeReservation `json:"reservations" yaml:"reservations"`
}

V1SizeCreateRequest v1 size create request

swagger:model v1.SizeCreateRequest

func (*V1SizeCreateRequest) ContextValidate added in v0.12.1

func (m *V1SizeCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SizeCreateRequest) Validate

func (m *V1SizeCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 size create request

type V1SizeImageConstraintBase added in v0.16.3

type V1SizeImageConstraintBase struct {

	// a list of images for this contraints 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

func (*V1SizeImageConstraintBase) Validate added in v0.16.3

func (m *V1SizeImageConstraintBase) Validate(formats strfmt.Registry) error

Validate validates this v1 size image constraint base

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

func (*V1SizeImageConstraintCreateRequest) Validate added in v0.16.3

Validate validates this v1 size image constraint create request

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

func (*V1SizeImageConstraintResponse) Validate added in v0.16.3

func (m *V1SizeImageConstraintResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 size image constraint response

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

func (*V1SizeImageConstraintTryRequest) Validate added in v0.16.3

Validate validates this v1 size image constraint try request

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

func (*V1SizeImageConstraintUpdateRequest) Validate added in v0.16.3

Validate validates this v1 size image constraint update request

type V1SizeMatchingLog

type V1SizeMatchingLog struct {

	// constraints
	// Required: true
	Constraints []*V1SizeConstraintMatchingLog `json:"constraints" yaml:"constraints"`

	// log
	// Required: true
	Log *string `json:"log" yaml:"log"`

	// match
	// Required: true
	Match *bool `json:"match" yaml:"match"`

	// name
	// Required: true
	Name *string `json:"name" yaml:"name"`
}

V1SizeMatchingLog v1 size matching log

swagger:model v1.SizeMatchingLog

func (*V1SizeMatchingLog) ContextValidate added in v0.12.1

func (m *V1SizeMatchingLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 size matching log based on the context it is used

func (*V1SizeMatchingLog) MarshalBinary

func (m *V1SizeMatchingLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SizeMatchingLog) UnmarshalBinary

func (m *V1SizeMatchingLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SizeMatchingLog) Validate

func (m *V1SizeMatchingLog) Validate(formats strfmt.Registry) error

Validate validates this v1 size matching log

type V1SizeReservation added in v0.26.0

type V1SizeReservation struct {

	// the amount of reserved machine allocations for this size
	// Required: true
	Amount *int32 `json:"amount" yaml:"amount"`

	// a description for this reservation
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// the partitions in which this size reservation is considered, the amount is valid for every partition
	// Required: true
	Partitionids []string `json:"partitionids" yaml:"partitionids"`

	// the project for which this size reservation is considered
	// Required: true
	Projectid *string `json:"projectid" yaml:"projectid"`
}

V1SizeReservation v1 size reservation

swagger:model v1.SizeReservation

func (*V1SizeReservation) ContextValidate added in v0.26.0

func (m *V1SizeReservation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 size reservation based on context it is used

func (*V1SizeReservation) MarshalBinary added in v0.26.0

func (m *V1SizeReservation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SizeReservation) UnmarshalBinary added in v0.26.0

func (m *V1SizeReservation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SizeReservation) Validate added in v0.26.0

func (m *V1SizeReservation) Validate(formats strfmt.Registry) error

Validate validates this v1 size reservation

type V1SizeReservationResponse added in v0.26.0

type V1SizeReservationResponse struct {

	// 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 project name of this size reservation
	// Required: true
	Projectname *string `json:"projectname" yaml:"projectname"`

	// the amount of reservations of this size reservation
	// Required: true
	Reservations *int32 `json:"reservations" yaml:"reservations"`

	// the size id of this size reservation
	// Required: true
	Sizeid *string `json:"sizeid" yaml:"sizeid"`

	// the tenant of this size reservation
	// Required: true
	Tenant *string `json:"tenant" yaml:"tenant"`

	// the used amount of reservations of this size reservation
	// Required: true
	Usedreservations *int32 `json:"usedreservations" yaml:"usedreservations"`
}

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 validates this v1 size reservation response based on 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

func (*V1SizeReservationResponse) Validate added in v0.26.0

func (m *V1SizeReservationResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 size reservation response

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"`

	// reservations for this size, which are considered during machine allocation
	Reservations []*V1SizeReservation `json:"reservations" yaml:"reservations"`
}

V1SizeResponse v1 size response

swagger:model v1.SizeResponse

func (*V1SizeResponse) ContextValidate added in v0.12.1

func (m *V1SizeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SizeResponse) Validate

func (m *V1SizeResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 size response

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

func (m *V1SizeSuggestRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SizeSuggestRequest) Validate added in v0.24.3

func (m *V1SizeSuggestRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 size suggest request

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"`

	// reservations for this size, which are considered during machine allocation
	Reservations []*V1SizeReservation `json:"reservations" yaml:"reservations"`
}

V1SizeUpdateRequest v1 size update request

swagger:model v1.SizeUpdateRequest

func (*V1SizeUpdateRequest) ContextValidate added in v0.12.1

func (m *V1SizeUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SizeUpdateRequest) Validate

func (m *V1SizeUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 size update request

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

func (m *V1SwitchBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchBase) Validate added in v0.15.1

func (m *V1SwitchBase) Validate(formats strfmt.Registry) error

Validate validates this v1 switch base

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

func (m *V1SwitchConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchConnection) Validate

func (m *V1SwitchConnection) Validate(formats strfmt.Registry) error

Validate validates this v1 switch connection

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

func (m *V1SwitchFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchFindRequest) Validate added in v0.22.1

func (m *V1SwitchFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 switch find request

type V1SwitchNic

type V1SwitchNic struct {

	// 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

func (m *V1SwitchNic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchNic) Validate

func (m *V1SwitchNic) Validate(formats strfmt.Registry) error

Validate validates this v1 switch nic

type V1SwitchNotifyRequest added in v0.7.1

type V1SwitchNotifyRequest struct {

	// error
	// Required: true
	Error *string `json:"error" yaml:"error"`

	// 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

func (m *V1SwitchNotifyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 switch notify request based on 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

func (*V1SwitchNotifyRequest) Validate added in v0.7.1

func (m *V1SwitchNotifyRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 switch notify request

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

func (*V1SwitchNotifyResponse) Validate added in v0.22.8

func (m *V1SwitchNotifyResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 switch notify response

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
	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

func (m *V1SwitchOS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchOS) Validate added in v0.22.1

func (m *V1SwitchOS) Validate(formats strfmt.Registry) error

Validate validates this v1 switch o s

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

func (*V1SwitchRegisterRequest) Validate

func (m *V1SwitchRegisterRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 switch register request

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
	// 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
	// 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

func (m *V1SwitchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchResponse) Validate

func (m *V1SwitchResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 switch response

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

func (m *V1SwitchSync) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchSync) Validate added in v0.9.2

func (m *V1SwitchSync) Validate(formats strfmt.Registry) error

Validate validates this v1 switch sync

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

func (m *V1SwitchUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1SwitchUpdateRequest) Validate added in v0.8.0

func (m *V1SwitchUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 switch update request

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

func (m *V1Tenant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 tenant based on the context it is used

func (*V1Tenant) MarshalBinary added in v0.15.1

func (m *V1Tenant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Tenant) UnmarshalBinary added in v0.15.1

func (m *V1Tenant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Tenant) Validate added in v0.15.1

func (m *V1Tenant) Validate(formats strfmt.Registry) error

Validate validates this v1 tenant

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

func (m *V1TenantCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1TenantCreateRequest) Validate added in v0.24.0

func (m *V1TenantCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 tenant create request

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

func (m *V1TenantFindRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1TenantFindRequest) Validate added in v0.24.0

func (m *V1TenantFindRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 tenant find request

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

func (m *V1TenantResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1TenantResponse) Validate added in v0.14.0

func (m *V1TenantResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 tenant response

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

func (m *V1TenantUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1TenantUpdateRequest) Validate added in v0.24.0

func (m *V1TenantUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 tenant update request

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

func (m *V1Timestamps) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1Timestamps) Validate added in v0.15.1

func (m *V1Timestamps) Validate(formats strfmt.Registry) error

Validate validates this v1 timestamps

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

func (m *V1User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 user based on context it is used

func (*V1User) MarshalBinary added in v0.15.7

func (m *V1User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1User) UnmarshalBinary added in v0.15.7

func (m *V1User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1User) Validate added in v0.15.7

func (m *V1User) Validate(formats strfmt.Registry) error

Validate validates this v1 user

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

func (m *V1VPNRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1VPNRequest) Validate added in v0.20.0

func (m *V1VPNRequest) Validate(formats strfmt.Registry) error

Validate validates this v1 v p n request

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

func (m *V1VPNResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1VPNResponse) Validate added in v0.20.0

func (m *V1VPNResponse) Validate(formats strfmt.Registry) error

Validate validates this v1 v p n response

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

func (m *V1VendorRevisions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1VendorRevisions) Validate added in v0.13.2

func (m *V1VendorRevisions) Validate(formats strfmt.Registry) error

Validate validates this v1 vendor revisions

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

func (m *V1VolumeGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*V1VolumeGroup) Validate added in v0.15.0

func (m *V1VolumeGroup) Validate(formats strfmt.Registry) error

Validate validates this v1 volume group

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL