Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubesphere/porter/pkg/apis/network +k8s:defaulter-gen=TypeMeta +groupName=network.kubesphere.io
Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubesphere/porter/pkg/apis/network +k8s:defaulter-gen=TypeMeta +groupName=network.kubesphere.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "network.kubesphere.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
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"` }
EIP is the Schema for the eips API +k8s:openapi-gen=true
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 { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file PortsUsage map[int32]string `json:"portsUsage,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.