Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group. +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type Agent
- type Config
- type Elemental
- type ElementalCluster
- type ElementalClusterList
- type ElementalClusterSpec
- type ElementalClusterStatus
- type ElementalClusterTemplate
- type ElementalClusterTemplateList
- type ElementalClusterTemplateResource
- type ElementalClusterTemplateSpec
- type ElementalHost
- type ElementalHostList
- type ElementalHostSpec
- type ElementalHostStatus
- type ElementalMachine
- type ElementalMachineList
- type ElementalMachineSpec
- type ElementalMachineStatus
- type ElementalMachineTemplate
- type ElementalMachineTemplateList
- type ElementalMachineTemplateSpec
- type ElementalRegistration
- type ElementalRegistrationList
- type ElementalRegistrationSpec
- type ElementalRegistrationStatus
- type Hostname
- type InfraMachineTemplateResource
- type PostInstall
- type PostReset
- type Registration
Constants ¶
const ( InfraGroup = "infrastructure.cluster.x-k8s.io" InfraVersion = "v1beta1" )
API Info.
const ( AnnotationElementalRegistrationName = "elementalregistration.infrastructure.cluster.x-k8s.io/name" AnnotationElementalRegistrationNamespace = "elementalregistration.infrastructure.cluster.x-k8s.io/namespace" AnnotationElementalHostPublicKey = "elementalhost.infrastructure.cluster.x-k8s.io/pub-key" )
Annotations.
const ( LabelElementalHostMachineName = "elementalhost.infrastructure.cluster.x-k8s.io/machine-name" LabelElementalHostInstalled = "elementalhost.infrastructure.cluster.x-k8s.io/installed" LabelElementalHostBootstrapped = "elementalhost.infrastructure.cluster.x-k8s.io/bootstrapped" LabelElementalHostNeedsReset = "elementalhost.infrastructure.cluster.x-k8s.io/needs-reset" LabelElementalHostReset = "elementalhost.infrastructure.cluster.x-k8s.io/reset" )
Labels.
const (
FinalizerElementalMachine = "elementalmachine.infrastructure.cluster.x-k8s.io"
)
Finalizers.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.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 )
var (
InfraGroupVersion = schema.GroupVersion{Group: InfraGroup, Version: InfraVersion}
)
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { // +optional // +kubebuilder:default:="/var/lib/elemental/agent" WorkDir string `json:"workDir,omitempty" yaml:"workDir,omitempty" mapstructure:"workDir"` // +optional // +kubebuilder:default:={"useExisting":true} Hostname Hostname `json:"hostname,omitempty" yaml:"hostname,omitempty" mapstructure:"hostname"` // +optional NoSMBIOS bool `json:"noSmbios,omitempty" yaml:"noSmbios,omitempty" mapstructure:"noSmbios"` // +optional Debug bool `json:"debug,omitempty" yaml:"debug,omitempty" mapstructure:"debug"` // +optional // +kubebuilder:default:="/usr/lib/elemental/plugins/elemental.so" OSPlugin string `json:"osPlugin,omitempty" yaml:"osPlugin,omitempty" mapstructure:"osPlugin"` // +optional // +kubebuilder:default:=10000000000 Reconciliation time.Duration `json:"reconciliation,omitempty" yaml:"reconciliation,omitempty" mapstructure:"reconciliation"` // +optional InsecureAllowHTTP bool `json:"insecureAllowHttp,omitempty" yaml:"insecureAllowHttp,omitempty" mapstructure:"insecureAllowHttp"` // +optional InsecureSkipTLSVerify bool `json:"insecureSkipTlsVerify,omitempty" yaml:"insecureSkipTlsVerify,omitempty" mapstructure:"insecureSkipTlsVerify"` // +optional UseSystemCertPool bool `json:"useSystemCertPool,omitempty" yaml:"useSystemCertPool,omitempty" mapstructure:"useSystemCertPool"` // +optional PostInstall PostInstall `json:"postInstall,omitempty" yaml:"postInstall,omitempty" mapstructure:"postInstall"` // +optional PostReset PostReset `json:"postReset,omitempty" yaml:"postReset,omitempty" mapstructure:"postReset"` }
func (*Agent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent.
func (*Agent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
type Config struct { // +optional Elemental Elemental `json:"elemental,omitempty" yaml:"elemental"` // +kubebuilder:validation:Schemaless // +kubebuilder:validation:XPreserveUnknownFields // +optional CloudConfig map[string]runtime.RawExtension `json:"cloudConfig,omitempty" yaml:"cloudConfig,omitempty"` }
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Elemental ¶
type Elemental struct { // +optional // +kubebuilder:validation:Schemaless // +kubebuilder:validation:XPreserveUnknownFields Install map[string]runtime.RawExtension `json:"install,omitempty" yaml:"install,omitempty"` // +optional // +kubebuilder:validation:Schemaless // +kubebuilder:validation:XPreserveUnknownFields Reset map[string]runtime.RawExtension `json:"reset,omitempty" yaml:"reset,omitempty"` // +optional Registration Registration `json:"registration,omitempty" yaml:"registration,omitempty"` // +optional // +kubebuilder:default:={"debug":false,"reconciliation":10000000000,"hostname":{"useExisting":false},"osPlugin":"/usr/lib/elemental/plugins/elemental.so"} Agent Agent `json:"agent,omitempty" yaml:"agent,omitempty"` }
func (*Elemental) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Elemental.
func (*Elemental) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalCluster ¶
type ElementalCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalClusterSpec `json:"spec,omitempty"` Status ElementalClusterStatus `json:"status,omitempty"` }
ElementalCluster is the Schema for the elementalclusters API.
func (*ElementalCluster) DeepCopy ¶
func (in *ElementalCluster) DeepCopy() *ElementalCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalCluster.
func (*ElementalCluster) DeepCopyInto ¶
func (in *ElementalCluster) DeepCopyInto(out *ElementalCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalCluster) DeepCopyObject ¶
func (in *ElementalCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalClusterList ¶
type ElementalClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElementalCluster `json:"items"` }
ElementalClusterList contains a list of ElementalCluster.
func (*ElementalClusterList) DeepCopy ¶
func (in *ElementalClusterList) DeepCopy() *ElementalClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterList.
func (*ElementalClusterList) DeepCopyInto ¶
func (in *ElementalClusterList) DeepCopyInto(out *ElementalClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalClusterList) DeepCopyObject ¶
func (in *ElementalClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalClusterSpec ¶
type ElementalClusterSpec struct { // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. // +optional ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"` }
ElementalClusterSpec defines the desired state of ElementalCluster.
func (*ElementalClusterSpec) DeepCopy ¶
func (in *ElementalClusterSpec) DeepCopy() *ElementalClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterSpec.
func (*ElementalClusterSpec) DeepCopyInto ¶
func (in *ElementalClusterSpec) DeepCopyInto(out *ElementalClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalClusterStatus ¶
type ElementalClusterStatus struct { // +kubebuilder:default=false // Ready indicates the provider-specific infrastructure has been provisioned and is ready. Ready bool `json:"ready,omitempty"` // Conditions defines current service state of the ElementalCluster. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // FailureDomains defines the failure domains that machines should be placed in. // +optional FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"` }
ElementalClusterStatus defines the observed state of ElementalCluster.
func (*ElementalClusterStatus) DeepCopy ¶
func (in *ElementalClusterStatus) DeepCopy() *ElementalClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterStatus.
func (*ElementalClusterStatus) DeepCopyInto ¶
func (in *ElementalClusterStatus) DeepCopyInto(out *ElementalClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalClusterTemplate ¶
type ElementalClusterTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalClusterTemplateSpec `json:"spec,omitempty"` }
ElementalClusterTemplate is the Schema for the elementalclustertemplates API.
func (*ElementalClusterTemplate) DeepCopy ¶
func (in *ElementalClusterTemplate) DeepCopy() *ElementalClusterTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterTemplate.
func (*ElementalClusterTemplate) DeepCopyInto ¶
func (in *ElementalClusterTemplate) DeepCopyInto(out *ElementalClusterTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalClusterTemplate) DeepCopyObject ¶
func (in *ElementalClusterTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalClusterTemplateList ¶
type ElementalClusterTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElementalClusterTemplate `json:"items"` }
ElementalClusterTemplateList contains a list of ElementalClusterTemplate.
func (*ElementalClusterTemplateList) DeepCopy ¶
func (in *ElementalClusterTemplateList) DeepCopy() *ElementalClusterTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterTemplateList.
func (*ElementalClusterTemplateList) DeepCopyInto ¶
func (in *ElementalClusterTemplateList) DeepCopyInto(out *ElementalClusterTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalClusterTemplateList) DeepCopyObject ¶
func (in *ElementalClusterTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalClusterTemplateResource ¶
type ElementalClusterTemplateResource struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalClusterSpec `json:"spec"` }
func (*ElementalClusterTemplateResource) DeepCopy ¶
func (in *ElementalClusterTemplateResource) DeepCopy() *ElementalClusterTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterTemplateResource.
func (*ElementalClusterTemplateResource) DeepCopyInto ¶
func (in *ElementalClusterTemplateResource) DeepCopyInto(out *ElementalClusterTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalClusterTemplateSpec ¶
type ElementalClusterTemplateSpec struct {
Template ElementalClusterTemplateResource `json:"template"`
}
ElementalClusterTemplateSpec defines the desired state of ElementalClusterTemplate.
func (*ElementalClusterTemplateSpec) DeepCopy ¶
func (in *ElementalClusterTemplateSpec) DeepCopy() *ElementalClusterTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalClusterTemplateSpec.
func (*ElementalClusterTemplateSpec) DeepCopyInto ¶
func (in *ElementalClusterTemplateSpec) DeepCopyInto(out *ElementalClusterTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalHost ¶
type ElementalHost struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalHostSpec `json:"spec,omitempty"` Status ElementalHostStatus `json:"status,omitempty"` }
ElementalHost is the Schema for the elementalhosts API.
func (*ElementalHost) DeepCopy ¶
func (in *ElementalHost) DeepCopy() *ElementalHost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalHost.
func (*ElementalHost) DeepCopyInto ¶
func (in *ElementalHost) DeepCopyInto(out *ElementalHost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalHost) DeepCopyObject ¶
func (in *ElementalHost) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalHostList ¶
type ElementalHostList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElementalHost `json:"items"` }
ElementalHostList contains a list of ElementalHost.
func (*ElementalHostList) DeepCopy ¶
func (in *ElementalHostList) DeepCopy() *ElementalHostList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalHostList.
func (*ElementalHostList) DeepCopyInto ¶
func (in *ElementalHostList) DeepCopyInto(out *ElementalHostList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalHostList) DeepCopyObject ¶
func (in *ElementalHostList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalHostSpec ¶
type ElementalHostSpec struct { // BootstrapSecret is an optional reference to a Cluster API Secret // for bootstrap purpose. // +optional BootstrapSecret *corev1.ObjectReference `json:"bootstrapSecret,omitempty"` // MachineRef is an optional reference to a Cluster API ElementalMachine // using this host. // +optional MachineRef *corev1.ObjectReference `json:"machineRef,omitempty"` // PubKey is the host public key to verify when authenticating // Elemental API requests for this host. PubKey string `json:"pubKey,omitempty"` }
ElementalHostSpec defines the desired state of ElementalHost.
func (*ElementalHostSpec) DeepCopy ¶
func (in *ElementalHostSpec) DeepCopy() *ElementalHostSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalHostSpec.
func (*ElementalHostSpec) DeepCopyInto ¶
func (in *ElementalHostSpec) DeepCopyInto(out *ElementalHostSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalHostStatus ¶
type ElementalHostStatus struct{}
ElementalHostStatus defines the observed state of ElementalHost.
func (*ElementalHostStatus) DeepCopy ¶
func (in *ElementalHostStatus) DeepCopy() *ElementalHostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalHostStatus.
func (*ElementalHostStatus) DeepCopyInto ¶
func (in *ElementalHostStatus) DeepCopyInto(out *ElementalHostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalMachine ¶
type ElementalMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalMachineSpec `json:"spec,omitempty"` Status ElementalMachineStatus `json:"status,omitempty"` }
ElementalMachine is the Schema for the elementalmachines API.
func (*ElementalMachine) DeepCopy ¶
func (in *ElementalMachine) DeepCopy() *ElementalMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachine.
func (*ElementalMachine) DeepCopyInto ¶
func (in *ElementalMachine) DeepCopyInto(out *ElementalMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalMachine) DeepCopyObject ¶
func (in *ElementalMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalMachineList ¶
type ElementalMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElementalMachine `json:"items"` }
ElementalMachineList contains a list of ElementalMachine.
func (*ElementalMachineList) DeepCopy ¶
func (in *ElementalMachineList) DeepCopy() *ElementalMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachineList.
func (*ElementalMachineList) DeepCopyInto ¶
func (in *ElementalMachineList) DeepCopyInto(out *ElementalMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalMachineList) DeepCopyObject ¶
func (in *ElementalMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalMachineSpec ¶
type ElementalMachineSpec struct { // ProviderID references the associated ElementalHost. // (elemental://{ElementalHost.Namespace}/{ElementalHost.Name}) // +optional ProviderID *string `json:"providerID,omitempty"` //nolint:tagliatelle // Selector can be used to associate ElementalHost that match certain labels. // +optional Selector *metav1.LabelSelector `json:"selector,omitempty"` // HostRef is an optional reference to a ElementalHost // using this host. // +optional HostRef *corev1.ObjectReference `json:"hostRef,omitempty"` }
ElementalMachineSpec defines the desired state of ElementalMachine.
func (*ElementalMachineSpec) DeepCopy ¶
func (in *ElementalMachineSpec) DeepCopy() *ElementalMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachineSpec.
func (*ElementalMachineSpec) DeepCopyInto ¶
func (in *ElementalMachineSpec) DeepCopyInto(out *ElementalMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalMachineStatus ¶
type ElementalMachineStatus struct { // +kubebuilder:default=false // Ready indicates the provider-specific infrastructure has been provisioned and is ready. Ready bool `json:"ready,omitempty"` // Conditions defines current service state of the ElementalCluster. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // FailureDomains defines the failure domains that machines should be placed in. // +optional FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"` }
ElementalMachineStatus defines the observed state of ElementalMachine.
func (*ElementalMachineStatus) DeepCopy ¶
func (in *ElementalMachineStatus) DeepCopy() *ElementalMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachineStatus.
func (*ElementalMachineStatus) DeepCopyInto ¶
func (in *ElementalMachineStatus) DeepCopyInto(out *ElementalMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalMachineTemplate ¶
type ElementalMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalMachineTemplateSpec `json:"spec,omitempty"` }
ElementalMachineTemplate is the Schema for the elementalmachinetemplates API.
func (*ElementalMachineTemplate) DeepCopy ¶
func (in *ElementalMachineTemplate) DeepCopy() *ElementalMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachineTemplate.
func (*ElementalMachineTemplate) DeepCopyInto ¶
func (in *ElementalMachineTemplate) DeepCopyInto(out *ElementalMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalMachineTemplate) DeepCopyObject ¶
func (in *ElementalMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalMachineTemplateList ¶
type ElementalMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElementalMachineTemplate `json:"items"` }
ElementalMachineTemplateList contains a list of ElementalMachineTemplate.
func (*ElementalMachineTemplateList) DeepCopy ¶
func (in *ElementalMachineTemplateList) DeepCopy() *ElementalMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachineTemplateList.
func (*ElementalMachineTemplateList) DeepCopyInto ¶
func (in *ElementalMachineTemplateList) DeepCopyInto(out *ElementalMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalMachineTemplateList) DeepCopyObject ¶
func (in *ElementalMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalMachineTemplateSpec ¶
type ElementalMachineTemplateSpec struct {
Template InfraMachineTemplateResource `json:"template"`
}
ElementalMachineTemplateSpec defines the desired state of ElementalMachineTemplate.
func (*ElementalMachineTemplateSpec) DeepCopy ¶
func (in *ElementalMachineTemplateSpec) DeepCopy() *ElementalMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalMachineTemplateSpec.
func (*ElementalMachineTemplateSpec) DeepCopyInto ¶
func (in *ElementalMachineTemplateSpec) DeepCopyInto(out *ElementalMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalRegistration ¶
type ElementalRegistration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElementalRegistrationSpec `json:"spec,omitempty"` Status ElementalRegistrationStatus `json:"status,omitempty"` }
ElementalRegistration is the Schema for the ElementalRegistrations API.
func (*ElementalRegistration) DeepCopy ¶
func (in *ElementalRegistration) DeepCopy() *ElementalRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalRegistration.
func (*ElementalRegistration) DeepCopyInto ¶
func (in *ElementalRegistration) DeepCopyInto(out *ElementalRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalRegistration) DeepCopyObject ¶
func (in *ElementalRegistration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalRegistrationList ¶
type ElementalRegistrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElementalRegistration `json:"items"` }
ElementalRegistrationList contains a list of ElementalRegistration.
func (*ElementalRegistrationList) DeepCopy ¶
func (in *ElementalRegistrationList) DeepCopy() *ElementalRegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalRegistrationList.
func (*ElementalRegistrationList) DeepCopyInto ¶
func (in *ElementalRegistrationList) DeepCopyInto(out *ElementalRegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElementalRegistrationList) DeepCopyObject ¶
func (in *ElementalRegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElementalRegistrationSpec ¶
type ElementalRegistrationSpec struct { // HostLabels are labels propagated to each ElementalHost object linked to this registration. // +optional HostLabels map[string]string `json:"hostLabels,omitempty"` // HostAnnotations are labels propagated to each ElementalHost object linked to this registration. // +optional HostAnnotations map[string]string `json:"hostAnnotations,omitempty"` // Config points to Elemental machine configuration. // +optional Config Config `json:"config,omitempty"` // PrivateKeyRef is a reference to a secret containing the private key used to generate registration tokens PrivateKeyRef *corev1.ObjectReference `json:"privateKeyRef,omitempty"` }
ElementalRegistrationSpec defines the desired state of ElementalRegistration.
func (*ElementalRegistrationSpec) DeepCopy ¶
func (in *ElementalRegistrationSpec) DeepCopy() *ElementalRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalRegistrationSpec.
func (*ElementalRegistrationSpec) DeepCopyInto ¶
func (in *ElementalRegistrationSpec) DeepCopyInto(out *ElementalRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementalRegistrationStatus ¶
type ElementalRegistrationStatus struct{}
ElementalRegistrationStatus defines the observed state of ElementalRegistration.
func (*ElementalRegistrationStatus) DeepCopy ¶
func (in *ElementalRegistrationStatus) DeepCopy() *ElementalRegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElementalRegistrationStatus.
func (*ElementalRegistrationStatus) DeepCopyInto ¶
func (in *ElementalRegistrationStatus) DeepCopyInto(out *ElementalRegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hostname ¶
type Hostname struct { // +optional // +kubebuilder:default:=false UseExisting bool `json:"useExisting,omitempty" yaml:"useExisting,omitempty" mapstructure:"useExisting"` // +optional Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty" mapstructure:"prefix"` }
func (*Hostname) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hostname.
func (*Hostname) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfraMachineTemplateResource ¶
type InfraMachineTemplateResource struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec ElementalMachineSpec `json:"spec"` }
func (*InfraMachineTemplateResource) DeepCopy ¶
func (in *InfraMachineTemplateResource) DeepCopy() *InfraMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraMachineTemplateResource.
func (*InfraMachineTemplateResource) DeepCopyInto ¶
func (in *InfraMachineTemplateResource) DeepCopyInto(out *InfraMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostInstall ¶ added in v0.1.0
type PostInstall struct { // +optional Reboot bool `json:"reboot,omitempty" yaml:"reboot,omitempty" mapstructure:"reboot"` // +optional PowerOff bool `json:"powerOff,omitempty" yaml:"powerOff,omitempty" mapstructure:"powerOff"` }
func (*PostInstall) DeepCopy ¶ added in v0.1.0
func (in *PostInstall) DeepCopy() *PostInstall
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostInstall.
func (*PostInstall) DeepCopyInto ¶ added in v0.1.0
func (in *PostInstall) DeepCopyInto(out *PostInstall)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostReset ¶ added in v0.1.0
type PostReset struct { // +optional Reboot bool `json:"reboot,omitempty" yaml:"reboot,omitempty" mapstructure:"reboot"` // +optional PowerOff bool `json:"powerOff,omitempty" yaml:"powerOff,omitempty" mapstructure:"powerOff"` }
func (*PostReset) DeepCopy ¶ added in v0.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostReset.
func (*PostReset) DeepCopyInto ¶ added in v0.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Registration ¶
type Registration struct { // +optional URI string `json:"uri,omitempty" yaml:"uri,omitempty" mapstructure:"uri"` // +optional CACert string `json:"caCert,omitempty" yaml:"caCert,omitempty" mapstructure:"caCert"` // +optional TokenDuration time.Duration `json:"tokenDuration,omitempty" yaml:"tokenDuration,omitempty" mapstructure:"tokenDuration"` // +optional Token string `json:"token,omitempty" yaml:"token,omitempty" mapstructure:"token"` }
func (*Registration) DeepCopy ¶
func (in *Registration) DeepCopy() *Registration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registration.
func (*Registration) DeepCopyInto ¶
func (in *Registration) DeepCopyInto(out *Registration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.