gateway

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package gateway provides Sync Controllers for managing Cloudflare Gateway resources.

Index

Constants

View Source
const (
	// ConfigurationFinalizerName is the finalizer for Gateway Configuration SyncState resources.
	ConfigurationFinalizerName = "gatewayconfiguration.sync.cloudflare-operator.io/finalizer"
)
View Source
const (
	// FinalizerName is the finalizer for Gateway Rule SyncState resources.
	FinalizerName = "gatewayrule.sync.cloudflare-operator.io/finalizer"
)
View Source
const (
	// ListFinalizerName is the finalizer for Gateway List SyncState resources.
	ListFinalizerName = "gatewaylist.sync.cloudflare-operator.io/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationController

type ConfigurationController struct {
	*common.BaseSyncController
}

ConfigurationController is the Sync Controller for Gateway Configuration.

func NewConfigurationController

func NewConfigurationController(c client.Client) *ConfigurationController

NewConfigurationController creates a new GatewayConfigurationSyncController.

func (*ConfigurationController) Reconcile

func (r *ConfigurationController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile processes a CloudflareSyncState resource for Gateway configuration.

func (*ConfigurationController) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ListController

type ListController struct {
	*common.BaseSyncController
}

ListController is the Sync Controller for Gateway List Configuration.

func NewListController

func NewListController(c client.Client) *ListController

NewListController creates a new GatewayListSyncController.

func (*ListController) Reconcile

func (r *ListController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile processes a CloudflareSyncState resource for Gateway list.

func (*ListController) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RuleController

type RuleController struct {
	*common.BaseSyncController
}

RuleController is the Sync Controller for Gateway Rule Configuration.

func NewRuleController

func NewRuleController(c client.Client) *RuleController

NewRuleController creates a new GatewayRuleSyncController

func (*RuleController) Reconcile

func (r *RuleController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile processes a CloudflareSyncState resource for Gateway rule.

func (*RuleController) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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