Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cloudflared v1alpha1 API group +kubebuilder:object:generate=true +groupName=cloudflared.cloudflare.com
Index ¶
Constants ¶
const (
TunnelFinalizer = "tunnel.cloudflared.cloudflare.com"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cloudflared.cloudflare.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 Tunnel ¶
type Tunnel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TunnelSpec `json:"spec,omitempty"` Status TunnelStatus `json:"status,omitempty"` }
Tunnel is the Schema for the tunnels API
func (*Tunnel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tunnel.
func (*Tunnel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tunnel) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelConfiguration ¶
type TunnelConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TunnelConfigurationSpec `json:"spec,omitempty"` }
TunnelConfiguration is the Schema for the tunnelconfigurations API
func (*TunnelConfiguration) DeepCopy ¶
func (in *TunnelConfiguration) DeepCopy() *TunnelConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelConfiguration.
func (*TunnelConfiguration) DeepCopyInto ¶
func (in *TunnelConfiguration) DeepCopyInto(out *TunnelConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelConfiguration) DeepCopyObject ¶
func (in *TunnelConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelConfigurationList ¶
type TunnelConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TunnelConfiguration `json:"items"` }
TunnelConfigurationList contains a list of TunnelConfiguration
func (*TunnelConfigurationList) DeepCopy ¶
func (in *TunnelConfigurationList) DeepCopy() *TunnelConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelConfigurationList.
func (*TunnelConfigurationList) DeepCopyInto ¶
func (in *TunnelConfigurationList) DeepCopyInto(out *TunnelConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelConfigurationList) DeepCopyObject ¶
func (in *TunnelConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelConfigurationSpec ¶
type TunnelConfigurationSpec struct { // OriginCert is a reference to a object that contains cloudflare tunnel origincert. OriginCert *corev1.TypedLocalObjectReference `json:"originCert,omitempty"` // OriginRequest is optional origin configurations. See // https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/ingress#origin-configurations // +optional OriginRequest *TunnelOriginRequest `json:"originRequest,omitempty"` }
TunnelConfigurationSpec defines the desired state of TunnelConfiguration
func (*TunnelConfigurationSpec) DeepCopy ¶
func (in *TunnelConfigurationSpec) DeepCopy() *TunnelConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelConfigurationSpec.
func (*TunnelConfigurationSpec) DeepCopyInto ¶
func (in *TunnelConfigurationSpec) DeepCopyInto(out *TunnelConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelIngressRule ¶
type TunnelIngressRule struct { Hostname string `json:"hostname,omitempty"` Path string `json:"path,omitempty"` Service string `json:"service"` }
TunnelIngressRule defines the desired ingress rules of Tunnel
func (*TunnelIngressRule) DeepCopy ¶
func (in *TunnelIngressRule) DeepCopy() *TunnelIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelIngressRule.
func (*TunnelIngressRule) DeepCopyInto ¶
func (in *TunnelIngressRule) DeepCopyInto(out *TunnelIngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelList ¶
type TunnelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tunnel `json:"items"` }
TunnelList contains a list of Tunnel
func (*TunnelList) DeepCopy ¶
func (in *TunnelList) DeepCopy() *TunnelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelList.
func (*TunnelList) DeepCopyInto ¶
func (in *TunnelList) DeepCopyInto(out *TunnelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelList) DeepCopyObject ¶
func (in *TunnelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelOriginRequest ¶
type TunnelOriginRequest struct { // Timeout for establishing a new TCP connection to your origin server. // This excludes the time taken to establish TLS. (Default: 30s) // +optional ConnectTimeout string `json:"connectTimeout"` // Timeout for completing a TLS handshake to your origin server, // if you have chosen to connect Tunnel to an HTTPS server. (Default: 10s) // +optional TLSTimeout string `json:"tlsTimeout"` // Disables chunked transfer encoding. Useful if you are running // a WSGI server. (Default: false) // +optional DisableChunkedEncoding bool `json:"disableChunkedEncoding"` // Sets the HTTP Host header on requests sent to the local service. // +optional HTTPHostHeader string `json:"httpHostHeader"` // The timeout after which a TCP keepalive packet is sent on a connection // between Tunnel and the origin server. (Default: 30s) // +optional TCPKeepAlive string `json:"tcpKeepAlive"` // Maximum number of idle keepalive connections between Tunnel and your origin. // This does not restrict the total number of concurrent connections. (Default: 100) // +optional KeepAliveConnections int32 `json:"keepAliveConnections"` // Timeout after which an idle keepalive connection can be discarded. (Default: 1m30s) // +optional KeepAliveTimeout string `json:"keepAliveTimeout"` // Disables TLS verification of the certificate presented by your origin. // Will allow any certificate from the origin to be accepted. (Default: false) // +optional NoTLSVerify bool `json:"noTLSVerify"` // Hostname that cloudflared should expect from your origin server certificate. // +optional OriginServerName string `json:"originServerName"` }
TunnelOriginRequest defines originRequest optional configurations.
func (*TunnelOriginRequest) DeepCopy ¶
func (in *TunnelOriginRequest) DeepCopy() *TunnelOriginRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelOriginRequest.
func (*TunnelOriginRequest) DeepCopyInto ¶
func (in *TunnelOriginRequest) DeepCopyInto(out *TunnelOriginRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelSpec ¶
type TunnelSpec struct { TunnelConfigurationSpec `json:",inline,omitempty"` // Ingress Rules configurations for this Tunnel. // +optional IngressRules []TunnelIngressRule `json:"rules,omitempty"` }
TunnelSpec defines the desired state of Tunnel
func (*TunnelSpec) DeepCopy ¶
func (in *TunnelSpec) DeepCopy() *TunnelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelSpec.
func (*TunnelSpec) DeepCopyInto ¶
func (in *TunnelSpec) DeepCopyInto(out *TunnelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelStatus ¶
type TunnelStatus struct { // List of registered route to this Tunnel. Routes []string `json:"routes,omitempty"` // Zone is cloudflare zone Zone string `json:"zone,omitempty"` }
TunnelStatus defines the observed state of Tunnel
func (*TunnelStatus) DeepCopy ¶
func (in *TunnelStatus) DeepCopy() *TunnelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelStatus.
func (*TunnelStatus) DeepCopyInto ¶
func (in *TunnelStatus) DeepCopyInto(out *TunnelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.