Documentation
¶
Index ¶
Constants ¶
const ( GatewayClassFinalizer = "gateway.netbird.io/gatewayclass" GatewayControllerName = "gateway.netbird.io/controller" )
const (
GatewayFinalizer = "gateway.netbird.io/gateway"
)
const (
HTTPRouteFinalizer = "gateway.netbird.io/httproute"
)
const (
// ServiceExposeAnnotation Service annotation for exposing
ServiceExposeAnnotation = "netbird.io/expose"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayClassReconciler ¶ added in v0.3.0
func (*GatewayClassReconciler) SetupWithManager ¶ added in v0.3.0
func (r *GatewayClassReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GatewayReconciler ¶ added in v0.3.0
func (*GatewayReconciler) SetupWithManager ¶ added in v0.3.0
func (r *GatewayReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HTTPRouteReconciler ¶ added in v0.3.0
func (*HTTPRouteReconciler) SetupWithManager ¶ added in v0.3.0
func (r *HTTPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NBGroupReconciler ¶
NBGroupReconciler reconciles a NBGroup object
func (*NBGroupReconciler) Reconcile ¶
func (r *NBGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err 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.
func (*NBGroupReconciler) SetupWithManager ¶
func (r *NBGroupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NBPolicyReconciler ¶
NBPolicyReconciler reconciles a NBPolicy object
func (*NBPolicyReconciler) Reconcile ¶
func (r *NBPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err 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.
func (*NBPolicyReconciler) SetupWithManager ¶
func (r *NBPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NBResourceReconciler ¶
type NBResourceReconciler struct {
client.Client
Netbird *netbird.Client
AllowAutomaticPolicyCreation bool
ClusterName string
DefaultLabels map[string]string
}
NBResourceReconciler reconciles a NBResource object
func (*NBResourceReconciler) Reconcile ¶
func (r *NBResourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err 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.
func (*NBResourceReconciler) SetupWithManager ¶
func (r *NBResourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NBRoutingPeerReconciler ¶
type NBRoutingPeerReconciler struct {
client.Client
Netbird *netbird.Client
ClientImage string
ClusterName string
ManagementURL string
NamespacedNetworks bool
DefaultLabels map[string]string
}
NBRoutingPeerReconciler reconciles a NBRoutingPeer object
func (*NBRoutingPeerReconciler) Reconcile ¶
func (r *NBRoutingPeerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err 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.
func (*NBRoutingPeerReconciler) SetupWithManager ¶
func (r *NBRoutingPeerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NBSetupKeyReconciler ¶
type NBSetupKeyReconciler struct {
client.Client
ReferencedSecrets map[string]types.NamespacedName
}
NBSetupKeyReconciler reconciles a NBSetupKey object
func (*NBSetupKeyReconciler) Reconcile ¶
func (r *NBSetupKeyReconciler) 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.
func (*NBSetupKeyReconciler) SetupWithManager ¶
func (r *NBSetupKeyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceReconciler ¶
type ServiceReconciler struct {
client.Client
ClusterName string
ClusterDNS string
NamespacedNetworks bool
ControllerNamespace string
DefaultLabels map[string]string
}
ServiceReconciler reconciles a Service object
func (*ServiceReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.