Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cloudflare v1alpha1 API group +kubebuilder:object:generate=true +groupName=cloudflare.cf.sys-int.de
Index ¶
- Variables
- type ArgoTunnel
- type ArgoTunnelIngressRule
- type ArgoTunnelIngressRuleList
- type ArgoTunnelIngressRuleSpec
- type ArgoTunnelIngressRuleStatus
- type ArgoTunnelList
- type ArgoTunnelRef
- type ArgoTunnelSpec
- type ArgoTunnelStatus
- type CloudflareDetails
- type DNSRecord
- type DNSRecordList
- type DNSRecordSpec
- type DNSRecordStatus
- type Zone
- type ZoneList
- type ZoneSpec
- type ZoneStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cloudflare.cf.sys-int.de", 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 ArgoTunnel ¶
type ArgoTunnel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ArgoTunnelSpec `json:"spec,omitempty"` Status ArgoTunnelStatus `json:"status,omitempty"` }
ArgoTunnel is the Schema for the argotunnels API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="TunnelID",type=string,JSONPath=`.status.tunnelId`
func (*ArgoTunnel) DeepCopy ¶
func (in *ArgoTunnel) DeepCopy() *ArgoTunnel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnel.
func (*ArgoTunnel) DeepCopyInto ¶
func (in *ArgoTunnel) DeepCopyInto(out *ArgoTunnel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoTunnel) DeepCopyObject ¶
func (in *ArgoTunnel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoTunnelIngressRule ¶
type ArgoTunnelIngressRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ArgoTunnelIngressRuleSpec `json:"spec,omitempty"` Status ArgoTunnelIngressRuleStatus `json:"status,omitempty"` }
ArgoTunnelIngressRule is the Schema for the argotunnelingressrules API
func (*ArgoTunnelIngressRule) DeepCopy ¶
func (in *ArgoTunnelIngressRule) DeepCopy() *ArgoTunnelIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelIngressRule.
func (*ArgoTunnelIngressRule) DeepCopyInto ¶
func (in *ArgoTunnelIngressRule) DeepCopyInto(out *ArgoTunnelIngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoTunnelIngressRule) DeepCopyObject ¶
func (in *ArgoTunnelIngressRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoTunnelIngressRuleList ¶
type ArgoTunnelIngressRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ArgoTunnelIngressRule `json:"items"` }
ArgoTunnelIngressRuleList contains a list of ArgoTunnelIngressRule
func (*ArgoTunnelIngressRuleList) DeepCopy ¶
func (in *ArgoTunnelIngressRuleList) DeepCopy() *ArgoTunnelIngressRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelIngressRuleList.
func (*ArgoTunnelIngressRuleList) DeepCopyInto ¶
func (in *ArgoTunnelIngressRuleList) DeepCopyInto(out *ArgoTunnelIngressRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoTunnelIngressRuleList) DeepCopyObject ¶
func (in *ArgoTunnelIngressRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoTunnelIngressRuleSpec ¶
type ArgoTunnelIngressRuleSpec struct { // Fqdn specifies the DNS name to access this service from. // Defaults to the service.metadata.name + tunnel.spec.domain. // If specifying this, make sure to use the same domain that the tunnel belongs to. // This is not validated and used as provided //+kubebuilder:validation:Optional Fqdn string `json:"fqdn,omitempty"` // ArgoTunnelRef specifies the referenced ArgoTunnel. // Defaults to the service.metadata.name + tunnel.spec.domain. // If specifying this, make sure to use the same domain that the tunnel belongs to. // This is not validated and used as provided //+kubebuilder:validation:Optional ArgoTunnelRef ArgoTunnelRef `json:"argoTunnelRef,omitempty"` // Protocol specifies the protocol for the service. Should be one of http, https, tcp, udp, ssh or rdp. // Defaults to http, with the exceptions of https for 443, smb for 139 and 445, rdp for 3389 and ssh for 22 if the service has a TCP port. // The only available option for a UDP port is udp, which is default. //+kubebuilder:validation:Optional Protocol string `json:"protocol,omitempty"` // Target specified where the tunnel should proxy to. // Defaults to the form of <protocol>://<service.metadata.name>.<service.metadata.namespace>.svc:<port> //+kubebuilder:validation:Optional Target string `json:"target,omitempty"` // CaPool trusts the CA certificate referenced by the key in the secret specified in tunnel.spec.originCaPool. // tls.crt is trusted globally and does not need to be specified. Only useful if the protocol is HTTPS. //+kubebuilder:validation:Optional CaPool string `json:"caPool,omitempty"` // NoTlsVerify disables TLS verification for this service. // Only useful if the protocol is HTTPS. //+kubebuilder:validation:Optional //+kubebuilder:default:=false NoTlsVerify bool `json:"noTlsVerify"` // ProxyAddress configures the listen address for that proxy //+kubebuilder:validation:Optional //+kubebuilder:default:="127.0.0.1" //+kubebuilder:validation:Pattern="((^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$)|(^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$))" ProxyAddress string `json:"proxyAddress,omitempty"` // ProxyPort configures the listen port for that proxy //+kubebuilder:validation:Optional //+kubebuilder:default:=0 //+kubebuilder:validation:Minimum:=0 //+kubebuilder:validation:Maximum:=65535 ProxyPort uint `json:"proxyPort,omitempty"` // ProxyType configures the proxy type. //+kubebuilder:validation:Optional //+kubebuilder:default:="" //+kubebuilder:validation:Enum:="";"socks" ProxyType string `json:"proxyType,omitempty"` }
ArgoTunnelIngressRuleSpec defines the desired state of ArgoTunnelIngressRule
func (*ArgoTunnelIngressRuleSpec) DeepCopy ¶
func (in *ArgoTunnelIngressRuleSpec) DeepCopy() *ArgoTunnelIngressRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelIngressRuleSpec.
func (*ArgoTunnelIngressRuleSpec) DeepCopyInto ¶
func (in *ArgoTunnelIngressRuleSpec) DeepCopyInto(out *ArgoTunnelIngressRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoTunnelIngressRuleStatus ¶
type ArgoTunnelIngressRuleStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
ArgoTunnelIngressRuleStatus defines the observed state of ArgoTunnelIngressRule
func (*ArgoTunnelIngressRuleStatus) DeepCopy ¶
func (in *ArgoTunnelIngressRuleStatus) DeepCopy() *ArgoTunnelIngressRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelIngressRuleStatus.
func (*ArgoTunnelIngressRuleStatus) DeepCopyInto ¶
func (in *ArgoTunnelIngressRuleStatus) DeepCopyInto(out *ArgoTunnelIngressRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoTunnelList ¶
type ArgoTunnelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ArgoTunnel `json:"items"` }
ArgoTunnelList contains a list of ArgoTunnel
func (*ArgoTunnelList) DeepCopy ¶
func (in *ArgoTunnelList) DeepCopy() *ArgoTunnelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelList.
func (*ArgoTunnelList) DeepCopyInto ¶
func (in *ArgoTunnelList) DeepCopyInto(out *ArgoTunnelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoTunnelList) DeepCopyObject ¶
func (in *ArgoTunnelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoTunnelRef ¶
type ArgoTunnelRef struct { // The name of the referenced ArgoTunnel //+kubebuilder:validation:Required Name string `json:"name"` // The namespace of the referenced ArgoTunnel (optional) //+kubebuilder:validation:Optional NameSpace string `json:"namespace,omitempty"` }
func (*ArgoTunnelRef) DeepCopy ¶
func (in *ArgoTunnelRef) DeepCopy() *ArgoTunnelRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelRef.
func (*ArgoTunnelRef) DeepCopyInto ¶
func (in *ArgoTunnelRef) DeepCopyInto(out *ArgoTunnelRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoTunnelSpec ¶
type ArgoTunnelSpec struct { //+kubebuilder:validation:Minimum=0 //+kubebuilder:default:=1 //+kubebuilder:validation:Optional // Size defines the number of Daemon pods to run for this tunnel Size int32 `json:"size,omitempty"` //+kubebuilder:default:="cloudflare/cloudflared:2023.7.3" //+kubebuilder:validation:Optional // Image sets the Cloudflared Image to use. Defaults to the image set during the release of the operator. Image string `json:"image,omitempty"` //+kubebuilder:validation:Required // Cloudflare Credentials Cloudflare CloudflareDetails `json:"cloudflare,omitempty"` }
ArgoTunnelSpec defines the desired state of ArgoTunnel
func (*ArgoTunnelSpec) DeepCopy ¶
func (in *ArgoTunnelSpec) DeepCopy() *ArgoTunnelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelSpec.
func (*ArgoTunnelSpec) DeepCopyInto ¶
func (in *ArgoTunnelSpec) DeepCopyInto(out *ArgoTunnelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoTunnelStatus ¶
type ArgoTunnelStatus struct { TunnelId string `json:"tunnelId"` TunnelName string `json:"tunnelName"` AccountId string `json:"accountId"` ZoneId string `json:"zoneId"` // +operator-sdk:csv:customresourcedefinitions:type=status Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
ArgoTunnelStatus defines the observed state of ArgoTunnel
func (*ArgoTunnelStatus) DeepCopy ¶
func (in *ArgoTunnelStatus) DeepCopy() *ArgoTunnelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoTunnelStatus.
func (*ArgoTunnelStatus) DeepCopyInto ¶
func (in *ArgoTunnelStatus) DeepCopyInto(out *ArgoTunnelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudflareDetails ¶
type CloudflareDetails struct { //+kubebuilder:validation:Required // Cloudflare Domain to which this tunnel belongs to Domain string `json:"domain,omitempty"` //+kubebuilder:validation:Required // Secret containing Cloudflare API key/token Secret string `json:"secret,omitempty"` //+kubebuilder:validation:Optional // Account Name in Cloudflare. AccountName and AccountId cannot be both empty. If both are provided, Account ID is used if valid, else falls back to Account Name. AccountName string `json:"accountName,omitempty"` //+kubebuilder:validation:Optional // Account ID in Cloudflare. AccountId and AccountName cannot be both empty. If both are provided, Account ID is used if valid, else falls back to Account Name. AccountId string `json:"accountId,omitempty"` //+kubebuilder:validation:Optional // Email to use along with API Key for Delete operations for new tunnels only, or as an alternate to API Token Email string `json:"email,omitempty"` //+kubebuilder:validation:Optional //+kubebuilder:default:=CLOUDFLARE_API_KEY // Key in the secret to use for Cloudflare API Key, defaults to CLOUDFLARE_API_KEY. Needs Email also to be provided. // For Delete operations for new tunnels only, or as an alternate to API Token CLOUDFLARE_API_KEY string `json:"CLOUDFLARE_API_KEY,omitempty"` //+kubebuilder:validation:Optional //+kubebuilder:default:=CLOUDFLARE_API_TOKEN // Key in the secret to use for Cloudflare API token, defaults to CLOUDFLARE_API_TOKEN CLOUDFLARE_API_TOKEN string `json:"CLOUDFLARE_API_TOKEN,omitempty"` //+kubebuilder:validation:Optional //+kubebuilder:default:=CLOUDFLARE_TUNNEL_CREDENTIAL_FILE // Key in the secret to use as credentials.json for an existing tunnel, defaults to CLOUDFLARE_TUNNEL_CREDENTIAL_FILE CLOUDFLARE_TUNNEL_CREDENTIAL_FILE string `json:"CLOUDFLARE_TUNNEL_CREDENTIAL_FILE,omitempty"` //+kubebuilder:validation:Optional //+kubebuilder:default:=CLOUDFLARE_TUNNEL_CREDENTIAL_SECRET // Key in the secret to use as tunnel secret for an existing tunnel, defaults to CLOUDFLARE_TUNNEL_CREDENTIAL_SECRET CLOUDFLARE_TUNNEL_CREDENTIAL_SECRET string `json:"CLOUDFLARE_TUNNEL_CREDENTIAL_SECRET,omitempty"` }
func (*CloudflareDetails) DeepCopy ¶
func (in *CloudflareDetails) DeepCopy() *CloudflareDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudflareDetails.
func (*CloudflareDetails) DeepCopyInto ¶
func (in *CloudflareDetails) DeepCopyInto(out *CloudflareDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSRecord ¶
type DNSRecord struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DNSRecordSpec `json:"spec,omitempty"` Status DNSRecordStatus `json:"status,omitempty"` }
DNSRecord is the Schema for the dnsrecords API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*DNSRecord) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecord.
func (*DNSRecord) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSRecord) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSRecordList ¶
type DNSRecordList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DNSRecord `json:"items"` }
DNSRecordList contains a list of DNSRecord
func (*DNSRecordList) DeepCopy ¶
func (in *DNSRecordList) DeepCopy() *DNSRecordList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordList.
func (*DNSRecordList) DeepCopyInto ¶
func (in *DNSRecordList) DeepCopyInto(out *DNSRecordList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSRecordList) DeepCopyObject ¶
func (in *DNSRecordList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSRecordSpec ¶
type DNSRecordSpec struct { // Foo is an example field of DNSRecord. Edit dnsrecord_types.go to remove/update Foo string `json:"foo,omitempty"` //+kubebuilder:validation:Required // Cloudflare Credentials Cloudflare CloudflareDetails `json:"cloudflare,omitempty"` }
DNSRecordSpec defines the desired state of DNSRecord
func (*DNSRecordSpec) DeepCopy ¶
func (in *DNSRecordSpec) DeepCopy() *DNSRecordSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordSpec.
func (*DNSRecordSpec) DeepCopyInto ¶
func (in *DNSRecordSpec) DeepCopyInto(out *DNSRecordSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSRecordStatus ¶
type DNSRecordStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // +operator-sdk:csv:customresourcedefinitions:type=status Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
DNSRecordStatus defines the observed state of DNSRecord
func (*DNSRecordStatus) DeepCopy ¶
func (in *DNSRecordStatus) DeepCopy() *DNSRecordStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordStatus.
func (*DNSRecordStatus) DeepCopyInto ¶
func (in *DNSRecordStatus) DeepCopyInto(out *DNSRecordStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Zone ¶
type Zone struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ZoneSpec `json:"spec,omitempty"` Status ZoneStatus `json:"status,omitempty"` }
Zone is the Schema for the zones API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Zone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone.
func (*Zone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zone) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZoneList ¶
type ZoneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Zone `json:"items"` }
ZoneList contains a list of Zone
func (*ZoneList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneList.
func (*ZoneList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZoneList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZoneSpec ¶
type ZoneSpec struct { // Foo is an example field of Zone. Edit zone_types.go to remove/update Foo string `json:"foo,omitempty"` //+kubebuilder:validation:Required // Cloudflare Credentials Cloudflare CloudflareDetails `json:"cloudflare,omitempty"` }
ZoneSpec defines the desired state of Zone
func (*ZoneSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneSpec.
func (*ZoneSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZoneStatus ¶
type ZoneStatus struct { }
ZoneStatus defines the observed state of Zone
func (*ZoneStatus) DeepCopy ¶
func (in *ZoneStatus) DeepCopy() *ZoneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneStatus.
func (*ZoneStatus) DeepCopyInto ¶
func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.