Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=kube-vip.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kube-vip.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 MultiCluster ¶
type MultiCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultiClusterSpec `json:"spec,omitempty"` Status MultiClusterStatus `json:"status,omitempty"` }
MultiCluster is the Schema for the multiclusters API
func (*MultiCluster) DeepCopy ¶
func (in *MultiCluster) DeepCopy() *MultiCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiCluster.
func (*MultiCluster) DeepCopyInto ¶
func (in *MultiCluster) DeepCopyInto(out *MultiCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiCluster) DeepCopyObject ¶
func (in *MultiCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterList ¶
type MultiClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultiCluster `json:"items"` }
MultiClusterList contains a list of MultiCluster
func (*MultiClusterList) DeepCopy ¶
func (in *MultiClusterList) DeepCopy() *MultiClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterList.
func (*MultiClusterList) DeepCopyInto ¶
func (in *MultiClusterList) DeepCopyInto(out *MultiClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterList) DeepCopyObject ¶
func (in *MultiClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterSpec ¶
type MultiClusterSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Address string `json:"address,omitempty"` // if blank will default to 0.0.0.0 LoadBalancer string `json:"serviceAddress,omitempty"` Port int `json:"port"` Fleet []string `json:"fleet,omitempty"` Callsign string `json:"callsign"` Ready bool `json:"ready"` Rank int `json:"rank"` Payload string `json:"payload"` }
MultiClusterSpec defines the desired state of MultiCluster
func (*MultiClusterSpec) DeepCopy ¶
func (in *MultiClusterSpec) DeepCopy() *MultiClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterSpec.
func (*MultiClusterSpec) DeepCopyInto ¶
func (in *MultiClusterSpec) DeepCopyInto(out *MultiClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterStatus ¶
type MultiClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LeaderAddress string `json:"leaderAddress"` Ready bool `json:"ready"` Leading bool `json:"leading"` Port int `json:"port"` }
MultiClusterStatus defines the observed state of MultiCluster
func (*MultiClusterStatus) DeepCopy ¶
func (in *MultiClusterStatus) DeepCopy() *MultiClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterStatus.
func (*MultiClusterStatus) DeepCopyInto ¶
func (in *MultiClusterStatus) DeepCopyInto(out *MultiClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.