Documentation
¶
Index ¶
- Constants
- type EventStatusRecorder
- type IpAddressClaimReconciler
- type IpAddressClaimRestorationData
- type IpAddressReconciler
- type IpRangeClaimReconciler
- type IpRangeClaimRestorationData
- type IpRangeReconciler
- type ObjectWithConditions
- type PrefixClaimReconciler
- type PrefixClaimRestorationData
- type PrefixReconciler
Constants ¶
const IPManagedCustomFieldsAnnotationName = "ipaddress.netbox.dev/managed-custom-fields"
const IPRManagedCustomFieldsAnnotationName = "iprange.netbox.dev/managed-custom-fields"
const IpAddressFinalizerName = "ipaddress.netbox.dev/finalizer"
const IpRangeClaimFinalizerName = "iprangeclaim.netbox.dev/finalizer"
const IpRangeFinalizerName = "iprange.netbox.dev/finalizer"
const PXManagedCustomFieldsAnnotationName = "prefix.netbox.dev/managed-custom-fields"
const PrefixFinalizerName = "prefix.netbox.dev/finalizer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStatusRecorder ¶
type EventStatusRecorder struct {
// contains filtered or unexported fields
}
func NewEventStatusRecorder ¶
func NewEventStatusRecorder(client client.Client, rec record.EventRecorder) *EventStatusRecorder
func (*EventStatusRecorder) Recorder ¶
func (esr *EventStatusRecorder) Recorder() record.EventRecorder
type IpAddressClaimReconciler ¶
type IpAddressClaimReconciler struct { client.Client Scheme *runtime.Scheme NetboxClient *api.NetboxClient EventStatusRecorder *EventStatusRecorder OperatorNamespace string RestConfig *rest.Config }
IpAddressClaimReconciler reconciles a IpAddressClaim object
func (*IpAddressClaimReconciler) Reconcile ¶
func (r *IpAddressClaimReconciler) 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 (*IpAddressClaimReconciler) SetupWithManager ¶
func (r *IpAddressClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IpAddressReconciler ¶
type IpAddressReconciler struct { client.Client Scheme *runtime.Scheme NetboxClient *api.NetboxClient EventStatusRecorder *EventStatusRecorder OperatorNamespace string RestConfig *rest.Config }
IpAddressReconciler reconciles a IpAddress object
func (*IpAddressReconciler) 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 (*IpAddressReconciler) SetupWithManager ¶
func (r *IpAddressReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IpRangeClaimReconciler ¶
type IpRangeClaimReconciler struct { client.Client Scheme *runtime.Scheme NetboxClient *api.NetboxClient EventStatusRecorder *EventStatusRecorder OperatorNamespace string RestConfig *rest.Config }
IpRangeClaimReconciler reconciles a IpRangeClaim object
func (*IpRangeClaimReconciler) Reconcile ¶
func (r *IpRangeClaimReconciler) 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 (*IpRangeClaimReconciler) SetupWithManager ¶
func (r *IpRangeClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IpRangeReconciler ¶
type IpRangeReconciler struct { client.Client Scheme *runtime.Scheme NetboxClient *api.NetboxClient EventStatusRecorder *EventStatusRecorder OperatorNamespace string RestConfig *rest.Config }
IpRangeReconciler reconciles a IpRange object
func (*IpRangeReconciler) 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 (*IpRangeReconciler) SetupWithManager ¶
func (r *IpRangeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ObjectWithConditions ¶
type PrefixClaimReconciler ¶
type PrefixClaimReconciler struct { client.Client Scheme *runtime.Scheme NetboxClient *api.NetboxClient EventStatusRecorder *EventStatusRecorder OperatorNamespace string RestConfig *rest.Config }
PrefixClaimReconciler reconciles a PrefixClaim object
func (*PrefixClaimReconciler) Reconcile ¶
func (r *PrefixClaimReconciler) 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 (*PrefixClaimReconciler) SetupWithManager ¶
func (r *PrefixClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PrefixClaimRestorationData ¶
type PrefixClaimRestorationData struct { // only use immutable fields Namespace string Name string ParentPrefix string PrefixLength string Tenant string ParentPrefixSelector string }
func (*PrefixClaimRestorationData) ComputeHash ¶
func (rd *PrefixClaimRestorationData) ComputeHash() string
type PrefixReconciler ¶
type PrefixReconciler struct { client.Client Scheme *runtime.Scheme NetboxClient *api.NetboxClient EventStatusRecorder *EventStatusRecorder OperatorNamespace string RestConfig *rest.Config }
PrefixReconciler reconciles a Prefix object
func (*PrefixReconciler) 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 (*PrefixReconciler) SetupWithManager ¶
func (r *PrefixReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.