Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cftunnel-argo.controller v1alpha1 API group +kubebuilder:object:generate=true +groupName=cftunnel-argo.controller.cftunnel-argo.controller
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cftunnel-argo.controller.cftunnel-argo.controller", 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 Ingress ¶
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tunnels ¶
type Tunnels struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TunnelsSpec `json:"spec,omitempty"` Status TunnelsStatus `json:"status,omitempty"` }
Tunnels is the Schema for the tunnels API
func (*Tunnels) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tunnels.
func (*Tunnels) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tunnels) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelsList ¶
type TunnelsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tunnels `json:"items"` }
TunnelsList contains a list of Tunnels
func (*TunnelsList) DeepCopy ¶
func (in *TunnelsList) DeepCopy() *TunnelsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelsList.
func (*TunnelsList) DeepCopyInto ¶
func (in *TunnelsList) DeepCopyInto(out *TunnelsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelsList) DeepCopyObject ¶
func (in *TunnelsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelsSpec ¶
type TunnelsSpec struct { // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 TunnelName string `json:"tunnelName"` // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 TunnelID string `json:"tunnelID"` // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 TunnelSecret string `json:"tunnelSecret"` // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 AccountNumber string `json:"accountNumber"` // +kubebuilder:validation:Required // +kubebuilder:default=1 // +kubebuilder:validation:Minimum=1 Replicas int32 `json:"replicas"` // +kubebuilder:validation:Required // +kubebuilder:validation:MinItems=1 Ingress []Ingress `json:"ingress"` EnableWrapping bool `json:"enableWrapping,omitempty"` // +kubebuilder:default="cloudflare/cloudflared:latest" Image string `json:"image,omitempty"` // +kubebuilder:default=info // +kubebuilder:validation:Enum=debug;info;warn;error;fatal TunnelLogLevel string `json:"tunnelLogLevel,omitempty"` // +kubebuilder:default=us TunnelRegion string `json:"tunnelRegion,omitempty"` // +kubebuilder:default=5 // +kubebuilder:validation:Minimum=1 TunnelRetries int32 `json:"tunnelRetries,omitempty"` // +kubebuilder:default=auto // +kubebuilder:validation:Enum=auto;http2;quic TunnelProtocol string `json:"tunnelProtocol,omitempty"` // +kubebuilder:default="30s" TunnelConnectTimeout string `json:"tunnelConnectTimeout,omitempty"` // +kubebuilder:default="1m30s" TunnelKeepAliveTimeout string `json:"tunnelKeepAliveTimeout,omitempty"` // +kubebuilder:default=100 // +kubebuilder:validation:Minimum=1 TunnelKeepAliveConnections int32 `json:"tunnelKeepAliveConnections,omitempty"` // +kubebuilder:default=30 // +kubebuilder:validation:Minimum=1 TunnelGracePeriodSeconds int64 `json:"tunnelGracePeriodSeconds,omitempty"` }
TunnelsSpec defines the desired state of Tunnels
func (*TunnelsSpec) DeepCopy ¶
func (in *TunnelsSpec) DeepCopy() *TunnelsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelsSpec.
func (*TunnelsSpec) DeepCopyInto ¶
func (in *TunnelsSpec) DeepCopyInto(out *TunnelsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelsStatus ¶
type TunnelsStatus struct { }
TunnelsStatus defines the observed state of Tunnels
func (*TunnelsStatus) DeepCopy ¶
func (in *TunnelsStatus) DeepCopy() *TunnelsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelsStatus.
func (*TunnelsStatus) DeepCopyInto ¶
func (in *TunnelsStatus) DeepCopyInto(out *TunnelsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.