Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the connectivity v1alpha1 API group +kubebuilder:object:generate=true +groupName=connectivity.tanzu.vmware.com
Index ¶
Constants ¶
const ( DNSHostnameAnnotation = "connectivity.tanzu.vmware.com/dns-hostname" GatewayDNSRefAnnotation = "connectivity.tanzu.vmware.com/gateway-dns-ref" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "connectivity.tanzu.vmware.com", 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 GatewayDNS ¶
type GatewayDNS struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GatewayDNSSpec `json:"spec,omitempty"` Status GatewayDNSStatus `json:"status,omitempty"` }
GatewayDNS is the Schema for the gatewaydns API +kubebuilder:printcolumn:name="Resolution Type",type=string,JSONPath=`.spec.resolutionType` +kubebuilder:printcolumn:name="Service",type=string,JSONPath=`.spec.service` +kubebuilder:printcolumn:name="Cluster Selector",type=string,JSONPath=`.spec.clusterSelector`
func (*GatewayDNS) DeepCopy ¶
func (in *GatewayDNS) DeepCopy() *GatewayDNS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayDNS.
func (*GatewayDNS) DeepCopyInto ¶
func (in *GatewayDNS) DeepCopyInto(out *GatewayDNS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayDNS) DeepCopyObject ¶
func (in *GatewayDNS) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayDNSList ¶
type GatewayDNSList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GatewayDNS `json:"items"` }
GatewayDNSList contains a list of GatewayDNS
func (*GatewayDNSList) DeepCopy ¶
func (in *GatewayDNSList) DeepCopy() *GatewayDNSList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayDNSList.
func (*GatewayDNSList) DeepCopyInto ¶
func (in *GatewayDNSList) DeepCopyInto(out *GatewayDNSList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayDNSList) DeepCopyObject ¶
func (in *GatewayDNSList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayDNSSpec ¶
type GatewayDNSSpec struct { // clusterSelector is a label selector that matches clusters that shall have // their gateway endpoint information propagated. ClusterSelector metav1.LabelSelector `json:"clusterSelector,omitempty"` // service is the namespace/name of the service to be propagated. Service string `json:"service,omitempty"` // resolutionType indicates the method the controller will use to discover // the ip of the service. ResolutionType GatewayResolutionType `json:"resolutionType,omitempty"` }
GatewayDNSSpec defines the desired state of GatewayDNS
func (*GatewayDNSSpec) DeepCopy ¶
func (in *GatewayDNSSpec) DeepCopy() *GatewayDNSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayDNSSpec.
func (*GatewayDNSSpec) DeepCopyInto ¶
func (in *GatewayDNSSpec) DeepCopyInto(out *GatewayDNSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayDNSStatus ¶
type GatewayDNSStatus struct { }
GatewayDNSStatus defines the observed state of GatewayDNS
func (*GatewayDNSStatus) DeepCopy ¶
func (in *GatewayDNSStatus) DeepCopy() *GatewayDNSStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayDNSStatus.
func (*GatewayDNSStatus) DeepCopyInto ¶
func (in *GatewayDNSStatus) DeepCopyInto(out *GatewayDNSStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayResolutionType ¶
type GatewayResolutionType string
const (
ResolutionTypeLoadBalancer GatewayResolutionType = "loadBalancer"
)