models

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 7 Imported by: 30

Documentation

Index

Constants

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 (

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

	// the address (ipv4 or ipv6) of this ip
	Ipaddress string `json:"ipaddress,omitempty"`

	// the machine an ip address is associated to
	Machineid string `json:"machineid,omitempty"`

	// the name of the ip address
	Name string `json:"name,omitempty"`

	// the network this ip allocate request address belongs to
	Networkid string `json:"networkid,omitempty"`

	// the prefix of the network this ip address belongs to
	Networkprefix string `json:"networkprefix,omitempty"`

	// the project this ip address belongs to, empty if not strong coupled
	Projectid string `json:"projectid,omitempty"`

	// the tags that are assigned to this ip address
	Tags []string `json:"tags"`

	// the type of the ip address, ephemeral or static
	Type string `json:"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 DatastoreMachineSearchQuery added in v0.15.1

type DatastoreMachineSearchQuery struct {

	// allocation hostname
	AllocationHostname string `json:"allocation_hostname,omitempty"`

	// allocation image id
	AllocationImageID string `json:"allocation_image_id,omitempty"`

	// allocation name
	AllocationName string `json:"allocation_name,omitempty"`

	// allocation project
	AllocationProject string `json:"allocation_project,omitempty"`

	// allocation role
	AllocationRole string `json:"allocation_role,omitempty"`

	// allocation succeeded
	AllocationSucceeded bool `json:"allocation_succeeded,omitempty"`

	// disk names
	DiskNames []string `json:"disk_names"`

	// disk sizes
	DiskSizes []int64 `json:"disk_sizes"`

	// fru board mfg
	FruBoardMfg string `json:"fru_board_mfg,omitempty"`

	// fru board mfg serial
	FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty"`

	// fru board part number
	FruBoardPartNumber string `json:"fru_board_part_number,omitempty"`

	// fru chassis part number
	FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty"`

	// fru chassis part serial
	FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty"`

	// fru product manufacturer
	FruProductManufacturer string `json:"fru_product_manufacturer,omitempty"`

	// fru product part number
	FruProductPartNumber string `json:"fru_product_part_number,omitempty"`

	// fru product serial
	FruProductSerial string `json:"fru_product_serial,omitempty"`

	// hardware cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty"`

	// hardware memory
	HardwareMemory int64 `json:"hardware_memory,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// ipmi address
	IpmiAddress string `json:"ipmi_address,omitempty"`

	// ipmi interface
	IpmiInterface string `json:"ipmi_interface,omitempty"`

	// ipmi mac address
	IpmiMacAddress string `json:"ipmi_mac_address,omitempty"`

	// ipmi user
	IpmiUser string `json:"ipmi_user,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// network asns
	NetworkAsns []int64 `json:"network_asns"`

	// network destination prefixes
	NetworkDestinationPrefixes []string `json:"network_destination_prefixes"`

	// network ids
	NetworkIds []string `json:"network_ids"`

	// network ips
	NetworkIps []string `json:"network_ips"`

	// network nat
	NetworkNat bool `json:"network_nat,omitempty"`

	// network prefixes
	NetworkPrefixes []string `json:"network_prefixes"`

	// network private
	NetworkPrivate bool `json:"network_private,omitempty"`

	// network underlay
	NetworkUnderlay bool `json:"network_underlay,omitempty"`

	// network vrfs
	NetworkVrfs []int64 `json:"network_vrfs"`

	// nics mac addresses
	NicsMacAddresses []string `json:"nics_mac_addresses"`

	// nics names
	NicsNames []string `json:"nics_names"`

	// nics neighbor mac addresses
	NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses"`

	// nics neighbor names
	NicsNeighborNames []string `json:"nics_neighbor_names"`

	// nics neighbor vrfs
	NicsNeighborVrfs []string `json:"nics_neighbor_vrfs"`

	// nics vrfs
	NicsVrfs []string `json:"nics_vrfs"`

	// partition id
	PartitionID string `json:"partition_id,omitempty"`

	// rackid
	Rackid string `json:"rackid,omitempty"`

	// sizeid
	Sizeid string `json:"sizeid,omitempty"`

	// state value
	StateValue string `json:"state_value,omitempty"`

	// tags
	Tags []string `json:"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"`

	// id
	ID string `json:"id,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nat
	Nat bool `json:"nat,omitempty"`

	// parentnetworkid
	Parentnetworkid string `json:"parentnetworkid,omitempty"`

	// partitionid
	Partitionid string `json:"partitionid,omitempty"`

	// prefixes
	Prefixes []string `json:"prefixes"`

	// privatesuper
	Privatesuper bool `json:"privatesuper,omitempty"`

	// projectid
	Projectid string `json:"projectid,omitempty"`

	// underlay
	Underlay bool `json:"underlay,omitempty"`

	// vrf
	Vrf int64 `json:"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 RestHealthResponse added in v0.16.3

type RestHealthResponse struct {

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

	// services
	// Required: true
	Services map[string]RestHealthResult `json:"services"`

	// status
	// Required: true
	Status *string `json:"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"`

	// status
	// Required: true
	Status *string `json:"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 validates this rest health result based on 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"`

	// gitsha1
	// Required: true
	Gitsha1 *string `json:"gitsha1"`

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

	// revision
	// Required: true
	Revision *string `json:"revision"`

	// version
	// Required: true
	Version *string `json:"version"`
}

RestVersion rest version

swagger:model rest.version

func (*RestVersion) 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 V1BGPFilter

type V1BGPFilter struct {

	// the cidr addresses that are allowed to be announced at this switch port
	// Required: true
	Cidrs []string `json:"cidrs"`

	// the virtual networks that are exposed at this switch port
	Vnis []string `json:"vnis"`
}

V1BGPFilter v1 b g p filter

swagger:model v1.BGPFilter

func (*V1BGPFilter) 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"`
}

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

	// the cmdline
	// Required: true
	Cmdline *string `json:"cmdline"`

	// the ID of the current image
	// Required: true
	ImageID *string `json:"image_id"`

	// the initrd image
	// Required: true
	Initrd *string `json:"initrd"`

	// the kernel
	// Required: true
	Kernel *string `json:"kernel"`

	// the partition containing the OS
	// Required: true
	OsPartition *string `json:"os_partition"`

	// the primary disk
	// Required: true
	PrimaryDisk *string `json:"primary_disk"`
}

V1BootInfo v1 boot info

swagger:model v1.BootInfo

func (*V1BootInfo) 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"`

	// the state of this chassis identify LED. empty means LED-OFF
	// Required: true
	Value *string `json:"value"`
}

V1ChassisIdentifyLEDState v1 chassis identify l e d state

swagger:model v1.ChassisIdentifyLEDState

func (*V1ChassisIdentifyLEDState) 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"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"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"`

	// a readable name for this entity
	Name string `json:"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"`

	// list of partitions to create on this disk
	Partitions []*V1DiskPartition `json:"partitions"`

	// if set to true, this disk will be wiped before reinstallation
	// Required: true
	Wipeonreinstall *bool `json:"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"`

	// optional label for this this partition
	Label string `json:"label,omitempty"`

	// partition number, will be appended to partitionprefix to create the final devicename
	// Required: true
	Number *int64 `json:"number"`

	// size in mebibytes (MiB) of this partition
	// Required: true
	Size *int64 `json:"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"`

	// the underlaying device where this filesystem should be created
	// Required: true
	Device *string `json:"device"`

	// the filesystem format
	// Required: true
	Format *string `json:"format"`

	// optional label for this this filesystem
	Label string `json:"label,omitempty"`

	// the options to use to mount this filesystem
	Mountoptions []string `json:"mountoptions"`

	// the mountpoint where this filesystem should be mounted on
	Path string `json:"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"`

	// list of disks that belong to this layout
	Disks []*V1Disk `json:"disks"`

	// list of filesystems to create
	Filesystems []*V1Filesystem `json:"filesystems"`

	// list of logicalvolumes to create
	Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes"`

	// list of raid arrays to create
	Raid []*V1Raid `json:"raid"`

	// list of volumegroups to create
	Volumegroups []*V1VolumeGroup `json:"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"`

	// list of sizes this layout applies to
	Sizes []string `json:"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"`

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

	// list of disks that belong to this layout
	Disks []*V1Disk `json:"disks"`

	// list of filesystems to create
	Filesystems []*V1Filesystem `json:"filesystems"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// list of logicalvolumes to create
	Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// list of raid arrays to create
	Raid []*V1Raid `json:"raid"`

	// list of volumegroups to create
	Volumegroups []*V1VolumeGroup `json:"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"`

	// machine id to check
	// Required: true
	Machine *string `json:"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"`

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

	// list of disks that belong to this layout
	Disks []*V1Disk `json:"disks"`

	// list of filesystems to create
	Filesystems []*V1Filesystem `json:"filesystems"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// list of logicalvolumes to create
	Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// list of raid arrays to create
	Raid []*V1Raid `json:"raid"`

	// list of volumegroups to create
	Volumegroups []*V1VolumeGroup `json:"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"`

	// machine size to try
	// Required: true
	Size *string `json:"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"`

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

	// list of disks that belong to this layout
	Disks []*V1Disk `json:"disks"`

	// list of filesystems to create
	Filesystems []*V1Filesystem `json:"filesystems"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// list of logicalvolumes to create
	Logicalvolumes []*V1LogicalVolume `json:"logicalvolumes"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// list of raid arrays to create
	Raid []*V1Raid `json:"raid"`

	// list of volumegroups to create
	Volumegroups []*V1VolumeGroup `json:"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 V1FirewallCreateRequest

type V1FirewallCreateRequest struct {

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

	// the filesystemlayout id to assing to this machine
	Filesystemlayoutid string `json:"filesystemlayoutid,omitempty"`

	// if set to true, this firewall is set up in a High Available manner
	Ha bool `json:"ha,omitempty"`

	// the hostname for the allocated machine (defaults to metal)
	Hostname string `json:"hostname,omitempty"`

	// the image id to assign this machine to
	// Required: true
	Imageid *string `json:"imageid"`

	// the ips to attach to this machine additionally
	Ips []string `json:"ips"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the networks that this machine will be placed in.
	Networks []*V1MachineAllocationNetwork `json:"networks"`

	// the partition id to assign this machine to
	// Required: true
	Partitionid *string `json:"partitionid"`

	// the project id to assign this machine to
	// Required: true
	Projectid *string `json:"projectid"`

	// the size id to assign this machine to
	// Required: true
	Sizeid *string `json:"sizeid"`

	// the public ssh keys to access the machine with
	// Required: true
	SSHPubKeys []string `json:"ssh_pub_keys"`

	// tags for this machine
	Tags []string `json:"tags"`

	// cloud-init.io compatible userdata must be base64 encoded
	UserData string `json:"user_data,omitempty"`

	// if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated. this field overrules size and partition
	UUID string `json:"uuid,omitempty"`
}

V1FirewallCreateRequest v1 firewall create request

swagger:model v1.FirewallCreateRequest

func (*V1FirewallCreateRequest) 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 V1FirewallFindRequest

type V1FirewallFindRequest struct {

	// allocation hostname
	AllocationHostname string `json:"allocation_hostname,omitempty"`

	// allocation image id
	AllocationImageID string `json:"allocation_image_id,omitempty"`

	// allocation name
	AllocationName string `json:"allocation_name,omitempty"`

	// allocation project
	AllocationProject string `json:"allocation_project,omitempty"`

	// allocation role
	AllocationRole string `json:"allocation_role,omitempty"`

	// allocation succeeded
	AllocationSucceeded bool `json:"allocation_succeeded,omitempty"`

	// disk names
	DiskNames []string `json:"disk_names"`

	// disk sizes
	DiskSizes []int64 `json:"disk_sizes"`

	// fru board mfg
	FruBoardMfg string `json:"fru_board_mfg,omitempty"`

	// fru board mfg serial
	FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty"`

	// fru board part number
	FruBoardPartNumber string `json:"fru_board_part_number,omitempty"`

	// fru chassis part number
	FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty"`

	// fru chassis part serial
	FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty"`

	// fru product manufacturer
	FruProductManufacturer string `json:"fru_product_manufacturer,omitempty"`

	// fru product part number
	FruProductPartNumber string `json:"fru_product_part_number,omitempty"`

	// fru product serial
	FruProductSerial string `json:"fru_product_serial,omitempty"`

	// hardware cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty"`

	// hardware memory
	HardwareMemory int64 `json:"hardware_memory,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// ipmi address
	IpmiAddress string `json:"ipmi_address,omitempty"`

	// ipmi interface
	IpmiInterface string `json:"ipmi_interface,omitempty"`

	// ipmi mac address
	IpmiMacAddress string `json:"ipmi_mac_address,omitempty"`

	// ipmi user
	IpmiUser string `json:"ipmi_user,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// network asns
	NetworkAsns []int64 `json:"network_asns"`

	// network destination prefixes
	NetworkDestinationPrefixes []string `json:"network_destination_prefixes"`

	// network ids
	NetworkIds []string `json:"network_ids"`

	// network ips
	NetworkIps []string `json:"network_ips"`

	// network nat
	NetworkNat bool `json:"network_nat,omitempty"`

	// network prefixes
	NetworkPrefixes []string `json:"network_prefixes"`

	// network private
	NetworkPrivate bool `json:"network_private,omitempty"`

	// network underlay
	NetworkUnderlay bool `json:"network_underlay,omitempty"`

	// network vrfs
	NetworkVrfs []int64 `json:"network_vrfs"`

	// nics mac addresses
	NicsMacAddresses []string `json:"nics_mac_addresses"`

	// nics names
	NicsNames []string `json:"nics_names"`

	// nics neighbor mac addresses
	NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses"`

	// nics neighbor names
	NicsNeighborNames []string `json:"nics_neighbor_names"`

	// nics neighbor vrfs
	NicsNeighborVrfs []string `json:"nics_neighbor_vrfs"`

	// nics vrfs
	NicsVrfs []string `json:"nics_vrfs"`

	// partition id
	PartitionID string `json:"partition_id,omitempty"`

	// rackid
	Rackid string `json:"rackid,omitempty"`

	// sizeid
	Sizeid string `json:"sizeid,omitempty"`

	// state value
	StateValue string `json:"state_value,omitempty"`

	// tags
	Tags []string `json:"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 V1FirewallResponse

type V1FirewallResponse struct {

	// the allocation data of an allocated machine
	Allocation *V1MachineAllocation `json:"allocation,omitempty"`

	// bios information of this machine
	// Required: true
	Bios *V1MachineBIOS `json:"bios"`

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// recent events of this machine during provisioning
	// Required: true
	Events *V1MachineRecentProvisioningEvents `json:"events"`

	// the hardware of this machine
	// Required: true
	Hardware *V1MachineHardware `json:"hardware"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the state of this chassis identify LED
	// Required: true
	Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`

	// the liveliness of this machine
	// Required: true
	Liveliness *string `json:"liveliness"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the partition assigned to this machine
	// Read Only: true
	Partition *V1PartitionResponse `json:"partition,omitempty"`

	// the rack assigned to this machine
	// Read Only: true
	Rackid string `json:"rackid,omitempty"`

	// the size of this machine
	// Read Only: true
	Size *V1SizeResponse `json:"size,omitempty"`

	// the state of this machine
	// Required: true
	State *V1MachineState `json:"state"`

	// tags for this machine
	// Required: true
	Tags []string `json:"tags"`
}

V1FirewallResponse v1 firewall response

swagger:model v1.FirewallResponse

func (*V1FirewallResponse) 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 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"`
}

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

	// issuer config
	IssuerConfig *V1IssuerConfig `json:"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"`
}

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

	// the machine id this ip should be associated with
	Machineid string `json:"machineid,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the network this ip allocate request address belongs to
	// Required: true
	Networkid *string `json:"networkid"`

	// the project this ip address belongs to
	// Required: true
	Projectid *string `json:"projectid"`

	// free tags that you associate with this ip.
	Tags []string `json:"tags"`

	// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
	// Required: true
	// Enum: [ephemeral static]
	Type *string `json:"type"`
}

V1IPAllocateRequest v1 IP allocate request

swagger:model v1.IPAllocateRequest

func (*V1IPAllocateRequest) 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"`

	// the project this ip address belongs to
	// Required: true
	Projectid *string `json:"projectid"`

	// free tags that you associate with this ip.
	Tags []string `json:"tags"`

	// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
	// Required: true
	// Enum: [ephemeral static]
	Type *string `json:"type"`
}

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

	// the address (ipv4 or ipv6) of this ip
	Ipaddress string `json:"ipaddress,omitempty"`

	// the machine an ip address is associated to
	Machineid string `json:"machineid,omitempty"`

	// the name of the ip address
	Name string `json:"name,omitempty"`

	// the network this ip allocate request address belongs to
	Networkid string `json:"networkid,omitempty"`

	// the prefix of the network this ip address belongs to
	Networkprefix string `json:"networkprefix,omitempty"`

	// the project this ip address belongs to, empty if not strong coupled
	Projectid string `json:"projectid,omitempty"`

	// the tags that are assigned to this ip address
	Tags []string `json:"tags"`

	// the type of the ip address, ephemeral or static
	Type string `json:"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"`

	// the address (ipv4 or ipv6) of this ip
	// Required: true
	Ipaddress *string `json:"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"`

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// the address (ipv4 or ipv6) of this ip
	// Required: true
	Ipaddress *string `json:"ipaddress"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the network this ip allocate request address belongs to
	// Required: true
	Networkid *string `json:"networkid"`

	// the project this ip address belongs to
	// Required: true
	Projectid *string `json:"projectid"`

	// free tags that you associate with this ip.
	Tags []string `json:"tags"`

	// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
	// Required: true
	// Enum: [ephemeral static]
	Type *string `json:"type"`
}

V1IPResponse v1 IP response

swagger:model v1.IPResponse

func (*V1IPResponse) 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"`

	// the address (ipv4 or ipv6) of this ip
	// Required: true
	Ipaddress *string `json:"ipaddress"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// free tags that you associate with this ip.
	Tags []string `json:"tags"`

	// the ip type, ephemeral leads to automatic cleanup of the ip address, static will enable re-use of the ip at a later point in time
	// Required: true
	// Enum: [ephemeral static]
	Type *string `json:"type"`
}

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

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

	// expirationDate of this image
	// Required: true
	// Format: date-time
	ExpirationDate *strfmt.DateTime `json:"expirationDate"`

	// features of this image
	Features []string `json:"features"`

	// the url of this image
	URL string `json:"url,omitempty"`

	// machines where this image is in use
	Usedby []string `json:"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"`

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

	// expirationDate of this image
	// Format: date-time
	ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"`

	// features of this image
	Features []string `json:"features"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the url of this image
	// Required: true
	URL *string `json:"url"`
}

V1ImageCreateRequest v1 image create request

swagger:model v1.ImageCreateRequest

func (*V1ImageCreateRequest) 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 V1ImageResponse

type V1ImageResponse struct {

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// classification of this image
	Classification string `json:"classification,omitempty"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// expirationDate of this image
	// Required: true
	// Format: date-time
	ExpirationDate *strfmt.DateTime `json:"expirationDate"`

	// features of this image
	Features []string `json:"features"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the url of this image
	URL string `json:"url,omitempty"`

	// machines where this image is in use
	Usedby []string `json:"usedby"`
}

V1ImageResponse v1 image response

swagger:model v1.ImageResponse

func (*V1ImageResponse) 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"`

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

	// expirationDate of this image
	// Required: true
	// Format: date-time
	ExpirationDate *strfmt.DateTime `json:"expirationDate"`

	// features of this image
	Features []string `json:"features"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the url of this image
	URL string `json:"url,omitempty"`

	// machines where this image is in use
	Usedby []string `json:"usedby"`
}

V1ImageUpdateRequest v1 image update request

swagger:model v1.ImageUpdateRequest

func (*V1ImageUpdateRequest) 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"`

	// url
	URL string `json:"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"`

	// the name of the logical volume
	// Required: true
	Name *string `json:"name"`

	// size in mebibytes (MiB) of this volume
	// Required: true
	Size *int64 `json:"size"`

	// the name of the volume group where to create the logical volume onto
	// Required: true
	Volumegroup *string `json:"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 V1MachineAbortReinstallRequest added in v0.4.0

type V1MachineAbortReinstallRequest struct {

	// indicates whether the primary disk is already wiped
	// Required: true
	PrimaryDiskWiped *bool `json:"primary_disk_wiped"`
}

V1MachineAbortReinstallRequest v1 machine abort reinstall request

swagger:model v1.MachineAbortReinstallRequest

func (*V1MachineAbortReinstallRequest) ContextValidate added in v0.12.1

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

ContextValidate validates this v1 machine abort reinstall request based on context it is used

func (*V1MachineAbortReinstallRequest) MarshalBinary added in v0.4.0

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

MarshalBinary interface implementation

func (*V1MachineAbortReinstallRequest) UnmarshalBinary added in v0.4.0

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

UnmarshalBinary interface implementation

func (*V1MachineAbortReinstallRequest) Validate added in v0.4.0

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

Validate validates this v1 machine abort reinstall request

type V1MachineAllocateRequest

type V1MachineAllocateRequest struct {

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

	// the filesystemlayout id to assing to this machine
	Filesystemlayoutid string `json:"filesystemlayoutid,omitempty"`

	// the hostname for the allocated machine (defaults to metal)
	Hostname string `json:"hostname,omitempty"`

	// the image id to assign this machine to
	// Required: true
	Imageid *string `json:"imageid"`

	// the ips to attach to this machine additionally
	Ips []string `json:"ips"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the networks that this machine will be placed in.
	Networks []*V1MachineAllocationNetwork `json:"networks"`

	// the partition id to assign this machine to
	// Required: true
	Partitionid *string `json:"partitionid"`

	// the project id to assign this machine to
	// Required: true
	Projectid *string `json:"projectid"`

	// the size id to assign this machine to
	// Required: true
	Sizeid *string `json:"sizeid"`

	// the public ssh keys to access the machine with
	// Required: true
	SSHPubKeys []string `json:"ssh_pub_keys"`

	// tags for this machine
	Tags []string `json:"tags"`

	// cloud-init.io compatible userdata must be base64 encoded
	UserData string `json:"user_data,omitempty"`

	// if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated. this field overrules size and partition
	UUID string `json:"uuid,omitempty"`
}

V1MachineAllocateRequest v1 machine allocate request

swagger:model v1.MachineAllocateRequest

func (*V1MachineAllocateRequest) 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 {

	// information required for booting the machine from HD
	BootInfo *V1BootInfo `json:"boot_info,omitempty"`

	// the time when the machine was created
	// Required: true
	// Format: date-time
	Created *strfmt.DateTime `json:"created"`

	// email of machine creator
	// Required: true
	Creator *string `json:"creator"`

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

	// filesystemlayout to create on this machine
	Filesystemlayout *V1FilesystemLayoutResponse `json:"filesystemlayout,omitempty"`

	// the hostname which will be used when creating the machine
	// Required: true
	Hostname *string `json:"hostname"`

	// the image assigned to this machine
	// Read Only: true
	Image *V1ImageResponse `json:"image,omitempty"`

	// the name of the machine
	// Required: true
	Name *string `json:"name"`

	// the networks of this machine
	// Required: true
	Networks []*V1MachineNetwork `json:"networks"`

	// the project id that this machine is assigned to
	// Required: true
	Project *string `json:"project"`

	// indicates whether to reinstall the machine
	// Required: true
	Reinstall *bool `json:"reinstall"`

	// the role of the machine
	// Required: true
	// Enum: [firewall machine]
	Role *string `json:"role"`

	// the public ssh keys to access the machine with
	// Required: true
	SSHPubKeys []string `json:"ssh_pub_keys"`

	// if the allocation of the machine was successful, this is set to true
	// Required: true
	Succeeded *bool `json:"succeeded"`

	// userdata to execute post installation tasks
	UserData string `json:"user_data,omitempty"`
}

V1MachineAllocation v1 machine allocation

swagger:model v1.MachineAllocation

func (*V1MachineAllocation) 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"`

	// the id of the network that this machine will be placed in
	// Required: true
	Networkid *string `json:"networkid"`
}

V1MachineAllocationNetwork v1 machine allocation network

swagger:model v1.MachineAllocationNetwork

func (*V1MachineAllocationNetwork) 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"`

	// the bios vendor
	// Required: true
	Vendor *string `json:"vendor"`

	// the bios version
	// Required: true
	Version *string `json:"version"`
}

V1MachineBIOS The bios version

swagger:model v1.MachineBIOS

func (*V1MachineBIOS) 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"`

	// bios information of this machine
	// Required: true
	Bios *V1MachineBIOS `json:"bios"`

	// recent events of this machine during provisioning
	// Required: true
	Events *V1MachineRecentProvisioningEvents `json:"events"`

	// the hardware of this machine
	// Required: true
	Hardware *V1MachineHardware `json:"hardware"`

	// the state of this chassis identify LED
	// Required: true
	Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`

	// the liveliness of this machine
	// Required: true
	Liveliness *string `json:"liveliness"`

	// the partition assigned to this machine
	// Read Only: true
	Partition *V1PartitionResponse `json:"partition,omitempty"`

	// the rack assigned to this machine
	// Read Only: true
	Rackid string `json:"rackid,omitempty"`

	// the size of this machine
	// Read Only: true
	Size *V1SizeResponse `json:"size,omitempty"`

	// the state of this machine
	// Required: true
	State *V1MachineState `json:"state"`

	// tags for this machine
	// Required: true
	Tags []string `json:"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"`

	// the size of this block device
	// Required: true
	Size *int64 `json:"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"`

	// reason why the consolepassword is requested, typically a incident number with short description
	// Required: true
	Reason *string `json:"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"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"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 V1MachineFinalizeAllocationRequest

type V1MachineFinalizeAllocationRequest struct {

	// the bootloader ID
	// Required: true
	Bootloaderid *string `json:"bootloaderid"`

	// the cmdline
	// Required: true
	Cmdline *string `json:"cmdline"`

	// the console password which was generated while provisioning
	// Required: true
	ConsolePassword *string `json:"console_password"`

	// the initrd image
	// Required: true
	Initrd *string `json:"initrd"`

	// the kernel
	// Required: true
	Kernel *string `json:"kernel"`

	// the partition that has the OS installed
	// Required: true
	Ospartition *string `json:"ospartition"`

	// the device name of the primary disk
	// Required: true
	Primarydisk *string `json:"primarydisk"`
}

V1MachineFinalizeAllocationRequest v1 machine finalize allocation request

swagger:model v1.MachineFinalizeAllocationRequest

func (*V1MachineFinalizeAllocationRequest) ContextValidate added in v0.12.1

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

ContextValidate validates this v1 machine finalize allocation request based on context it is used

func (*V1MachineFinalizeAllocationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1MachineFinalizeAllocationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1MachineFinalizeAllocationRequest) Validate

Validate validates this v1 machine finalize allocation request

type V1MachineFindRequest

type V1MachineFindRequest struct {

	// allocation hostname
	AllocationHostname string `json:"allocation_hostname,omitempty"`

	// allocation image id
	AllocationImageID string `json:"allocation_image_id,omitempty"`

	// allocation name
	AllocationName string `json:"allocation_name,omitempty"`

	// allocation project
	AllocationProject string `json:"allocation_project,omitempty"`

	// allocation role
	AllocationRole string `json:"allocation_role,omitempty"`

	// allocation succeeded
	AllocationSucceeded bool `json:"allocation_succeeded,omitempty"`

	// disk names
	DiskNames []string `json:"disk_names"`

	// disk sizes
	DiskSizes []int64 `json:"disk_sizes"`

	// fru board mfg
	FruBoardMfg string `json:"fru_board_mfg,omitempty"`

	// fru board mfg serial
	FruBoardMfgSerial string `json:"fru_board_mfg_serial,omitempty"`

	// fru board part number
	FruBoardPartNumber string `json:"fru_board_part_number,omitempty"`

	// fru chassis part number
	FruChassisPartNumber string `json:"fru_chassis_part_number,omitempty"`

	// fru chassis part serial
	FruChassisPartSerial string `json:"fru_chassis_part_serial,omitempty"`

	// fru product manufacturer
	FruProductManufacturer string `json:"fru_product_manufacturer,omitempty"`

	// fru product part number
	FruProductPartNumber string `json:"fru_product_part_number,omitempty"`

	// fru product serial
	FruProductSerial string `json:"fru_product_serial,omitempty"`

	// hardware cpu cores
	HardwareCPUCores int64 `json:"hardware_cpu_cores,omitempty"`

	// hardware memory
	HardwareMemory int64 `json:"hardware_memory,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// ipmi address
	IpmiAddress string `json:"ipmi_address,omitempty"`

	// ipmi interface
	IpmiInterface string `json:"ipmi_interface,omitempty"`

	// ipmi mac address
	IpmiMacAddress string `json:"ipmi_mac_address,omitempty"`

	// ipmi user
	IpmiUser string `json:"ipmi_user,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// network asns
	NetworkAsns []int64 `json:"network_asns"`

	// network destination prefixes
	NetworkDestinationPrefixes []string `json:"network_destination_prefixes"`

	// network ids
	NetworkIds []string `json:"network_ids"`

	// network ips
	NetworkIps []string `json:"network_ips"`

	// network nat
	NetworkNat bool `json:"network_nat,omitempty"`

	// network prefixes
	NetworkPrefixes []string `json:"network_prefixes"`

	// network private
	NetworkPrivate bool `json:"network_private,omitempty"`

	// network underlay
	NetworkUnderlay bool `json:"network_underlay,omitempty"`

	// network vrfs
	NetworkVrfs []int64 `json:"network_vrfs"`

	// nics mac addresses
	NicsMacAddresses []string `json:"nics_mac_addresses"`

	// nics names
	NicsNames []string `json:"nics_names"`

	// nics neighbor mac addresses
	NicsNeighborMacAddresses []string `json:"nics_neighbor_mac_addresses"`

	// nics neighbor names
	NicsNeighborNames []string `json:"nics_neighbor_names"`

	// nics neighbor vrfs
	NicsNeighborVrfs []string `json:"nics_neighbor_vrfs"`

	// nics vrfs
	NicsVrfs []string `json:"nics_vrfs"`

	// partition id
	PartitionID string `json:"partition_id,omitempty"`

	// rackid
	Rackid string `json:"rackid,omitempty"`

	// sizeid
	Sizeid string `json:"sizeid,omitempty"`

	// state value
	StateValue string `json:"state_value,omitempty"`

	// tags
	Tags []string `json:"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"`

	// the board mfg serial
	BoardMfgSerial string `json:"board_mfg_serial,omitempty"`

	// the board part number
	BoardPartNumber string `json:"board_part_number,omitempty"`

	// the chassis part number
	ChassisPartNumber string `json:"chassis_part_number,omitempty"`

	// the chassis part serial
	ChassisPartSerial string `json:"chassis_part_serial,omitempty"`

	// the product manufacturer
	ProductManufacturer string `json:"product_manufacturer,omitempty"`

	// the product part number
	ProductPartNumber string `json:"product_part_number,omitempty"`

	// the product serial
	ProductSerial string `json:"product_serial,omitempty"`
}

V1MachineFru The Field Replaceable Unit data

swagger:model v1.MachineFru

func (*V1MachineFru) 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"`

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

	// the total memory of the machine
	// Required: true
	Memory *int64 `json:"memory"`

	// the list of network interfaces of this machine
	// Required: true
	Nics []*V1MachineNic `json:"nics"`
}

V1MachineHardware v1 machine hardware

swagger:model v1.MachineHardware

func (*V1MachineHardware) 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"`

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

	// the total memory of the machine
	// Required: true
	Memory *int64 `json:"memory"`
}

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

	// bmcversion
	// Required: true
	Bmcversion *string `json:"bmcversion"`

	// fru
	// Required: true
	Fru *V1MachineFru `json:"fru"`

	// interface
	// Required: true
	Interface *string `json:"interface"`

	// mac
	// Required: true
	Mac *string `json:"mac"`

	// password
	// Required: true
	Password *string `json:"password"`

	// powerstate
	// Required: true
	Powerstate *string `json:"powerstate"`

	// user
	// Required: true
	User *string `json:"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"`

	// bios information of this machine
	// Required: true
	Bios *V1MachineBIOS `json:"bios"`

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// recent events of this machine during provisioning
	// Required: true
	Events *V1MachineRecentProvisioningEvents `json:"events"`

	// the hardware of this machine
	// Required: true
	Hardware *V1MachineHardware `json:"hardware"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// ipmi information of this machine
	// Required: true
	Ipmi *V1MachineIPMI `json:"ipmi"`

	// the state of this chassis identify LED
	// Required: true
	Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`

	// the liveliness of this machine
	// Required: true
	Liveliness *string `json:"liveliness"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the partition assigned to this machine
	// Read Only: true
	Partition *V1PartitionResponse `json:"partition,omitempty"`

	// the rack assigned to this machine
	// Read Only: true
	Rackid string `json:"rackid,omitempty"`

	// the size of this machine
	// Read Only: true
	Size *V1SizeResponse `json:"size,omitempty"`

	// the state of this machine
	// Required: true
	State *V1MachineState `json:"state"`

	// tags for this machine
	// Required: true
	Tags []string `json:"tags"`
}

V1MachineIPMIResponse v1 machine IP m i response

swagger:model v1.MachineIPMIResponse

func (*V1MachineIPMIResponse) 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"`

	// b m c Ip
	// Required: true
	BMCIP *string `json:"BMCIp"`

	// b m c version
	// Required: true
	BMCVersion *string `json:"BMCVersion"`

	// f r u
	// Required: true
	FRU *V1MachineFru `json:"FRU"`

	// power state
	// Required: true
	PowerState *string `json:"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"`

	// the machine uuids that triggered an update of ipmi data
	// Required: true
	Updated []string `json:"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"`

	// uuid to machinereport
	Reports map[string]V1MachineIpmiReport `json:"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 V1MachineNetwork

type V1MachineNetwork struct {

	// ASN number for this network in the bgp configuration
	// Required: true
	Asn *int64 `json:"asn"`

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

	// the ip addresses of the allocated machine in this vrf
	// Required: true
	Ips []string `json:"ips"`

	// if set to true, packets leaving this network get masqueraded behind interface ip
	// Required: true
	Nat *bool `json:"nat"`

	// the networkID of the allocated machine in this vrf
	// Required: true
	Networkid *string `json:"networkid"`

	// the network type, types can be looked up in the network package of metal-lib
	// Required: true
	Networktype *string `json:"networktype"`

	// the prefixes of this network
	// Required: true
	Prefixes []string `json:"prefixes"`

	// indicates whether this network is the private network of this machine
	// Required: true
	Private *bool `json:"private"`

	// if set to true, this network can be used for underlay communication
	// Required: true
	Underlay *bool `json:"underlay"`

	// the vrf of the allocated machine
	// Required: true
	Vrf *int64 `json:"vrf"`
}

V1MachineNetwork prefixes that are reachable within this network

swagger:model v1.MachineNetwork

func (*V1MachineNetwork) 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 mac address of this network interface
	// Required: true
	Mac *string `json:"mac"`

	// the name of this network interface
	// Required: true
	Name *string `json:"name"`

	// the neighbors visible to this network interface
	// Required: true
	Neighbors []*V1MachineNic `json:"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"`

	// an additional message to add to the event
	Message string `json:"message,omitempty"`

	// the time that this event was received
	// Read Only: true
	// Format: date-time
	Time strfmt.DateTime `json:"time,omitempty"`
}

V1MachineProvisioningEvent v1 machine provisioning event

swagger:model v1.MachineProvisioningEvent

func (*V1MachineProvisioningEvent) 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 V1MachineProvisioningEvents added in v0.16.6

type V1MachineProvisioningEvents map[string]V1MachineProvisioningEvent

V1MachineProvisioningEvents v1 machine provisioning events

swagger:model v1.MachineProvisioningEvents

func (V1MachineProvisioningEvents) ContextValidate added in v0.16.6

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

ContextValidate validate this v1 machine provisioning events based on the context it is used

func (V1MachineProvisioningEvents) Validate added in v0.16.6

func (m V1MachineProvisioningEvents) Validate(formats strfmt.Registry) error

Validate validates this v1 machine provisioning events

type V1MachineRecentProvisioningEvents

type V1MachineRecentProvisioningEvents struct {

	// the amount of incomplete provisioning cycles in the event container
	// Required: true
	IncompleteProvisioningCycles *string `json:"incomplete_provisioning_cycles"`

	// the time where the last event was received
	// Format: date-time
	LastEventTime strfmt.DateTime `json:"last_event_time,omitempty"`

	// the log of recent machine provisioning events
	// Required: true
	Log []*V1MachineProvisioningEvent `json:"log"`
}

V1MachineRecentProvisioningEvents v1 machine recent provisioning events

swagger:model v1.MachineRecentProvisioningEvents

func (*V1MachineRecentProvisioningEvents) 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 V1MachineRecentProvisioningEventsResponse added in v0.16.6

type V1MachineRecentProvisioningEventsResponse struct {

	// number of events stored
	// Required: true
	Events *int64 `json:"events"`

	// slice of machineIDs for which event was not published
	// Required: true
	Failed []string `json:"failed"`
}

V1MachineRecentProvisioningEventsResponse v1 machine recent provisioning events response

swagger:model v1.MachineRecentProvisioningEventsResponse

func (*V1MachineRecentProvisioningEventsResponse) ContextValidate added in v0.16.6

ContextValidate validates this v1 machine recent provisioning events response based on context it is used

func (*V1MachineRecentProvisioningEventsResponse) MarshalBinary added in v0.16.6

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

MarshalBinary interface implementation

func (*V1MachineRecentProvisioningEventsResponse) UnmarshalBinary added in v0.16.6

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

UnmarshalBinary interface implementation

func (*V1MachineRecentProvisioningEventsResponse) Validate added in v0.16.6

Validate validates this v1 machine recent provisioning events response

type V1MachineRegisterRequest

type V1MachineRegisterRequest struct {

	// bios information of this machine
	// Required: true
	Bios *V1MachineBIOS `json:"bios"`

	// the hardware of this machine
	// Required: true
	Hardware *V1MachineHardware `json:"hardware"`

	// the ipmi access infos
	// Required: true
	Ipmi *V1MachineIPMI `json:"ipmi"`

	// the partition id to register this machine with
	// Required: true
	Partitionid *string `json:"partitionid"`

	// the rack id where this machine is connected to
	// Required: true
	Rackid *string `json:"rackid"`

	// tags for this machine
	// Required: true
	Tags []string `json:"tags"`

	// the product uuid of the machine to register
	// Required: true
	UUID *string `json:"uuid"`
}

V1MachineRegisterRequest v1 machine register request

swagger:model v1.MachineRegisterRequest

func (*V1MachineRegisterRequest) ContextValidate added in v0.12.1

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

ContextValidate validate this v1 machine register request based on the context it is used

func (*V1MachineRegisterRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1MachineRegisterRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1MachineRegisterRequest) Validate

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

Validate validates this v1 machine register request

type V1MachineReinstallRequest added in v0.4.0

type V1MachineReinstallRequest struct {

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the image id to be installed
	// Required: true
	Imageid *string `json:"imageid"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`
}

V1MachineReinstallRequest v1 machine reinstall request

swagger:model v1.MachineReinstallRequest

func (*V1MachineReinstallRequest) 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"`

	// bios information of this machine
	// Required: true
	Bios *V1MachineBIOS `json:"bios"`

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// recent events of this machine during provisioning
	// Required: true
	Events *V1MachineRecentProvisioningEvents `json:"events"`

	// the hardware of this machine
	// Required: true
	Hardware *V1MachineHardware `json:"hardware"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the state of this chassis identify LED
	// Required: true
	Ledstate *V1ChassisIdentifyLEDState `json:"ledstate"`

	// the liveliness of this machine
	// Required: true
	Liveliness *string `json:"liveliness"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the partition assigned to this machine
	// Read Only: true
	Partition *V1PartitionResponse `json:"partition,omitempty"`

	// the rack assigned to this machine
	// Read Only: true
	Rackid string `json:"rackid,omitempty"`

	// the size of this machine
	// Read Only: true
	Size *V1SizeResponse `json:"size,omitempty"`

	// the state of this machine
	// Required: true
	State *V1MachineState `json:"state"`

	// tags for this machine
	// Required: true
	Tags []string `json:"tags"`
}

V1MachineResponse v1 machine response

swagger:model v1.MachineResponse

func (*V1MachineResponse) 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"`

	// the version of metal hammer which put the machine in waiting state
	// Required: true
	MetalHammerVersion *string `json:"metal_hammer_version"`

	// the state of this machine. empty means available for all
	// Required: true
	Value *string `json:"value"`
}

V1MachineState v1 machine state

swagger:model v1.MachineState

func (*V1MachineState) 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"`

	// the firmware kind, i.e. [bios|bmc]
	// Required: true
	Kind *string `json:"kind"`

	// the update revision
	// Required: true
	Revision *string `json:"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"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// tags for this machine.
	Tags []string `json:"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 V1Meta

type V1Meta struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// apiversion
	Apiversion string `json:"apiversion,omitempty"`

	// created time
	// Format: date-time
	CreatedTime strfmt.DateTime `json:"created_time,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// labels
	Labels []string `json:"labels"`

	// updated time
	// Format: date-time
	UpdatedTime strfmt.DateTime `json:"updated_time,omitempty"`

	// version
	Version int64 `json:"version,omitempty"`
}

V1Meta v1 meta

swagger:model v1.Meta

func (*V1Meta) 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"`

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

	// free labels that you associate with this network.
	Labels map[string]string `json:"labels,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// if set to true, packets leaving this network get masqueraded behind interface ip
	Nat bool `json:"nat,omitempty"`

	// the partition this network belongs to
	Partitionid string `json:"partitionid,omitempty"`

	// the project id this network belongs to, can be empty if globally available
	Projectid string `json:"projectid,omitempty"`

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

	// the partition this network belongs to
	Partitionid string `json:"partitionid,omitempty"`

	// the project id this network belongs to, can be empty if globally available
	Projectid string `json:"projectid,omitempty"`

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

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

	// the unique ID of this entity, auto-generated if left empty
	// Required: true
	ID *string `json:"id"`

	// free labels that you associate with this network.
	Labels map[string]string `json:"labels,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// if set to true, packets leaving this network get masqueraded behind interface ip
	// Required: true
	Nat *bool `json:"nat"`

	// the id of the parent network
	Parentnetworkid string `json:"parentnetworkid,omitempty"`

	// the partition this network belongs to
	Partitionid string `json:"partitionid,omitempty"`

	// the prefixes of this network
	// Required: true
	Prefixes []string `json:"prefixes"`

	// if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition
	// Required: true
	Privatesuper *bool `json:"privatesuper"`

	// the project id this network belongs to, can be empty if globally available
	Projectid string `json:"projectid,omitempty"`

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

	// if set to true, this network can be used for underlay communication
	// Required: true
	Underlay *bool `json:"underlay"`

	// the vrf this network is associated with
	Vrf int64 `json:"vrf,omitempty"`

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

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

	// id
	ID string `json:"id,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nat
	Nat bool `json:"nat,omitempty"`

	// parentnetworkid
	Parentnetworkid string `json:"parentnetworkid,omitempty"`

	// partitionid
	Partitionid string `json:"partitionid,omitempty"`

	// prefixes
	Prefixes []string `json:"prefixes"`

	// privatesuper
	Privatesuper bool `json:"privatesuper,omitempty"`

	// projectid
	Projectid string `json:"projectid,omitempty"`

	// underlay
	Underlay bool `json:"underlay,omitempty"`

	// vrf
	Vrf int64 `json:"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"`

	// if set to true, packets leaving this network get masqueraded behind interface ip
	// Required: true
	Nat *bool `json:"nat"`

	// the id of the parent network
	Parentnetworkid string `json:"parentnetworkid,omitempty"`

	// the prefixes of this network
	// Required: true
	Prefixes []string `json:"prefixes"`

	// if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition
	// Required: true
	Privatesuper *bool `json:"privatesuper"`

	// if set to true, this network can be used for underlay communication
	// Required: true
	Underlay *bool `json:"underlay"`

	// the vrf this network is associated with
	Vrf int64 `json:"vrf,omitempty"`

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

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

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// free labels that you associate with this network.
	Labels map[string]string `json:"labels,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// if set to true, packets leaving this network get masqueraded behind interface ip
	// Required: true
	Nat *bool `json:"nat"`

	// the id of the parent network
	Parentnetworkid string `json:"parentnetworkid,omitempty"`

	// the partition this network belongs to
	Partitionid string `json:"partitionid,omitempty"`

	// the prefixes of this network
	// Required: true
	Prefixes []string `json:"prefixes"`

	// if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition
	// Required: true
	Privatesuper *bool `json:"privatesuper"`

	// the project id this network belongs to, can be empty if globally available
	Projectid string `json:"projectid,omitempty"`

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

	// if set to true, this network can be used for underlay communication
	// Required: true
	Underlay *bool `json:"underlay"`

	// usage of ips and prefixes in this network
	// Required: true
	Usage *V1NetworkUsage `json:"usage"`

	// the vrf this network is associated with
	Vrf int64 `json:"vrf,omitempty"`

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

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// free labels that you associate with this network.
	Labels map[string]string `json:"labels,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the prefixes of this network
	Prefixes []string `json:"prefixes"`

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

	// the total available Prefixes
	// Required: true
	AvailablePrefixes *int64 `json:"available_prefixes"`

	// the total used IPs
	// Required: true
	UsedIps *int64 `json:"used_ips"`

	// the total used Prefixes
	// Required: true
	UsedPrefixes *int64 `json:"used_prefixes"`
}

V1NetworkUsage v1 network usage

swagger:model v1.NetworkUsage

func (*V1NetworkUsage) 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 V1PartitionBase added in v0.15.1

type V1PartitionBase struct {

	// the address to the management service of this partition
	Mgmtserviceaddress string `json:"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"`
}

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

	// the url to download the initrd for the boot image
	Imageurl string `json:"imageurl,omitempty"`

	// the url to download the kernel for the boot image
	Kernelurl string `json:"kernelurl,omitempty"`
}

V1PartitionBootConfiguration a partition has a distinct location in a data center, individual entities belong to a partition

swagger:model v1.PartitionBootConfiguration

func (*V1PartitionBootConfiguration) 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"`

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// servers available in this partition
	// Required: true
	Servers []*V1ServerCapacity `json:"servers"`
}

V1PartitionCapacity v1 partition capacity

swagger:model v1.PartitionCapacity

func (*V1PartitionCapacity) 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"`

	// the size to filter for
	Sizeid string `json:"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"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the address to the management service of this partition
	Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the length of private networks for the machine's child networks in this partition, default 22
	// Maximum: 30
	// Minimum: 16
	Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty"`
}

V1PartitionCreateRequest v1 partition create request

swagger:model v1.PartitionCreateRequest

func (*V1PartitionCreateRequest) 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"`

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the address to the management service of this partition
	Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the length of private networks for the machine's child networks in this partition, default 22
	// Maximum: 30
	// Minimum: 16
	Privatenetworkprefixlength int32 `json:"privatenetworkprefixlength,omitempty"`
}

V1PartitionResponse v1 partition response

swagger:model v1.PartitionResponse

func (*V1PartitionResponse) 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"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the address to the management service of this partition
	Mgmtserviceaddress string `json:"mgmtserviceaddress,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`
}

V1PartitionUpdateRequest v1 partition update request

swagger:model v1.PartitionUpdateRequest

func (*V1PartitionUpdateRequest) 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 V1Project added in v0.15.1

type V1Project struct {

	// description
	Description string `json:"description,omitempty"`

	// meta
	Meta *V1Meta `json:"meta,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quotas
	Quotas *V1QuotaSet `json:"quotas,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty"`
}

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

	// meta
	Meta *V1Meta `json:"meta,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quotas
	Quotas *V1QuotaSet `json:"quotas,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty"`
}

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

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty"`
}

V1ProjectFindRequest v1 project find request

swagger:model v1.ProjectFindRequest

func (*V1ProjectFindRequest) 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"`

	// meta
	Meta *V1Meta `json:"meta,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quotas
	Quotas *V1QuotaSet `json:"quotas,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty"`
}

V1ProjectResponse v1 project response

swagger:model v1.ProjectResponse

func (*V1ProjectResponse) 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"`

	// meta
	Meta *V1Meta `json:"meta,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quotas
	Quotas *V1QuotaSet `json:"quotas,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty"`
}

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

	// used
	Used int32 `json:"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"`

	// ip
	IP *V1Quota `json:"ip,omitempty"`

	// machine
	Machine *V1Quota `json:"machine,omitempty"`

	// project
	Project *V1Quota `json:"project,omitempty"`
}

V1QuotaSet v1 quota set

swagger:model v1.QuotaSet

func (*V1QuotaSet) 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"`

	// the options to use to create the raid array
	Createoptions []string `json:"createoptions"`

	// list of devices to form the raid array from
	Devices []string `json:"devices"`

	// raid level to create, should be 0 or 1
	// Required: true
	Level *string `json:"level"`

	// number of spares for the raid array
	// Required: true
	Spares *int32 `json:"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"`

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

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

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

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

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

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

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

V1ServerCapacity v1 server capacity

swagger:model v1.ServerCapacity

func (*V1ServerCapacity) 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"`

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

	// the type of the constraint
	// Required: true
	// Enum: [cores memory storage]
	Type *string `json:"type"`
}

V1SizeConstraint a machine matches to a size in order to make them easier to categorize

swagger:model v1.SizeConstraint

func (*V1SizeConstraint) 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"`

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

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

V1SizeConstraintMatchingLog v1 size constraint matching log

swagger:model v1.SizeConstraintMatchingLog

func (*V1SizeConstraintMatchingLog) 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"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`
}

V1SizeCreateRequest v1 size create request

swagger:model v1.SizeCreateRequest

func (*V1SizeCreateRequest) 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"`
}

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

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"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"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"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"`

	// size
	// Required: true
	Size *string `json:"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"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"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"`

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

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

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

V1SizeMatchingLog v1 size matching log

swagger:model v1.SizeMatchingLog

func (*V1SizeMatchingLog) 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 V1SizeResponse

type V1SizeResponse struct {

	// the last changed timestamp of this entity
	// Read Only: true
	// Format: date-time
	Changed strfmt.DateTime `json:"changed,omitempty"`

	// a list of constraints that defines this size
	// Required: true
	Constraints []*V1SizeConstraint `json:"constraints"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`
}

V1SizeResponse v1 size response

swagger:model v1.SizeResponse

func (*V1SizeResponse) 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 V1SizeUpdateRequest

type V1SizeUpdateRequest struct {

	// a list of constraints that defines this size
	Constraints []*V1SizeConstraint `json:"constraints"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`
}

V1SizeUpdateRequest v1 size update request

swagger:model v1.SizeUpdateRequest

func (*V1SizeUpdateRequest) 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 {

	// the mode the switch currently has
	Mode string `json:"mode,omitempty"`

	// the id of the rack in which this switch is located
	// Required: true
	RackID *string `json:"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 validates this v1 switch base based on 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"`

	// a network interface on the switch
	// Required: true
	Nic *V1SwitchNic `json:"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 V1SwitchNic

type V1SwitchNic struct {

	// configures the bgp filter applied at the switch port
	Filter *V1BGPFilter `json:"filter,omitempty"`

	// the mac address of this network interface
	// Required: true
	Mac *string `json:"mac"`

	// the name of this network interface
	// Required: true
	Name *string `json:"name"`

	// the vrf this network interface is part of
	Vrf string `json:"vrf,omitempty"`
}

V1SwitchNic v1 switch nic

swagger:model v1.SwitchNic

func (*V1SwitchNic) 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"`

	// the duration of the switch synchronization
	// Required: true
	SyncDuration *int64 `json:"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 V1SwitchRegisterRequest

type V1SwitchRegisterRequest struct {

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the mode the switch currently has
	Mode string `json:"mode,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the list of network interfaces on the switch
	// Required: true
	Nics []*V1SwitchNic `json:"nics"`

	// the partition in which this switch is located
	// Required: true
	PartitionID *string `json:"partition_id"`

	// the id of the rack in which this switch is located
	// Required: true
	RackID *string `json:"rack_id"`
}

V1SwitchRegisterRequest v1 switch register request

swagger:model v1.SwitchRegisterRequest

func (*V1SwitchRegisterRequest) 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"`

	// a connection between a switch port and a machine
	// Required: true
	Connections []*V1SwitchConnection `json:"connections"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// last successful synchronization to the switch
	LastSync *V1SwitchSync `json:"last_sync,omitempty"`

	// last synchronization to the switch that was erroneous
	LastSyncError *V1SwitchSync `json:"last_sync_error,omitempty"`

	// the mode the switch currently has
	Mode string `json:"mode,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the list of network interfaces on the switch
	// Required: true
	Nics []*V1SwitchNic `json:"nics"`

	// the partition in which this switch is located
	// Required: true
	Partition *V1PartitionResponse `json:"partition"`

	// the id of the rack in which this switch is located
	// Required: true
	RackID *string `json:"rack_id"`
}

V1SwitchResponse v1 switch response

swagger:model v1.SwitchResponse

func (*V1SwitchResponse) 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"`

	// shows the error occurred during the sync
	Error string `json:"error,omitempty"`

	// point in time when the last switch sync happened
	// Required: true
	// Format: date-time
	Time *strfmt.DateTime `json:"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 {

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

	// the unique ID of this entity
	// Required: true
	ID *string `json:"id"`

	// the mode the switch currently has
	Mode string `json:"mode,omitempty"`

	// a readable name for this entity
	Name string `json:"name,omitempty"`

	// the id of the rack in which this switch is located
	// Required: true
	RackID *string `json:"rack_id"`
}

V1SwitchUpdateRequest v1 switch update request

swagger:model v1.SwitchUpdateRequest

func (*V1SwitchUpdateRequest) ContextValidate added in v0.12.1

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

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

	// description
	Description string `json:"description,omitempty"`

	// iam config
	IamConfig *V1IAMConfig `json:"iam_config,omitempty"`

	// meta
	Meta *V1Meta `json:"meta,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quotas
	Quotas *V1QuotaSet `json:"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 V1TenantResponse added in v0.14.0

type V1TenantResponse struct {

	// default quotas
	DefaultQuotas *V1QuotaSet `json:"default_quotas,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// iam config
	IamConfig *V1IAMConfig `json:"iam_config,omitempty"`

	// meta
	Meta *V1Meta `json:"meta,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// quotas
	Quotas *V1QuotaSet `json:"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 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"`

	// the creation time of this entity
	// Read Only: true
	// Format: date-time
	Created strfmt.DateTime `json:"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"`

	// groups
	// Required: true
	Groups []string `json:"Groups"`

	// issuer
	// Required: true
	Issuer *string `json:"Issuer"`

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

	// subject
	// Required: true
	Subject *string `json:"Subject"`

	// tenant
	// Required: true
	Tenant *string `json:"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 V1VendorRevisions added in v0.13.2

type V1VendorRevisions struct {

	// vendor revisions
	// Required: true
	VendorRevisions map[string]V1BoardRevisions `json:"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"`

	// the name of the resulting volume group
	// Required: true
	Name *string `json:"name"`

	// list of tags to add to the volume group
	Tags []string `json:"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