Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new WebApplicationFirewallRule Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func ReconcileWAFRuleInstances ¶
func ReconcileWAFRuleInstances(ctx context.Context, instance crdsv1alpha1.WebApplicationFirewallRule, zone *crdsv1alpha1.Zone, cf *cloudflare.API) error
Types ¶
type ReconcileWebApplicationFirewallRule ¶
type ReconcileWebApplicationFirewallRule struct { client.Client // contains filtered or unexported fields }
ReconcileWebApplicationFirewallRule reconciles a WebApplicationFirewallRule object
func (*ReconcileWebApplicationFirewallRule) Reconcile ¶
func (r *ReconcileWebApplicationFirewallRule) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a WebApplicationFirewallRule object and makes changes based on the state read and what is in the WebApplicationFirewallRule.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=crds.kubeflare.io,resources=webapplicationfirewallrules,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=crds.kubeflare.io,resources=webapplicationfirewallrules/status,verbs=get;update;patch