v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cloudflare-tunnel-operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=cloudflare-tunnel-operator.beezlabs.app

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cloudflare-tunnel-operator.beezlabs.app", 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 CloudflareTunnel

type CloudflareTunnel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudflareTunnelSpec   `json:"spec,omitempty"`
	Status CloudflareTunnelStatus `json:"status,omitempty"`
}

CloudflareTunnel is the Schema for the cloudflaretunnels API

func (*CloudflareTunnel) DeepCopy

func (in *CloudflareTunnel) DeepCopy() *CloudflareTunnel

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

func (*CloudflareTunnel) DeepCopyInto

func (in *CloudflareTunnel) DeepCopyInto(out *CloudflareTunnel)

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

func (*CloudflareTunnel) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudflareTunnelConnections

type CloudflareTunnelConnections struct {
	ConnectorID  string      `json:"connectorID,omitempty"`
	Created      metav1.Time `json:"created,omitempty"`
	Architecture string      `json:"architecture,omitempty"`
	Version      string      `json:"version,omitempty"`
	OriginIP     string      `json:"originIP,omitempty"`
	Edge         string      `json:"edge,omitempty"`
}

func (*CloudflareTunnelConnections) DeepCopy

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

func (*CloudflareTunnelConnections) DeepCopyInto

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

type CloudflareTunnelContainer

type CloudflareTunnelContainer struct {
	// +kubebuilder:validation:Optional
	Image string `json:"image"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=IfNotPresent;Always;Never
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`
	// +kubebuilder:validation:Optional
	Command []string `json:"command"`
	// +kubebuilder:validation:Optional
	Args []string `json:"args"`
}

func (*CloudflareTunnelContainer) DeepCopy

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

func (*CloudflareTunnelContainer) DeepCopyInto

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

type CloudflareTunnelList

type CloudflareTunnelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudflareTunnel `json:"items"`
}

CloudflareTunnelList contains a list of CloudflareTunnel

func (*CloudflareTunnelList) DeepCopy

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

func (*CloudflareTunnelList) DeepCopyInto

func (in *CloudflareTunnelList) DeepCopyInto(out *CloudflareTunnelList)

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

func (*CloudflareTunnelList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudflareTunnelService

type CloudflareTunnelService struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	// +kubebuilder:validation:Enum=http;https
	Protocol string `json:"protocol"`
	Port     int32  `json:"port"`
}

func (*CloudflareTunnelService) DeepCopy

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

func (*CloudflareTunnelService) DeepCopyInto

func (in *CloudflareTunnelService) DeepCopyInto(out *CloudflareTunnelService)

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

type CloudflareTunnelSpec

type CloudflareTunnelSpec struct {
	// +kubebuilder:validation:Format="url"
	Domain  string                   `json:"domain"`
	Zone    string                   `json:"zone"`
	Service *CloudflareTunnelService `json:"service"`
	// +kubebuilder:validation:Optional
	Container       *CloudflareTunnelContainer `json:"container"`
	TokenSecretName string                     `json:"tokenSecretName"`
	Replicas        int32                      `json:"replicas"`
}

CloudflareTunnelSpec defines the desired state of CloudflareTunnel

func (*CloudflareTunnelSpec) DeepCopy

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

func (*CloudflareTunnelSpec) DeepCopyInto

func (in *CloudflareTunnelSpec) DeepCopyInto(out *CloudflareTunnelSpec)

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

type CloudflareTunnelStatus

type CloudflareTunnelStatus struct {
	// +kubebuilder:validation:Format="uuid"
	TunnelID    string                        `json:"tunnelID,omitempty"`
	Connections []CloudflareTunnelConnections `json:"connections"`
}

CloudflareTunnelStatus defines the observed state of CloudflareTunnel

func (*CloudflareTunnelStatus) DeepCopy

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

func (*CloudflareTunnelStatus) DeepCopyInto

func (in *CloudflareTunnelStatus) DeepCopyInto(out *CloudflareTunnelStatus)

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