Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the osp-director v1beta1 API group +kubebuilder:object:generate=true +groupName=osp-director.openstack.org
Index ¶
- Variables
- type BaremetalSetProvisioningState
- type CPUCountReq
- type CPUMhzReq
- type CPUReqs
- type Condition
- type ConditionList
- type ConditionReason
- type ConditionType
- type ControlPlaneProvisioningState
- type DiskGbReq
- type DiskReqs
- type DiskSSDReq
- type HardwareReqType
- type HardwareReqs
- type Hash
- type Host
- type HostStatus
- type IPReservation
- type MACState
- type MemGbReq
- type MemReqs
- type NetState
- type Network
- type NetworkConfiguration
- type NetworkStatus
- type NodeSriovConfigurationPolicy
- type OSPVersion
- type OpenStackBaremetalHostStatus
- type OpenStackBaremetalSet
- func (in *OpenStackBaremetalSet) DeepCopy() *OpenStackBaremetalSet
- func (in *OpenStackBaremetalSet) DeepCopyInto(out *OpenStackBaremetalSet)
- func (in *OpenStackBaremetalSet) DeepCopyObject() runtime.Object
- func (bmSet OpenStackBaremetalSet) GetHostnames() map[string]string
- func (r *OpenStackBaremetalSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OpenStackBaremetalSet) ValidateCreate() error
- func (r *OpenStackBaremetalSet) ValidateDelete() error
- func (r *OpenStackBaremetalSet) ValidateUpdate(old runtime.Object) error
- type OpenStackBaremetalSetList
- type OpenStackBaremetalSetProvisioningStatus
- type OpenStackBaremetalSetSpec
- type OpenStackBaremetalSetStatus
- type OpenStackClient
- type OpenStackClientList
- type OpenStackClientSpec
- type OpenStackClientStatus
- type OpenStackConfigVersion
- type OpenStackConfigVersionList
- type OpenStackConfigVersionSpec
- type OpenStackConfigVersionStatus
- type OpenStackControlPlane
- func (in *OpenStackControlPlane) DeepCopy() *OpenStackControlPlane
- func (in *OpenStackControlPlane) DeepCopyInto(out *OpenStackControlPlane)
- func (in *OpenStackControlPlane) DeepCopyObject() runtime.Object
- func (vips OpenStackControlPlane) GetHostnames() map[string]string
- func (r *OpenStackControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OpenStackControlPlane) ValidateCreate() error
- func (r *OpenStackControlPlane) ValidateDelete() error
- func (r *OpenStackControlPlane) ValidateUpdate(old runtime.Object) error
- type OpenStackControlPlaneList
- type OpenStackControlPlaneProvisioningStatus
- type OpenStackControlPlaneSpec
- type OpenStackControlPlaneStatus
- type OpenStackEphemeralHeat
- func (in *OpenStackEphemeralHeat) DeepCopy() *OpenStackEphemeralHeat
- func (in *OpenStackEphemeralHeat) DeepCopyInto(out *OpenStackEphemeralHeat)
- func (in *OpenStackEphemeralHeat) DeepCopyObject() runtime.Object
- func (r *OpenStackEphemeralHeat) Default()
- func (r *OpenStackEphemeralHeat) SetupWebhookWithManager(mgr ctrl.Manager, defaults OpenStackEphemeralHeatDefaults) error
- type OpenStackEphemeralHeatDefaults
- type OpenStackEphemeralHeatList
- type OpenStackEphemeralHeatSpec
- type OpenStackEphemeralHeatStatus
- type OpenStackIPHostsStatus
- type OpenStackIPSet
- type OpenStackIPSetList
- type OpenStackIPSetSpec
- type OpenStackIPSetStatus
- type OpenStackMACAddress
- type OpenStackMACAddressList
- type OpenStackMACAddressSpec
- type OpenStackMACAddressStatus
- type OpenStackMACNodeStatus
- type OpenStackNet
- func (in *OpenStackNet) DeepCopy() *OpenStackNet
- func (in *OpenStackNet) DeepCopyInto(out *OpenStackNet)
- func (in *OpenStackNet) DeepCopyObject() runtime.Object
- func (r *OpenStackNet) Default()
- func (r *OpenStackNet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OpenStackNet) ValidateCreate() error
- func (r *OpenStackNet) ValidateDelete() error
- func (r *OpenStackNet) ValidateUpdate(old runtime.Object) error
- type OpenStackNetList
- type OpenStackNetRoleStatus
- type OpenStackNetSpec
- type OpenStackNetStatus
- type OpenStackPlaybookGenerator
- type OpenStackPlaybookGeneratorList
- type OpenStackPlaybookGeneratorSpec
- type OpenStackPlaybookGeneratorStatus
- type OpenStackProvisionServer
- func (r *OpenStackProvisionServer) AssignProvisionServerPort(client goClient.Client, portStart int) error
- func (in *OpenStackProvisionServer) DeepCopy() *OpenStackProvisionServer
- func (in *OpenStackProvisionServer) DeepCopyInto(out *OpenStackProvisionServer)
- func (in *OpenStackProvisionServer) DeepCopyObject() runtime.Object
- func (r *OpenStackProvisionServer) Default()
- func (r *OpenStackProvisionServer) GetExistingProvServerPorts(client goClient.Client) (map[string]int, error)
- func (r *OpenStackProvisionServer) SetupWebhookWithManager(mgr ctrl.Manager, defaults OpenStackProvisionServerDefaults) error
- func (r *OpenStackProvisionServer) ValidateCreate() error
- func (r *OpenStackProvisionServer) ValidateDelete() error
- func (r *OpenStackProvisionServer) ValidateUpdate(old runtime.Object) error
- type OpenStackProvisionServerDefaults
- type OpenStackProvisionServerList
- type OpenStackProvisionServerProvisioningStatus
- type OpenStackProvisionServerSpec
- type OpenStackProvisionServerStatus
- type OpenStackVMSet
- func (in *OpenStackVMSet) DeepCopy() *OpenStackVMSet
- func (in *OpenStackVMSet) DeepCopyInto(out *OpenStackVMSet)
- func (in *OpenStackVMSet) DeepCopyObject() runtime.Object
- func (vms OpenStackVMSet) GetHostnames() map[string]string
- func (r *OpenStackVMSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OpenStackVMSet) ValidateCreate() error
- func (r *OpenStackVMSet) ValidateDelete() error
- func (r *OpenStackVMSet) ValidateUpdate(old runtime.Object) error
- type OpenStackVMSetList
- type OpenStackVMSetProvisioningStatus
- type OpenStackVMSetSpec
- type OpenStackVMSetStatus
- type OpenStackVirtualMachineRoleSpec
- type Physnet
- type PlaybookGeneratorState
- type ProvisionServerProvisioningState
- type SriovState
- type VMSetProvisioningState
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "osp-director.openstack.org", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BaremetalSetProvisioningState ¶
type BaremetalSetProvisioningState string
BaremetalSetProvisioningState - the overall state of all BaremetalHosts in this OpenStackBaremetalSet
const ( // BaremetalSetEmpty - special state for 0 requested BaremetalHosts and 0 already provisioned BaremetalSetEmpty BaremetalSetProvisioningState = "Empty" // BaremetalSetWaiting - something other than BaremetalHost availability is causing the OpenStackBaremetalSet to wait BaremetalSetWaiting BaremetalSetProvisioningState = "Waiting" // BaremetalSetProvisioning - one or more BaremetalHosts are provisioning BaremetalSetProvisioning BaremetalSetProvisioningState = "Provisioning" // BaremetalSetProvisioned - the requested BaremetalHosts count has been satisfied BaremetalSetProvisioned BaremetalSetProvisioningState = "Provisioned" // BaremetalSetDeprovisioning - one or more BaremetalHosts are deprovisioning BaremetalSetDeprovisioning BaremetalSetProvisioningState = "Deprovisioning" // BaremetalSetInsufficient - one or more BaremetalHosts not found (either for scale-up or scale-down) to satisfy count request BaremetalSetInsufficient BaremetalSetProvisioningState = "Insufficient availability" // BaremetalSetError - general catch-all for actual errors BaremetalSetError BaremetalSetProvisioningState = "Error" )
type CPUCountReq ¶
type CPUCountReq struct { // +kubebuilder:validation:Minimum=1 Count int `json:"count,omitempty"` // If ExactMatch == false, actual count > Count will match ExactMatch bool `json:"exactMatch,omitempty"` }
CPUCountReq defines a specific hardware request for CPU core count
func (*CPUCountReq) DeepCopy ¶
func (in *CPUCountReq) DeepCopy() *CPUCountReq
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUCountReq.
func (*CPUCountReq) DeepCopyInto ¶
func (in *CPUCountReq) DeepCopyInto(out *CPUCountReq)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPUMhzReq ¶
type CPUMhzReq struct { // +kubebuilder:validation:Minimum=1 Mhz int `json:"mhz,omitempty"` // If ExactMatch == false, actual mhz > Mhz will match ExactMatch bool `json:"exactMatch,omitempty"` }
CPUMhzReq defines a specific hardware request for CPU clock speed
func (*CPUMhzReq) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUMhzReq.
func (*CPUMhzReq) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPUReqs ¶
type CPUReqs struct { // Arch is a scalar (string) because it wouldn't make sense to give it an "exact-match" option // Can be either "x86_64" or "ppc64le" if included // +kubebuilder:validation:Enum=x86_64;ppc64le Arch string `json:"arch,omitempty"` CountReq CPUCountReq `json:"countReq,omitempty"` MhzReq CPUMhzReq `json:"mhzReq,omitempty"` }
CPUReqs defines specific CPU hardware requests
func (*CPUReqs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUReqs.
func (*CPUReqs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { Type ConditionType `json:"type"` Status corev1.ConditionStatus `json:"status"` Reason ConditionReason `json:"reason,omitempty"` Message string `json:"message,omitempty"` LastHeartbeatTime metav1.Time `json:"lastHearbeatTime,omitempty"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` }
Condition - A particular overall condition of a certain resource
func NewCondition ¶
func NewCondition(conditionType ConditionType, status corev1.ConditionStatus, reason ConditionReason, message string) Condition
NewCondition - Create a new condition object
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionList ¶
type ConditionList []Condition
ConditionList - A list of conditions
func (ConditionList) DeepCopy ¶
func (in ConditionList) DeepCopy() ConditionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionList.
func (ConditionList) DeepCopyInto ¶
func (in ConditionList) DeepCopyInto(out *ConditionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ConditionList) Find ¶
func (conditions ConditionList) Find(conditionType ConditionType) *Condition
Find - Check for the existence of a particular condition type in a list of conditions
func (*ConditionList) Set ¶
func (conditions *ConditionList) Set(conditionType ConditionType, status corev1.ConditionStatus, reason ConditionReason, message string)
Set - Set a particular condition in a given condition list
type ConditionReason ¶
type ConditionReason string
ConditionReason - Why a particular condition is true, false or unknown
type ConditionType ¶
type ConditionType string
ConditionType - A summarizing name for a given condition
type ControlPlaneProvisioningState ¶
type ControlPlaneProvisioningState string
ControlPlaneProvisioningState - the overall state of this OpenStackControlPlane
const ( // ControlPlaneEmpty - special state for 0 requested VMs and 0 already provisioned ControlPlaneEmpty ControlPlaneProvisioningState = "Empty" // ControlPlaneWaiting - something is causing the OpenStackBaremetalSet to wait ControlPlaneWaiting ControlPlaneProvisioningState = "Waiting" // ControlPlaneProvisioning - one or more VMs are provisioning ControlPlaneProvisioning ControlPlaneProvisioningState = "Provisioning" // ControlPlaneProvisioned - the requested VM count for all roles has been satisfied ControlPlaneProvisioned ControlPlaneProvisioningState = "Provisioned" // ControlPlaneDeprovisioning - one or more VMs are deprovisioning ControlPlaneDeprovisioning ControlPlaneProvisioningState = "Deprovisioning" // ControlPlaneError - general catch-all for actual errors ControlPlaneError ControlPlaneProvisioningState = "Error" )
type DiskGbReq ¶
type DiskGbReq struct { // +kubebuilder:validation:Minimum=1 Gb int `json:"gb,omitempty"` // If ExactMatch == false, actual GB > Gb will match ExactMatch bool `json:"exactMatch,omitempty"` }
DiskGbReq defines a specific hardware request for disk size
func (*DiskGbReq) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskGbReq.
func (*DiskGbReq) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskReqs ¶
type DiskReqs struct { GbReq DiskGbReq `json:"gbReq,omitempty"` // SSD is scalar (bool) because it wouldn't make sense to give it an "exact-match" option SSDReq DiskSSDReq `json:"ssdReq,omitempty"` }
DiskReqs defines specific disk hardware requests
func (*DiskReqs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskReqs.
func (*DiskReqs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskSSDReq ¶
type DiskSSDReq struct { SSD bool `json:"ssd,omitempty"` // We only actually care about SSD flag if it is true or ExactMatch is set to true. // This second flag is necessary as SSD's bool zero-value (false) is indistinguishable // from it being explicitly set to false ExactMatch bool `json:"exactMatch,omitempty"` }
DiskSSDReq defines a specific hardware request for disk of type SSD (true) or rotational (false)
func (*DiskSSDReq) DeepCopy ¶
func (in *DiskSSDReq) DeepCopy() *DiskSSDReq
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSSDReq.
func (*DiskSSDReq) DeepCopyInto ¶
func (in *DiskSSDReq) DeepCopyInto(out *DiskSSDReq)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HardwareReqType ¶
type HardwareReqType string
HardwareReqType is used to enumerate the various hardware requests that can be made for the set
type HardwareReqs ¶
type HardwareReqs struct { CPUReqs CPUReqs `json:"cpuReqs,omitempty"` MemReqs MemReqs `json:"memReqs,omitempty"` DiskReqs DiskReqs `json:"diskReqs,omitempty"` }
HardwareReqs defines request hardware attributes for the BaremetalHost replicas
func (*HardwareReqs) DeepCopy ¶
func (in *HardwareReqs) DeepCopy() *HardwareReqs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareReqs.
func (*HardwareReqs) DeepCopyInto ¶
func (in *HardwareReqs) DeepCopyInto(out *HardwareReqs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hash ¶
type Hash struct { // Name of hash referencing the parameter Name string `json:"name,omitempty"` // Hash Hash string `json:"hash,omitempty"` }
Hash - struct to add hashes to status
func (*Hash) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hash.
func (*Hash) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Host ¶
type Host struct { Hostname string `json:"hostname"` HostRef string `json:"hostRef"` DomainName string `json:"domainName"` DomainNameUniq string `json:"domainNameUniq"` IPAddress string `json:"ipAddress"` NetworkDataSecret string `json:"networkDataSecret"` BaseImageName string `json:"baseImageName"` Labels map[string]string `json:"labels"` NAD map[string]networkv1.NetworkAttachmentDefinition `json:"nad"` }
Host -
func (*Host) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostStatus ¶
type HostStatus struct { Hostname string `json:"hostname"` ProvisioningState VMSetProvisioningState `json:"provisioningState"` // +kubebuilder:default=unassigned HostRef string `json:"hostRef"` // +kubebuilder:validation:Optional IPAddresses map[string]string `json:"ipaddresses"` // +kubebuilder:default=false // Host annotated for deletion AnnotatedForDeletion bool `json:"annotatedForDeletion"` }
HostStatus represents the hostname and IP info for a specific host
func (*HostStatus) DeepCopy ¶
func (in *HostStatus) DeepCopy() *HostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus.
func (*HostStatus) DeepCopyInto ¶
func (in *HostStatus) DeepCopyInto(out *HostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPReservation ¶
type IPReservation struct { IP string `json:"ip"` Hostname string `json:"hostname"` VIP bool `json:"vip"` Deleted bool `json:"deleted"` }
IPReservation contains an IP, Hostname, and a VIP flag
func (*IPReservation) DeepCopy ¶
func (in *IPReservation) DeepCopy() *IPReservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPReservation.
func (*IPReservation) DeepCopyInto ¶
func (in *IPReservation) DeepCopyInto(out *IPReservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MACState ¶
type MACState string
MACState - the state of this openstack mac reservation
const ( // MACWaiting - the mac creation is blocked by prerequisite objects MACWaiting MACState = "Waiting" // MACCreating - we are waiting for mac addresses to be created MACCreating MACState = "Creating" // MACConfigured - the MAC addresses have been created MACConfigured MACState = "Created" // MACError - the mac creation hit a error MACError MACState = "Error" )
type MemGbReq ¶
type MemGbReq struct { // +kubebuilder:validation:Minimum=1 Gb int `json:"gb,omitempty"` // If ExactMatch == false, actual GB > Gb will match ExactMatch bool `json:"exactMatch,omitempty"` }
MemGbReq defines a specific hardware request for memory size
func (*MemGbReq) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemGbReq.
func (*MemGbReq) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemReqs ¶
type MemReqs struct {
GbReq MemGbReq `json:"gbReq,omitempty"`
}
MemReqs defines specific memory hardware requests
func (*MemReqs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemReqs.
func (*MemReqs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetState ¶
type NetState string
NetState - the state of this openstack network
const ( // NetWaiting - the network configuration is blocked by prerequisite objects NetWaiting NetState = "Waiting" // NetInitializing - we are waiting for underlying OCP network resource(s) to appear NetInitializing NetState = "Initializing" // NetConfiguring - the underlying network resources are configuring the nodes NetConfiguring NetState = "Configuring" // NetConfigured - the nodes have been configured by the underlying network resources NetConfigured NetState = "Configured" // NetError - the network configuration hit a generic error NetError NetState = "Error" )
type Network ¶
type Network struct { Name string `json:"name"` BridgeName string `json:"bridgeName,omitempty"` NodeNetworkConfigurationPolicy nmstateapi.NodeNetworkConfigurationPolicySpec `json:"nodeNetworkConfigurationPolicy,omitempty"` }
Network - OSP network to create NodeNetworkConfigurationPolicy and NetworkAttachmentDefinition TODO: that might change depending on our outcome of network config
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConfiguration ¶
type NetworkConfiguration struct { // +kubebuilder:validation:Optional // +kubebuilder:default={} NodeNetworkConfigurationPolicy nmstateapi.NodeNetworkConfigurationPolicySpec `json:"nodeNetworkConfigurationPolicy,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default={} NodeSriovConfigurationPolicy NodeSriovConfigurationPolicy `json:"nodeSriovConfigurationPolicy,omitempty"` }
NetworkConfiguration - OSP network to create NodeNetworkConfigurationPolicy and NetworkAttachmentDefinition
func (*NetworkConfiguration) DeepCopy ¶
func (in *NetworkConfiguration) DeepCopy() *NetworkConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfiguration.
func (*NetworkConfiguration) DeepCopyInto ¶
func (in *NetworkConfiguration) DeepCopyInto(out *NetworkConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkStatus ¶
type NetworkStatus struct { Cidr string `json:"cidr"` // +kubebuilder:validation:Optional Vlan int `json:"vlan"` AllocationStart string `json:"allocationStart"` AllocationEnd string `json:"allocationEnd"` // +kubebuilder:validation:Optional Gateway string `json:"gateway"` }
NetworkStatus represents the network details of a network
func (*NetworkStatus) DeepCopy ¶
func (in *NetworkStatus) DeepCopy() *NetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.
func (*NetworkStatus) DeepCopyInto ¶
func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSriovConfigurationPolicy ¶
type NodeSriovConfigurationPolicy struct { NodeSelector map[string]string `json:"nodeSelector,omitempty"` DesiredState SriovState `json:"desiredState,omitempty"` }
NodeSriovConfigurationPolicy - Node selector and desired state for SRIOV network
func (*NodeSriovConfigurationPolicy) DeepCopy ¶
func (in *NodeSriovConfigurationPolicy) DeepCopy() *NodeSriovConfigurationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSriovConfigurationPolicy.
func (*NodeSriovConfigurationPolicy) DeepCopyInto ¶
func (in *NodeSriovConfigurationPolicy) DeepCopyInto(out *NodeSriovConfigurationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OSPVersion ¶
type OSPVersion string
OSPVersion - OSP template version
const ( // TemplateVersionTrain - upstream train template version TemplateVersionTrain OSPVersion = "train" // TemplateVersion16_2 - OSP 16.2 template version TemplateVersion16_2 OSPVersion = "16.2" // TemplateVersionWallaby - upstream wallaby template version TemplateVersionWallaby OSPVersion = "wallaby" // TemplateVersion17_0 - OSP 17.0 template version TemplateVersion17_0 OSPVersion = "17.0" )
type OpenStackBaremetalHostStatus ¶
type OpenStackBaremetalHostStatus struct { Hostname string `json:"hostname"` HostRef string `json:"hostRef"` UserDataSecretName string `json:"userDataSecretName"` NetworkDataSecretName string `json:"networkDataSecretName"` CtlplaneIP string `json:"ctlplaneIP"` ProvisioningState string `json:"provisioningState"` AnnotatedForDeletion bool `json:"annotatedForDeletion"` }
OpenStackBaremetalHostStatus represents the observed state of a particular allocated BaremetalHost resource
func (*OpenStackBaremetalHostStatus) DeepCopy ¶
func (in *OpenStackBaremetalHostStatus) DeepCopy() *OpenStackBaremetalHostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackBaremetalHostStatus.
func (*OpenStackBaremetalHostStatus) DeepCopyInto ¶
func (in *OpenStackBaremetalHostStatus) DeepCopyInto(out *OpenStackBaremetalHostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackBaremetalSet ¶
type OpenStackBaremetalSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackBaremetalSetSpec `json:"spec,omitempty"` Status OpenStackBaremetalSetStatus `json:"status,omitempty"` }
OpenStackBaremetalSet represent a set of baremetal hosts for a specific role within the Overcloud deployment
func (*OpenStackBaremetalSet) DeepCopy ¶
func (in *OpenStackBaremetalSet) DeepCopy() *OpenStackBaremetalSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackBaremetalSet.
func (*OpenStackBaremetalSet) DeepCopyInto ¶
func (in *OpenStackBaremetalSet) DeepCopyInto(out *OpenStackBaremetalSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackBaremetalSet) DeepCopyObject ¶
func (in *OpenStackBaremetalSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (OpenStackBaremetalSet) GetHostnames ¶
func (bmSet OpenStackBaremetalSet) GetHostnames() map[string]string
GetHostnames -
func (*OpenStackBaremetalSet) SetupWebhookWithManager ¶
func (r *OpenStackBaremetalSet) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager - register this webhook with the controller manager
func (*OpenStackBaremetalSet) ValidateCreate ¶
func (r *OpenStackBaremetalSet) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackBaremetalSet) ValidateDelete ¶
func (r *OpenStackBaremetalSet) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackBaremetalSet) ValidateUpdate ¶
func (r *OpenStackBaremetalSet) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OpenStackBaremetalSetList ¶
type OpenStackBaremetalSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackBaremetalSet `json:"items"` }
OpenStackBaremetalSetList contains a list of OpenStackBaremetalSet
func (*OpenStackBaremetalSetList) DeepCopy ¶
func (in *OpenStackBaremetalSetList) DeepCopy() *OpenStackBaremetalSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackBaremetalSetList.
func (*OpenStackBaremetalSetList) DeepCopyInto ¶
func (in *OpenStackBaremetalSetList) DeepCopyInto(out *OpenStackBaremetalSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackBaremetalSetList) DeepCopyObject ¶
func (in *OpenStackBaremetalSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackBaremetalSetProvisioningStatus ¶
type OpenStackBaremetalSetProvisioningStatus struct { State BaremetalSetProvisioningState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ReadyCount int `json:"readyCount,omitempty"` }
OpenStackBaremetalSetProvisioningStatus represents the overall provisioning state of all BaremetalHosts in the OpenStackBaremetalSet (with an optional explanatory message)
func (*OpenStackBaremetalSetProvisioningStatus) DeepCopy ¶
func (in *OpenStackBaremetalSetProvisioningStatus) DeepCopy() *OpenStackBaremetalSetProvisioningStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackBaremetalSetProvisioningStatus.
func (*OpenStackBaremetalSetProvisioningStatus) DeepCopyInto ¶
func (in *OpenStackBaremetalSetProvisioningStatus) DeepCopyInto(out *OpenStackBaremetalSetProvisioningStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackBaremetalSetSpec ¶
type OpenStackBaremetalSetSpec struct { // Count The number of baremetalhosts to attempt to aquire // +kubebuilder:validation:Minimum=0 Count int `json:"count,omitempty"` // Remote URL pointing to desired RHEL qcow2 image BaseImageURL string `json:"baseImageUrl,omitempty"` // ProvisionServerName Optional. If supplied will be used as the base Image for the baremetalset instead of baseImageURL. ProvisionServerName string `json:"provisionServerName,omitempty"` // Name of secret holding the stack-admin ssh keys DeploymentSSHSecret string `json:"deploymentSSHSecret"` // Interface to use for ctlplane network CtlplaneInterface string `json:"ctlplaneInterface"` // BmhLabelSelector allows for a sub-selection of BaremetalHosts based on arbitrary labels BmhLabelSelector map[string]string `json:"bmhLabelSelector,omitempty"` // Hardware requests for sub-selection of BaremetalHosts with certain hardware specs HardwareReqs HardwareReqs `json:"hardwareReqs,omitempty"` // Networks the name(s) of the OpenStackNetworks used to generate IPs Networks []string `json:"networks"` // RoleName the name of the TripleO role this OpenStackBaremetalSet is associated with. If it is a TripleO role, the name must match. RoleName string `json:"roleName"` // PasswordSecret the name of the secret used to optionally set the root pwd by adding // NodeRootPassword: <base64 enc pwd> // to the secret data PasswordSecret string `json:"passwordSecret,omitempty"` // BootstrapDNS - initial DNS nameserver values to set on the BaremetalHosts when they are provisioned. // Note that subsequent TripleO deployment will overwrite these values BootstrapDNS []string `json:"bootstrapDns,omitempty"` }
OpenStackBaremetalSetSpec defines the desired state of OpenStackBaremetalSet
func (*OpenStackBaremetalSetSpec) DeepCopy ¶
func (in *OpenStackBaremetalSetSpec) DeepCopy() *OpenStackBaremetalSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackBaremetalSetSpec.
func (*OpenStackBaremetalSetSpec) DeepCopyInto ¶
func (in *OpenStackBaremetalSetSpec) DeepCopyInto(out *OpenStackBaremetalSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackBaremetalSetStatus ¶
type OpenStackBaremetalSetStatus struct { Conditions ConditionList `json:"conditions,omitempty" optional:"true"` ProvisioningStatus OpenStackBaremetalSetProvisioningStatus `json:"provisioningStatus,omitempty"` BaremetalHosts map[string]OpenStackBaremetalHostStatus `json:"baremetalHosts,omitempty"` }
OpenStackBaremetalSetStatus defines the observed state of OpenStackBaremetalSet
func (*OpenStackBaremetalSetStatus) DeepCopy ¶
func (in *OpenStackBaremetalSetStatus) DeepCopy() *OpenStackBaremetalSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackBaremetalSetStatus.
func (*OpenStackBaremetalSetStatus) DeepCopyInto ¶
func (in *OpenStackBaremetalSetStatus) DeepCopyInto(out *OpenStackBaremetalSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackClient ¶
type OpenStackClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackClientSpec `json:"spec,omitempty"` Status OpenStackClientStatus `json:"status,omitempty"` }
OpenStackClient used to create a container for deploying, scaling, and managing the OpenStack Overcloud
func (*OpenStackClient) DeepCopy ¶
func (in *OpenStackClient) DeepCopy() *OpenStackClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackClient.
func (*OpenStackClient) DeepCopyInto ¶
func (in *OpenStackClient) DeepCopyInto(out *OpenStackClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackClient) DeepCopyObject ¶
func (in *OpenStackClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (OpenStackClient) GetHostnames ¶
func (openstackclient OpenStackClient) GetHostnames() map[string]string
GetHostnames -
type OpenStackClientList ¶
type OpenStackClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackClient `json:"items"` }
OpenStackClientList contains a list of OpenStackClient
func (*OpenStackClientList) DeepCopy ¶
func (in *OpenStackClientList) DeepCopy() *OpenStackClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackClientList.
func (*OpenStackClientList) DeepCopyInto ¶
func (in *OpenStackClientList) DeepCopyInto(out *OpenStackClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackClientList) DeepCopyObject ¶
func (in *OpenStackClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackClientSpec ¶
type OpenStackClientSpec struct { // Name of the image ImageURL string `json:"imageURL"` // +kubebuilder:validation:Optional // name of secret holding the stack-admin ssh keys DeploymentSSHSecret string `json:"deploymentSSHSecret"` // +kubebuilder:validation:Optional // GitSecret the name of the secret used to pull Ansible playbooks into the openstackclient pod. This secret should contain an entry for both 'git_url' and 'git_ssh_identity' GitSecret string `json:"gitSecret"` // +kubebuilder:validation:Optional // cloudname passed in via OS_CLOUDNAME CloudName string `json:"cloudName"` // +kubebuilder:default={ctlplane,external} // Networks the name(s) of the OpenStackNetworks used to generate IPs Networks []string `json:"networks"` // StorageClass to be used for the openstackclient persistent storage StorageClass string `json:"storageClass,omitempty"` // +kubebuilder:default=42401 // RunUID user ID to run the pod with RunUID int `json:"runUID"` // +kubebuilder:default=42401 // RunGID user ID to run the pod with RunGID int `json:"runGID"` // Domain name used to build fqdn DomainName string `json:"domainName,omitempty"` // Upstream DNS servers DNSServers []string `json:"dnsServers,omitempty"` DNSSearchDomains []string `json:"dnsSearchDomains,omitempty"` }
OpenStackClientSpec defines the desired state of OpenStackClient
func (*OpenStackClientSpec) DeepCopy ¶
func (in *OpenStackClientSpec) DeepCopy() *OpenStackClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackClientSpec.
func (*OpenStackClientSpec) DeepCopyInto ¶
func (in *OpenStackClientSpec) DeepCopyInto(out *OpenStackClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackClientStatus ¶
type OpenStackClientStatus struct {
OpenStackClientNetStatus map[string]HostStatus `json:"netStatus,omitempty"`
}
OpenStackClientStatus defines the observed state of OpenStackClient
func (*OpenStackClientStatus) DeepCopy ¶
func (in *OpenStackClientStatus) DeepCopy() *OpenStackClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackClientStatus.
func (*OpenStackClientStatus) DeepCopyInto ¶
func (in *OpenStackClientStatus) DeepCopyInto(out *OpenStackClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackConfigVersion ¶
type OpenStackConfigVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackConfigVersionSpec `json:"spec,omitempty"` Status OpenStackConfigVersionStatus `json:"status,omitempty"` }
OpenStackConfigVersion is the Schema for the openstackconfigversions API
func (*OpenStackConfigVersion) DeepCopy ¶
func (in *OpenStackConfigVersion) DeepCopy() *OpenStackConfigVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackConfigVersion.
func (*OpenStackConfigVersion) DeepCopyInto ¶
func (in *OpenStackConfigVersion) DeepCopyInto(out *OpenStackConfigVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackConfigVersion) DeepCopyObject ¶
func (in *OpenStackConfigVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackConfigVersionList ¶
type OpenStackConfigVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackConfigVersion `json:"items"` }
OpenStackConfigVersionList contains a list of OpenStackConfigVersion
func (*OpenStackConfigVersionList) DeepCopy ¶
func (in *OpenStackConfigVersionList) DeepCopy() *OpenStackConfigVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackConfigVersionList.
func (*OpenStackConfigVersionList) DeepCopyInto ¶
func (in *OpenStackConfigVersionList) DeepCopyInto(out *OpenStackConfigVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackConfigVersionList) DeepCopyObject ¶
func (in *OpenStackConfigVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackConfigVersionSpec ¶
OpenStackConfigVersionSpec defines the desired state of OpenStackConfigVersion
func (*OpenStackConfigVersionSpec) DeepCopy ¶
func (in *OpenStackConfigVersionSpec) DeepCopy() *OpenStackConfigVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackConfigVersionSpec.
func (*OpenStackConfigVersionSpec) DeepCopyInto ¶
func (in *OpenStackConfigVersionSpec) DeepCopyInto(out *OpenStackConfigVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackConfigVersionStatus ¶
type OpenStackConfigVersionStatus struct { }
OpenStackConfigVersionStatus defines the observed state of OpenStackConfigVersion
func (*OpenStackConfigVersionStatus) DeepCopy ¶
func (in *OpenStackConfigVersionStatus) DeepCopy() *OpenStackConfigVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackConfigVersionStatus.
func (*OpenStackConfigVersionStatus) DeepCopyInto ¶
func (in *OpenStackConfigVersionStatus) DeepCopyInto(out *OpenStackConfigVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackControlPlane ¶
type OpenStackControlPlane struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackControlPlaneSpec `json:"spec,omitempty"` Status OpenStackControlPlaneStatus `json:"status,omitempty"` }
OpenStackControlPlane represents a virtualized OpenStack control plane configuration
func (*OpenStackControlPlane) DeepCopy ¶
func (in *OpenStackControlPlane) DeepCopy() *OpenStackControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackControlPlane.
func (*OpenStackControlPlane) DeepCopyInto ¶
func (in *OpenStackControlPlane) DeepCopyInto(out *OpenStackControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackControlPlane) DeepCopyObject ¶
func (in *OpenStackControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (OpenStackControlPlane) GetHostnames ¶
func (vips OpenStackControlPlane) GetHostnames() map[string]string
GetHostnames -
func (*OpenStackControlPlane) SetupWebhookWithManager ¶
func (r *OpenStackControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager - register this webhook with the controller manager
func (*OpenStackControlPlane) ValidateCreate ¶
func (r *OpenStackControlPlane) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackControlPlane) ValidateDelete ¶
func (r *OpenStackControlPlane) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackControlPlane) ValidateUpdate ¶
func (r *OpenStackControlPlane) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OpenStackControlPlaneList ¶
type OpenStackControlPlaneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackControlPlane `json:"items"` }
OpenStackControlPlaneList contains a list of OpenStackControlPlane
func (*OpenStackControlPlaneList) DeepCopy ¶
func (in *OpenStackControlPlaneList) DeepCopy() *OpenStackControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackControlPlaneList.
func (*OpenStackControlPlaneList) DeepCopyInto ¶
func (in *OpenStackControlPlaneList) DeepCopyInto(out *OpenStackControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackControlPlaneList) DeepCopyObject ¶
func (in *OpenStackControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackControlPlaneProvisioningStatus ¶
type OpenStackControlPlaneProvisioningStatus struct { State ControlPlaneProvisioningState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` DesiredCount int `json:"desiredCount,omitempty"` ReadyCount int `json:"readyCount,omitempty"` ClientReady bool `json:"clientReady,omitempty"` }
OpenStackControlPlaneProvisioningStatus represents the overall provisioning state of the OpenStackControlPlane (with an optional explanatory message)
func (*OpenStackControlPlaneProvisioningStatus) DeepCopy ¶
func (in *OpenStackControlPlaneProvisioningStatus) DeepCopy() *OpenStackControlPlaneProvisioningStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackControlPlaneProvisioningStatus.
func (*OpenStackControlPlaneProvisioningStatus) DeepCopyInto ¶
func (in *OpenStackControlPlaneProvisioningStatus) DeepCopyInto(out *OpenStackControlPlaneProvisioningStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackControlPlaneSpec ¶
type OpenStackControlPlaneSpec struct { // List of VirtualMachine roles VirtualMachineRoles map[string]OpenStackVirtualMachineRoleSpec `json:"virtualMachineRoles"` // OpenstackClient image OpenStackClientImageURL string `json:"openStackClientImageURL"` // OpenStackClientStorageClass storage class OpenStackClientStorageClass string `json:"openStackClientStorageClass,omitempty"` // PasswordSecret used to e.g specify root pwd PasswordSecret string `json:"passwordSecret,omitempty"` // GitSecret used to pull playbooks into the openstackclient pod GitSecret string `json:"gitSecret"` // +kubebuilder:validation:Optional // +kubebuilder:default={ctlplane,external} // OpenStackClientNetworks the name(s) of the OpenStackClientNetworks used to attach the openstackclient to OpenStackClientNetworks []string `json:"openStackClientNetworks"` // +kubebuilder:validation:Optional // PhysNetworks - physical networks list with optional MAC address prefix, used to create static OVN Bridge MAC address mappings. // Unique OVN bridge mac address is dynamically allocated by creating OpenStackMACAddress resource and create a MAC per physnet per OpenStack node. // This information is used to create the OVNStaticBridgeMacMappings. // If PhysNetworks is not provided, the tripleo default physnet datacentre gets created // If the macPrefix is not specified for a physnet, the default macPrefix "fa:16:3a" is used. PhysNetworks []Physnet `json:"physNetworks"` // +kubebuilder:default=false // EnableFencing is provided so that users have the option to disable fencing if desired // FIXME: Defaulting to false until Kubevirt agent merged into RHEL overcloud image EnableFencing bool `json:"enableFencing"` // Domain name used to build fqdn DomainName string `json:"domainName,omitempty"` // Upstream DNS servers DNSServers []string `json:"dnsServers,omitempty"` DNSSearchDomains []string `json:"dnsSearchDomains,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:validation:Enum={"train","wallaby","16.2","17.0"} // OpenStackRelease to overwrite OSPrelease auto detection from tripleoclient container image OpenStackRelease string `json:"openStackRelease"` }
OpenStackControlPlaneSpec defines the desired state of OpenStackControlPlane
func (*OpenStackControlPlaneSpec) DeepCopy ¶
func (in *OpenStackControlPlaneSpec) DeepCopy() *OpenStackControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackControlPlaneSpec.
func (*OpenStackControlPlaneSpec) DeepCopyInto ¶
func (in *OpenStackControlPlaneSpec) DeepCopyInto(out *OpenStackControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackControlPlaneStatus ¶
type OpenStackControlPlaneStatus struct { VIPStatus map[string]HostStatus `json:"vipStatus,omitempty"` Conditions ConditionList `json:"conditions,omitempty" optional:"true"` ProvisioningStatus OpenStackControlPlaneProvisioningStatus `json:"provisioningStatus,omitempty"` // OSPVersion the OpenStack version to render templates files OSPVersion OSPVersion `json:"ospVersion"` }
OpenStackControlPlaneStatus defines the observed state of OpenStackControlPlane
func (*OpenStackControlPlaneStatus) DeepCopy ¶
func (in *OpenStackControlPlaneStatus) DeepCopy() *OpenStackControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackControlPlaneStatus.
func (*OpenStackControlPlaneStatus) DeepCopyInto ¶
func (in *OpenStackControlPlaneStatus) DeepCopyInto(out *OpenStackControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackEphemeralHeat ¶
type OpenStackEphemeralHeat struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackEphemeralHeatSpec `json:"spec,omitempty"` Status OpenStackEphemeralHeatStatus `json:"status,omitempty"` }
OpenStackEphemeralHeat is the Schema for the openstackephemeralheats API
func (*OpenStackEphemeralHeat) DeepCopy ¶
func (in *OpenStackEphemeralHeat) DeepCopy() *OpenStackEphemeralHeat
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackEphemeralHeat.
func (*OpenStackEphemeralHeat) DeepCopyInto ¶
func (in *OpenStackEphemeralHeat) DeepCopyInto(out *OpenStackEphemeralHeat)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackEphemeralHeat) DeepCopyObject ¶
func (in *OpenStackEphemeralHeat) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenStackEphemeralHeat) Default ¶
func (r *OpenStackEphemeralHeat) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OpenStackEphemeralHeat) SetupWebhookWithManager ¶
func (r *OpenStackEphemeralHeat) SetupWebhookWithManager(mgr ctrl.Manager, defaults OpenStackEphemeralHeatDefaults) error
SetupWebhookWithManager -
type OpenStackEphemeralHeatDefaults ¶
type OpenStackEphemeralHeatDefaults struct { HeatAPIImageURL string HeatEngineImageURL string MariaDBImageURL string RabbitImageURL string }
OpenStackEphemeralHeatDefaults -
func (*OpenStackEphemeralHeatDefaults) DeepCopy ¶
func (in *OpenStackEphemeralHeatDefaults) DeepCopy() *OpenStackEphemeralHeatDefaults
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackEphemeralHeatDefaults.
func (*OpenStackEphemeralHeatDefaults) DeepCopyInto ¶
func (in *OpenStackEphemeralHeatDefaults) DeepCopyInto(out *OpenStackEphemeralHeatDefaults)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackEphemeralHeatList ¶
type OpenStackEphemeralHeatList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackEphemeralHeat `json:"items"` }
OpenStackEphemeralHeatList contains a list of OpenStackEphemeralHeat
func (*OpenStackEphemeralHeatList) DeepCopy ¶
func (in *OpenStackEphemeralHeatList) DeepCopy() *OpenStackEphemeralHeatList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackEphemeralHeatList.
func (*OpenStackEphemeralHeatList) DeepCopyInto ¶
func (in *OpenStackEphemeralHeatList) DeepCopyInto(out *OpenStackEphemeralHeatList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackEphemeralHeatList) DeepCopyObject ¶
func (in *OpenStackEphemeralHeatList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackEphemeralHeatSpec ¶
type OpenStackEphemeralHeatSpec struct { // ConfigHash hash which acts as a unique identifier for this ephemeral heat instance ConfigHash string `json:"configHash,omitempty"` // Container image URL for the MySQL container image used as part of this ephemeral heat instance MariadbImageURL string `json:"mariadbImageURL,omitempty"` // Container image URL for the RabbitMQ container image used as part of this ephemeral heat instance RabbitImageURL string `json:"rabbitImageURL,omitempty"` // Container image URL for the Heat API container image used as part of this ephemeral heat instance HeatAPIImageURL string `json:"heatAPIImageURL,omitempty"` // Container image URL for the Heat Engine container image used as part of this ephemeral heat instance HeatEngineImageURL string `json:"heatEngineImageURL,omitempty"` // Number of replicas for the Heat Engine service, defaults to 3 if unset // +kubebuilder:default=3 HeatEngineReplicas int32 `json:"heatEngineReplicas,omitempty"` }
OpenStackEphemeralHeatSpec defines the desired state of OpenStackEphemeralHeat
func (*OpenStackEphemeralHeatSpec) DeepCopy ¶
func (in *OpenStackEphemeralHeatSpec) DeepCopy() *OpenStackEphemeralHeatSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackEphemeralHeatSpec.
func (*OpenStackEphemeralHeatSpec) DeepCopyInto ¶
func (in *OpenStackEphemeralHeatSpec) DeepCopyInto(out *OpenStackEphemeralHeatSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackEphemeralHeatStatus ¶
type OpenStackEphemeralHeatStatus struct { // Active hash Active bool `json:"active"` }
OpenStackEphemeralHeatStatus defines the observed state of OpenStackEphemeralHeat
func (*OpenStackEphemeralHeatStatus) DeepCopy ¶
func (in *OpenStackEphemeralHeatStatus) DeepCopy() *OpenStackEphemeralHeatStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackEphemeralHeatStatus.
func (*OpenStackEphemeralHeatStatus) DeepCopyInto ¶
func (in *OpenStackEphemeralHeatStatus) DeepCopyInto(out *OpenStackEphemeralHeatStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackIPHostsStatus ¶
OpenStackIPHostsStatus per host IP set
func (*OpenStackIPHostsStatus) DeepCopy ¶
func (in *OpenStackIPHostsStatus) DeepCopy() *OpenStackIPHostsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackIPHostsStatus.
func (*OpenStackIPHostsStatus) DeepCopyInto ¶
func (in *OpenStackIPHostsStatus) DeepCopyInto(out *OpenStackIPHostsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackIPSet ¶
type OpenStackIPSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackIPSetSpec `json:"spec,omitempty"` Status OpenStackIPSetStatus `json:"status,omitempty"` }
OpenStackIPSet represents a group of IP addresses for a specific deployment role within the OpenStack Overcloud
func (*OpenStackIPSet) DeepCopy ¶
func (in *OpenStackIPSet) DeepCopy() *OpenStackIPSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackIPSet.
func (*OpenStackIPSet) DeepCopyInto ¶
func (in *OpenStackIPSet) DeepCopyInto(out *OpenStackIPSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackIPSet) DeepCopyObject ¶
func (in *OpenStackIPSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackIPSetList ¶
type OpenStackIPSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackIPSet `json:"items"` }
OpenStackIPSetList contains a list of OpenStackIPSet
func (*OpenStackIPSetList) DeepCopy ¶
func (in *OpenStackIPSetList) DeepCopy() *OpenStackIPSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackIPSetList.
func (*OpenStackIPSetList) DeepCopyInto ¶
func (in *OpenStackIPSetList) DeepCopyInto(out *OpenStackIPSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackIPSetList) DeepCopyObject ¶
func (in *OpenStackIPSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackIPSetSpec ¶
type OpenStackIPSetSpec struct { // Networks the name(s) of the OpenStackNetworks used to generate IPs Networks []string `json:"networks"` // RoleName the name of the TripleO role this VM Spec is associated with. If it is a TripleO role, the name must match. RoleName string `json:"roleName"` // HostCount Host count HostCount int `json:"hostCount"` // HostNameRefs Hostname references for the HostCount with [hostname]->hostRef HostNameRefs map[string]string `json:"hostNameRefs"` // VIP flag to indicate ipset is a request for a VIP VIP bool `json:"vip"` // AddToPredictableIPs add/ignore ipset to add entries to Predictable IPs list AddToPredictableIPs bool `json:"addToPredictableIPs"` }
OpenStackIPSetSpec defines the desired state of OpenStackIPSet
func (*OpenStackIPSetSpec) DeepCopy ¶
func (in *OpenStackIPSetSpec) DeepCopy() *OpenStackIPSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackIPSetSpec.
func (*OpenStackIPSetSpec) DeepCopyInto ¶
func (in *OpenStackIPSetSpec) DeepCopyInto(out *OpenStackIPSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackIPSetStatus ¶
type OpenStackIPSetStatus struct { HostIPs map[string]OpenStackIPHostsStatus `json:"hosts"` Networks map[string]NetworkStatus `json:"networks"` }
OpenStackIPSetStatus set of hosts with IP information
func (*OpenStackIPSetStatus) DeepCopy ¶
func (in *OpenStackIPSetStatus) DeepCopy() *OpenStackIPSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackIPSetStatus.
func (*OpenStackIPSetStatus) DeepCopyInto ¶
func (in *OpenStackIPSetStatus) DeepCopyInto(out *OpenStackIPSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackMACAddress ¶
type OpenStackMACAddress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackMACAddressSpec `json:"spec,omitempty"` Status OpenStackMACAddressStatus `json:"status,omitempty"` }
OpenStackMACAddress is the Schema for the openstackmacaddresses API
func (*OpenStackMACAddress) DeepCopy ¶
func (in *OpenStackMACAddress) DeepCopy() *OpenStackMACAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMACAddress.
func (*OpenStackMACAddress) DeepCopyInto ¶
func (in *OpenStackMACAddress) DeepCopyInto(out *OpenStackMACAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackMACAddress) DeepCopyObject ¶
func (in *OpenStackMACAddress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackMACAddressList ¶
type OpenStackMACAddressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackMACAddress `json:"items"` }
OpenStackMACAddressList contains a list of OpenStackMACAddress
func (*OpenStackMACAddressList) DeepCopy ¶
func (in *OpenStackMACAddressList) DeepCopy() *OpenStackMACAddressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMACAddressList.
func (*OpenStackMACAddressList) DeepCopyInto ¶
func (in *OpenStackMACAddressList) DeepCopyInto(out *OpenStackMACAddressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackMACAddressList) DeepCopyObject ¶
func (in *OpenStackMACAddressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackMACAddressSpec ¶
type OpenStackMACAddressSpec struct { // +kubebuilder:validation:MinItems=1 // PhysNetworks - physical networks list to create MAC addresses per physnet per node to create OVNStaticBridgeMacMappings PhysNetworks []Physnet `json:"physNetworks"` }
OpenStackMACAddressSpec defines the desired state of OpenStackMACAddress
func (*OpenStackMACAddressSpec) DeepCopy ¶
func (in *OpenStackMACAddressSpec) DeepCopy() *OpenStackMACAddressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMACAddressSpec.
func (*OpenStackMACAddressSpec) DeepCopyInto ¶
func (in *OpenStackMACAddressSpec) DeepCopyInto(out *OpenStackMACAddressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackMACAddressStatus ¶
type OpenStackMACAddressStatus struct { // Reservations MAC address reservations per node MACReservations map[string]OpenStackMACNodeStatus `json:"macReservations"` // ReservedMACCount - the count of all MAC addresses reserved ReservedMACCount int `json:"reservedMACCount"` // CurrentState - the overall state of the OSMAC cr CurrentState MACState `json:"currentState"` // Conditions - conditions to display in the OpenShift GUI, which reflect CurrentState Conditions ConditionList `json:"conditions,omitempty" optional:"true"` }
OpenStackMACAddressStatus defines the observed state of OpenStackMACAddress
func (*OpenStackMACAddressStatus) DeepCopy ¶
func (in *OpenStackMACAddressStatus) DeepCopy() *OpenStackMACAddressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMACAddressStatus.
func (*OpenStackMACAddressStatus) DeepCopyInto ¶
func (in *OpenStackMACAddressStatus) DeepCopyInto(out *OpenStackMACAddressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackMACNodeStatus ¶
type OpenStackMACNodeStatus struct { // Reservations MAC reservations per PhysNetwork Reservations map[string]string `json:"reservations"` // node and therefore MAC reservation are flagged as deleted Deleted bool `json:"deleted"` }
OpenStackMACNodeStatus defines the observed state of the MAC addresses per PhysNetworks
func (*OpenStackMACNodeStatus) DeepCopy ¶
func (in *OpenStackMACNodeStatus) DeepCopy() *OpenStackMACNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMACNodeStatus.
func (*OpenStackMACNodeStatus) DeepCopyInto ¶
func (in *OpenStackMACNodeStatus) DeepCopyInto(out *OpenStackMACNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackNet ¶
type OpenStackNet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackNetSpec `json:"spec,omitempty"` Status OpenStackNetStatus `json:"status,omitempty"` }
OpenStackNet represents the IPAM configuration for baremetal and VM hosts within OpenStack Overcloud deployment
func (*OpenStackNet) DeepCopy ¶
func (in *OpenStackNet) DeepCopy() *OpenStackNet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackNet.
func (*OpenStackNet) DeepCopyInto ¶
func (in *OpenStackNet) DeepCopyInto(out *OpenStackNet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackNet) DeepCopyObject ¶
func (in *OpenStackNet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenStackNet) Default ¶
func (r *OpenStackNet) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OpenStackNet) SetupWebhookWithManager ¶
func (r *OpenStackNet) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager - register this webhook with the controller manager
func (*OpenStackNet) ValidateCreate ¶
func (r *OpenStackNet) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackNet) ValidateDelete ¶
func (r *OpenStackNet) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackNet) ValidateUpdate ¶
func (r *OpenStackNet) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OpenStackNetList ¶
type OpenStackNetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackNet `json:"items"` }
OpenStackNetList contains a list of OpenStackNet
func (*OpenStackNetList) DeepCopy ¶
func (in *OpenStackNetList) DeepCopy() *OpenStackNetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackNetList.
func (*OpenStackNetList) DeepCopyInto ¶
func (in *OpenStackNetList) DeepCopyInto(out *OpenStackNetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackNetList) DeepCopyObject ¶
func (in *OpenStackNetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackNetRoleStatus ¶
type OpenStackNetRoleStatus struct { // Reservations IP address reservations Reservations []IPReservation `json:"reservations"` AddToPredictableIPs bool `json:"addToPredictableIPs"` }
OpenStackNetRoleStatus defines the observed state of the Role Net status
func (*OpenStackNetRoleStatus) DeepCopy ¶
func (in *OpenStackNetRoleStatus) DeepCopy() *OpenStackNetRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackNetRoleStatus.
func (*OpenStackNetRoleStatus) DeepCopyInto ¶
func (in *OpenStackNetRoleStatus) DeepCopyInto(out *OpenStackNetRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackNetSpec ¶
type OpenStackNetSpec struct { // +kubebuilder:validation:Required // Cidr the cidr to use for this network Cidr string `json:"cidr"` // +kubebuilder:validation:Optional // Vlan ID of the network Vlan int `json:"vlan"` // +kubebuilder:validation:Required // AllocationStart a set of IPs that are reserved and will not be assigned AllocationStart string `json:"allocationStart"` // +kubebuilder:validation:Required // AllocationEnd a set of IPs that are reserved and will not be assigned AllocationEnd string `json:"allocationEnd"` // +kubebuilder:validation:Optional // Gateway optional gateway for the network Gateway string `json:"gateway"` // +kubebuilder:validation:Optional // +kubebuilder:default=1500 // MTU of the network MTU int `json:"mtu"` // +kubebuilder:validation:Optional // +kubebuilder:default=true // VIP create virtual ip on the network VIP bool `json:"vip"` // +kubebuilder:validation:Required // AttachConfiguration used for NodeNetworkConfigurationPolicy and NetworkAttachmentDefinition AttachConfiguration NetworkConfiguration `json:"attachConfiguration"` }
OpenStackNetSpec defines the desired state of OpenStackNet
func (*OpenStackNetSpec) DeepCopy ¶
func (in *OpenStackNetSpec) DeepCopy() *OpenStackNetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackNetSpec.
func (*OpenStackNetSpec) DeepCopyInto ¶
func (in *OpenStackNetSpec) DeepCopyInto(out *OpenStackNetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackNetStatus ¶
type OpenStackNetStatus struct { // Reservations IP address reservations per role RoleReservations map[string]OpenStackNetRoleStatus `json:"roleReservations"` // ReservedIPCount - the count of all IPs ever reserved on this network ReservedIPCount int `json:"reservedIpCount"` // CurrentState - the overall state of this network CurrentState NetState `json:"currentState"` // TODO: It would be simpler, perhaps, to just have Conditions and get rid of CurrentState, // but we are using the same approach in other CRDs for now anyhow // Conditions - conditions to display in the OpenShift GUI, which reflect CurrentState Conditions ConditionList `json:"conditions,omitempty" optional:"true"` }
OpenStackNetStatus defines the observed state of OpenStackNet
func (*OpenStackNetStatus) DeepCopy ¶
func (in *OpenStackNetStatus) DeepCopy() *OpenStackNetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackNetStatus.
func (*OpenStackNetStatus) DeepCopyInto ¶
func (in *OpenStackNetStatus) DeepCopyInto(out *OpenStackNetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackPlaybookGenerator ¶
type OpenStackPlaybookGenerator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackPlaybookGeneratorSpec `json:"spec,omitempty"` Status OpenStackPlaybookGeneratorStatus `json:"status,omitempty"` }
OpenStackPlaybookGenerator Used to configure Heat environments and template customizations to generate Ansible playbooks for OpenStack Overcloud deployment
func (*OpenStackPlaybookGenerator) DeepCopy ¶
func (in *OpenStackPlaybookGenerator) DeepCopy() *OpenStackPlaybookGenerator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackPlaybookGenerator.
func (*OpenStackPlaybookGenerator) DeepCopyInto ¶
func (in *OpenStackPlaybookGenerator) DeepCopyInto(out *OpenStackPlaybookGenerator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackPlaybookGenerator) DeepCopyObject ¶
func (in *OpenStackPlaybookGenerator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackPlaybookGeneratorList ¶
type OpenStackPlaybookGeneratorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackPlaybookGenerator `json:"items"` }
OpenStackPlaybookGeneratorList contains a list of OpenStackPlaybookGenerator
func (*OpenStackPlaybookGeneratorList) DeepCopy ¶
func (in *OpenStackPlaybookGeneratorList) DeepCopy() *OpenStackPlaybookGeneratorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackPlaybookGeneratorList.
func (*OpenStackPlaybookGeneratorList) DeepCopyInto ¶
func (in *OpenStackPlaybookGeneratorList) DeepCopyInto(out *OpenStackPlaybookGeneratorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackPlaybookGeneratorList) DeepCopyObject ¶
func (in *OpenStackPlaybookGeneratorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackPlaybookGeneratorSpec ¶
type OpenStackPlaybookGeneratorSpec struct { // Name of the image used to generate playbooks ImageURL string `json:"imageURL"` // Required. the name of the config map containing Heat env file customizations HeatEnvConfigMap string `json:"heatEnvConfigMap"` // Optional. the name of the config map containing custom Heat template tarball which will be extracted prior to playbook generation TarballConfigMap string `json:"tarballConfigMap,omitempty"` // Advanced Heat Settings can be used to increase the Heat Engine replicas or customize container images used during playbook generation. EphemeralHeatSettings OpenStackEphemeralHeatSpec `json:"ephemeralHeatSettings,omitempty"` // +kubebuilder:default=false // Interactive enables the user to rsh into the playbook generator pod for interactive debugging with the ephemeral heat instance. If enabled manual execution of the script to generate playbooks will be required. Interactive bool `json:"interactive,omitempty"` // GitSecret the name of the secret used to configure the Git repository url and ssh private key credentials used to store generated Ansible playbooks. This secret should contain an entry for both 'git_url' and 'git_ssh_identity'. GitSecret string `json:"gitSecret"` }
OpenStackPlaybookGeneratorSpec defines the desired state of OpenStackPlaybookGenerator
func (*OpenStackPlaybookGeneratorSpec) DeepCopy ¶
func (in *OpenStackPlaybookGeneratorSpec) DeepCopy() *OpenStackPlaybookGeneratorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackPlaybookGeneratorSpec.
func (*OpenStackPlaybookGeneratorSpec) DeepCopyInto ¶
func (in *OpenStackPlaybookGeneratorSpec) DeepCopyInto(out *OpenStackPlaybookGeneratorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackPlaybookGeneratorStatus ¶
type OpenStackPlaybookGeneratorStatus struct { // PlaybookHash hash PlaybookHash string `json:"playbookHash"` // CurrentState CurrentState PlaybookGeneratorState `json:"currentState"` // Conditions Conditions ConditionList `json:"conditions,omitempty" optional:"true"` }
OpenStackPlaybookGeneratorStatus defines the observed state of OpenStackPlaybookGenerator
func (*OpenStackPlaybookGeneratorStatus) DeepCopy ¶
func (in *OpenStackPlaybookGeneratorStatus) DeepCopy() *OpenStackPlaybookGeneratorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackPlaybookGeneratorStatus.
func (*OpenStackPlaybookGeneratorStatus) DeepCopyInto ¶
func (in *OpenStackPlaybookGeneratorStatus) DeepCopyInto(out *OpenStackPlaybookGeneratorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackProvisionServer ¶
type OpenStackProvisionServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackProvisionServerSpec `json:"spec,omitempty"` Status OpenStackProvisionServerStatus `json:"status,omitempty"` }
OpenStackProvisionServer is the Schema for the openstackprovisionservers API
func (*OpenStackProvisionServer) AssignProvisionServerPort ¶
func (r *OpenStackProvisionServer) AssignProvisionServerPort(client goClient.Client, portStart int) error
AssignProvisionServerPort - Assigns an Apache listening port for a particular OpenStackProvisionServer.
func (*OpenStackProvisionServer) DeepCopy ¶
func (in *OpenStackProvisionServer) DeepCopy() *OpenStackProvisionServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackProvisionServer.
func (*OpenStackProvisionServer) DeepCopyInto ¶
func (in *OpenStackProvisionServer) DeepCopyInto(out *OpenStackProvisionServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackProvisionServer) DeepCopyObject ¶
func (in *OpenStackProvisionServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenStackProvisionServer) Default ¶
func (r *OpenStackProvisionServer) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OpenStackProvisionServer) GetExistingProvServerPorts ¶
func (r *OpenStackProvisionServer) GetExistingProvServerPorts(client goClient.Client) (map[string]int, error)
GetExistingProvServerPorts - Get all ports currently in use by all OpenStackProvisionServers in this namespace
func (*OpenStackProvisionServer) SetupWebhookWithManager ¶
func (r *OpenStackProvisionServer) SetupWebhookWithManager(mgr ctrl.Manager, defaults OpenStackProvisionServerDefaults) error
SetupWebhookWithManager - register this webhook with the controller manager
func (*OpenStackProvisionServer) ValidateCreate ¶
func (r *OpenStackProvisionServer) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackProvisionServer) ValidateDelete ¶
func (r *OpenStackProvisionServer) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackProvisionServer) ValidateUpdate ¶
func (r *OpenStackProvisionServer) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OpenStackProvisionServerDefaults ¶
type OpenStackProvisionServerDefaults struct { DownloaderImageURL string ProvisioningAgentImageURL string ApacheImageURL string }
OpenStackProvisionServerDefaults -
func (*OpenStackProvisionServerDefaults) DeepCopy ¶
func (in *OpenStackProvisionServerDefaults) DeepCopy() *OpenStackProvisionServerDefaults
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackProvisionServerDefaults.
func (*OpenStackProvisionServerDefaults) DeepCopyInto ¶
func (in *OpenStackProvisionServerDefaults) DeepCopyInto(out *OpenStackProvisionServerDefaults)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackProvisionServerList ¶
type OpenStackProvisionServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackProvisionServer `json:"items"` }
OpenStackProvisionServerList contains a list of OpenStackProvisionServer
func (*OpenStackProvisionServerList) DeepCopy ¶
func (in *OpenStackProvisionServerList) DeepCopy() *OpenStackProvisionServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackProvisionServerList.
func (*OpenStackProvisionServerList) DeepCopyInto ¶
func (in *OpenStackProvisionServerList) DeepCopyInto(out *OpenStackProvisionServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackProvisionServerList) DeepCopyObject ¶
func (in *OpenStackProvisionServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackProvisionServerProvisioningStatus ¶
type OpenStackProvisionServerProvisioningStatus struct { State ProvisionServerProvisioningState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` }
OpenStackProvisionServerProvisioningStatus represents the overall provisioning state of all BaremetalHosts in the OpenStackProvisionServer (with an optional explanatory message)
func (*OpenStackProvisionServerProvisioningStatus) DeepCopy ¶
func (in *OpenStackProvisionServerProvisioningStatus) DeepCopy() *OpenStackProvisionServerProvisioningStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackProvisionServerProvisioningStatus.
func (*OpenStackProvisionServerProvisioningStatus) DeepCopyInto ¶
func (in *OpenStackProvisionServerProvisioningStatus) DeepCopyInto(out *OpenStackProvisionServerProvisioningStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackProvisionServerSpec ¶
type OpenStackProvisionServerSpec struct { // The port on which the Apache server should listen Port int `json:"port"` // An optional interface to use instead of the cluster's default provisioning interface (if any) Interface string `json:"interface,omitempty"` // URL for RHEL qcow2 image (compressed as gz, or uncompressed) BaseImageURL string `json:"baseImageUrl"` // Container image URL for init container that downloads the RHEL qcow2 image (baseImageUrl) DownloaderImageURL string `json:"downloaderImageUrl,omitempty"` // Container image URL for the main container that serves the downloaded RHEL qcow2 image (baseImageUrl) ApacheImageURL string `json:"apacheImageUrl,omitempty"` // Container image URL for the sidecar container that discovers provisioning network IPs ProvisioningAgentImageURL string `json:"provisioningAgentImageUrl,omitempty"` }
OpenStackProvisionServerSpec defines the desired state of OpenStackProvisionServer
func (*OpenStackProvisionServerSpec) DeepCopy ¶
func (in *OpenStackProvisionServerSpec) DeepCopy() *OpenStackProvisionServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackProvisionServerSpec.
func (*OpenStackProvisionServerSpec) DeepCopyInto ¶
func (in *OpenStackProvisionServerSpec) DeepCopyInto(out *OpenStackProvisionServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackProvisionServerStatus ¶
type OpenStackProvisionServerStatus struct { // Surfaces status in GUI Conditions ConditionList `json:"conditions,omitempty" optional:"true"` // Holds provisioning status for this provision server ProvisioningStatus OpenStackProvisionServerProvisioningStatus `json:"provisioningStatus,omitempty"` // IP of the provisioning interface on the node running the ProvisionServer pod ProvisionIP string `json:"provisionIp,omitempty"` // URL of provisioning image on underlying Apache web server LocalImageURL string `json:"localImageUrl,omitempty"` }
OpenStackProvisionServerStatus defines the observed state of OpenStackProvisionServer
func (*OpenStackProvisionServerStatus) DeepCopy ¶
func (in *OpenStackProvisionServerStatus) DeepCopy() *OpenStackProvisionServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackProvisionServerStatus.
func (*OpenStackProvisionServerStatus) DeepCopyInto ¶
func (in *OpenStackProvisionServerStatus) DeepCopyInto(out *OpenStackProvisionServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackVMSet ¶
type OpenStackVMSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackVMSetSpec `json:"spec,omitempty"` Status OpenStackVMSetStatus `json:"status,omitempty"` }
OpenStackVMSet represents a set of virtual machines hosts for a specific role within the Overcloud deployment
func (*OpenStackVMSet) DeepCopy ¶
func (in *OpenStackVMSet) DeepCopy() *OpenStackVMSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackVMSet.
func (*OpenStackVMSet) DeepCopyInto ¶
func (in *OpenStackVMSet) DeepCopyInto(out *OpenStackVMSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackVMSet) DeepCopyObject ¶
func (in *OpenStackVMSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (OpenStackVMSet) GetHostnames ¶
func (vms OpenStackVMSet) GetHostnames() map[string]string
GetHostnames -
func (*OpenStackVMSet) SetupWebhookWithManager ¶
func (r *OpenStackVMSet) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager - register this webhook with the controller manager
func (*OpenStackVMSet) ValidateCreate ¶
func (r *OpenStackVMSet) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackVMSet) ValidateDelete ¶
func (r *OpenStackVMSet) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackVMSet) ValidateUpdate ¶
func (r *OpenStackVMSet) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OpenStackVMSetList ¶
type OpenStackVMSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackVMSet `json:"items"` }
OpenStackVMSetList contains a list of OpenStackVMSet
func (*OpenStackVMSetList) DeepCopy ¶
func (in *OpenStackVMSetList) DeepCopy() *OpenStackVMSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackVMSetList.
func (*OpenStackVMSetList) DeepCopyInto ¶
func (in *OpenStackVMSetList) DeepCopyInto(out *OpenStackVMSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackVMSetList) DeepCopyObject ¶
func (in *OpenStackVMSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackVMSetProvisioningStatus ¶
type OpenStackVMSetProvisioningStatus struct { State VMSetProvisioningState `json:"state,omitempty"` Reason string `json:"reason,omitempty"` ReadyCount int `json:"readyCount,omitempty"` }
OpenStackVMSetProvisioningStatus represents the overall provisioning state of all VMs in the OpenStackVMSet (with an optional explanatory message)
func (*OpenStackVMSetProvisioningStatus) DeepCopy ¶
func (in *OpenStackVMSetProvisioningStatus) DeepCopy() *OpenStackVMSetProvisioningStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackVMSetProvisioningStatus.
func (*OpenStackVMSetProvisioningStatus) DeepCopyInto ¶
func (in *OpenStackVMSetProvisioningStatus) DeepCopyInto(out *OpenStackVMSetProvisioningStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackVMSetSpec ¶
type OpenStackVMSetSpec struct { // Number of VMs to configure, 1 or 3 VMCount int `json:"vmCount"` // number of Cores assigned to the VMs Cores uint32 `json:"cores"` // amount of Memory in GB used by the VMs Memory uint32 `json:"memory"` // root Disc size in GB DiskSize uint32 `json:"diskSize"` // StorageClass to be used for the disks StorageClass string `json:"storageClass,omitempty"` // BaseImageVolumeName used as the base volume for the VM BaseImageVolumeName string `json:"baseImageVolumeName"` // name of secret holding the stack-admin ssh keys DeploymentSSHSecret string `json:"deploymentSSHSecret"` // +kubebuilder:default=enp2s0 // Interface to use for ctlplane network CtlplaneInterface string `json:"ctlplaneInterface"` // +kubebuilder:default={ctlplane,external,internalapi,tenant,storage,storagemgmt} // Networks the name(s) of the OpenStackNetworks used to generate IPs Networks []string `json:"networks"` // RoleName the name of the TripleO role this VM Spec is associated with. If it is a TripleO role, the name must match. RoleName string `json:"roleName"` // in case of external functionality, like 3rd party network controllers, set to false to ignore role in rendered overcloud templates. IsTripleoRole bool `json:"isTripleoRole"` // PasswordSecret the name of the secret used to optionally set the root pwd by adding // NodeRootPassword: <base64 enc pwd> // to the secret data PasswordSecret string `json:"passwordSecret,omitempty"` // Domain name used to build fqdn DomainName string `json:"domainName,omitempty"` // BootstrapDNS - initial DNS nameserver values to set on the VM when they are provisioned. // Note that subsequent TripleO deployment will overwrite these values BootstrapDNS []string `json:"bootstrapDns,omitempty"` DNSSearchDomains []string `json:"dnsSearchDomains,omitempty"` }
OpenStackVMSetSpec defines the desired state of an OpenStackVMSet
func (*OpenStackVMSetSpec) DeepCopy ¶
func (in *OpenStackVMSetSpec) DeepCopy() *OpenStackVMSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackVMSetSpec.
func (*OpenStackVMSetSpec) DeepCopyInto ¶
func (in *OpenStackVMSetSpec) DeepCopyInto(out *OpenStackVMSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackVMSetStatus ¶
type OpenStackVMSetStatus struct { // BaseImageDVReady is the status of the BaseImage DataVolume BaseImageDVReady bool `json:"baseImageDVReady,omitempty"` Conditions ConditionList `json:"conditions,omitempty" optional:"true"` ProvisioningStatus OpenStackVMSetProvisioningStatus `json:"provisioningStatus,omitempty"` // VMpods are the names of the kubevirt controller vm pods VMpods []string `json:"vmpods,omitempty"` VMHosts map[string]HostStatus `json:"vmHosts,omitempty"` }
OpenStackVMSetStatus defines the observed state of OpenStackVMSet
func (*OpenStackVMSetStatus) DeepCopy ¶
func (in *OpenStackVMSetStatus) DeepCopy() *OpenStackVMSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackVMSetStatus.
func (*OpenStackVMSetStatus) DeepCopyInto ¶
func (in *OpenStackVMSetStatus) DeepCopyInto(out *OpenStackVMSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackVirtualMachineRoleSpec ¶
type OpenStackVirtualMachineRoleSpec struct { // Number of VMs for the role RoleCount int `json:"roleCount"` // number of Cores assigned to the VM Cores uint32 `json:"cores"` // amount of Memory in GB used by the VM Memory uint32 `json:"memory"` // root Disc size in GB DiskSize uint32 `json:"diskSize"` // StorageClass to be used for the controller disks StorageClass string `json:"storageClass,omitempty"` // BaseImageVolumeName used as the base volume for the VM BaseImageVolumeName string `json:"baseImageVolumeName"` // +kubebuilder:default=enp2s0 // Interface to use for ctlplane network CtlplaneInterface string `json:"ctlplaneInterface"` // +kubebuilder:default={ctlplane,external,internalapi,tenant,storage,storagemgmt} // Networks the name(s) of the OpenStackNetworks used to generate IPs Networks []string `json:"networks"` // RoleName the name of the TripleO role this VM Spec is associated with. If it is a TripleO role, the name must match. RoleName string `json:"roleName"` // in case of external functionality, like 3rd party network controllers, set to false to ignore role in rendered overcloud templates. // +kubebuilder:default=true IsTripleoRole bool `json:"isTripleoRole,omitempty"` }
OpenStackVirtualMachineRoleSpec - defines the desired state of VMs
func (*OpenStackVirtualMachineRoleSpec) DeepCopy ¶
func (in *OpenStackVirtualMachineRoleSpec) DeepCopy() *OpenStackVirtualMachineRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackVirtualMachineRoleSpec.
func (*OpenStackVirtualMachineRoleSpec) DeepCopyInto ¶
func (in *OpenStackVirtualMachineRoleSpec) DeepCopyInto(out *OpenStackVirtualMachineRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Physnet ¶
type Physnet struct { // +kubebuilder:default="datacentre" // Name - the name of the physnet Name string `json:"name"` // +kubebuilder:validation:Optional // +kubebuilder:default="fa:16:3a" // MACPrefix - the MAC address prefix to use // Locally administered addresses are distinguished from universally administered addresses by setting // (assigning the value of 1 to) the second-least-significant bit of the first octet of the address. // https://en.wikipedia.org/wiki/MAC_address#Universal_vs._local_(U/L_bit) MACPrefix string `json:"macPrefix"` }
Physnet - name and prefix to be used for the physnet
func (*Physnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Physnet.
func (*Physnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaybookGeneratorState ¶
type PlaybookGeneratorState string
PlaybookGeneratorState - the state of the execution of this playbook generator
const ( // PlaybookGeneratorWaiting - the playbook generator is blocked by prerequisite objects PlaybookGeneratorWaiting PlaybookGeneratorState = "Waiting" // PlaybookGeneratorInitializing - the playbook generator is preparing to execute PlaybookGeneratorInitializing PlaybookGeneratorState = "Initializing" // PlaybookGeneratorGenerating - the playbook generator is executing PlaybookGeneratorGenerating PlaybookGeneratorState = "Generating" // PlaybookGeneratorFinished - the playbook generation has finished executing PlaybookGeneratorFinished PlaybookGeneratorState = "Finished" // PlaybookGeneratorError - the playbook generation hit a generic error PlaybookGeneratorError PlaybookGeneratorState = "Error" )
type ProvisionServerProvisioningState ¶
type ProvisionServerProvisioningState string
ProvisionServerProvisioningState - the overall state of this OpenStackProvisionServer
const ( // ProvisionServerWaiting - something else is causing the OpenStackProvisionServer to wait ProvisionServerWaiting ProvisionServerProvisioningState = "Waiting" // ProvisionServerProvisioning - the provision server pod is provisioning ProvisionServerProvisioning ProvisionServerProvisioningState = "Provisioning" // ProvisionServerProvisioned - the provision server pod is ready ProvisionServerProvisioned ProvisionServerProvisioningState = "Provisioned" // ProvisionServerError - general catch-all for actual errors ProvisionServerError ProvisionServerProvisioningState = "Error" )
type SriovState ¶
type SriovState struct { // +kubebuilder:default=vfio-pci DeviceType string `json:"deviceType,omitempty"` // +kubebuilder:default=9000 Mtu uint32 `json:"mtu,omitempty"` NumVfs uint32 `json:"numVfs"` Port string `json:"port"` RootDevice string `json:"rootDevice,omitempty"` // +kubebuilder:validation:Enum={"on","off"} // +kubebuilder:default=on SpoofCheck string `json:"spoofCheck,omitempty"` // +kubebuilder:validation:Enum={"on","off"} // +kubebuilder:default=off Trust string `json:"trust,omitempty"` }
SriovState - SRIOV-specific configuration details for an OSP network
func (*SriovState) DeepCopy ¶
func (in *SriovState) DeepCopy() *SriovState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SriovState.
func (*SriovState) DeepCopyInto ¶
func (in *SriovState) DeepCopyInto(out *SriovState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMSetProvisioningState ¶
type VMSetProvisioningState string
VMSetProvisioningState - the overall state of all VMs in this OpenStackVmSet
const ( // VMSetEmpty - special state for 0 requested VMs and 0 already provisioned VMSetEmpty VMSetProvisioningState = "Empty" // VMSetWaiting - something is causing the OpenStackVmSet to wait VMSetWaiting VMSetProvisioningState = "Waiting" // VMSetProvisioning - one or more VMs are provisioning VMSetProvisioning VMSetProvisioningState = "Provisioning" // VMSetProvisioned - the requested VM count has been satisfied VMSetProvisioned VMSetProvisioningState = "Provisioned" // VMSetDeprovisioning - one or more VMs are deprovisioning VMSetDeprovisioning VMSetProvisioningState = "Deprovisioning" // VMSetError - general catch-all for actual errors VMSetError VMSetProvisioningState = "Error" )
Source Files ¶
- common_types.go
- common_webhook.go
- groupversion_info.go
- openstackbaremetalset_types.go
- openstackbaremetalset_webhook.go
- openstackclient_types.go
- openstackconfigversion_types.go
- openstackcontrolplane_types.go
- openstackcontrolplane_webhook.go
- openstackephemeralheat_types.go
- openstackephemeralheat_webhook.go
- openstackipset_types.go
- openstackmacaddress_types.go
- openstacknet_types.go
- openstacknet_webhook.go
- openstackplaybookgenerator_types.go
- openstackprovisionserver_types.go
- openstackprovisionserver_webhook.go
- openstackvmset_types.go
- openstackvmset_webhook.go
- zz_generated.deepcopy.go