Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Variables
- type MetaCluster
- func (in *MetaCluster) DeepCopy() *MetaCluster
- func (in *MetaCluster) DeepCopyInto(out *MetaCluster)
- func (in *MetaCluster) DeepCopyObject() runtime.Object
- func (r *MetaCluster) Default()
- func (r *MetaCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *MetaCluster) ValidateCreate() (admission.Warnings, error)
- func (r *MetaCluster) ValidateDelete() (admission.Warnings, error)
- func (r *MetaCluster) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type MetaClusterList
- type MetaClusterSpec
- type MetaClusterStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha1"} // 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 MetaCluster ¶
type MetaCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MetaClusterSpec `json:"spec,omitempty"` Status MetaClusterStatus `json:"status,omitempty"` }
MetaCluster is the Schema for the metaclusters API
func (*MetaCluster) DeepCopy ¶
func (in *MetaCluster) DeepCopy() *MetaCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaCluster.
func (*MetaCluster) DeepCopyInto ¶
func (in *MetaCluster) DeepCopyInto(out *MetaCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetaCluster) DeepCopyObject ¶
func (in *MetaCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MetaCluster) Default ¶
func (r *MetaCluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*MetaCluster) SetupWebhookWithManager ¶
func (r *MetaCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*MetaCluster) ValidateCreate ¶
func (r *MetaCluster) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MetaCluster) ValidateDelete ¶
func (r *MetaCluster) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*MetaCluster) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MetaClusterList ¶
type MetaClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MetaCluster `json:"items"` }
MetaClusterList contains a list of MetaCluster
func (*MetaClusterList) DeepCopy ¶
func (in *MetaClusterList) DeepCopy() *MetaClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaClusterList.
func (*MetaClusterList) DeepCopyInto ¶
func (in *MetaClusterList) DeepCopyInto(out *MetaClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetaClusterList) DeepCopyObject ¶
func (in *MetaClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetaClusterSpec ¶
type MetaClusterSpec struct { // Foo is an example field of MetaCluster. Edit metacluster_types.go to remove/update Foo string `json:"foo,omitempty"` }
MetaClusterSpec defines the desired state of MetaCluster
func (*MetaClusterSpec) DeepCopy ¶
func (in *MetaClusterSpec) DeepCopy() *MetaClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaClusterSpec.
func (*MetaClusterSpec) DeepCopyInto ¶
func (in *MetaClusterSpec) DeepCopyInto(out *MetaClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetaClusterStatus ¶
type MetaClusterStatus struct { }
MetaClusterStatus defines the observed state of MetaCluster
func (*MetaClusterStatus) DeepCopy ¶
func (in *MetaClusterStatus) DeepCopy() *MetaClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaClusterStatus.
func (*MetaClusterStatus) DeepCopyInto ¶
func (in *MetaClusterStatus) DeepCopyInto(out *MetaClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.