Documentation ¶
Index ¶
Constants ¶
const (
IngressNodeFirewallManifestPath = "./bindata/manifests/daemon"
)
Variables ¶
var ManifestPath = IngressNodeFirewallManifestPath
Functions ¶
This section is empty.
Types ¶
type IngressNodeFirewallConfigReconciler ¶
type IngressNodeFirewallConfigReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger Namespace string PlatformInfo platform.PlatformInfo }
IngressNodeFirewallConfigReconciler reconciles a IngressNodeFirewallConfig object
func (*IngressNodeFirewallConfigReconciler) Reconcile ¶
func (r *IngressNodeFirewallConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. the IngressNodeFirewallConfig object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*IngressNodeFirewallConfigReconciler) SetupWithManager ¶
func (r *IngressNodeFirewallConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IngressNodeFirewallNodeStateReconciler ¶
type IngressNodeFirewallNodeStateReconciler struct { client.Client Scheme *runtime.Scheme NodeName string Namespace string Log logr.Logger Stats *metrics.Statistics }
IngressNodeFirewallNodeStateReconciler reconciles a IngressNodeFirewallNodeState object
func (*IngressNodeFirewallNodeStateReconciler) Reconcile ¶
func (r *IngressNodeFirewallNodeStateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the IngressNodeFirewallNodeState object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*IngressNodeFirewallNodeStateReconciler) SetupWithManager ¶
func (r *IngressNodeFirewallNodeStateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IngressNodeFirewallReconciler ¶
type IngressNodeFirewallReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger Namespace string }
IngressNodeFirewallReconciler reconciles a IngressNodeFirewall object
func (*IngressNodeFirewallReconciler) Reconcile ¶
func (r *IngressNodeFirewallReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*IngressNodeFirewallReconciler) SetupWithManager ¶
func (r *IngressNodeFirewallReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager. In addition to watching IngressNodeFirewall this also watches all objects of Kind Node and any change to a node will trigger a reconciliation request. Additionally, changes to objects of type IngressNodeFirewallNodeState with an owner references will lead to reconciliation as well. Given that an IngressNodeFirewallNodeState can have multiple owners, reconciliation will be triggered for any of them (thus, IsController: false).