Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the capi-provider v1beta1 API group +kubebuilder:object:generate=true +groupName=capi-provider.agent-install.openshift.io
Index ¶
- Constants
- Variables
- type AgentCluster
- type AgentClusterList
- type AgentClusterSpec
- type AgentClusterStatus
- type AgentMachine
- func (e *AgentMachine) ConvertFrom(rawSrc conversion.Hub) error
- func (e *AgentMachine) ConvertTo(rawDst conversion.Hub) error
- func (in *AgentMachine) DeepCopy() *AgentMachine
- func (in *AgentMachine) DeepCopyInto(out *AgentMachine)
- func (in *AgentMachine) DeepCopyObject() runtime.Object
- func (r *AgentMachine) GetConditions() clusterv1.Conditions
- func (r *AgentMachine) SetConditions(conditions clusterv1.Conditions)
- type AgentMachineList
- type AgentMachineSpec
- type AgentMachineStatus
- type AgentMachineTemplate
- func (e *AgentMachineTemplate) ConvertFrom(rawSrc conversion.Hub) error
- func (e *AgentMachineTemplate) ConvertTo(rawDst conversion.Hub) error
- func (in *AgentMachineTemplate) DeepCopy() *AgentMachineTemplate
- func (in *AgentMachineTemplate) DeepCopyInto(out *AgentMachineTemplate)
- func (in *AgentMachineTemplate) DeepCopyObject() runtime.Object
- type AgentMachineTemplateList
- type AgentMachineTemplateResource
- type AgentMachineTemplateSpec
- type AgentReference
- type CaCertificateReference
- type ClusterDeploymentReference
- type IgnitionEndpoint
Constants ¶
const ( AgentReservedCondition clusterv1.ConditionType = "AgentReserved" AgentSpecSyncedCondition clusterv1.ConditionType = "AgentSpecSynced" AgentValidatedCondition clusterv1.ConditionType = "AgentValidated" AgentRequirementsMetCondition clusterv1.ConditionType = "AgentRequirementsMet" InstalledCondition clusterv1.ConditionType = "Installed" AgentNotYetFoundReason = "AgentNotYetFound" NoSuitableAgentsReason = "NoSuitableAgents" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "capi-provider.agent-install.openshift.io", 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 AgentCluster ¶
type AgentCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgentClusterSpec `json:"spec,omitempty"` Status AgentClusterStatus `json:"status,omitempty"` }
AgentCluster is the Schema for the agentclusters API
func (*AgentCluster) ConvertFrom ¶
func (e *AgentCluster) ConvertFrom(rawSrc conversion.Hub) error
func (*AgentCluster) ConvertTo ¶
func (e *AgentCluster) ConvertTo(rawDst conversion.Hub) error
func (*AgentCluster) DeepCopy ¶
func (in *AgentCluster) DeepCopy() *AgentCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentCluster.
func (*AgentCluster) DeepCopyInto ¶
func (in *AgentCluster) DeepCopyInto(out *AgentCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentCluster) DeepCopyObject ¶
func (in *AgentCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentClusterList ¶
type AgentClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AgentCluster `json:"items"` }
AgentClusterList contains a list of AgentCluster
func (*AgentClusterList) DeepCopy ¶
func (in *AgentClusterList) DeepCopy() *AgentClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentClusterList.
func (*AgentClusterList) DeepCopyInto ¶
func (in *AgentClusterList) DeepCopyInto(out *AgentClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentClusterList) DeepCopyObject ¶
func (in *AgentClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentClusterSpec ¶
type AgentClusterSpec struct { // IgnitionEndpoint store the data to of the custom ignition endpoint. // +optional IgnitionEndpoint *IgnitionEndpoint `json:"ignitionEndpoint,omitempty"` // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. // +optional ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"` }
AgentClusterSpec defines the desired state of AgentCluster
func (*AgentClusterSpec) DeepCopy ¶
func (in *AgentClusterSpec) DeepCopy() *AgentClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentClusterSpec.
func (*AgentClusterSpec) DeepCopyInto ¶
func (in *AgentClusterSpec) DeepCopyInto(out *AgentClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentClusterStatus ¶
type AgentClusterStatus struct { // +optional Ready bool `json:"ready"` // ClusterDeploymentRef is a reference to the associated Hive ClusterDeployment. ClusterDeploymentRef ClusterDeploymentReference `json:"clusterDeploymentReference"` // Conditions defines current service state of the ClusterDeployment. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // FailureDomains is a list of failure domain objects synced from the infrastructure provider. FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"` }
AgentClusterStatus defines the observed state of AgentCluster
func (*AgentClusterStatus) DeepCopy ¶
func (in *AgentClusterStatus) DeepCopy() *AgentClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentClusterStatus.
func (*AgentClusterStatus) DeepCopyInto ¶
func (in *AgentClusterStatus) DeepCopyInto(out *AgentClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentMachine ¶
type AgentMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgentMachineSpec `json:"spec,omitempty"` Status AgentMachineStatus `json:"status,omitempty"` }
AgentMachine is the Schema for the agentmachines API
func (*AgentMachine) ConvertFrom ¶
func (e *AgentMachine) ConvertFrom(rawSrc conversion.Hub) error
func (*AgentMachine) ConvertTo ¶
func (e *AgentMachine) ConvertTo(rawDst conversion.Hub) error
func (*AgentMachine) DeepCopy ¶
func (in *AgentMachine) DeepCopy() *AgentMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachine.
func (*AgentMachine) DeepCopyInto ¶
func (in *AgentMachine) DeepCopyInto(out *AgentMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentMachine) DeepCopyObject ¶
func (in *AgentMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AgentMachine) GetConditions ¶
func (r *AgentMachine) GetConditions() clusterv1.Conditions
GetConditions returns the observations of the operational state of the AWSMachine resource.
func (*AgentMachine) SetConditions ¶
func (r *AgentMachine) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the underlying service state of the AWSMachine to the predescribed clusterv1.Conditions.
type AgentMachineList ¶
type AgentMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AgentMachine `json:"items"` }
AgentMachineList contains a list of AgentMachine
func (*AgentMachineList) DeepCopy ¶
func (in *AgentMachineList) DeepCopy() *AgentMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineList.
func (*AgentMachineList) DeepCopyInto ¶
func (in *AgentMachineList) DeepCopyInto(out *AgentMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentMachineList) DeepCopyObject ¶
func (in *AgentMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentMachineSpec ¶
type AgentMachineSpec struct { // AgentLabelSelector contains the labels that must be set on an Agent in order to be selected for this Machine. // +optional AgentLabelSelector *metav1.LabelSelector `json:"agentLabelSelector,omitempty"` // ProviderID is the host's motherboard serial formatted as // agent://12345678-1234-1234-1234-123456789abc ProviderID *string `json:"providerID,omitempty"` }
AgentMachineSpec defines the desired state of AgentMachine
func (*AgentMachineSpec) DeepCopy ¶
func (in *AgentMachineSpec) DeepCopy() *AgentMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineSpec.
func (*AgentMachineSpec) DeepCopyInto ¶
func (in *AgentMachineSpec) DeepCopyInto(out *AgentMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentMachineStatus ¶
type AgentMachineStatus struct { // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` // AgentRef is a reference to the Agent matched to the Machine. AgentRef *AgentReference `json:"agentRef,omitempty"` // Addresses contains the Agent's associated addresses. Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"` // FailureReason will be set in the event that there is a terminal problem // reconciling the Machine and will contain a succinct value suitable // for machine interpretation. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the Machine's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of Machines // can be added as events to the Machine object and/or logged in the // controller's output. // +optional FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` // FailureMessage will be set in the event that there is a terminal problem // reconciling the Machine and will contain a more verbose string suitable // for logging and human consumption. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the Machine's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of Machines // can be added as events to the Machine object and/or logged in the // controller's output. // +optional FailureMessage *string `json:"failureMessage,omitempty"` // Conditions defines current service state of the AgentMachine. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
AgentMachineStatus defines the observed state of AgentMachine
func (*AgentMachineStatus) DeepCopy ¶
func (in *AgentMachineStatus) DeepCopy() *AgentMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineStatus.
func (*AgentMachineStatus) DeepCopyInto ¶
func (in *AgentMachineStatus) DeepCopyInto(out *AgentMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentMachineTemplate ¶
type AgentMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AgentMachineTemplateSpec `json:"spec,omitempty"` }
AgentMachineTemplate is the Schema for the agentmachinetemplates API
func (*AgentMachineTemplate) ConvertFrom ¶
func (e *AgentMachineTemplate) ConvertFrom(rawSrc conversion.Hub) error
func (*AgentMachineTemplate) ConvertTo ¶
func (e *AgentMachineTemplate) ConvertTo(rawDst conversion.Hub) error
func (*AgentMachineTemplate) DeepCopy ¶
func (in *AgentMachineTemplate) DeepCopy() *AgentMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineTemplate.
func (*AgentMachineTemplate) DeepCopyInto ¶
func (in *AgentMachineTemplate) DeepCopyInto(out *AgentMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentMachineTemplate) DeepCopyObject ¶
func (in *AgentMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentMachineTemplateList ¶
type AgentMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AgentMachineTemplate `json:"items"` }
AgentMachineTemplateList contains a list of AgentMachineTemplate.
func (*AgentMachineTemplateList) DeepCopy ¶
func (in *AgentMachineTemplateList) DeepCopy() *AgentMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineTemplateList.
func (*AgentMachineTemplateList) DeepCopyInto ¶
func (in *AgentMachineTemplateList) DeepCopyInto(out *AgentMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentMachineTemplateList) DeepCopyObject ¶
func (in *AgentMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentMachineTemplateResource ¶
type AgentMachineTemplateResource struct { // Spec is the specification of the desired behavior of the machine. Spec AgentMachineSpec `json:"spec"` }
AgentMachineTemplateResource describes the data needed to create an AgentMachine from a template
func (*AgentMachineTemplateResource) DeepCopy ¶
func (in *AgentMachineTemplateResource) DeepCopy() *AgentMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineTemplateResource.
func (*AgentMachineTemplateResource) DeepCopyInto ¶
func (in *AgentMachineTemplateResource) DeepCopyInto(out *AgentMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentMachineTemplateSpec ¶
type AgentMachineTemplateSpec struct {
Template AgentMachineTemplateResource `json:"template"`
}
AgentMachineTemplateSpec defines the desired state of AgentMachineTemplate
func (*AgentMachineTemplateSpec) DeepCopy ¶
func (in *AgentMachineTemplateSpec) DeepCopy() *AgentMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentMachineTemplateSpec.
func (*AgentMachineTemplateSpec) DeepCopyInto ¶
func (in *AgentMachineTemplateSpec) DeepCopyInto(out *AgentMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentReference ¶
type AgentReference struct { // Name is unique within a namespace to reference an agent resource. // +optional Name string `json:"name,omitempty"` // Namespace defines the space within which the agent name must be unique. // +optional Namespace string `json:"namespace,omitempty"` }
func (*AgentReference) DeepCopy ¶
func (in *AgentReference) DeepCopy() *AgentReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentReference.
func (*AgentReference) DeepCopyInto ¶
func (in *AgentReference) DeepCopyInto(out *AgentReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaCertificateReference ¶
type CaCertificateReference struct { // Namespace is the namespace of the secret containing the CA certificate. Namespace string `json:"namespace"` // Name is the name of the secret containing the CA certificate. Name string `json:"name"` }
func (*CaCertificateReference) DeepCopy ¶
func (in *CaCertificateReference) DeepCopy() *CaCertificateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaCertificateReference.
func (*CaCertificateReference) DeepCopyInto ¶
func (in *CaCertificateReference) DeepCopyInto(out *CaCertificateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDeploymentReference ¶
type ClusterDeploymentReference struct { // Name is unique within a namespace to reference a clusterDeployment resource. // +optional Name string `json:"name,omitempty"` // Namespace defines the space within which the clusterDeployment name must be unique. // +optional Namespace string `json:"namespace,omitempty"` }
func (*ClusterDeploymentReference) DeepCopy ¶
func (in *ClusterDeploymentReference) DeepCopy() *ClusterDeploymentReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDeploymentReference.
func (*ClusterDeploymentReference) DeepCopyInto ¶
func (in *ClusterDeploymentReference) DeepCopyInto(out *ClusterDeploymentReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IgnitionEndpoint ¶
type IgnitionEndpoint struct { // Url store the URL of the custom ignition endpoint. // +optional Url string `json:"url,omitempty"` // CaCertificateReference is a reference to the secret containing CA certificate to be used // when contacting the URL via HTTPS. // +optional CaCertificateReference *CaCertificateReference `json:"caCertificateReference,omitempty"` }
IgnitionEndpoint store the data to of the custom ignition endpoint.
func (*IgnitionEndpoint) DeepCopy ¶
func (in *IgnitionEndpoint) DeepCopy() *IgnitionEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnitionEndpoint.
func (*IgnitionEndpoint) DeepCopyInto ¶
func (in *IgnitionEndpoint) DeepCopyInto(out *IgnitionEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.