Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the operator v1beta1 API group +kubebuilder:object:generate=true +groupName=elemental.cattle.io
Index ¶
- Constants
- Variables
- type BundleTarget
- type Config
- type ContainerImage
- type Elemental
- type ISO
- type Install
- type MachineInventory
- type MachineInventoryList
- type MachineInventorySelector
- type MachineInventorySelectorList
- type MachineInventorySelectorSpec
- type MachineInventorySelectorStatus
- type MachineInventorySelectorTemplate
- type MachineInventorySelectorTemplateList
- type MachineInventorySelectorTemplateSpec
- type MachineInventorySpec
- type MachineInventoryStatus
- type MachineRegistration
- type MachineRegistrationList
- type MachineRegistrationSpec
- type MachineRegistrationStatus
- type ManagedOSImage
- type ManagedOSImageList
- type ManagedOSImageSpec
- type ManagedOSImageStatus
- type ManagedOSVersion
- func (m *ManagedOSVersion) ContainerImageMetadata() (*ContainerImage, error)
- func (in *ManagedOSVersion) DeepCopy() *ManagedOSVersion
- func (in *ManagedOSVersion) DeepCopyInto(out *ManagedOSVersion)
- func (in *ManagedOSVersion) DeepCopyObject() runtime.Object
- func (m *ManagedOSVersion) IsContainerImage() bool
- func (m *ManagedOSVersion) Metadata() (*Metadata, error)
- func (m *ManagedOSVersion) MetadataObject(v interface{}) error
- type ManagedOSVersionChannel
- type ManagedOSVersionChannelList
- type ManagedOSVersionChannelSpec
- type ManagedOSVersionChannelStatus
- type ManagedOSVersionList
- type ManagedOSVersionSpec
- type ManagedOSVersionStatus
- type Metadata
- type PlanState
- type PlanStatus
- type Registration
- type SystemAgent
Constants ¶
const ( // SuccefullyCreatedReason documents a machine registration object that was succefully created. SuccefullyCreatedReason = "SuccefullyCreated" // MissingTokenOrServerURLReason documents a machine registration object missing rancher server url or failed token generation. MissingTokenOrServerURLReason = "MissingTokenOrServerURL" // RbacCreationFailureReason documents a machine registration object that has RBAC creation failures. RbacCreationFailureReason = "RbacCreationFailure" )
Machine Registration conditions
const ( // SuccefullyCreatedPlanReason documents that the secret owned by the machine inventory was succesfully created. SuccefullyCreatedPlanReason = "SuccefullyCreatedPlan" // WaitingForPlanReason documents a machine inventory waiting for plan to applied. WaitingForPlanReason = "WaitingForPlan" // PlanFailure documents failure of plan owned by the machine inventory object. PlanFailureReason = "PlanFailure" // PlanSuccefullyAppliedReason documents that plan owned by the machine inventory object was succefully applied. PlanSuccefullyAppliedReason = "PlanSuccefullyApplied" )
Machine Inventory conditions
const ( // WaitingForInventoryReason documents that the machine selector is waiting for a matching machine inventory. WaitingForInventoryReason = "WaitingForInventory" // SuccefullyAdoptedInventoryReason documents that the machine selector succesfully adopted machine inventory. SuccefullyAdoptedInventoryReason = "SuccefullyAdoptedInventory" // FailedToAdoptInventoryReason documents that the machine selector failed to adopt machine inventory. FailedToAdoptInventoryReason = "FailedToAdoptInventory" // SuccefullyUpdatedPlanReason documents that the machine selector succesfully updated secret plan with bootstrap. SuccefullyUpdatedPlanReason = "SuccefullyUpdatedPlan" // FailedToUpdatePlanReason documents that the machine selector failed to update secret plan with bootstrap. FailedToUpdatePlanReason = "FailedToUpdatePlan" // SelectorReadyReason documents that the machine selector is ready. SelectorReadyReason = "SelectorReady" // FailedToSetAdressesReason documents that the machine selector controller failed to set adresses. FailedToSetAdressesReason = "FailedToSetAdresses" )
Machine Selector conditions
const ( // InvalidConfigurationReason documents that managed OS version channel has invalid configuration. InvalidConfigurationReason = "InvalidConfiguration" // SyncingReason documents that managed OS version channel is synchronizing managed OS versions SyncingReason = "Synchronizing" // GotChannelDataReason documents that managed OS version channel successfully fetched managed OS versions data GotChannelDataReason = "GotChannelData" // SyncedReason documents that managed OS version channel finalized synchroniziation and managed OS versions, if any, were created SyncedReason = "Synchronized" // FailedToSyncReason documents that managed OS version channel failed synchronization FailedToSyncReason = "FailedToSync" // FailedToCreateVersionsReason documents that managed OS version channel failed to create managed OS versions FailedToCreateVersionsReason = "FailedToCreateVersions" )
Managed OS Version Channel conditions
const ( // FleetBundleCreation documents the state of the fleet bundle creation. FleetBundleCreation = "FleetBundleCreation" // FleetBundleCreatedSuccessReason documents that managed OS image controller fleet bundle was created successfully. FleetBundleCreateSuccessReason = "FleetBundleCreateSuccess" // FleetBundleCreateFailureReason documents that managed OS image controller failed to create fleet bundle. FleetBundleCreateFailureReason = "FleetBundleCreateFailure" )
Managed OS Image conditions
const (
// ElementalManagedLabel label used to put on resources managed by the elemental operator.
ElementalManagedLabel = "elemental.cattle.io/managed"
)
const (
MachineRegistrationFinalizer = "machineregistration.elemental.cattle.io"
)
const (
// ReadyCondition indicates the state of object.
ReadyCondition = "Ready"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "elemental.cattle.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 ( MachineInventoryFinalizer = "machineinventory.elemental.cattle.io" PlanSecretType corev1.SecretType = "elemental.cattle.io/plan" )
Functions ¶
This section is empty.
Types ¶
type BundleTarget ¶
type BundleTarget struct {
fleet.BundleDeploymentOptions `json:""` //nolint
// +optional
Name string `json:"name,omitempty"`
// +optional
ClusterName string `json:"clusterName,omitempty"`
// +optional
ClusterSelector *metav1.LabelSelector `json:"clusterSelector,omitempty"`
// +optional
ClusterGroup string `json:"clusterGroup,omitempty"`
// +optional
ClusterGroupSelector *metav1.LabelSelector `json:"clusterGroupSelector,omitempty"`
}
func (*BundleTarget) DeepCopy ¶
func (in *BundleTarget) DeepCopy() *BundleTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleTarget.
func (*BundleTarget) DeepCopyInto ¶
func (in *BundleTarget) DeepCopyInto(out *BundleTarget)
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:"cloud-config,omitempty" yaml:"cloud-config,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 ContainerImage ¶
type ContainerImage struct {
Metadata
TargetUpgradeImage string `json:"targetUpgradeImage,omitempty"`
}
ContainerImage is the metadata for ManagedOSVersions which carries over information about the upgrade
func (*ContainerImage) DeepCopy ¶
func (in *ContainerImage) DeepCopy() *ContainerImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage.
func (*ContainerImage) DeepCopyInto ¶
func (in *ContainerImage) DeepCopyInto(out *ContainerImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Elemental ¶
type Elemental struct {
// +optional
Install Install `json:"install,omitempty" yaml:"install,omitempty"`
// +optional
Registration Registration `json:"registration,omitempty" yaml:"registration,omitempty"`
// +optional
SystemAgent SystemAgent `json:"system-agent,omitempty" yaml:"system-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 ISO ¶
type ISO struct {
Metadata
URL string `json:"isoURL,omitempty"`
Checksum string `json:"isoChecksum,omitempty"`
}
ISO is a ISO upgrade strategy
func (*ISO) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISO.
func (*ISO) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Install ¶
type Install struct {
// +optional
Firmware string `json:"firmware,omitempty" yaml:"firmware,omitempty"`
// +optional
Device string `json:"device,omitempty" yaml:"device,omitempty"`
// +optional
NoFormat bool `json:"no-format,omitempty" yaml:"no-format,omitempty"`
// +optional
ConfigURLs []string `json:"config-urls,omitempty" yaml:"config-urls,omitempty"`
// +optional
ISO string `json:"iso,omitempty" yaml:"iso,omitempty"`
// +optional
SystemURI string `json:"system-uri,omitempty" yaml:"system-uri,omitempty"`
// +optional
Debug bool `json:"debug,omitempty" yaml:"debug,omitempty"`
// +optional
TTY string `json:"tty,omitempty" yaml:"tty,omitempty"`
// +optional
PowerOff bool `json:"poweroff,omitempty" yaml:"poweroff,omitempty"`
// +optional
Reboot bool `json:"reboot,omitempty" yaml:"reboot,omitempty"`
// +optional
EjectCD bool `json:"eject-cd,omitempty" yaml:"eject-cd,omitempty"`
// +optional
DisableBootEntry bool `json:"disable-boot-entry,omitempty" yaml:"disable-boot-entry,omitempty"`
// +optional
ConfigDir string `json:"config-dir,omitempty" yaml:"config-dir,omitempty"`
}
func (*Install) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Install.
func (*Install) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInventory ¶
type MachineInventory struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MachineInventorySpec `json:"spec,omitempty"`
Status MachineInventoryStatus `json:"status,omitempty"`
}
func (*MachineInventory) DeepCopy ¶
func (in *MachineInventory) DeepCopy() *MachineInventory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventory.
func (*MachineInventory) DeepCopyInto ¶
func (in *MachineInventory) DeepCopyInto(out *MachineInventory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInventory) DeepCopyObject ¶
func (in *MachineInventory) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInventoryList ¶
type MachineInventoryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MachineInventory `json:"items"`
}
MachineInventoryList contains a list of MachineInventories.
func (*MachineInventoryList) DeepCopy ¶
func (in *MachineInventoryList) DeepCopy() *MachineInventoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventoryList.
func (*MachineInventoryList) DeepCopyInto ¶
func (in *MachineInventoryList) DeepCopyInto(out *MachineInventoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInventoryList) DeepCopyObject ¶
func (in *MachineInventoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInventorySelector ¶
type MachineInventorySelector struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MachineInventorySelectorSpec `json:"spec,omitempty"`
Status MachineInventorySelectorStatus `json:"status,omitempty"`
}
func (*MachineInventorySelector) DeepCopy ¶
func (in *MachineInventorySelector) DeepCopy() *MachineInventorySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelector.
func (*MachineInventorySelector) DeepCopyInto ¶
func (in *MachineInventorySelector) DeepCopyInto(out *MachineInventorySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInventorySelector) DeepCopyObject ¶
func (in *MachineInventorySelector) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInventorySelectorList ¶
type MachineInventorySelectorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MachineInventorySelector `json:"items"`
}
MachineInventorySelectorList contains a list of MachineInventorySelectors.
func (*MachineInventorySelectorList) DeepCopy ¶
func (in *MachineInventorySelectorList) DeepCopy() *MachineInventorySelectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelectorList.
func (*MachineInventorySelectorList) DeepCopyInto ¶
func (in *MachineInventorySelectorList) DeepCopyInto(out *MachineInventorySelectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInventorySelectorList) DeepCopyObject ¶
func (in *MachineInventorySelectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInventorySelectorSpec ¶
type MachineInventorySelectorSpec struct {
// ProviderID the identifier for the elemental instance.
// NOTE: Functionality not implemented yet.
ProviderID string `json:"providerID,omitempty"`
// Selector selector to choose elemental machines.
Selector metav1.LabelSelector `json:"selector,omitempty"`
}
func (*MachineInventorySelectorSpec) DeepCopy ¶
func (in *MachineInventorySelectorSpec) DeepCopy() *MachineInventorySelectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelectorSpec.
func (*MachineInventorySelectorSpec) DeepCopyInto ¶
func (in *MachineInventorySelectorSpec) DeepCopyInto(out *MachineInventorySelectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInventorySelectorStatus ¶
type MachineInventorySelectorStatus struct {
// Conditions describe the state of the machine selector object.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// +optional
Ready bool `json:"ready,omitempty"`
// Addresses represent machine addresses.
// +optional
Addresses clusterv1.MachineAddresses `json:"addresses,omitempty"`
// BootstrapPlanChecksum represent bootstrap plan checksum.
// +optional
BootstrapPlanChecksum string `json:"bootstrapPlanChecksum,omitempty"`
// MachineInventoryRef reference to the machine inventory that belongs to the selector.
// +optional
MachineInventoryRef *corev1.ObjectReference `json:"machineInventoryRef,omitempty"` // TODO: use LocalObjectReference
}
func (*MachineInventorySelectorStatus) DeepCopy ¶
func (in *MachineInventorySelectorStatus) DeepCopy() *MachineInventorySelectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelectorStatus.
func (*MachineInventorySelectorStatus) DeepCopyInto ¶
func (in *MachineInventorySelectorStatus) DeepCopyInto(out *MachineInventorySelectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInventorySelectorTemplate ¶
type MachineInventorySelectorTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MachineInventorySelectorTemplateSpec `json:"spec,omitempty"`
}
func (*MachineInventorySelectorTemplate) DeepCopy ¶
func (in *MachineInventorySelectorTemplate) DeepCopy() *MachineInventorySelectorTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelectorTemplate.
func (*MachineInventorySelectorTemplate) DeepCopyInto ¶
func (in *MachineInventorySelectorTemplate) DeepCopyInto(out *MachineInventorySelectorTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInventorySelectorTemplate) DeepCopyObject ¶
func (in *MachineInventorySelectorTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInventorySelectorTemplateList ¶
type MachineInventorySelectorTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MachineInventorySelectorTemplate `json:"items"`
}
MachineInventorySelectorTemplateList contains a list of MachineInventorySelectorTemplates.
func (*MachineInventorySelectorTemplateList) DeepCopy ¶
func (in *MachineInventorySelectorTemplateList) DeepCopy() *MachineInventorySelectorTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelectorTemplateList.
func (*MachineInventorySelectorTemplateList) DeepCopyInto ¶
func (in *MachineInventorySelectorTemplateList) DeepCopyInto(out *MachineInventorySelectorTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineInventorySelectorTemplateList) DeepCopyObject ¶
func (in *MachineInventorySelectorTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineInventorySelectorTemplateSpec ¶
type MachineInventorySelectorTemplateSpec struct {
// Template machine inventory selector template.
Template MachineInventorySelector `json:"template"`
}
func (*MachineInventorySelectorTemplateSpec) DeepCopy ¶
func (in *MachineInventorySelectorTemplateSpec) DeepCopy() *MachineInventorySelectorTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySelectorTemplateSpec.
func (*MachineInventorySelectorTemplateSpec) DeepCopyInto ¶
func (in *MachineInventorySelectorTemplateSpec) DeepCopyInto(out *MachineInventorySelectorTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInventorySpec ¶
type MachineInventorySpec struct {
// TPMHash the hash of the TPM EK public key. This is used if you are
// using TPM2 to identifiy nodes. You can obtain the TPM by
// running `rancherd get-tpm-hash` on the node. Or nodes can
// report their TPM hash by using the MachineRegister.
// +optional
TPMHash string `json:"tpmHash,omitempty"`
}
func (*MachineInventorySpec) DeepCopy ¶
func (in *MachineInventorySpec) DeepCopy() *MachineInventorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventorySpec.
func (*MachineInventorySpec) DeepCopyInto ¶
func (in *MachineInventorySpec) DeepCopyInto(out *MachineInventorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineInventoryStatus ¶
type MachineInventoryStatus struct {
// Conditions describe the state of the machine inventory object.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
// PlanStatus reflect the status of the plan owned by the machine inventory object.
// +optional
Plan *PlanStatus `json:"plan,omitempty"`
}
func (*MachineInventoryStatus) DeepCopy ¶
func (in *MachineInventoryStatus) DeepCopy() *MachineInventoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInventoryStatus.
func (*MachineInventoryStatus) DeepCopyInto ¶
func (in *MachineInventoryStatus) DeepCopyInto(out *MachineInventoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineRegistration ¶
type MachineRegistration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MachineRegistrationSpec `json:"spec,omitempty"`
Status MachineRegistrationStatus `json:"status,omitempty"`
}
func (*MachineRegistration) DeepCopy ¶
func (in *MachineRegistration) DeepCopy() *MachineRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRegistration.
func (*MachineRegistration) DeepCopyInto ¶
func (in *MachineRegistration) DeepCopyInto(out *MachineRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineRegistration) DeepCopyObject ¶
func (in *MachineRegistration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineRegistrationList ¶
type MachineRegistrationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MachineRegistration `json:"items"`
}
MachineRegistrationList contains a list of MachineRegistrations.
func (*MachineRegistrationList) DeepCopy ¶
func (in *MachineRegistrationList) DeepCopy() *MachineRegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRegistrationList.
func (*MachineRegistrationList) DeepCopyInto ¶
func (in *MachineRegistrationList) DeepCopyInto(out *MachineRegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineRegistrationList) DeepCopyObject ¶
func (in *MachineRegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineRegistrationSpec ¶
type MachineRegistrationSpec struct {
// +optional
MachineName string `json:"machineName,omitempty"`
// MachineInventoryLabels label to be added to the created MachineInventory object.
// +optional
MachineInventoryLabels map[string]string `json:"machineInventoryLabels,omitempty"`
// MachineInventoryAnnotations annotations to be added to the created MachineInventory object.
// +optional
MachineInventoryAnnotations map[string]string `json:"machineInventoryAnnotations,omitempty"`
// Config the cloud config that will be used to provision the node.
// +optional
Config *Config `json:"config,omitempty"`
}
func (*MachineRegistrationSpec) DeepCopy ¶
func (in *MachineRegistrationSpec) DeepCopy() *MachineRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRegistrationSpec.
func (*MachineRegistrationSpec) DeepCopyInto ¶
func (in *MachineRegistrationSpec) DeepCopyInto(out *MachineRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineRegistrationStatus ¶
type MachineRegistrationStatus struct {
// Conditions describe the state of the machine registration object.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
// RegistrationURL is the URL for registering a new machine.
// +optional
RegistrationURL string `json:"registrationURL,omitempty"`
// RegistrationToken a token for registering a machine.
// +optional
RegistrationToken string `json:"registrationToken,omitempty"`
// ServiceAccountRef a reference to the service account created by the machine registration.
// +optional
ServiceAccountRef *corev1.ObjectReference `json:"serviceAccountRef,omitempty"` // TODO: use LocalObjectReference
}
func (*MachineRegistrationStatus) DeepCopy ¶
func (in *MachineRegistrationStatus) DeepCopy() *MachineRegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRegistrationStatus.
func (*MachineRegistrationStatus) DeepCopyInto ¶
func (in *MachineRegistrationStatus) DeepCopyInto(out *MachineRegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOSImage ¶
type ManagedOSImage struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ManagedOSImageSpec `json:"spec,omitempty"`
Status ManagedOSImageStatus `json:"status,omitempty"`
}
func (*ManagedOSImage) DeepCopy ¶
func (in *ManagedOSImage) DeepCopy() *ManagedOSImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSImage.
func (*ManagedOSImage) DeepCopyInto ¶
func (in *ManagedOSImage) DeepCopyInto(out *ManagedOSImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOSImage) DeepCopyObject ¶
func (in *ManagedOSImage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOSImageList ¶
type ManagedOSImageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ManagedOSImage `json:"items"`
}
ManagedOSImageList contains a list of ManagedOSImages.
func (*ManagedOSImageList) DeepCopy ¶
func (in *ManagedOSImageList) DeepCopy() *ManagedOSImageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSImageList.
func (*ManagedOSImageList) DeepCopyInto ¶
func (in *ManagedOSImageList) DeepCopyInto(out *ManagedOSImageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOSImageList) DeepCopyObject ¶
func (in *ManagedOSImageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOSImageSpec ¶
type ManagedOSImageSpec struct {
// +optional
OSImage string `json:"osImage,omitempty"`
// +optional
CloudConfig *fleet.GenericMap `json:"cloudConfig,omitempty"`
// +optional
NodeSelector *metav1.LabelSelector `json:"nodeSelector,omitempty"`
// +optional
Concurrency *int64 `json:"concurrency,omitempty"`
// +optional
Prepare *upgradev1.ContainerSpec `json:"prepare,omitempty"`
// +optional
Cordon *bool `json:"cordon,omitempty"`
// +optional
Drain *upgradev1.DrainSpec `json:"drain,omitempty"`
// +optional
UpgradeContainer *upgradev1.ContainerSpec `json:"upgradeContainer,omitempty"`
// +optional
ManagedOSVersionName string `json:"managedOSVersionName,omitempty"`
// +optional
ClusterRolloutStrategy *fleet.RolloutStrategy `json:"clusterRolloutStrategy,omitempty"`
// +optional
Targets []BundleTarget `json:"clusterTargets,omitempty"`
}
func (*ManagedOSImageSpec) DeepCopy ¶
func (in *ManagedOSImageSpec) DeepCopy() *ManagedOSImageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSImageSpec.
func (*ManagedOSImageSpec) DeepCopyInto ¶
func (in *ManagedOSImageSpec) DeepCopyInto(out *ManagedOSImageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOSImageStatus ¶
type ManagedOSImageStatus struct {
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
func (*ManagedOSImageStatus) DeepCopy ¶
func (in *ManagedOSImageStatus) DeepCopy() *ManagedOSImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSImageStatus.
func (*ManagedOSImageStatus) DeepCopyInto ¶
func (in *ManagedOSImageStatus) DeepCopyInto(out *ManagedOSImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOSVersion ¶
type ManagedOSVersion struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ManagedOSVersionSpec `json:"spec,omitempty"`
Status ManagedOSVersionStatus `json:"status,omitempty"`
}
func (*ManagedOSVersion) ContainerImageMetadata ¶
func (m *ManagedOSVersion) ContainerImageMetadata() (*ContainerImage, error)
ContainerImageMetadata returns a ContainerImageMetadata struct from the underlaying metadata
func (*ManagedOSVersion) DeepCopy ¶
func (in *ManagedOSVersion) DeepCopy() *ManagedOSVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersion.
func (*ManagedOSVersion) DeepCopyInto ¶
func (in *ManagedOSVersion) DeepCopyInto(out *ManagedOSVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOSVersion) DeepCopyObject ¶
func (in *ManagedOSVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagedOSVersion) IsContainerImage ¶
func (m *ManagedOSVersion) IsContainerImage() bool
IsContainerImage returns true if the metadata attached to the version is refered to a upgrade via container strategy
func (*ManagedOSVersion) Metadata ¶
func (m *ManagedOSVersion) Metadata() (*Metadata, error)
Metadata returns the underlaying basic metadata required to handle upgrades
func (*ManagedOSVersion) MetadataObject ¶
func (m *ManagedOSVersion) MetadataObject(v interface{}) error
MetadataObject converts the Metadata in the ManagedOSVersionSpec to a concrete object
type ManagedOSVersionChannel ¶
type ManagedOSVersionChannel struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ManagedOSVersionChannelSpec `json:"spec,omitempty"`
Status ManagedOSVersionChannelStatus `json:"status,omitempty"`
}
func (*ManagedOSVersionChannel) DeepCopy ¶
func (in *ManagedOSVersionChannel) DeepCopy() *ManagedOSVersionChannel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionChannel.
func (*ManagedOSVersionChannel) DeepCopyInto ¶
func (in *ManagedOSVersionChannel) DeepCopyInto(out *ManagedOSVersionChannel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOSVersionChannel) DeepCopyObject ¶
func (in *ManagedOSVersionChannel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOSVersionChannelList ¶
type ManagedOSVersionChannelList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ManagedOSVersionChannel `json:"items"`
}
ManagedOSVersionChannelList contains a list of ManagedOSVersionChannels.
func (*ManagedOSVersionChannelList) DeepCopy ¶
func (in *ManagedOSVersionChannelList) DeepCopy() *ManagedOSVersionChannelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionChannelList.
func (*ManagedOSVersionChannelList) DeepCopyInto ¶
func (in *ManagedOSVersionChannelList) DeepCopyInto(out *ManagedOSVersionChannelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOSVersionChannelList) DeepCopyObject ¶
func (in *ManagedOSVersionChannelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOSVersionChannelSpec ¶
type ManagedOSVersionChannelSpec struct {
// +optional
Type string `json:"type,omitempty"`
// +optional
SyncInterval string `json:"syncInterval,omitempty"`
// +kubebuilder:validation:Schemaless
// +kubebuilder:validation:XPreserveUnknownFields
// +optional
Options map[string]runtime.RawExtension `json:"options,omitempty"`
// +optional
UpgradeContainer *upgradev1.ContainerSpec `json:"upgradeContainer,omitempty"`
}
func (*ManagedOSVersionChannelSpec) DeepCopy ¶
func (in *ManagedOSVersionChannelSpec) DeepCopy() *ManagedOSVersionChannelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionChannelSpec.
func (*ManagedOSVersionChannelSpec) DeepCopyInto ¶
func (in *ManagedOSVersionChannelSpec) DeepCopyInto(out *ManagedOSVersionChannelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOSVersionChannelStatus ¶
type ManagedOSVersionChannelStatus struct {
// Conditions describe the state of the managed OS version object.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
// LastSyncedTime is the timestamp of the last synchronization
// +optional
LastSyncedTime *metav1.Time `json:"lastSyncedTime,omitempty"`
}
func (*ManagedOSVersionChannelStatus) DeepCopy ¶
func (in *ManagedOSVersionChannelStatus) DeepCopy() *ManagedOSVersionChannelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionChannelStatus.
func (*ManagedOSVersionChannelStatus) DeepCopyInto ¶
func (in *ManagedOSVersionChannelStatus) DeepCopyInto(out *ManagedOSVersionChannelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOSVersionList ¶
type ManagedOSVersionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ManagedOSVersion `json:"items"`
}
ManagedOSVersionList contains a list of ManagedOSVersions.
func (*ManagedOSVersionList) DeepCopy ¶
func (in *ManagedOSVersionList) DeepCopy() *ManagedOSVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionList.
func (*ManagedOSVersionList) DeepCopyInto ¶
func (in *ManagedOSVersionList) DeepCopyInto(out *ManagedOSVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOSVersionList) DeepCopyObject ¶
func (in *ManagedOSVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOSVersionSpec ¶
type ManagedOSVersionSpec struct {
// +optional
Version string `json:"version,omitempty"`
// +optional
Type string `json:"type,omitempty"`
// +optional
MinVersion string `json:"minVersion,omitempty"`
// +optional
// +kubebuilder:validation:Schemaless
// +kubebuilder:validation:XPreserveUnknownFields
// +optional
Metadata map[string]runtime.RawExtension `json:"metadata,omitempty"`
// +optional
UpgradeContainer *upgradev1.ContainerSpec `json:"upgradeContainer,omitempty"`
}
func (*ManagedOSVersionSpec) DeepCopy ¶
func (in *ManagedOSVersionSpec) DeepCopy() *ManagedOSVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionSpec.
func (*ManagedOSVersionSpec) DeepCopyInto ¶
func (in *ManagedOSVersionSpec) DeepCopyInto(out *ManagedOSVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOSVersionStatus ¶
type ManagedOSVersionStatus struct {
fleetv1.BundleStatus `json:""` //nolint
}
func (*ManagedOSVersionStatus) DeepCopy ¶
func (in *ManagedOSVersionStatus) DeepCopy() *ManagedOSVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOSVersionStatus.
func (*ManagedOSVersionStatus) DeepCopyInto ¶
func (in *ManagedOSVersionStatus) DeepCopyInto(out *ManagedOSVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Metadata ¶
type Metadata struct {
ImageURI string `json:"upgradeImage,omitempty"`
}
Metadata is the basic set of data required to construct objects needed to perform upgrades via Kubernetes
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanStatus ¶
type PlanStatus struct {
// PlanSecretRef a reference to the created plan secret.
// +optional
PlanSecretRef *corev1.ObjectReference `json:"secretRef,omitempty"`
// Checksum checksum of the created plan.
// +optional
Checksum string `json:"checksum,omitempty"`
// State reflect state of the plan that belongs to the machine inventory.
// +kubebuilder:validation:Enum=Applied;Failed
// +optional
State PlanState `json:"state,omitempty"`
}
func (*PlanStatus) DeepCopy ¶
func (in *PlanStatus) DeepCopy() *PlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanStatus.
func (*PlanStatus) DeepCopyInto ¶
func (in *PlanStatus) DeepCopyInto(out *PlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Registration ¶
type Registration struct {
// +optional
URL string `json:"url,omitempty" yaml:"url,omitempty" mapstructure:"url"`
// +optional
CACert string `json:"ca-cert,omitempty" yaml:"ca-cert,omitempty" mapstructure:"ca-cert"`
// +optional
EmulateTPM bool `json:"emulate-tpm,omitempty" yaml:"emulate-tpm,omitempty" mapstructure:"emulate-tpm"`
// +optional
EmulatedTPMSeed int64 `json:"emulated-tpm-seed,omitempty" yaml:"emulated-tpm-seed,omitempty" mapstructure:"emulated-tpm-seed"`
// +optional
NoSMBIOS bool `json:"no-smbios,omitempty" yaml:"no-smbios,omitempty" mapstructure:"no-smbios"`
}
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.
type SystemAgent ¶
type SystemAgent struct {
// +optional
URL string `json:"url,omitempty" yaml:"url,omitempty"`
// +optional
Token string `json:"token,omitempty" yaml:"token,omitempty"`
// +optional
SecretName string `json:"secret-name,omitempty" yaml:"secret-name,omitempty"`
// +optional
SecretNamespace string `json:"secret-namespace,omitempty" yaml:"secret-namespace,omitempty"`
}
func (*SystemAgent) DeepCopy ¶
func (in *SystemAgent) DeepCopy() *SystemAgent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemAgent.
func (*SystemAgent) DeepCopyInto ¶
func (in *SystemAgent) DeepCopyInto(out *SystemAgent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.