models

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Index

Constants

View Source
const (

	// ClusterStatusInsufficient captures enum value "insufficient"
	ClusterStatusInsufficient string = "insufficient"

	// ClusterStatusReady captures enum value "ready"
	ClusterStatusReady string = "ready"

	// ClusterStatusError captures enum value "error"
	ClusterStatusError string = "error"

	// ClusterStatusPreparingForInstallation captures enum value "preparing-for-installation"
	ClusterStatusPreparingForInstallation string = "preparing-for-installation"

	// ClusterStatusInstalling captures enum value "installing"
	ClusterStatusInstalling string = "installing"

	// ClusterStatusFinalizing captures enum value "finalizing"
	ClusterStatusFinalizing string = "finalizing"

	// ClusterStatusInstalled captures enum value "installed"
	ClusterStatusInstalled string = "installed"
)
View Source
const (

	// EventSeverityInfo captures enum value "info"
	EventSeverityInfo string = "info"

	// EventSeverityWarning captures enum value "warning"
	EventSeverityWarning string = "warning"

	// EventSeverityError captures enum value "error"
	EventSeverityError string = "error"

	// EventSeverityCritical captures enum value "critical"
	EventSeverityCritical string = "critical"
)
View Source
const (

	// HostStatusDiscovering captures enum value "discovering"
	HostStatusDiscovering string = "discovering"

	// HostStatusKnown captures enum value "known"
	HostStatusKnown string = "known"

	// HostStatusDisconnected captures enum value "disconnected"
	HostStatusDisconnected string = "disconnected"

	// HostStatusInsufficient captures enum value "insufficient"
	HostStatusInsufficient string = "insufficient"

	// HostStatusDisabled captures enum value "disabled"
	HostStatusDisabled string = "disabled"

	// HostStatusPreparingForInstallation captures enum value "preparing-for-installation"
	HostStatusPreparingForInstallation string = "preparing-for-installation"

	// HostStatusPendingForInput captures enum value "pending-for-input"
	HostStatusPendingForInput string = "pending-for-input"

	// HostStatusInstalling captures enum value "installing"
	HostStatusInstalling string = "installing"

	// HostStatusInstallingInProgress captures enum value "installing-in-progress"
	HostStatusInstallingInProgress string = "installing-in-progress"

	// HostStatusInstallingPendingUserAction captures enum value "installing-pending-user-action"
	HostStatusInstallingPendingUserAction string = "installing-pending-user-action"

	// HostStatusResettingPendingUserAction captures enum value "resetting-pending-user-action"
	HostStatusResettingPendingUserAction string = "resetting-pending-user-action"

	// HostStatusInstalled captures enum value "installed"
	HostStatusInstalled string = "installed"

	// HostStatusError captures enum value "error"
	HostStatusError string = "error"

	// HostStatusResetting captures enum value "resetting"
	HostStatusResetting string = "resetting"
)
View Source
const (

	// ClusterCreateParamsOpenshiftVersionNr45 captures enum value "4.5"
	ClusterCreateParamsOpenshiftVersionNr45 string = "4.5"
)
View Source
const (

	// ClusterKindCluster captures enum value "Cluster"
	ClusterKindCluster string = "Cluster"
)
View Source
const (

	// ClusterOpenshiftVersionNr45 captures enum value "4.5"
	ClusterOpenshiftVersionNr45 string = "4.5"
)
View Source
const (

	// ErrorKindError captures enum value "Error"
	ErrorKindError string = "Error"
)
View Source
const (

	// HostKindHost captures enum value "Host"
	HostKindHost string = "Host"
)
View Source
const (

	// ManagedDomainProviderRoute53 captures enum value "route53"
	ManagedDomainProviderRoute53 string = "route53"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Boot

type Boot struct {

	// current boot mode
	CurrentBootMode string `json:"current_boot_mode,omitempty"`

	// pxe interface
	PxeInterface string `json:"pxe_interface,omitempty"`
}

Boot boot

swagger:model boot

func (*Boot) MarshalBinary

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

MarshalBinary interface implementation

func (*Boot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Boot) Validate

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

Validate validates this boot

type CPU

type CPU struct {

	// architecture
	Architecture string `json:"architecture,omitempty"`

	// count
	Count int64 `json:"count,omitempty"`

	// flags
	Flags []string `json:"flags"`

	// frequency
	Frequency float64 `json:"frequency,omitempty"`

	// model name
	ModelName string `json:"model_name,omitempty"`
}

CPU cpu

swagger:model cpu

func (*CPU) MarshalBinary

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

MarshalBinary interface implementation

func (*CPU) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CPU) Validate

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

Validate validates this cpu

type Cluster

type Cluster struct {

	// Virtual IP used to reach the OpenShift cluster API.
	// Pattern: ^(([0-9]{1,3}\.){3}[0-9]{1,3})?$
	APIVip string `json:"api_vip,omitempty"`

	// Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
	BaseDNSDomain string `json:"base_dns_domain,omitempty"`

	// IP address block from which Pod IPs are allocated This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	ClusterNetworkCidr string `json:"cluster_network_cidr,omitempty"`

	// The subnet prefix length to assign to each individual node. For example, if clusterNetworkHostPrefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses. If you are required to provide access to nodes from an external network, configure load balancers and routers to manage the traffic.
	// Maximum: 32
	// Minimum: 1
	ClusterNetworkHostPrefix int64 `json:"cluster_network_host_prefix,omitempty"`

	// The time that this cluster was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" gorm:"type:timestamp with time zone"`

	// List of host networks to be filled during query.
	HostNetworks []*HostNetwork `json:"host_networks" gorm:"-"`

	// Hosts that are associated with this cluster.
	Hosts []*Host `json:"hosts" gorm:"foreignkey:ClusterID;association_foreignkey:ID"`

	// Self link.
	// Required: true
	Href *string `json:"href"`

	// Unique identifier of the object.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id" gorm:"primary_key"`

	// ignition generator version
	IgnitionGeneratorVersion string `json:"ignition_generator_version,omitempty"`

	// image info
	// Required: true
	ImageInfo *ImageInfo `json:"image_info" gorm:"embedded;embedded_prefix:image_"`

	// Virtual IP used for cluster ingress traffic.
	// Pattern: ^(([0-9]{1,3}\.){3}[0-9]{1,3})?$
	IngressVip string `json:"ingress_vip,omitempty"`

	// The time that this cluster completed installation.
	// Format: date-time
	InstallCompletedAt strfmt.DateTime `json:"install_completed_at,omitempty" gorm:"type:timestamp with time zone;default:'2000-01-01 00:00:00z'"`

	// The time that this cluster began installation.
	// Format: date-time
	InstallStartedAt strfmt.DateTime `json:"install_started_at,omitempty" gorm:"type:timestamp with time zone;default:'2000-01-01 00:00:00z'"`

	// Indicates the type of this object. Will be 'Cluster' if this is a complete object or 'ClusterLink' if it is just a link.
	// Required: true
	// Enum: [Cluster]
	Kind *string `json:"kind"`

	// A CIDR that all hosts belonging to the cluster should have an interfaces with IP address that belongs to this CIDR. The api_vip belongs to this CIDR.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	MachineNetworkCidr string `json:"machine_network_cidr,omitempty"`

	// Name of the OpenShift cluster.
	Name string `json:"name,omitempty"`

	// Version of the OpenShift cluster.
	// Enum: [4.5]
	OpenshiftVersion string `json:"openshift_version,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// True if the pull-secret has been added to the cluster
	PullSecretSet bool `json:"pull_secret_set,omitempty"`

	// The IP address pool to use for service IP addresses. You can enter only one IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	ServiceNetworkCidr string `json:"service_network_cidr,omitempty"`

	// SSH public key for debugging OpenShift nodes.
	SSHPublicKey string `json:"ssh_public_key,omitempty" gorm:"type:varchar(1024)"`

	// Status of the OpenShift cluster.
	// Required: true
	// Enum: [insufficient ready error preparing-for-installation installing finalizing installed]
	Status *string `json:"status"`

	// Additional information pertaining to the status of the OpenShift cluster.
	// Required: true
	StatusInfo *string `json:"status_info" gorm:"type:varchar(2048)"`

	// The last time that the cluster status has been updated
	// Format: date-time
	StatusUpdatedAt strfmt.DateTime `json:"status_updated_at,omitempty" gorm:"type:timestamp with time zone"`

	// The last time that this cluster was updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" gorm:"type:timestamp with time zone"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

Cluster cluster

swagger:model cluster

func (*Cluster) MarshalBinary

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

MarshalBinary interface implementation

func (*Cluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Cluster) Validate

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

Validate validates this cluster

type ClusterCreateParams

type ClusterCreateParams struct {

	// Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
	BaseDNSDomain string `json:"base_dns_domain,omitempty"`

	// IP address block from which Pod IPs are allocated This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	ClusterNetworkCidr *string `json:"cluster_network_cidr,omitempty"`

	// The subnet prefix length to assign to each individual node. For example, if clusterNetworkHostPrefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses. If you are required to provide access to nodes from an external network, configure load balancers and routers to manage the traffic.
	// Maximum: 32
	// Minimum: 1
	ClusterNetworkHostPrefix int64 `json:"cluster_network_host_prefix,omitempty"`

	// Virtual IP used for cluster ingress traffic.
	// Pattern: ^(([0-9]{1,3}\.){3}[0-9]{1,3})?$
	IngressVip string `json:"ingress_vip,omitempty"`

	// Name of the OpenShift cluster.
	// Required: true
	Name *string `json:"name"`

	// Version of the OpenShift cluster.
	// Required: true
	// Enum: [4.5]
	OpenshiftVersion *string `json:"openshift_version"`

	// The pull secret that obtained from the Pull Secret page on the Red Hat OpenShift Cluster Manager site.
	PullSecret string `json:"pull_secret,omitempty"`

	// The IP address pool to use for service IP addresses. You can enter only one IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	ServiceNetworkCidr *string `json:"service_network_cidr,omitempty"`

	// SSH public key for debugging OpenShift nodes.
	SSHPublicKey string `json:"ssh_public_key,omitempty"`
}

ClusterCreateParams cluster create params

swagger:model cluster-create-params

func (*ClusterCreateParams) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterCreateParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterCreateParams) Validate

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

Validate validates this cluster create params

type ClusterList

type ClusterList []*Cluster

ClusterList cluster list

swagger:model cluster-list

func (ClusterList) Validate

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

Validate validates this cluster list

type ClusterUpdateParams

type ClusterUpdateParams struct {

	// Virtual IP used to reach the OpenShift cluster API.
	// Pattern: ^(([0-9]{1,3}\.){3}[0-9]{1,3})?$
	APIVip *string `json:"api_vip,omitempty"`

	// Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
	BaseDNSDomain *string `json:"base_dns_domain,omitempty"`

	// IP address block from which Pod IPs are allocated This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	ClusterNetworkCidr *string `json:"cluster_network_cidr,omitempty"`

	// The subnet prefix length to assign to each individual node. For example, if clusterNetworkHostPrefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses. If you are required to provide access to nodes from an external network, configure load balancers and routers to manage the traffic.
	// Maximum: 32
	// Minimum: 1
	ClusterNetworkHostPrefix *int64 `json:"cluster_network_host_prefix,omitempty"`

	// The desired hostname for hosts associated with the cluster.
	HostsNames []*ClusterUpdateParamsHostsNamesItems0 `json:"hosts_names" gorm:"type:varchar(64)[]"`

	// The desired role for hosts associated with the cluster.
	HostsRoles []*ClusterUpdateParamsHostsRolesItems0 `json:"hosts_roles" gorm:"type:varchar(64)[]"`

	// Virtual IP used for cluster ingress traffic.
	// Pattern: ^(([0-9]{1,3}\.){3}[0-9]{1,3})?$
	IngressVip *string `json:"ingress_vip,omitempty"`

	// OpenShift cluster name
	Name *string `json:"name,omitempty"`

	// The pull secret that obtained from the Pull Secret page on the Red Hat OpenShift Cluster Manager site.
	PullSecret *string `json:"pull_secret,omitempty"`

	// The IP address pool to use for service IP addresses. You can enter only one IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	ServiceNetworkCidr *string `json:"service_network_cidr,omitempty"`

	// SSH public key for debugging OpenShift nodes.
	SSHPublicKey *string `json:"ssh_public_key,omitempty"`
}

ClusterUpdateParams cluster update params

swagger:model cluster-update-params

func (*ClusterUpdateParams) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterUpdateParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterUpdateParams) Validate

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

Validate validates this cluster update params

type ClusterUpdateParamsHostsNamesItems0 added in v1.0.5

type ClusterUpdateParamsHostsNamesItems0 struct {

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`
}

ClusterUpdateParamsHostsNamesItems0 cluster update params hosts names items0

swagger:model ClusterUpdateParamsHostsNamesItems0

func (*ClusterUpdateParamsHostsNamesItems0) MarshalBinary added in v1.0.5

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

MarshalBinary interface implementation

func (*ClusterUpdateParamsHostsNamesItems0) UnmarshalBinary added in v1.0.5

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

UnmarshalBinary interface implementation

func (*ClusterUpdateParamsHostsNamesItems0) Validate added in v1.0.5

Validate validates this cluster update params hosts names items0

type ClusterUpdateParamsHostsRolesItems0

type ClusterUpdateParamsHostsRolesItems0 struct {

	// id
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// role
	Role HostRoleUpdateParams `json:"role,omitempty"`
}

ClusterUpdateParamsHostsRolesItems0 cluster update params hosts roles items0

swagger:model ClusterUpdateParamsHostsRolesItems0

func (*ClusterUpdateParamsHostsRolesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterUpdateParamsHostsRolesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterUpdateParamsHostsRolesItems0) Validate

Validate validates this cluster update params hosts roles items0

type CompletionParams added in v1.0.6

type CompletionParams struct {

	// error info
	ErrorInfo string `json:"error_info,omitempty"`

	// is success
	// Required: true
	IsSuccess *bool `json:"is_success"`
}

CompletionParams completion params

swagger:model completion-params

func (*CompletionParams) MarshalBinary added in v1.0.6

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

MarshalBinary interface implementation

func (*CompletionParams) UnmarshalBinary added in v1.0.6

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

UnmarshalBinary interface implementation

func (*CompletionParams) Validate added in v1.0.6

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

Validate validates this completion params

type ConnectivityCheckHost

type ConnectivityCheckHost struct {

	// host id
	// Format: uuid
	HostID strfmt.UUID `json:"host_id,omitempty"`

	// nics
	Nics []*ConnectivityCheckNic `json:"nics"`
}

ConnectivityCheckHost connectivity check host

swagger:model connectivity-check-host

func (*ConnectivityCheckHost) MarshalBinary

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

MarshalBinary interface implementation

func (*ConnectivityCheckHost) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConnectivityCheckHost) Validate

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

Validate validates this connectivity check host

type ConnectivityCheckNic

type ConnectivityCheckNic struct {

	// ip addresses
	IPAddresses []string `json:"ip_addresses"`

	// mac
	Mac string `json:"mac,omitempty"`

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

ConnectivityCheckNic connectivity check nic

swagger:model connectivity-check-nic

func (*ConnectivityCheckNic) MarshalBinary

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

MarshalBinary interface implementation

func (*ConnectivityCheckNic) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConnectivityCheckNic) Validate

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

Validate validates this connectivity check nic

type ConnectivityCheckParams

type ConnectivityCheckParams []*ConnectivityCheckHost

ConnectivityCheckParams connectivity check params

swagger:model connectivity-check-params

func (ConnectivityCheckParams) Validate

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

Validate validates this connectivity check params

type ConnectivityRemoteHost

type ConnectivityRemoteHost struct {

	// host id
	// Format: uuid
	HostID strfmt.UUID `json:"host_id,omitempty"`

	// l2 connectivity
	L2Connectivity []*L2Connectivity `json:"l2_connectivity"`

	// l3 connectivity
	L3Connectivity []*L3Connectivity `json:"l3_connectivity"`
}

ConnectivityRemoteHost connectivity remote host

swagger:model connectivity-remote-host

func (*ConnectivityRemoteHost) MarshalBinary

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

MarshalBinary interface implementation

func (*ConnectivityRemoteHost) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConnectivityRemoteHost) Validate

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

Validate validates this connectivity remote host

type ConnectivityReport

type ConnectivityReport struct {

	// remote hosts
	RemoteHosts []*ConnectivityRemoteHost `json:"remote_hosts"`
}

ConnectivityReport connectivity report

swagger:model connectivity-report

func (*ConnectivityReport) MarshalBinary

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

MarshalBinary interface implementation

func (*ConnectivityReport) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConnectivityReport) Validate

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

Validate validates this connectivity report

type Credentials

type Credentials struct {

	// console url
	ConsoleURL string `json:"console_url,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

Credentials credentials

swagger:model credentials

func (*Credentials) MarshalBinary

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

MarshalBinary interface implementation

func (*Credentials) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Credentials) Validate

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

Validate validates this credentials

type DebugStep

type DebugStep struct {

	// command
	// Required: true
	Command *string `json:"command"`
}

DebugStep debug step

swagger:model debug-step

func (*DebugStep) MarshalBinary

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

MarshalBinary interface implementation

func (*DebugStep) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DebugStep) Validate

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

Validate validates this debug step

type Disk

type Disk struct {

	// by path
	ByPath string `json:"by_path,omitempty"`

	// drive type
	DriveType string `json:"drive_type,omitempty"`

	// hctl
	Hctl string `json:"hctl,omitempty"`

	// model
	Model string `json:"model,omitempty"`

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

	// path
	Path string `json:"path,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`

	// size bytes
	SizeBytes int64 `json:"size_bytes,omitempty"`

	// vendor
	Vendor string `json:"vendor,omitempty"`

	// wwn
	Wwn string `json:"wwn,omitempty"`
}

Disk disk

swagger:model disk

func (*Disk) MarshalBinary

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

MarshalBinary interface implementation

func (*Disk) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Disk) Validate

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

Validate validates this disk

type Error

type Error struct {

	// Globally unique code of the error, composed of the unique identifier of the API and the numeric identifier of the error. For example, for if the numeric identifier of the error is 93 and the identifier of the API is assisted_install then the code will be ASSISTED-INSTALL-93.
	// Required: true
	Code *string `json:"code"`

	// Self link.
	// Required: true
	Href *string `json:"href"`

	// Numeric identifier of the error.
	// Required: true
	// Maximum: 504
	// Minimum: 400
	ID *int32 `json:"id"`

	// Indicates the type of this object. Will always be 'Error'.
	// Required: true
	// Enum: [Error]
	Kind *string `json:"kind"`

	// Human readable description of the error.
	// Required: true
	Reason *string `json:"reason"`
}

Error error

swagger:model error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Event

type Event struct {

	// Unique identifier of the object this event relates to.
	// Required: true
	// Format: uuid
	EntityID *strfmt.UUID `json:"entity_id" gorm:"index"`

	// event time
	// Required: true
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time" gorm:"type:timestamp with time zone"`

	// message
	// Required: true
	Message *string `json:"message" gorm:"type:varchar(4096)"`

	// Unique identifier for the request that caused this event to occure
	// Format: uuid
	RequestID strfmt.UUID `json:"request_id,omitempty"`

	// severity
	// Required: true
	// Enum: [info warning error critical]
	Severity *string `json:"severity"`
}

Event event

swagger:model event

func (*Event) MarshalBinary

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type EventList

type EventList []*Event

EventList event list

swagger:model event-list

func (EventList) Validate

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

Validate validates this event list

type FreeAddressesList added in v1.0.4

type FreeAddressesList []strfmt.IPv4

FreeAddressesList free addresses list

swagger:model free-addresses-list

func (FreeAddressesList) Validate added in v1.0.4

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

Validate validates this free addresses list

type FreeAddressesRequest added in v1.0.2

type FreeAddressesRequest []string

FreeAddressesRequest free addresses request

swagger:model free_addresses_request

func (FreeAddressesRequest) Validate added in v1.0.2

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

Validate validates this free addresses request

type FreeNetworkAddresses added in v1.0.2

type FreeNetworkAddresses struct {

	// free addresses
	FreeAddresses []strfmt.IPv4 `json:"free_addresses"`

	// network
	// Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	Network string `json:"network,omitempty"`
}

FreeNetworkAddresses free network addresses

swagger:model free_network_addresses

func (*FreeNetworkAddresses) MarshalBinary added in v1.0.2

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

MarshalBinary interface implementation

func (*FreeNetworkAddresses) UnmarshalBinary added in v1.0.2

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

UnmarshalBinary interface implementation

func (*FreeNetworkAddresses) Validate added in v1.0.2

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

Validate validates this free network addresses

type FreeNetworksAddresses added in v1.0.2

type FreeNetworksAddresses []*FreeNetworkAddresses

FreeNetworksAddresses free networks addresses

swagger:model free_networks_addresses

func (FreeNetworksAddresses) Validate added in v1.0.2

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

Validate validates this free networks addresses

type Host

type Host struct {

	// bootstrap
	Bootstrap bool `json:"bootstrap,omitempty"`

	// The last time the host's agent communicated with the service.
	// Format: date-time
	CheckedInAt strfmt.DateTime `json:"checked_in_at,omitempty" gorm:"type:timestamp with time zone"`

	// The cluster that this host is associated with.
	// Format: uuid
	ClusterID strfmt.UUID `json:"cluster_id,omitempty" gorm:"primary_key;foreignkey:Cluster"`

	// connectivity
	Connectivity string `json:"connectivity,omitempty" gorm:"type:text"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" gorm:"type:timestamp with time zone"`

	// discovery agent version
	DiscoveryAgentVersion string `json:"discovery_agent_version,omitempty"`

	// free addresses
	FreeAddresses string `json:"free_addresses,omitempty" gorm:"type:text"`

	// Self link.
	// Required: true
	Href *string `json:"href"`

	// Unique identifier of the object.
	// Required: true
	// Format: uuid
	ID *strfmt.UUID `json:"id" gorm:"primary_key"`

	// Installer version
	InstallerVersion string `json:"installer_version,omitempty"`

	// inventory
	Inventory string `json:"inventory,omitempty" gorm:"type:text"`

	// Indicates the type of this object. Will be 'Host' if this is a complete object or 'HostLink' if it is just a link.
	// Required: true
	// Enum: [Host]
	Kind *string `json:"kind"`

	// progress
	Progress *HostProgressInfo `json:"progress,omitempty" gorm:"embedded;embedded_prefix:progress_"`

	// progress stages
	ProgressStages []HostStage `json:"progress_stages" gorm:"-"`

	// requested hostname
	RequestedHostname string `json:"requested_hostname,omitempty"`

	// role
	Role HostRole `json:"role,omitempty"`

	// Time at which the current progress stage started
	// Format: date-time
	StageStartedAt strfmt.DateTime `json:"stage_started_at,omitempty" gorm:"type:timestamp with time zone"`

	// Time at which the current progress stage was last updated
	// Format: date-time
	StageUpdatedAt strfmt.DateTime `json:"stage_updated_at,omitempty" gorm:"type:timestamp with time zone"`

	// status
	// Required: true
	// Enum: [discovering known disconnected insufficient disabled preparing-for-installation pending-for-input installing installing-in-progress installing-pending-user-action resetting-pending-user-action installed error resetting]
	Status *string `json:"status"`

	// status info
	// Required: true
	StatusInfo *string `json:"status_info" gorm:"type:varchar(2048)"`

	// The last time that the host status has been updated
	// Format: date-time
	StatusUpdatedAt strfmt.DateTime `json:"status_updated_at,omitempty" gorm:"type:timestamp with time zone"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" gorm:"type:timestamp with time zone"`

	// Json formatted string containing the validations results for each validation id grouped by category (network, hardware, etc.)
	ValidationsInfo string `json:"validations_info,omitempty" gorm:"type:varchar(2048)"`
}

Host host

swagger:model host

func (*Host) MarshalBinary

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

MarshalBinary interface implementation

func (*Host) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Host) Validate

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

Validate validates this host

type HostCreateParams

type HostCreateParams struct {

	// discovery agent version
	DiscoveryAgentVersion string `json:"discovery_agent_version,omitempty"`

	// host id
	// Required: true
	// Format: uuid
	HostID *strfmt.UUID `json:"host_id"`
}

HostCreateParams host create params

swagger:model host-create-params

func (*HostCreateParams) MarshalBinary

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

MarshalBinary interface implementation

func (*HostCreateParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostCreateParams) Validate

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

Validate validates this host create params

type HostList

type HostList []*Host

HostList host list

swagger:model host-list

func (HostList) Validate

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

Validate validates this host list

type HostNetwork

type HostNetwork struct {

	// cidr
	Cidr string `json:"cidr,omitempty"`

	// host ids
	HostIds []strfmt.UUID `json:"host_ids"`
}

HostNetwork host network

swagger:model host_network

func (*HostNetwork) MarshalBinary

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

MarshalBinary interface implementation

func (*HostNetwork) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostNetwork) Validate

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

Validate validates this host network

type HostProgress added in v1.0.5

type HostProgress struct {

	// current stage
	// Required: true
	CurrentStage HostStage `json:"current_stage"`

	// progress info
	ProgressInfo string `json:"progress_info,omitempty" gorm:"type:varchar(2048)"`
}

HostProgress host progress

swagger:model host-progress

func (*HostProgress) MarshalBinary added in v1.0.5

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

MarshalBinary interface implementation

func (*HostProgress) UnmarshalBinary added in v1.0.5

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

UnmarshalBinary interface implementation

func (*HostProgress) Validate added in v1.0.5

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

Validate validates this host progress

type HostProgressInfo added in v1.0.7

type HostProgressInfo struct {

	// current stage
	// Required: true
	CurrentStage HostStage `json:"current_stage"`

	// progress info
	ProgressInfo string `json:"progress_info,omitempty" gorm:"type:varchar(2048)"`

	// Time at which the current progress stage started
	// Format: date-time
	StageStartedAt strfmt.DateTime `json:"stage_started_at,omitempty" gorm:"type:timestamp with time zone"`

	// Time at which the current progress stage was last updated
	// Format: date-time
	StageUpdatedAt strfmt.DateTime `json:"stage_updated_at,omitempty" gorm:"type:timestamp with time zone"`
}

HostProgressInfo host progress info

swagger:model host-progress-info

func (*HostProgressInfo) MarshalBinary added in v1.0.7

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

MarshalBinary interface implementation

func (*HostProgressInfo) UnmarshalBinary added in v1.0.7

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

UnmarshalBinary interface implementation

func (*HostProgressInfo) Validate added in v1.0.7

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

Validate validates this host progress info

type HostRole added in v1.0.5

type HostRole string

HostRole host role

swagger:model host-role

const (

	// HostRoleMaster captures enum value "master"
	HostRoleMaster HostRole = "master"

	// HostRoleWorker captures enum value "worker"
	HostRoleWorker HostRole = "worker"

	// HostRoleBootstrap captures enum value "bootstrap"
	HostRoleBootstrap HostRole = "bootstrap"
)

func (HostRole) Validate added in v1.0.5

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

Validate validates this host role

type HostRoleUpdateParams added in v1.0.5

type HostRoleUpdateParams string

HostRoleUpdateParams host role update params

swagger:model host-role-update-params

const (

	// HostRoleUpdateParamsMaster captures enum value "master"
	HostRoleUpdateParamsMaster HostRoleUpdateParams = "master"

	// HostRoleUpdateParamsWorker captures enum value "worker"
	HostRoleUpdateParamsWorker HostRoleUpdateParams = "worker"
)

func (HostRoleUpdateParams) Validate added in v1.0.5

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

Validate validates this host role update params

type HostStage added in v1.0.5

type HostStage string

HostStage host stage

swagger:model host-stage

const (

	// HostStageStartingInstallation captures enum value "Starting installation"
	HostStageStartingInstallation HostStage = "Starting installation"

	// HostStageWaitingForControlPlane captures enum value "Waiting for control plane"
	HostStageWaitingForControlPlane HostStage = "Waiting for control plane"

	// HostStageStartWaitingForControlPlane captures enum value "Start Waiting for control plane"
	HostStageStartWaitingForControlPlane HostStage = "Start Waiting for control plane"

	// HostStageInstalling captures enum value "Installing"
	HostStageInstalling HostStage = "Installing"

	// HostStageWritingImageToDisk captures enum value "Writing image to disk"
	HostStageWritingImageToDisk HostStage = "Writing image to disk"

	// HostStageRebooting captures enum value "Rebooting"
	HostStageRebooting HostStage = "Rebooting"

	// HostStageWaitingForIgnition captures enum value "Waiting for ignition"
	HostStageWaitingForIgnition HostStage = "Waiting for ignition"

	// HostStageConfiguring captures enum value "Configuring"
	HostStageConfiguring HostStage = "Configuring"

	// HostStageJoined captures enum value "Joined"
	HostStageJoined HostStage = "Joined"

	// HostStageDone captures enum value "Done"
	HostStageDone HostStage = "Done"

	// HostStageFailed captures enum value "Failed"
	HostStageFailed HostStage = "Failed"
)

func (HostStage) Validate added in v1.0.5

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

Validate validates this host stage

type HostValidationID added in v1.0.7

type HostValidationID string

HostValidationID host validation id

swagger:model host-validation-id

const (

	// HostValidationIDConnected captures enum value "connected"
	HostValidationIDConnected HostValidationID = "connected"

	// HostValidationIDHasInventory captures enum value "has-inventory"
	HostValidationIDHasInventory HostValidationID = "has-inventory"

	// HostValidationIDHasMinCPUCores captures enum value "has-min-cpu-cores"
	HostValidationIDHasMinCPUCores HostValidationID = "has-min-cpu-cores"

	// HostValidationIDHasMinValidDisks captures enum value "has-min-valid-disks"
	HostValidationIDHasMinValidDisks HostValidationID = "has-min-valid-disks"

	// HostValidationIDHasMinMemory captures enum value "has-min-memory"
	HostValidationIDHasMinMemory HostValidationID = "has-min-memory"

	// HostValidationIDMachineCidrDefined captures enum value "machine-cidr-defined"
	HostValidationIDMachineCidrDefined HostValidationID = "machine-cidr-defined"

	// HostValidationIDRoleDefined captures enum value "role-defined"
	HostValidationIDRoleDefined HostValidationID = "role-defined"

	// HostValidationIDHasCPUCoresForRole captures enum value "has-cpu-cores-for-role"
	HostValidationIDHasCPUCoresForRole HostValidationID = "has-cpu-cores-for-role"

	// HostValidationIDHasMemoryForRole captures enum value "has-memory-for-role"
	HostValidationIDHasMemoryForRole HostValidationID = "has-memory-for-role"

	// HostValidationIDHostnameUnique captures enum value "hostname-unique"
	HostValidationIDHostnameUnique HostValidationID = "hostname-unique"

	// HostValidationIDHostnameValid captures enum value "hostname-valid"
	HostValidationIDHostnameValid HostValidationID = "hostname-valid"

	// HostValidationIDBelongsToMachineCidr captures enum value "belongs-to-machine-cidr"
	HostValidationIDBelongsToMachineCidr HostValidationID = "belongs-to-machine-cidr"
)

func (HostValidationID) Validate added in v1.0.7

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

Validate validates this host validation id

type ImageCreateParams

type ImageCreateParams struct {

	// The URL of the HTTP/S proxy that agents should use to access the discovery service
	// http://\<user\>:\<password\>@\<server\>:\<port\>/
	//
	ProxyURL string `json:"proxy_url,omitempty"`

	// SSH public key for debugging the installation.
	SSHPublicKey string `json:"ssh_public_key,omitempty"`
}

ImageCreateParams image create params

swagger:model image-create-params

func (*ImageCreateParams) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageCreateParams) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageCreateParams) Validate

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

Validate validates this image create params

type ImageInfo

type ImageInfo struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" gorm:"type:timestamp with time zone"`

	// Image generator version
	GeneratorVersion string `json:"generator_version,omitempty"`

	// The URL of the HTTP/S proxy that agents should use to access the discovery service
	// http://\<user\>:\<password\>@\<server\>:\<port\>/
	//
	ProxyURL string `json:"proxy_url,omitempty"`

	// SSH public key for debugging the installation
	SSHPublicKey string `json:"ssh_public_key,omitempty" gorm:"type:varchar(1024)"`
}

ImageInfo image info

swagger:model image_info

func (*ImageInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageInfo) Validate

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

Validate validates this image info

type IngressCertParams

type IngressCertParams string

IngressCertParams ingress cert params

swagger:model ingress-cert-params

func (IngressCertParams) Validate

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

Validate validates this ingress cert params

type Interface

type Interface struct {

	// biosdevname
	Biosdevname string `json:"biosdevname,omitempty"`

	// client id
	ClientID string `json:"client_id,omitempty"`

	// flags
	Flags []string `json:"flags"`

	// has carrier
	HasCarrier bool `json:"has_carrier,omitempty"`

	// ipv4 addresses
	IPV4Addresses []string `json:"ipv4_addresses"`

	// ipv6 addresses
	IPV6Addresses []string `json:"ipv6_addresses"`

	// mac address
	MacAddress string `json:"mac_address,omitempty"`

	// mtu
	Mtu int64 `json:"mtu,omitempty"`

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

	// product
	Product string `json:"product,omitempty"`

	// speed mbps
	SpeedMbps int64 `json:"speed_mbps,omitempty"`

	// vendor
	Vendor string `json:"vendor,omitempty"`
}

Interface interface

swagger:model interface

func (*Interface) MarshalBinary

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

MarshalBinary interface implementation

func (*Interface) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Interface) Validate

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

Validate validates this interface

type Inventory

type Inventory struct {

	// bmc address
	BmcAddress string `json:"bmc_address,omitempty"`

	// bmc v6address
	BmcV6address string `json:"bmc_v6address,omitempty"`

	// boot
	Boot *Boot `json:"boot,omitempty"`

	// cpu
	CPU *CPU `json:"cpu,omitempty"`

	// disks
	Disks []*Disk `json:"disks"`

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// interfaces
	Interfaces []*Interface `json:"interfaces"`

	// memory
	Memory *Memory `json:"memory,omitempty"`

	// system vendor
	SystemVendor *SystemVendor `json:"system_vendor,omitempty"`
}

Inventory inventory

swagger:model inventory

func (*Inventory) MarshalBinary

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

MarshalBinary interface implementation

func (*Inventory) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Inventory) Validate

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

Validate validates this inventory

type L2Connectivity

type L2Connectivity struct {

	// outgoing ip address
	OutgoingIPAddress string `json:"outgoing_ip_address,omitempty"`

	// outgoing nic
	OutgoingNic string `json:"outgoing_nic,omitempty"`

	// remote ip address
	RemoteIPAddress string `json:"remote_ip_address,omitempty"`

	// remote mac
	RemoteMac string `json:"remote_mac,omitempty"`

	// successful
	Successful bool `json:"successful,omitempty"`
}

L2Connectivity l2 connectivity

swagger:model l2-connectivity

func (*L2Connectivity) MarshalBinary

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

MarshalBinary interface implementation

func (*L2Connectivity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*L2Connectivity) Validate

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

Validate validates this l2 connectivity

type L3Connectivity

type L3Connectivity struct {

	// outgoing nic
	OutgoingNic string `json:"outgoing_nic,omitempty"`

	// remote ip address
	RemoteIPAddress string `json:"remote_ip_address,omitempty"`

	// successful
	Successful bool `json:"successful,omitempty"`
}

L3Connectivity l3 connectivity

swagger:model l3-connectivity

func (*L3Connectivity) MarshalBinary

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

MarshalBinary interface implementation

func (*L3Connectivity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*L3Connectivity) Validate

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

Validate validates this l3 connectivity

type ListManagedDomains added in v1.0.4

type ListManagedDomains []*ManagedDomain

ListManagedDomains list managed domains

swagger:model list-managed-domains

func (ListManagedDomains) Validate added in v1.0.4

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

Validate validates this list managed domains

type ListVersions added in v1.0.1

type ListVersions struct {

	// release tag
	ReleaseTag string `json:"release_tag,omitempty"`

	// versions
	Versions Versions `json:"versions,omitempty"`
}

ListVersions list versions

swagger:model list-versions

func (*ListVersions) MarshalBinary added in v1.0.5

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

MarshalBinary interface implementation

func (*ListVersions) UnmarshalBinary added in v1.0.5

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

UnmarshalBinary interface implementation

func (*ListVersions) Validate added in v1.0.1

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

Validate validates this list versions

type ManagedDomain added in v1.0.4

type ManagedDomain struct {

	// domain
	Domain string `json:"domain,omitempty"`

	// provider
	// Enum: [route53]
	Provider string `json:"provider,omitempty"`
}

ManagedDomain managed domain

swagger:model managed-domain

func (*ManagedDomain) MarshalBinary added in v1.0.4

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

MarshalBinary interface implementation

func (*ManagedDomain) UnmarshalBinary added in v1.0.4

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

UnmarshalBinary interface implementation

func (*ManagedDomain) Validate added in v1.0.4

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

Validate validates this managed domain

type Memory

type Memory struct {

	// physical bytes
	PhysicalBytes int64 `json:"physical_bytes,omitempty"`

	// usable bytes
	UsableBytes int64 `json:"usable_bytes,omitempty"`
}

Memory memory

swagger:model memory

func (*Memory) MarshalBinary

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

MarshalBinary interface implementation

func (*Memory) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Memory) Validate

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

Validate validates this memory

type Step

type Step struct {

	// args
	Args []string `json:"args"`

	// command
	Command string `json:"command,omitempty"`

	// step id
	StepID string `json:"step_id,omitempty"`

	// step type
	StepType StepType `json:"step_type,omitempty"`
}

Step step

swagger:model step

func (*Step) MarshalBinary

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

MarshalBinary interface implementation

func (*Step) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Step) Validate

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

Validate validates this step

type StepReply

type StepReply struct {

	// error
	Error string `json:"error,omitempty"`

	// exit code
	ExitCode int64 `json:"exit_code,omitempty"`

	// output
	Output string `json:"output,omitempty"`

	// step id
	StepID string `json:"step_id,omitempty"`

	// step type
	StepType StepType `json:"step_type,omitempty"`
}

StepReply step reply

swagger:model step-reply

func (*StepReply) MarshalBinary

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

MarshalBinary interface implementation

func (*StepReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StepReply) Validate

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

Validate validates this step reply

type StepType

type StepType string

StepType step type

swagger:model step-type

const (

	// StepTypeConnectivityCheck captures enum value "connectivity-check"
	StepTypeConnectivityCheck StepType = "connectivity-check"

	// StepTypeExecute captures enum value "execute"
	StepTypeExecute StepType = "execute"

	// StepTypeInventory captures enum value "inventory"
	StepTypeInventory StepType = "inventory"

	// StepTypeInstall captures enum value "install"
	StepTypeInstall StepType = "install"

	// StepTypeFreeNetworkAddresses captures enum value "free-network-addresses"
	StepTypeFreeNetworkAddresses StepType = "free-network-addresses"

	// StepTypeResetInstallation captures enum value "reset-installation"
	StepTypeResetInstallation StepType = "reset-installation"
)

func (StepType) Validate

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

Validate validates this step type

type Steps

type Steps struct {

	// instructions
	Instructions []*Step `json:"instructions"`

	// next instruction seconds
	NextInstructionSeconds int64 `json:"next_instruction_seconds,omitempty"`
}

Steps steps

swagger:model steps

func (*Steps) MarshalBinary added in v1.0.2

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

MarshalBinary interface implementation

func (*Steps) UnmarshalBinary added in v1.0.2

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

UnmarshalBinary interface implementation

func (*Steps) Validate

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

Validate validates this steps

type StepsReply

type StepsReply []*StepReply

StepsReply steps reply

swagger:model steps-reply

func (StepsReply) Validate

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

Validate validates this steps reply

type SystemVendor

type SystemVendor struct {

	// manufacturer
	Manufacturer string `json:"manufacturer,omitempty"`

	// product name
	ProductName string `json:"product_name,omitempty"`

	// serial number
	SerialNumber string `json:"serial_number,omitempty"`
}

SystemVendor system vendor

swagger:model system_vendor

func (*SystemVendor) MarshalBinary

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

MarshalBinary interface implementation

func (*SystemVendor) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SystemVendor) Validate

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

Validate validates this system vendor

type Versions added in v1.0.5

type Versions map[string]string

Versions versions

swagger:model versions

func (Versions) Validate added in v1.0.5

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

Validate validates this versions

Jump to

Keyboard shortcuts

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