Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=rancheros.cattle.io
+k8s:deepcopy-gen=package +groupName=rancheros.cattle.io
+k8s:deepcopy-gen=package +groupName=rancheros.cattle.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type MachineInventory
- type MachineInventoryList
- type MachineInventorySpec
- type MachineInventoryStatus
- type MachineRegistration
- type MachineRegistrationList
- type MachineRegistrationSpec
- type MachineRegistrationStatus
- type MachineRuntimeConfig
- type ManagedOSImage
- type ManagedOSImageList
- type ManagedOSImageSpec
- type ManagedOSImageStatus
Constants ¶
This section is empty.
Variables ¶
var ( MachineInventoryResourceName = "machineinventories" MachineRegistrationResourceName = "machineregistrations" ManagedOSImageResourceName = "managedosimages" )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: rancheros.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type MachineInventory ¶
type MachineInventory struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineInventorySpec `json:"spec"` Status MachineInventoryStatus `json:"status"` }
func NewMachineInventory ¶
func NewMachineInventory(namespace, name string, obj MachineInventory) *MachineInventory
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"` Items []MachineInventory `json:"items"` }
MachineInventoryList is a list of MachineInventory resources
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 MachineInventorySpec ¶
type MachineInventorySpec struct { TPMHash string `json:"tpmHash,omitempty"` SMBIOS *fleet.GenericMap `json:"smbios,omitempty"` ClusterName string `json:"clusterName"` MachineTokenSecretName string `json:"machineTokenSecretName,omitempty"` Config MachineRuntimeConfig `json:"config,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 { ClusterRegistrationTokenNamespace string `json:"clusterRegistrationTokenNamespace,omitempty"` ClusterRegistrationTokenName string `json:"clusterRegistrationTokenName,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"` Status MachineRegistrationStatus `json:"status"` }
func NewMachineRegistration ¶
func NewMachineRegistration(namespace, name string, obj MachineRegistration) *MachineRegistration
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"` Items []MachineRegistration `json:"items"` }
MachineRegistrationList is a list of MachineRegistration resources
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 { MachineName string `json:"machineName,omitempty"` MachineInventoryLabels map[string]string `json:"machineInventoryLabels,omitempty"` MachineInventoryAnnotations map[string]string `json:"machineInventoryAnnotations,omitempty"` CloudConfig *fleet.GenericMap `json:"cloudConfig,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 []genericcondition.GenericCondition `json:"conditions,omitempty"` RegistrationURL string `json:"registrationURL,omitempty"` RegistrationToken string `json:"registrationToken,omitempty"` }
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 MachineRuntimeConfig ¶
type MachineRuntimeConfig struct { Role string `json:"role"` NodeName string `json:"nodeName,omitempty"` Address string `json:"address,omitempty"` InternalAddress string `json:"internalAddress,omitempty"` Taints []corev1.Taint `json:"taints,omitempty"` Labels map[string]string `json:"labels"` }
func (*MachineRuntimeConfig) DeepCopy ¶
func (in *MachineRuntimeConfig) DeepCopy() *MachineRuntimeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRuntimeConfig.
func (*MachineRuntimeConfig) DeepCopyInto ¶
func (in *MachineRuntimeConfig) DeepCopyInto(out *MachineRuntimeConfig)
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"` Status ManagedOSImageStatus `json:"status"` }
func NewManagedOSImage ¶
func NewManagedOSImage(namespace, name string, obj ManagedOSImage) *ManagedOSImage
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"` Items []ManagedOSImage `json:"items"` }
ManagedOSImageList is a list of ManagedOSImage resources
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 { OSImage string `json:"osImage,omitempty"` CloudConfig *fleet.GenericMap `json:"cloudConfig,omitempty"` NodeSelector *metav1.LabelSelector `json:"nodeSelector,omitempty"` Concurrency *int64 `json:"concurrency,omitempty"` Prepare *upgradev1.ContainerSpec `json:"prepare,omitempty"` Cordon *bool `json:"cordon,omitempty"` Drain *upgradev1.DrainSpec `json:"drain,omitempty"` UpgradeContainer *upgradev1.ContainerSpec `json:"upgradeContainer,omitempty"` ClusterRolloutStrategy *fleet.RolloutStrategy `json:"clusterRolloutStrategy,omitempty"` Targets []fleet.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 {
fleet.BundleStatus
}
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.