Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +kubebuilder:object:generate=true +groupName=network.kubesphere.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "network.kubesphere.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 Eip ¶
type Eip struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EipSpec `json:"spec,omitempty"`
Status EipStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status Eip is the Schema for the eips API
func (*Eip) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eip.
func (*Eip) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Eip) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EipList ¶
type EipList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Eip `json:"items"`
}
EipList contains a list of Eip
func (*EipList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipList.
func (*EipList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EipList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EipSpec ¶
type EipSpec struct {
Address string `json:"address,omitempty"`
Disable bool `json:"disable,omitempty"`
}
EipSpec defines the desired state of EIP
func (*EipSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipSpec.
func (*EipSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EipStatus ¶
type EipStatus struct {
PortsUsage map[string]string `json:"portsUsage,omitempty"`
Occupied bool `json:"occupied,omitempty"`
}
EipStatus defines the observed state of EIP
func (*EipStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipStatus.
func (*EipStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.