Documentation
¶
Overview ¶
Package gateway provides Sync Controllers for managing Cloudflare Gateway resources.
Index ¶
Constants ¶
const (
// ConfigurationFinalizerName is the finalizer for Gateway Configuration SyncState resources.
ConfigurationFinalizerName = "gatewayconfiguration.sync.cloudflare-operator.io/finalizer"
)
const (
// FinalizerName is the finalizer for Gateway Rule SyncState resources.
FinalizerName = "gatewayrule.sync.cloudflare-operator.io/finalizer"
)
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 ¶
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 ¶
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.