Documentation
¶
Overview ¶
Package ruleset provides sync controllers for managing Cloudflare Ruleset resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedirectRuleController ¶
type RedirectRuleController struct {
*common.BaseSyncController
}
RedirectRuleController is the Sync Controller for Redirect Rule Configuration. It watches CloudflareSyncState resources of type RedirectRule, extracts the configuration, and syncs to Cloudflare API.
func NewRedirectRuleController ¶
func NewRedirectRuleController(c client.Client) *RedirectRuleController
NewRedirectRuleController creates a new RedirectRuleSyncController
func (*RedirectRuleController) Reconcile ¶
func (r *RedirectRuleController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile processes a CloudflareSyncState resource for redirect rule.
func (*RedirectRuleController) SetupWithManager ¶
func (r *RedirectRuleController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TransformRuleController ¶
type TransformRuleController struct {
*common.BaseSyncController
}
TransformRuleController is the Sync Controller for Transform Rule Configuration. It watches CloudflareSyncState resources of type TransformRule, extracts the configuration, and syncs to Cloudflare API.
func NewTransformRuleController ¶
func NewTransformRuleController(c client.Client) *TransformRuleController
NewTransformRuleController creates a new TransformRuleSyncController
func (*TransformRuleController) Reconcile ¶
func (r *TransformRuleController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile processes a CloudflareSyncState resource for transform rule.
func (*TransformRuleController) SetupWithManager ¶
func (r *TransformRuleController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ZoneRulesetController ¶
type ZoneRulesetController struct {
*common.BaseSyncController
}
ZoneRulesetController is the Sync Controller for Zone Ruleset Configuration. It watches CloudflareSyncState resources of type ZoneRuleset, extracts the configuration, and syncs to Cloudflare API.
func NewZoneRulesetController ¶
func NewZoneRulesetController(c client.Client) *ZoneRulesetController
NewZoneRulesetController creates a new ZoneRulesetSyncController
func (*ZoneRulesetController) Reconcile ¶
func (r *ZoneRulesetController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile processes a CloudflareSyncState resource for zone ruleset.
func (*ZoneRulesetController) SetupWithManager ¶
func (r *ZoneRulesetController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.