Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the ohmyglb v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=ohmyglb.absa.oss
Package v1beta1 contains API Schema definitions for the ohmyglb v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=ohmyglb.absa.oss
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "ohmyglb.absa.oss", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Gslb ¶
type Gslb struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GslbSpec `json:"spec,omitempty"` Status GslbStatus `json:"status,omitempty"` }
Gslb is the Schema for the gslbs API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=gslbs,scope=Namespaced
func (*Gslb) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gslb.
func (*Gslb) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gslb) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GslbList ¶
type GslbList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Gslb `json:"items"` }
GslbList contains a list of Gslb
func (*GslbList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GslbList.
func (*GslbList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GslbList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GslbSpec ¶
type GslbSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Ingress v1beta1.IngressSpec `json:"ingress"` Strategy Strategy `json:"strategy"` }
GslbSpec defines the desired state of Gslb +k8s:openapi-gen=true
func (*GslbSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GslbSpec.
func (*GslbSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GslbStatus ¶
type GslbStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html ServiceHealth map[string]string `json:"serviceHealth"` HealthyRecords map[string][]string `json:"healthyRecords"` GeoTag string `json:"geoTag"` }
GslbStatus defines the observed state of Gslb +k8s:openapi-gen=true
func (*GslbStatus) DeepCopy ¶
func (in *GslbStatus) DeepCopy() *GslbStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GslbStatus.
func (*GslbStatus) DeepCopyInto ¶
func (in *GslbStatus) DeepCopyInto(out *GslbStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Strategy ¶ added in v0.5.6
type Strategy struct { Type string `json:"type"` PrimaryGeoTag string `json:"primaryGeoTag,omitempty"` // Defines DNS record TTL in seconds DNSTtlSeconds int `json:"dnsTtlSeconds,omitempty"` // Split brain TXT record expiration in seconds SplitBrainThresholdSeconds int `json:"splitBrainThresholdSeconds,omitempty"` }
Strategy defines Gslb behavior +k8s:openapi-gen=true
func (*Strategy) DeepCopy ¶ added in v0.5.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy.
func (*Strategy) DeepCopyInto ¶ added in v0.5.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.