v1beta1

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: MIT Imports: 7 Imported by: 0

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

View Source
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

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

func (in *Gslb) DeepCopy() *Gslb

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gslb.

func (*Gslb) DeepCopyInto

func (in *Gslb) DeepCopyInto(out *Gslb)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Gslb) DeepCopyObject

func (in *Gslb) DeepCopyObject() runtime.Object

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

func (in *GslbList) DeepCopy() *GslbList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GslbList.

func (*GslbList) DeepCopyInto

func (in *GslbList) DeepCopyInto(out *GslbList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GslbList) DeepCopyObject

func (in *GslbList) DeepCopyObject() runtime.Object

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

func (in *GslbSpec) DeepCopy() *GslbSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GslbSpec.

func (*GslbSpec) DeepCopyInto

func (in *GslbSpec) DeepCopyInto(out *GslbSpec)

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

func (in *Strategy) DeepCopy() *Strategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy.

func (*Strategy) DeepCopyInto added in v0.5.6

func (in *Strategy) DeepCopyInto(out *Strategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL