controllers

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudflareTunnelReconciler

type CloudflareTunnelReconciler struct {
	Client client.Client
	TunEx  *TunnelExpanded
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

CloudflareTunnelReconciler reconciles a CloudflareTunnel object

func (*CloudflareTunnelReconciler) Reconcile

func (*CloudflareTunnelReconciler) SetupWithManager

func (r *CloudflareTunnelReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TunnelExpanded

type TunnelExpanded struct {
	TunSpec       cfv1.CloudflareTunnelSpec
	CloudflareAPI *cloudflare.API
	AccountToken  string // contains the token for the cloudflare account
	AccountTag    string // contains the user id/tag for the cloudflare account
	Name          string // name of the CRD as well as the tunnel
	Namespace     string // namespace of the CRD
	TunnelID      string // tunnel ID as generated by the remote
	TunnelSecret  string // the secret that is generated by us to create and then connect to the tunnel
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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