Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the dataplane v1beta1 API group +kubebuilder:object:generate=true +groupName=dataplane.openstack.org
Index ¶
- Constants
- Variables
- type AnsibleEESpec
- type AnsibleOpts
- type DataplaneAnsibleImageDefaults
- type KubeService
- type NodeSection
- type NodeTemplate
- type OpenStackDataPlaneDeployment
- func (in *OpenStackDataPlaneDeployment) DeepCopy() *OpenStackDataPlaneDeployment
- func (in *OpenStackDataPlaneDeployment) DeepCopyInto(out *OpenStackDataPlaneDeployment)
- func (in *OpenStackDataPlaneDeployment) DeepCopyObject() runtime.Object
- func (instance *OpenStackDataPlaneDeployment) InitConditions()
- func (instance OpenStackDataPlaneDeployment) IsReady() bool
- type OpenStackDataPlaneDeploymentList
- type OpenStackDataPlaneDeploymentSpec
- type OpenStackDataPlaneDeploymentStatus
- type OpenStackDataPlaneNodeSet
- func (in *OpenStackDataPlaneNodeSet) DeepCopy() *OpenStackDataPlaneNodeSet
- func (in *OpenStackDataPlaneNodeSet) DeepCopyInto(out *OpenStackDataPlaneNodeSet)
- func (in *OpenStackDataPlaneNodeSet) DeepCopyObject() runtime.Object
- func (r *OpenStackDataPlaneNodeSet) Default()
- func (instance OpenStackDataPlaneNodeSet) GetAnsibleEESpec() AnsibleEESpec
- func (instance *OpenStackDataPlaneNodeSet) InitConditions()
- func (instance OpenStackDataPlaneNodeSet) IsReady() bool
- func (r *OpenStackDataPlaneNodeSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OpenStackDataPlaneNodeSet) ValidateCreate() error
- func (r *OpenStackDataPlaneNodeSet) ValidateDelete() error
- func (r *OpenStackDataPlaneNodeSet) ValidateUpdate(old runtime.Object) error
- type OpenStackDataPlaneNodeSetList
- type OpenStackDataPlaneNodeSetSpec
- type OpenStackDataPlaneNodeSetStatus
- type OpenStackDataPlaneService
- func (in *OpenStackDataPlaneService) DeepCopy() *OpenStackDataPlaneService
- func (in *OpenStackDataPlaneService) DeepCopyInto(out *OpenStackDataPlaneService)
- func (in *OpenStackDataPlaneService) DeepCopyObject() runtime.Object
- func (instance OpenStackDataPlaneService) InitConditions()
- func (instance OpenStackDataPlaneService) IsReady() bool
- type OpenStackDataPlaneServiceList
- type OpenStackDataPlaneServiceSpec
- type OpenStackDataPlaneServiceStatus
Constants ¶
const ( // DataPlaneNodeSetErrorMessage error DataPlaneNodeSetErrorMessage = "DataPlaneNodeSet error occurred %s" // ServiceReadyCondition Status=True condition indicates if the // service is finished and successful. ServiceReadyCondition string = "%s service ready" // ServiceReadyMessage ready ServiceReadyMessage = "%s service ready" // ServiceReadyWaitingMessage not yet ready ServiceReadyWaitingMessage = "%s service not yet ready" // ServiceErrorMessage error ServiceErrorMessage = "Service error occurred %s" // SetupReadyCondition - Overall setup condition SetupReadyCondition condition.Type = "SetupReady" // NodeSetReadyMessage - NodeSet Ready NodeSetReadyMessage = "NodeSet Ready" // NodeSetBareMetalProvisionReadyCondition Status=True condition indicates // all baremetal nodes provisioned for the NodeSet. NodeSetBareMetalProvisionReadyCondition condition.Type = "NodeSetBaremetalProvisionReady" // NodeSetBaremetalProvisionReadyMessage ready NodeSetBaremetalProvisionReadyMessage = "NodeSetBaremetalProvisionReady ready" // NodeSetBaremetalProvisionReadyWaitingMessage not yet ready NodeSetBaremetalProvisionReadyWaitingMessage = "NodeSetBaremetalProvisionReady not yet ready" // NodeSetBaremetalProvisionErrorMessage error NodeSetBaremetalProvisionErrorMessage = "NodeSetBaremetalProvisionReady error occurred" // NodeSetIPReservationReadyCondition Status=True condition indicates // IPSets reserved for all nodes in a NodeSet. NodeSetIPReservationReadyCondition condition.Type = "NodeSetIPReservationReady" // NodeSetIPReservationReadyMessage ready NodeSetIPReservationReadyMessage = "NodeSetIPReservationReady ready" // NodeSetIPReservationReadyWaitingMessage not yet ready NodeSetIPReservationReadyWaitingMessage = "NodeSetIPReservationReady not yet ready" // NodeSetIPReservationReadyErrorMessage error NodeSetIPReservationReadyErrorMessage = "NodeSetIPReservationReady error occurred" // NodeSetDNSDataReadyCondition Status=True condition indicates // DNSData created for the NodeSet. NodeSetDNSDataReadyCondition condition.Type = "NodeSetDNSDataReady" // NodeSetDNSDataReadyMessage ready NodeSetDNSDataReadyMessage = "NodeSetDNSDataReady ready" // NodeSetDNSDataReadyWaitingMessage not yet ready NodeSetDNSDataReadyWaitingMessage = "NodeSetDNSDataReady not yet ready" // NodeSetDNSDataReadyErrorMessage error NodeSetDNSDataReadyErrorMessage = "NodeSetDNSDataReady error occurred" // InputReadyWaitingMessage not yet ready InputReadyWaitingMessage = "Waiting for input %s, not yet ready" // NodeSetDeploymentReadyCondition Status=True condition indicates if the // NodeSet Deployment is finished and successful. NodeSetDeploymentReadyCondition string = "%s Deployment ready" // NodeSetDeploymentReadyMessage ready NodeSetDeploymentReadyMessage = "%s Deployment ready" // NodeSetDeploymentReadyWaitingMessage not yet ready NodeSetDeploymentReadyWaitingMessage = "%s Deployment not yet ready" // NodeSetDeploymentErrorMessage error NodeSetDeploymentErrorMessage = "%s Deployment error occurred %s" // NodeSetServiceDeploymentReadyCondition Status=True condition indicates if the // NodeSet Deployment is finished and successful. NodeSetServiceDeploymentReadyCondition string = "%s %s Deployment ready" // NodeSetServiceDeploymentReadyMessage ready NodeSetServiceDeploymentReadyMessage = "%s %s Deployment ready" // NodeSetServiceDeploymentReadyWaitingMessage not yet ready NodeSetServiceDeploymentReadyWaitingMessage = "%s %s Deployment not yet ready" // NodeSetServiceDeploymentErrorMessage error NodeSetServiceDeploymentErrorMessage = "%s %s Deployment error occurred" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dataplane.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 AnsibleEESpec ¶
type AnsibleEESpec struct { // +kubebuilder:validation:Optional // NetworkAttachments is a list of NetworkAttachment resource names to pass to the ansibleee resource // which allows to connect the ansibleee runner to the given network NetworkAttachments []string `json:"networkAttachments,omitempty"` // +kubebuilder:validation:Optional // OpenStackAnsibleEERunnerImage image to use as the ansibleEE runner image OpenStackAnsibleEERunnerImage string `json:"openStackAnsibleEERunnerImage,omitempty"` // +kubebuilder:validation:Optional // AnsibleTags for ansible execution AnsibleTags string `json:"ansibleTags,omitempty"` // +kubebuilder:validation:Optional // AnsibleLimit for ansible execution AnsibleLimit string `json:"ansibleLimit,omitempty"` // +kubebuilder:validation:Optional // AnsibleSkipTags for ansible execution AnsibleSkipTags string `json:"ansibleSkipTags,omitempty"` // ExtraMounts containing files which can be mounted into an Ansible Execution Pod // +kubebuilder:validation:Optional ExtraMounts []storage.VolMounts `json:"extraMounts,omitempty"` // Env is a list containing the environment variables to pass to the pod Env []corev1.EnvVar `json:"env,omitempty"` // DNSConfig for setting dnsservers DNSConfig *corev1.PodDNSConfig `json:"dnsConfig,omitempty"` }
AnsibleEESpec is a specification of the ansible EE attributes
func (*AnsibleEESpec) DeepCopy ¶
func (in *AnsibleEESpec) DeepCopy() *AnsibleEESpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnsibleEESpec.
func (*AnsibleEESpec) DeepCopyInto ¶
func (in *AnsibleEESpec) DeepCopyInto(out *AnsibleEESpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnsibleOpts ¶ added in v0.2.0
type AnsibleOpts struct { // AnsibleUser SSH user for Ansible connection // +kubebuilder:validation:Optional AnsibleUser string `json:"ansibleUser,omitempty"` // AnsibleHost SSH host for Ansible connection // +kubebuilder:validation:Optional AnsibleHost string `json:"ansibleHost,omitempty"` // AnsiblePort SSH port for Ansible connection // +kubebuilder:validation:Optional // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:number"} AnsiblePort int `json:"ansiblePort,omitempty"` // AnsibleVars for configuring ansible // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless AnsibleVars map[string]json.RawMessage `json:"ansibleVars,omitempty"` }
AnsibleOpts defines a logical grouping of Ansible related configuration options.
func (*AnsibleOpts) DeepCopy ¶ added in v0.2.0
func (in *AnsibleOpts) DeepCopy() *AnsibleOpts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnsibleOpts.
func (*AnsibleOpts) DeepCopyInto ¶ added in v0.2.0
func (in *AnsibleOpts) DeepCopyInto(out *AnsibleOpts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataplaneAnsibleImageDefaults ¶ added in v0.2.0
type DataplaneAnsibleImageDefaults struct { Frr string IscsiD string Logrotate string NovaCompute string NovaLibvirt string OvnControllerAgent string OvnMetadataAgent string OvnBgpAgent string }
DataplaneAnsibleImageDefaults default images for dataplane services
func (*DataplaneAnsibleImageDefaults) DeepCopy ¶ added in v0.2.0
func (in *DataplaneAnsibleImageDefaults) DeepCopy() *DataplaneAnsibleImageDefaults
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataplaneAnsibleImageDefaults.
func (*DataplaneAnsibleImageDefaults) DeepCopyInto ¶ added in v0.2.0
func (in *DataplaneAnsibleImageDefaults) DeepCopyInto(out *DataplaneAnsibleImageDefaults)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeService ¶ added in v0.2.0
type KubeService struct { // Name of the Service will have in kubernetes // +kubebuilder:validation:Required Name string `json:"name"` // Port is the port of the service // +kubebuilder:validation:Required Port int `json:"port"` // Protocol is the protocol used to connect to the endpoint // +kubebuilder:default=http Protocol string `json:"protocol,omitempty"` }
KubeService represents a Kubernetes Service. It is called like this to avoid the extreme overloading of the Service term in this context
func (*KubeService) DeepCopy ¶ added in v0.2.0
func (in *KubeService) DeepCopy() *KubeService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeService.
func (*KubeService) DeepCopyInto ¶ added in v0.2.0
func (in *KubeService) DeepCopyInto(out *KubeService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSection ¶
type NodeSection struct { // HostName - node name // +kubebuilder:validation:Optional HostName string `json:"hostName,omitempty"` // Networks - Instance networks // +kubebuilder:validation:Optional Networks []infranetworkv1.IPSetNetwork `json:"networks,omitempty"` // ManagementNetwork - Name of network to use for management (SSH/Ansible) // +kubebuilder:validation:Optional ManagementNetwork string `json:"managementNetwork,omitempty"` // Ansible is the group of Ansible related configuration options. // +kubebuilder:validation:Optional Ansible AnsibleOpts `json:"ansible,omitempty"` // ExtraMounts containing files which can be mounted into an Ansible Execution Pod // +kubebuilder:validation:Optional ExtraMounts []storage.VolMounts `json:"extraMounts,omitempty"` // UserData node specific user-data // +kubebuilder:validation:Optional UserData *corev1.SecretReference `json:"userData,omitempty"` // NetworkData node specific network-data // +kubebuilder:validation:Optional NetworkData *corev1.SecretReference `json:"networkData,omitempty"` }
NodeSection defines the top level attributes inherited by nodes in the CR.
func (*NodeSection) DeepCopy ¶
func (in *NodeSection) DeepCopy() *NodeSection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSection.
func (*NodeSection) DeepCopyInto ¶
func (in *NodeSection) DeepCopyInto(out *NodeSection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeTemplate ¶ added in v0.2.0
type NodeTemplate struct { // AnsibleSSHPrivateKeySecret Name of a private SSH key secret containing // private SSH key for connecting to node. // The named secret must be of the form: // Secret.data.ssh-privatekey: <base64 encoded private key contents> // <https://kubernetes.io/docs/concepts/configuration/secret/#ssh-authentication-secrets> // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:io.kubernetes:Secret"} AnsibleSSHPrivateKeySecret string `json:"ansibleSSHPrivateKeySecret"` // Networks - Instance networks // +kubebuilder:validation:Optional Networks []infranetworkv1.IPSetNetwork `json:"networks,omitempty"` // ManagementNetwork - Name of network to use for management (SSH/Ansible) // +kubebuilder:validation:Optional ManagementNetwork string `json:"managementNetwork,omitempty"` // Ansible is the group of Ansible related configuration options. // +kubebuilder:validation:Optional Ansible AnsibleOpts `json:"ansible,omitempty"` // ExtraMounts containing files which can be mounted into an Ansible Execution Pod // +kubebuilder:validation:Optional ExtraMounts []storage.VolMounts `json:"extraMounts,omitempty"` // UserData node specific user-data // +kubebuilder:validation:Optional UserData *corev1.SecretReference `json:"userData,omitempty"` // NetworkData node specific network-data // +kubebuilder:validation:Optional NetworkData *corev1.SecretReference `json:"networkData,omitempty"` }
NodeTemplate is a specification of the node attributes that override top level attributes.
func (*NodeTemplate) DeepCopy ¶ added in v0.2.0
func (in *NodeTemplate) DeepCopy() *NodeTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTemplate.
func (*NodeTemplate) DeepCopyInto ¶ added in v0.2.0
func (in *NodeTemplate) DeepCopyInto(out *NodeTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackDataPlaneDeployment ¶ added in v0.2.0
type OpenStackDataPlaneDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackDataPlaneDeploymentSpec `json:"spec,omitempty"` Status OpenStackDataPlaneDeploymentStatus `json:"status,omitempty"` }
OpenStackDataPlaneDeployment is the Schema for the openstackdataplanedeployments API
func (*OpenStackDataPlaneDeployment) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeployment) DeepCopy() *OpenStackDataPlaneDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneDeployment.
func (*OpenStackDataPlaneDeployment) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeployment) DeepCopyInto(out *OpenStackDataPlaneDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneDeployment) DeepCopyObject ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenStackDataPlaneDeployment) InitConditions ¶ added in v0.2.0
func (instance *OpenStackDataPlaneDeployment) InitConditions()
InitConditions - Initializes Status Conditons
func (OpenStackDataPlaneDeployment) IsReady ¶ added in v0.2.0
func (instance OpenStackDataPlaneDeployment) IsReady() bool
IsReady - returns true if the OpenStackDataPlaneDeployment is ready
type OpenStackDataPlaneDeploymentList ¶ added in v0.2.0
type OpenStackDataPlaneDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackDataPlaneDeployment `json:"items"` }
OpenStackDataPlaneDeploymentList contains a list of OpenStackDataPlaneDeployment
func (*OpenStackDataPlaneDeploymentList) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentList) DeepCopy() *OpenStackDataPlaneDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneDeploymentList.
func (*OpenStackDataPlaneDeploymentList) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentList) DeepCopyInto(out *OpenStackDataPlaneDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneDeploymentList) DeepCopyObject ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackDataPlaneDeploymentSpec ¶ added in v0.2.0
type OpenStackDataPlaneDeploymentSpec struct { // +kubebuilder:validation:Required // NodeSets is the list of NodeSets deployed NodeSets []string `json:"nodeSets"` // AnsibleTags for ansible execution // +kubebuilder:validation:Optional AnsibleTags string `json:"ansibleTags,omitempty"` // AnsibleLimit for ansible execution // +kubebuilder:validation:Optional AnsibleLimit string `json:"ansibleLimit,omitempty"` // AnsibleSkipTags for ansible execution // +kubebuilder:validation:Optional AnsibleSkipTags string `json:"ansibleSkipTags,omitempty"` }
OpenStackDataPlaneDeploymentSpec defines the desired state of OpenStackDataPlaneDeployment
func (*OpenStackDataPlaneDeploymentSpec) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentSpec) DeepCopy() *OpenStackDataPlaneDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneDeploymentSpec.
func (*OpenStackDataPlaneDeploymentSpec) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentSpec) DeepCopyInto(out *OpenStackDataPlaneDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackDataPlaneDeploymentStatus ¶ added in v0.2.0
type OpenStackDataPlaneDeploymentStatus struct { // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} // Conditions Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"` // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"} // Deployed Deployed bool `json:"deployed,omitempty" optional:"true"` }
OpenStackDataPlaneDeploymentStatus defines the observed state of OpenStackDataPlaneDeployment
func (*OpenStackDataPlaneDeploymentStatus) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentStatus) DeepCopy() *OpenStackDataPlaneDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneDeploymentStatus.
func (*OpenStackDataPlaneDeploymentStatus) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneDeploymentStatus) DeepCopyInto(out *OpenStackDataPlaneDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackDataPlaneNodeSet ¶ added in v0.2.0
type OpenStackDataPlaneNodeSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackDataPlaneNodeSetSpec `json:"spec,omitempty"` Status OpenStackDataPlaneNodeSetStatus `json:"status,omitempty"` }
OpenStackDataPlaneNodeSet is the Schema for the openstackdataplanenodesets API
func (*OpenStackDataPlaneNodeSet) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSet) DeepCopy() *OpenStackDataPlaneNodeSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneNodeSet.
func (*OpenStackDataPlaneNodeSet) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSet) DeepCopyInto(out *OpenStackDataPlaneNodeSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneNodeSet) DeepCopyObject ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OpenStackDataPlaneNodeSet) Default ¶ added in v0.2.0
func (r *OpenStackDataPlaneNodeSet) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (OpenStackDataPlaneNodeSet) GetAnsibleEESpec ¶ added in v0.2.0
func (instance OpenStackDataPlaneNodeSet) GetAnsibleEESpec() AnsibleEESpec
GetAnsibleEESpec - get the fields that will be passed to AEE
func (*OpenStackDataPlaneNodeSet) InitConditions ¶ added in v0.2.0
func (instance *OpenStackDataPlaneNodeSet) InitConditions()
InitConditions - Initializes Status Conditons
func (OpenStackDataPlaneNodeSet) IsReady ¶ added in v0.2.0
func (instance OpenStackDataPlaneNodeSet) IsReady() bool
IsReady - returns true if the DataPlane is ready
func (*OpenStackDataPlaneNodeSet) SetupWebhookWithManager ¶ added in v0.2.0
func (r *OpenStackDataPlaneNodeSet) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the Manager
func (*OpenStackDataPlaneNodeSet) ValidateCreate ¶ added in v0.2.0
func (r *OpenStackDataPlaneNodeSet) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackDataPlaneNodeSet) ValidateDelete ¶ added in v0.2.0
func (r *OpenStackDataPlaneNodeSet) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OpenStackDataPlaneNodeSet) ValidateUpdate ¶ added in v0.2.0
func (r *OpenStackDataPlaneNodeSet) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OpenStackDataPlaneNodeSetList ¶ added in v0.2.0
type OpenStackDataPlaneNodeSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackDataPlaneNodeSet `json:"items"` }
OpenStackDataPlaneNodeSetList contains a list of OpenStackDataPlaneNodeSets
func (*OpenStackDataPlaneNodeSetList) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetList) DeepCopy() *OpenStackDataPlaneNodeSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneNodeSetList.
func (*OpenStackDataPlaneNodeSetList) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetList) DeepCopyInto(out *OpenStackDataPlaneNodeSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneNodeSetList) DeepCopyObject ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackDataPlaneNodeSetSpec ¶ added in v0.2.0
type OpenStackDataPlaneNodeSetSpec struct { // +kubebuilder:validation:Optional // BaremetalSetTemplate Template for BaremetalSet for the NodeSet BaremetalSetTemplate baremetalv1.OpenStackBaremetalSetSpec `json:"baremetalSetTemplate,omitempty"` // +kubebuilder:validation:Required // NodeTemplate - node attributes specific to nodes defined by this resource. These // attributes can be overriden at the individual node level, else take their defaults // from valus in this section. NodeTemplate NodeTemplate `json:"nodeTemplate"` // Nodes - Map of Node Names and node specific data. Values here override defaults in the // upper level section. // +kubebuilder:validation:Required Nodes map[string]NodeSection `json:"nodes"` // +kubebuilder:validation:Optional // // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"} // PreProvisioned - Whether the nodes are actually pre-provisioned (True) or should be // preprovisioned (False) PreProvisioned bool `json:"preProvisioned,omitempty"` // Env is a list containing the environment variables to pass to the pod Env []corev1.EnvVar `json:"env,omitempty"` // +kubebuilder:validation:Optional // NetworkAttachments is a list of NetworkAttachment resource names to pass to the ansibleee resource // which allows to connect the ansibleee runner to the given network NetworkAttachments []string `json:"networkAttachments,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default={download-cache,configure-network,validate-network,install-os,configure-os,run-os,ovn,libvirt,nova,telemetry} // Services list Services []string `json:"services"` }
OpenStackDataPlaneNodeSetSpec defines the desired state of OpenStackDataPlaneNodeSet
func (*OpenStackDataPlaneNodeSetSpec) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetSpec) DeepCopy() *OpenStackDataPlaneNodeSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneNodeSetSpec.
func (*OpenStackDataPlaneNodeSetSpec) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetSpec) DeepCopyInto(out *OpenStackDataPlaneNodeSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneNodeSetSpec) Default ¶ added in v0.2.0
func (spec *OpenStackDataPlaneNodeSetSpec) Default()
Default - set defaults for this OpenStackDataPlaneNodeSet Spec
type OpenStackDataPlaneNodeSetStatus ¶ added in v0.2.0
type OpenStackDataPlaneNodeSetStatus struct { // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} // Conditions Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"` // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"} // Deployed Deployed bool `json:"deployed,omitempty" optional:"true"` // DNSClusterAddresses DNSClusterAddresses []string `json:"DNSClusterAddresses,omitempty" optional:"true"` // CtlplaneSearchDomain CtlplaneSearchDomain string `json:"CtlplaneSearchDomain,omitempty" optional:"true"` }
OpenStackDataPlaneNodeSetStatus defines the observed state of OpenStackDataPlaneNodeSet
func (*OpenStackDataPlaneNodeSetStatus) DeepCopy ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetStatus) DeepCopy() *OpenStackDataPlaneNodeSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneNodeSetStatus.
func (*OpenStackDataPlaneNodeSetStatus) DeepCopyInto ¶ added in v0.2.0
func (in *OpenStackDataPlaneNodeSetStatus) DeepCopyInto(out *OpenStackDataPlaneNodeSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackDataPlaneService ¶
type OpenStackDataPlaneService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpenStackDataPlaneServiceSpec `json:"spec,omitempty"` Status OpenStackDataPlaneServiceStatus `json:"status,omitempty"` }
OpenStackDataPlaneService is the Schema for the openstackdataplaneservices API
func (*OpenStackDataPlaneService) DeepCopy ¶
func (in *OpenStackDataPlaneService) DeepCopy() *OpenStackDataPlaneService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneService.
func (*OpenStackDataPlaneService) DeepCopyInto ¶
func (in *OpenStackDataPlaneService) DeepCopyInto(out *OpenStackDataPlaneService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneService) DeepCopyObject ¶
func (in *OpenStackDataPlaneService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (OpenStackDataPlaneService) InitConditions ¶
func (instance OpenStackDataPlaneService) InitConditions()
InitConditions - Initializes Status Conditons
func (OpenStackDataPlaneService) IsReady ¶
func (instance OpenStackDataPlaneService) IsReady() bool
IsReady - returns true if service is ready to serve requests
type OpenStackDataPlaneServiceList ¶
type OpenStackDataPlaneServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpenStackDataPlaneService `json:"items"` }
OpenStackDataPlaneServiceList contains a list of OpenStackDataPlaneService
func (*OpenStackDataPlaneServiceList) DeepCopy ¶
func (in *OpenStackDataPlaneServiceList) DeepCopy() *OpenStackDataPlaneServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneServiceList.
func (*OpenStackDataPlaneServiceList) DeepCopyInto ¶
func (in *OpenStackDataPlaneServiceList) DeepCopyInto(out *OpenStackDataPlaneServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenStackDataPlaneServiceList) DeepCopyObject ¶
func (in *OpenStackDataPlaneServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenStackDataPlaneServiceSpec ¶
type OpenStackDataPlaneServiceSpec struct { // Label to use for service // +kubebuilder:validation:Optional Label string `json:"label,omitempty"` // Services to create to expose possible external services in computes // +kubebuilder:validation:Optional Services []KubeService `json:"services,omitempty"` // Play is an inline playbook contents that ansible will run on execution. // If both Play and Roles are specified, Play takes precedence Play string `json:"play,omitempty"` // Playbook is a path to the playbook that ansible will run on this execution Playbook string `json:"playbook,omitempty"` // ConfigMaps list of ConfigMap names to mount as ExtraMounts for the OpenStackAnsibleEE // +kubebuilder:validation:Optional ConfigMaps []string `json:"configMaps,omitempty" yaml:"configMaps,omitempty"` // Secrets list of Secret names to mount as ExtraMounts for the OpenStackAnsibleEE // +kubebuilder:validation:Optional Secrets []string `json:"secrets,omitempty"` // OpenStackAnsibleEERunnerImage image to use as the ansibleEE runner image // +kubebuilder:validation:Optional OpenStackAnsibleEERunnerImage string `json:"openStackAnsibleEERunnerImage,omitempty" yaml:"openStackAnsibleEERunnerImage,omitempty"` }
OpenStackDataPlaneServiceSpec defines the desired state of OpenStackDataPlaneService
func (*OpenStackDataPlaneServiceSpec) DeepCopy ¶
func (in *OpenStackDataPlaneServiceSpec) DeepCopy() *OpenStackDataPlaneServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneServiceSpec.
func (*OpenStackDataPlaneServiceSpec) DeepCopyInto ¶
func (in *OpenStackDataPlaneServiceSpec) DeepCopyInto(out *OpenStackDataPlaneServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackDataPlaneServiceStatus ¶
type OpenStackDataPlaneServiceStatus struct { // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} // Conditions Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"` }
OpenStackDataPlaneServiceStatus defines the observed state of OpenStackDataPlaneService
func (*OpenStackDataPlaneServiceStatus) DeepCopy ¶
func (in *OpenStackDataPlaneServiceStatus) DeepCopy() *OpenStackDataPlaneServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackDataPlaneServiceStatus.
func (*OpenStackDataPlaneServiceStatus) DeepCopyInto ¶
func (in *OpenStackDataPlaneServiceStatus) DeepCopyInto(out *OpenStackDataPlaneServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.