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 MachineRuntimeConfig
- type ManagedOSImage
- type ManagedOSImageList
- type ManagedOSImageSpec
- type ManagedOSImageStatus
Constants ¶
This section is empty.
Variables ¶
var ( MachineInventoryResourceName = "machineinventories" 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 { ClusterName string `json:"clusterName,omitempty"` 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 MachineRuntimeConfig ¶
type MachineRuntimeConfig struct { Role string `json:"role,omitempty"` 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,omitempty"` ConfigValues map[string]string `json:"extraConfig,omitempty"` }
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 { Paused bool `json:"paused,omitempty"` OSImage string `json:"osImage,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"` 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.