Documentation
¶
Index ¶
- Constants
- type BlockDevice
- type Boot
- type CPU
- type CPUDetails
- type Cidr
- type Cluster
- type ClusterCreateParams
- type ClusterList
- type ClusterUpdateParams
- type ClusterUpdateParamsHostsRolesItems0
- type ConnectivityCheckHost
- type ConnectivityCheckNic
- type ConnectivityCheckParams
- type ConnectivityRemoteHost
- type ConnectivityReport
- type Credentials
- type DebugStep
- type Disk
- type Error
- type Event
- type EventList
- type FreeAddressesList
- type FreeAddressesRequest
- type FreeNetworkAddresses
- type FreeNetworksAddresses
- type Host
- type HostCreateParams
- type HostInstallProgressParams
- type HostList
- type HostNetwork
- type ImageCreateParams
- type ImageInfo
- type IngressCertParams
- type Interface
- type Introspection
- type Inventory
- type L2Connectivity
- type L3Connectivity
- type ListManagedDomains
- type ListVersions
- type ManagedDomain
- type Memory
- type MemoryDetails
- type Nic
- type Step
- type StepReply
- type StepType
- type Steps
- type StepsReply
- type SystemVendor
Constants ¶
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" // ClusterStatusInstalling captures enum value "installing" ClusterStatusInstalling string = "installing" // ClusterStatusInstalled captures enum value "installed" ClusterStatusInstalled string = "installed" )
const ( // ClusterUpdateParamsHostsRolesItems0RoleMaster captures enum value "master" ClusterUpdateParamsHostsRolesItems0RoleMaster string = "master" // ClusterUpdateParamsHostsRolesItems0RoleWorker captures enum value "worker" ClusterUpdateParamsHostsRolesItems0RoleWorker string = "worker" )
const ( // HostRoleUndefined captures enum value "undefined" HostRoleUndefined string = "undefined" // HostRoleMaster captures enum value "master" HostRoleMaster string = "master" // HostRoleWorker captures enum value "worker" HostRoleWorker string = "worker" )
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" // HostStatusInstalling captures enum value "installing" HostStatusInstalling string = "installing" // HostStatusInstallingInProgress captures enum value "installing-in-progress" HostStatusInstallingInProgress string = "installing-in-progress" // 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 ( // ClusterCreateParamsOpenshiftVersionNr45 captures enum value "4.5" ClusterCreateParamsOpenshiftVersionNr45 string = "4.5" )
const ( // ClusterKindCluster captures enum value "Cluster" ClusterKindCluster string = "Cluster" )
const ( // ClusterOpenshiftVersionNr45 captures enum value "4.5" ClusterOpenshiftVersionNr45 string = "4.5" )
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 BlockDevice ¶
type BlockDevice struct { // device type DeviceType string `json:"device_type,omitempty"` // fstype Fstype string `json:"fstype,omitempty"` // major device number MajorDeviceNumber int64 `json:"major_device_number,omitempty"` // minor device number MinorDeviceNumber int64 `json:"minor_device_number,omitempty"` // mountpoint Mountpoint string `json:"mountpoint,omitempty"` // name Name string `json:"name,omitempty"` // read only ReadOnly bool `json:"read_only,omitempty"` // removable device RemovableDevice int64 `json:"removable_device,omitempty"` // size Size int64 `json:"size,omitempty"` }
BlockDevice block device
swagger:model block-device
func (*BlockDevice) MarshalBinary ¶
func (m *BlockDevice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlockDevice) UnmarshalBinary ¶
func (m *BlockDevice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 CPUDetails ¶
type CPUDetails struct { // architecture Architecture string `json:"architecture,omitempty"` // cpu mhz CPUMhz float64 `json:"cpu_mhz,omitempty"` // cpus Cpus int64 `json:"cpus,omitempty"` // model name ModelName string `json:"model_name,omitempty"` // sockets Sockets int64 `json:"sockets,omitempty"` // threads per core ThreadsPerCore int64 `json:"threads_per_core,omitempty"` }
CPUDetails cpu details
swagger:model cpu_details
func (*CPUDetails) MarshalBinary ¶
func (m *CPUDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CPUDetails) UnmarshalBinary ¶
func (m *CPUDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cidr ¶
type Cidr struct { // ip address IPAddress string `json:"ip_address,omitempty"` // mask Mask int64 `json:"mask,omitempty"` }
Cidr cidr
swagger:model cidr
func (*Cidr) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cidr) 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:datetime"` // 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:datetime;default:0"` // The time that this cluster began installation. // Format: date-time InstallStartedAt strfmt.DateTime `json:"install_started_at,omitempty" gorm:"type:datetime;default:0"` // 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"` // 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 installing 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:datetime"` // The last time that this cluster was updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" gorm:"type:datetime"` }
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"` // 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
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 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
type ClusterUpdateParamsHostsRolesItems0 ¶
type ClusterUpdateParamsHostsRolesItems0 struct { // id // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // role // Enum: [master worker] Role string `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 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 DebugStep ¶
type DebugStep struct { // command // Required: true Command *string `json:"command"` }
DebugStep debug step
swagger:model debug-step
func (*DebugStep) MarshalBinary ¶
MarshalBinary interface implementation
func (*DebugStep) UnmarshalBinary ¶
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 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:datetime"` // 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"` }
Event event
swagger:model event
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FreeAddressesList ¶ added in v1.0.4
FreeAddressesList free addresses list
swagger:model free-addresses-list
type FreeAddressesRequest ¶ added in v1.0.2
type FreeAddressesRequest []string
FreeAddressesRequest free addresses request
swagger:model 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
type FreeNetworksAddresses ¶ added in v1.0.2
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:datetime"` // 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:datetime"` // discovery agent version DiscoveryAgentVersion string `json:"discovery_agent_version,omitempty"` // free addresses FreeAddresses string `json:"free_addresses,omitempty" gorm:"type:text"` // hardware info HardwareInfo string `json:"hardware_info,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"` // role // Enum: [undefined master worker] Role string `json:"role,omitempty"` // status // Required: true // Enum: [discovering known disconnected insufficient disabled installing installing-in-progress 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:datetime"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" gorm:"type:datetime"` }
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 HostInstallProgressParams ¶
type HostInstallProgressParams string
HostInstallProgressParams host install progress params
swagger:model host-install-progress-params
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 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
type ImageInfo ¶
type ImageInfo struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty" gorm:"type:datetime"` // 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 ¶
MarshalBinary interface implementation
func (*ImageInfo) UnmarshalBinary ¶
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 Introspection ¶
type Introspection struct { // block devices BlockDevices []*BlockDevice `json:"block_devices"` // cpu CPU *CPUDetails `json:"cpu,omitempty"` // memory Memory []*MemoryDetails `json:"memory"` // nics Nics []*Nic `json:"nics"` }
Introspection introspection
swagger:model introspection
func (*Introspection) MarshalBinary ¶
func (m *Introspection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Introspection) UnmarshalBinary ¶
func (m *Introspection) UnmarshalBinary(b []byte) error
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 ¶ added in v1.0.4
type ListManagedDomains []*ManagedDomain
ListManagedDomains list managed domains
swagger:model list-managed-domains
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
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 MemoryDetails ¶
type MemoryDetails struct { // available Available int64 `json:"available,omitempty"` // buff cached BuffCached int64 `json:"buff_cached,omitempty"` // free Free int64 `json:"free,omitempty"` // name Name string `json:"name,omitempty"` Shared int64 `json:"shared,omitempty"` // total Total int64 `json:"total,omitempty"` // used Used int64 `json:"used,omitempty"` }
MemoryDetails memory details
swagger:model memory_details
func (*MemoryDetails) MarshalBinary ¶
func (m *MemoryDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemoryDetails) UnmarshalBinary ¶
func (m *MemoryDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Nic ¶
type Nic struct { // cidrs Cidrs []*Cidr `json:"cidrs"` // mac Mac string `json:"mac,omitempty"` // mtu Mtu int64 `json:"mtu,omitempty"` // name Name string `json:"name,omitempty"` // state State string `json:"state,omitempty"` }
Nic nic
swagger:model nic
func (*Nic) MarshalBinary ¶
MarshalBinary interface implementation
func (*Nic) 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 ( // StepTypeHardwareInfo captures enum value "hardware-info" StepTypeHardwareInfo StepType = "hardware-info" // 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" // StepTypeResetAgent captures enum value "reset-agent" StepTypeResetAgent StepType = "reset-agent" )
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
MarshalBinary interface implementation
func (*Steps) UnmarshalBinary ¶ added in v1.0.2
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
¶
- block_device.go
- boot.go
- cidr.go
- cluster.go
- cluster_create_params.go
- cluster_list.go
- cluster_update_params.go
- connectivity_check_host.go
- connectivity_check_nic.go
- connectivity_check_params.go
- connectivity_remote_host.go
- connectivity_report.go
- cpu.go
- cpu_details.go
- credentials.go
- debug_step.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_install_progress_params.go
- host_list.go
- host_network.go
- image_create_params.go
- image_info.go
- ingress_cert_params.go
- interface.go
- introspection.go
- inventory.go
- l2_connectivity.go
- l3_connectivity.go
- list_managed_domains.go
- list_versions.go
- managed_domain.go
- memory.go
- memory_details.go
- nic.go
- step.go
- step_reply.go
- step_type.go
- steps.go
- steps_reply.go
- system_vendor.go