Documentation
¶
Index ¶
- Constants
- type Boot
- type CPU
- type Cluster
- type ClusterCreateParams
- type ClusterList
- type ClusterUpdateParams
- type ClusterUpdateParamsHostsNamesItems0
- type ClusterUpdateParamsHostsRolesItems0
- type ClusterValidationID
- type CompletionParams
- type ConnectivityCheckHost
- type ConnectivityCheckNic
- type ConnectivityCheckParams
- type ConnectivityRemoteHost
- type ConnectivityReport
- type Credentials
- type DhcpAllocationRequest
- type DhcpAllocationResponse
- type Disk
- type Error
- type Event
- type EventList
- type FreeAddressesList
- type FreeAddressesRequest
- type FreeNetworkAddresses
- type FreeNetworksAddresses
- type Host
- type HostCreateParams
- type HostList
- type HostNetwork
- type HostProgress
- type HostProgressInfo
- type HostRequirements
- type HostRequirementsRole
- type HostRole
- type HostRoleUpdateParams
- type HostStage
- type HostValidationID
- type ImageCreateParams
- type ImageInfo
- type InfraError
- type IngressCertParams
- type Interface
- type Inventory
- type L2Connectivity
- type L3Connectivity
- type ListManagedDomains
- type ListVersions
- type ManagedDomain
- type Memory
- type Presigned
- type Step
- type StepReply
- type StepType
- type Steps
- type StepsReply
- type SystemVendor
- type Versions
Constants ¶
const ( // ClusterOpenshiftVersionNr45 captures enum value "4.5" ClusterOpenshiftVersionNr45 string = "4.5" // ClusterOpenshiftVersionNr46 captures enum value "4.6" ClusterOpenshiftVersionNr46 string = "4.6" )
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" // ClusterStatusPendingForInput captures enum value "pending-for-input" ClusterStatusPendingForInput string = "pending-for-input" // ClusterStatusInstalling captures enum value "installing" ClusterStatusInstalling string = "installing" // ClusterStatusFinalizing captures enum value "finalizing" ClusterStatusFinalizing string = "finalizing" // ClusterStatusInstalled captures enum value "installed" ClusterStatusInstalled string = "installed" )
const ( // ClusterCreateParamsOpenshiftVersionNr45 captures enum value "4.5" ClusterCreateParamsOpenshiftVersionNr45 string = "4.5" // ClusterCreateParamsOpenshiftVersionNr46 captures enum value "4.6" ClusterCreateParamsOpenshiftVersionNr46 string = "4.6" )
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" )
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" )
const ( // ClusterKindCluster captures enum value "Cluster" ClusterKindCluster string = "Cluster" )
const ( // ErrorKindError captures enum value "Error" ErrorKindError string = "Error" )
const ( // HostKindHost captures enum value "Host" HostKindHost string = "Host" )
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 ¶
MarshalBinary interface implementation
func (*Boot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*CPU) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"`
// A proxy URL to use for creating HTTP connections outside the cluster.
// http://\<username\>:\<pswd\>@\<ip\>:\<port\>
//
HTTPProxy string `json:"http_proxy,omitempty"`
// A proxy URL to use for creating HTTPS connections outside the cluster.
// http://\<username\>:\<pswd\>@\<ip\>:\<port\>
//
HTTPSProxy string `json:"https_proxy,omitempty" gorm:"column:https_proxy"`
// 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'"`
// Json formatted string containing the user overrides for the install-config.yaml file
InstallConfigOverrides string `json:"install_config_overrides,omitempty" gorm:"type:varchar(2048)"`
// 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"`
// A comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude proxying.
NoProxy string `json:"no_proxy,omitempty"`
// Version of the OpenShift cluster.
// Enum: [4.5 4.6]
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 pending-for-input 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 name
UserName string `json:"user_name,omitempty"`
// Json formatted string containing the validations results for each validation id grouped by category (network, hosts-data, etc.)
ValidationsInfo string `json:"validations_info,omitempty" gorm:"type:varchar(2048)"`
// Indicate if VIP DHCP allocation mode is enabled.
VipDhcpAllocation *bool `json:"vip_dhcp_allocation,omitempty"`
}
Cluster cluster
swagger:model cluster
func (*Cluster) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"`
// A proxy URL to use for creating HTTP connections outside the cluster.
// http://\<username\>:\<pswd\>@\<ip\>:\<port\>
//
HTTPProxy *string `json:"http_proxy,omitempty"`
// A proxy URL to use for creating HTTPS connections outside the cluster.
// http://\<username\>:\<pswd\>@\<ip\>:\<port\>
//
HTTPSProxy *string `json:"https_proxy,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"`
// A comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude proxying.
NoProxy *string `json:"no_proxy,omitempty"`
// Version of the OpenShift cluster.
// Required: true
// Enum: [4.5 4.6]
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"`
// Indicate if VIP DHCP allocation mode is enabled.
VipDhcpAllocation *bool `json:"vip_dhcp_allocation,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
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)[]"`
// A proxy URL to use for creating HTTP connections outside the cluster.
// http://\<username\>:\<pswd\>@\<ip\>:\<port\>
//
HTTPProxy *string `json:"http_proxy,omitempty"`
// A proxy URL to use for creating HTTPS connections outside the cluster.
// http://\<username\>:\<pswd\>@\<ip\>:\<port\>
//
HTTPSProxy *string `json:"https_proxy,omitempty"`
// Virtual IP used for cluster ingress traffic.
// Pattern: ^(([0-9]{1,3}\.){3}[0-9]{1,3})?$
IngressVip *string `json:"ingress_vip,omitempty"`
// 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"`
// OpenShift cluster name
Name *string `json:"name,omitempty"`
// A comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude proxying.
NoProxy *string `json:"no_proxy,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"`
// Indicate if VIP DHCP allocation mode is enabled.
VipDhcpAllocation *bool `json:"vip_dhcp_allocation,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
type ClusterUpdateParamsHostsNamesItems0 ¶
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 ¶
func (m *ClusterUpdateParamsHostsNamesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterUpdateParamsHostsNamesItems0) UnmarshalBinary ¶
func (m *ClusterUpdateParamsHostsNamesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type ClusterValidationID ¶
type ClusterValidationID string
ClusterValidationID cluster validation id
swagger:model cluster-validation-id
const ( // ClusterValidationIDMachineCidrDefined captures enum value "machine-cidr-defined" ClusterValidationIDMachineCidrDefined ClusterValidationID = "machine-cidr-defined" // ClusterValidationIDClusterCidrDefined captures enum value "cluster-cidr-defined" ClusterValidationIDClusterCidrDefined ClusterValidationID = "cluster-cidr-defined" // ClusterValidationIDServiceCidrDefined captures enum value "service-cidr-defined" ClusterValidationIDServiceCidrDefined ClusterValidationID = "service-cidr-defined" // ClusterValidationIDNoCidrsOverlapping captures enum value "no-cidrs-overlapping" ClusterValidationIDNoCidrsOverlapping ClusterValidationID = "no-cidrs-overlapping" // ClusterValidationIDNetworkPrefixValid captures enum value "network-prefix-valid" ClusterValidationIDNetworkPrefixValid ClusterValidationID = "network-prefix-valid" // ClusterValidationIDMachineCidrEqualsToCalculatedCidr captures enum value "machine-cidr-equals-to-calculated-cidr" ClusterValidationIDMachineCidrEqualsToCalculatedCidr ClusterValidationID = "machine-cidr-equals-to-calculated-cidr" // ClusterValidationIDAPIVipDefined captures enum value "api-vip-defined" ClusterValidationIDAPIVipDefined ClusterValidationID = "api-vip-defined" // ClusterValidationIDAPIVipValid captures enum value "api-vip-valid" ClusterValidationIDAPIVipValid ClusterValidationID = "api-vip-valid" // ClusterValidationIDIngressVipDefined captures enum value "ingress-vip-defined" ClusterValidationIDIngressVipDefined ClusterValidationID = "ingress-vip-defined" // ClusterValidationIDIngressVipValid captures enum value "ingress-vip-valid" ClusterValidationIDIngressVipValid ClusterValidationID = "ingress-vip-valid" // ClusterValidationIDAllHostsAreReadyToInstall captures enum value "all-hosts-are-ready-to-install" ClusterValidationIDAllHostsAreReadyToInstall ClusterValidationID = "all-hosts-are-ready-to-install" // ClusterValidationIDSufficientMastersCount captures enum value "sufficient-masters-count" ClusterValidationIDSufficientMastersCount ClusterValidationID = "sufficient-masters-count" // ClusterValidationIDDNSDomainDefined captures enum value "dns-domain-defined" ClusterValidationIDDNSDomainDefined ClusterValidationID = "dns-domain-defined" // ClusterValidationIDPullSecretSet captures enum value "pull-secret-set" ClusterValidationIDPullSecretSet ClusterValidationID = "pull-secret-set" )
type CompletionParams ¶
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 ¶
func (m *CompletionParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompletionParams) UnmarshalBinary ¶
func (m *CompletionParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
type ConnectivityCheckParams ¶
type ConnectivityCheckParams []*ConnectivityCheckHost
ConnectivityCheckParams connectivity check params
swagger:model 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
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
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
type DhcpAllocationRequest ¶
type DhcpAllocationRequest struct {
// MAC address for API VIP.
// Required: true
// Format: mac
APIVipMac *strfmt.MAC `json:"api_vip_mac"`
// MAC address for Ingress VIP.
// Required: true
// Format: mac
IngressVipMac *strfmt.MAC `json:"ingress_vip_mac"`
// The interface (NIC) to run the DHCP requests on.
// Required: true
Interface *string `json:"interface"`
}
DhcpAllocationRequest dhcp allocation request
swagger:model dhcp_allocation_request
func (*DhcpAllocationRequest) MarshalBinary ¶
func (m *DhcpAllocationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DhcpAllocationRequest) UnmarshalBinary ¶
func (m *DhcpAllocationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DhcpAllocationResponse ¶
type DhcpAllocationResponse struct {
// The IPv4 address that was allocated by DHCP for API VIP.
// Required: true
// Format: ipv4
APIVipAddress *strfmt.IPv4 `json:"api_vip_address"`
// The IPv4 address that was allocated by DHCP for Ingress VIP.
// Required: true
// Format: ipv4
IngressVipAddress *strfmt.IPv4 `json:"ingress_vip_address"`
}
DhcpAllocationResponse dhcp allocation response
swagger:model dhcp_allocation_response
func (*DhcpAllocationResponse) MarshalBinary ¶
func (m *DhcpAllocationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DhcpAllocationResponse) UnmarshalBinary ¶
func (m *DhcpAllocationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Disk) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Event ¶
type Event struct {
// Unique identifier of the cluster this event relates to.
// Required: true
// Format: uuid
ClusterID *strfmt.UUID `json:"cluster_id" gorm:"index"`
// event time
// Required: true
// Format: date-time
EventTime *strfmt.DateTime `json:"event_time" gorm:"type:timestamp with time zone"`
// Unique identifier of the host this event relates to.
// Format: uuid
HostID strfmt.UUID `json:"host_id,omitempty"`
// 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 ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FreeAddressesRequest ¶
type FreeAddressesRequest []string
FreeAddressesRequest free addresses request
swagger:model free_addresses_request
type FreeNetworkAddresses ¶
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 ¶
func (m *FreeNetworkAddresses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FreeNetworkAddresses) UnmarshalBinary ¶
func (m *FreeNetworkAddresses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FreeNetworksAddresses ¶
type FreeNetworksAddresses []*FreeNetworkAddresses
FreeNetworksAddresses free networks addresses
swagger:model 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"`
// Host installation path
InstallationDiskPath string `json:"installation_disk_path,omitempty"`
// 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"`
// logs collected at
// Format: datetime
LogsCollectedAt strfmt.DateTime `json:"logs_collected_at,omitempty" gorm:"type:timestamp with time zone"`
// 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"`
// user name
UserName string `json:"user_name,omitempty"`
// 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 ¶
MarshalBinary interface implementation
func (*Host) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
type HostProgress ¶
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 ¶
func (m *HostProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostProgress) UnmarshalBinary ¶
func (m *HostProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostProgressInfo ¶
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 ¶
func (m *HostProgressInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostProgressInfo) UnmarshalBinary ¶
func (m *HostProgressInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostRequirements ¶
type HostRequirements struct {
// master
Master *HostRequirementsRole `json:"master,omitempty"`
// worker
Worker *HostRequirementsRole `json:"worker,omitempty"`
}
HostRequirements host requirements
swagger:model host-requirements
func (*HostRequirements) MarshalBinary ¶
func (m *HostRequirements) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostRequirements) UnmarshalBinary ¶
func (m *HostRequirements) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostRequirementsRole ¶
type HostRequirementsRole struct {
// cpu cores
CPUCores int64 `json:"cpu_cores,omitempty"`
// disk size gb
DiskSizeGb int64 `json:"disk_size_gb,omitempty"`
// ram gib
RAMGib int64 `json:"ram_gib,omitempty"`
}
HostRequirementsRole host requirements role
swagger:model host-requirements-role
func (*HostRequirementsRole) MarshalBinary ¶
func (m *HostRequirementsRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostRequirementsRole) UnmarshalBinary ¶
func (m *HostRequirementsRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostRole ¶
type HostRole string
HostRole host role
swagger:model host-role
const ( // HostRoleAutoAssign captures enum value "auto-assign" HostRoleAutoAssign HostRole = "auto-assign" // HostRoleMaster captures enum value "master" HostRoleMaster HostRole = "master" // HostRoleWorker captures enum value "worker" HostRoleWorker HostRole = "worker" // HostRoleBootstrap captures enum value "bootstrap" HostRoleBootstrap HostRole = "bootstrap" )
type HostRoleUpdateParams ¶
type HostRoleUpdateParams string
HostRoleUpdateParams host role update params
swagger:model host-role-update-params
const ( // HostRoleUpdateParamsAutoAssign captures enum value "auto-assign" HostRoleUpdateParamsAutoAssign HostRoleUpdateParams = "auto-assign" // HostRoleUpdateParamsMaster captures enum value "master" HostRoleUpdateParamsMaster HostRoleUpdateParams = "master" // HostRoleUpdateParamsWorker captures enum value "worker" HostRoleUpdateParamsWorker HostRoleUpdateParams = "worker" )
type HostStage ¶
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" )
type HostValidationID ¶
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" )
type ImageCreateParams ¶
type ImageCreateParams struct {
// 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
type ImageInfo ¶
type ImageInfo struct {
// created at
// Format: date-time
CreatedAt strfmt.DateTime `json:"created_at,omitempty" gorm:"type:timestamp with time zone"`
// download url
DownloadURL string `json:"download_url,omitempty"`
// expires at
// Format: date-time
ExpiresAt strfmt.DateTime `json:"expires_at,omitempty" gorm:"type:timestamp with time zone"`
// Image generator version
GeneratorVersion string `json:"generator_version,omitempty"`
// size bytes
// Minimum: 0
SizeBytes *int64 `json:"size_bytes,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 ¶
MarshalBinary interface implementation
func (*ImageInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type InfraError ¶
type InfraError struct {
// Numeric identifier of the error.
// Required: true
// Maximum: 403
// Minimum: 401
Code *int32 `json:"code"`
// Human readable description of the error.
// Required: true
Message *string `json:"message"`
}
InfraError infra error
swagger:model infra_error
func (*InfraError) MarshalBinary ¶
func (m *InfraError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfraError) UnmarshalBinary ¶
func (m *InfraError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IngressCertParams ¶
type IngressCertParams string
IngressCertParams ingress cert params
swagger:model 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 ¶
MarshalBinary interface implementation
func (*Interface) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Inventory) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
type ListManagedDomains ¶
type ListManagedDomains []*ManagedDomain
ListManagedDomains list managed domains
swagger:model list-managed-domains
type ListVersions ¶
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 ¶
func (m *ListVersions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListVersions) UnmarshalBinary ¶
func (m *ListVersions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ManagedDomain ¶
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 ¶
func (m *ManagedDomain) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManagedDomain) UnmarshalBinary ¶
func (m *ManagedDomain) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Memory) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Presigned ¶
type Presigned struct {
// url
// Required: true
URL *string `json:"url"`
}
Presigned presigned
swagger:model presigned
func (*Presigned) MarshalBinary ¶
MarshalBinary interface implementation
func (*Presigned) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Step) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*StepReply) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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" // StepTypeDhcpLeaseAllocate captures enum value "dhcp-lease-allocate" StepTypeDhcpLeaseAllocate StepType = "dhcp-lease-allocate" )
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 ¶
MarshalBinary interface implementation
func (*Steps) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
Source Files
¶
- boot.go
- cluster.go
- cluster_create_params.go
- cluster_list.go
- cluster_update_params.go
- cluster_validation_id.go
- completion_params.go
- connectivity_check_host.go
- connectivity_check_nic.go
- connectivity_check_params.go
- connectivity_remote_host.go
- connectivity_report.go
- cpu.go
- credentials.go
- dhcp_allocation_request.go
- dhcp_allocation_response.go
- disk.go
- error.go
- event.go
- event_list.go
- free_addresses_list.go
- free_addresses_request.go
- free_network_addresses.go
- free_networks_addresses.go
- host.go
- host_create_params.go
- host_list.go
- host_network.go
- host_progress.go
- host_progress_info.go
- host_requirements.go
- host_requirements_role.go
- host_role.go
- host_role_update_params.go
- host_stage.go
- host_validation_id.go
- image_create_params.go
- image_info.go
- infra_error.go
- ingress_cert_params.go
- interface.go
- inventory.go
- l2_connectivity.go
- l3_connectivity.go
- list_managed_domains.go
- list_versions.go
- managed_domain.go
- memory.go
- presigned.go
- step.go
- step_reply.go
- step_type.go
- steps.go
- steps_reply.go
- system_vendor.go
- versions.go