Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSResolver ¶
type DNSResolver interface { // Resolve all the given fqdns to a DNSResolverResult Resolve( ctx context.Context, timeout time.Duration, maxConcurrent int, networkType v1alpha1.NetworkType, fqdns []v1alpha1.FQDN, ) network.DNSResolverResultList }
DNSResolver resolves domains to IP addresses
type NetworkPolicyReconciler ¶
type NetworkPolicyReconciler struct { client.Client Scheme *runtime.Scheme EventRecorder record.EventRecorder DNSResolver DNSResolver MaxConcurrentResolves int }
NetworkPolicyReconciler reconciles a NetworkPolicy object
func (*NetworkPolicyReconciler) Reconcile ¶
func (r *NetworkPolicyReconciler) 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.21.0/pkg/reconcile
func (*NetworkPolicyReconciler) SetupWithManager ¶
func (r *NetworkPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.