Documentation
¶
Index ¶
- Constants
- func Jitter(d time.Duration) time.Duration
- func PortSummary(ports []v1alpha1.DevicePort) string
- type AccessControlListReconciler
- type BGPPeerReconciler
- type BGPReconciler
- type BannerReconciler
- type CertificateReconciler
- type DHCPRelayReconciler
- type DNSReconciler
- type DeviceReconciler
- type EVPNInstanceReconciler
- type ISISReconciler
- type InterfaceReconciler
- type LLDPReconciler
- type ManagementAccessReconciler
- type NTPReconciler
- type NetworkVirtualizationEdgeReconciler
- type OSPFReconciler
- type PIMReconciler
- type PrefixSetReconciler
- type RoutingPolicyReconciler
- type SNMPReconciler
- type SyslogReconciler
- type UserReconciler
- type VLANReconciler
- type VRFReconciler
Constants ¶
const ( // LockWaitPriorityHigh is used by resources that are commonly referenced // by other resources. Reconciling them first unblocks dependent resources. // Currently applied to: Interface, VRF. LockWaitPriorityHigh = 10 // LockWaitPriorityDefault is used by all other resources competing for a // device lock. Higher than the queue default (0) so lock-wait requeues are // always served before periodic requeues of already-reconciled resources. LockWaitPriorityDefault = 1 )
Variables ¶
This section is empty.
Functions ¶
func PortSummary ¶
func PortSummary(ports []v1alpha1.DevicePort) string
PortSummary returns a summary string of the given ports in the format: "used/total (type), used/total (type), ..."
Types ¶
type AccessControlListReconciler ¶
type AccessControlListReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the accesscontrollist.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
AccessControlListReconciler reconciles a AccessControlList object
func (*AccessControlListReconciler) Reconcile ¶
func (r *AccessControlListReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*AccessControlListReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type BGPPeerReconciler ¶
type BGPPeerReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the bgppeer.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
BGPPeerReconciler reconciles a BGPPeer object
func (*BGPPeerReconciler) Reconcile ¶
func (r *BGPPeerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*BGPPeerReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type BGPReconciler ¶
type BGPReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the bgp.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
BGPReconciler reconciles a BGP object
func (*BGPReconciler) Reconcile ¶
func (r *BGPReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*BGPReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type BannerReconciler ¶
type BannerReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the banner.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
BannerReconciler reconciles a Banner object
func (*BannerReconciler) Reconcile ¶
func (r *BannerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*BannerReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type CertificateReconciler ¶
type CertificateReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the certificate.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
CertificateReconciler reconciles a Certificate object
func (*CertificateReconciler) Reconcile ¶
func (r *CertificateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*CertificateReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type DHCPRelayReconciler ¶
type DHCPRelayReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the dhcp relay configuration.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
DHCPRelayReconciler reconciles a DHCPRelay object
func (*DHCPRelayReconciler) Reconcile ¶
func (r *DHCPRelayReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.22.1/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*DHCPRelayReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type DNSReconciler ¶
type DNSReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the dns.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
DNSReconciler reconciles a DNS object
func (*DNSReconciler) Reconcile ¶
func (r *DNSReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*DNSReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type DeviceReconciler ¶
type DeviceReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the interface.
Provider provider.ProviderFunc
// HeartbeatInterval is the duration after which the controller requeues the reconciliation,
// regardless of changes.
HeartbeatInterval time.Duration
}
DeviceReconciler reconciles a Device object
func (*DeviceReconciler) Reconcile ¶
func (r *DeviceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*DeviceReconciler) SetupWithManager ¶
func (r *DeviceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EVPNInstanceReconciler ¶
type EVPNInstanceReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the evpninstance.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
EVPNInstanceReconciler reconciles a EVPNInstance object
func (*EVPNInstanceReconciler) Reconcile ¶
func (r *EVPNInstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*EVPNInstanceReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type ISISReconciler ¶
type ISISReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the isis.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
ISISReconciler reconciles a ISIS object
func (*ISISReconciler) Reconcile ¶
func (r *ISISReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*ISISReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type InterfaceReconciler ¶
type InterfaceReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the interface.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
InterfaceReconciler reconciles a Interface object
func (*InterfaceReconciler) Reconcile ¶
func (r *InterfaceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*InterfaceReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type LLDPReconciler ¶
type LLDPReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the LLDP.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
LLDPReconciler reconciles a LLDP object
func (*LLDPReconciler) Reconcile ¶
func (r *LLDPReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.22.4/pkg/reconcile
func (*LLDPReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type ManagementAccessReconciler ¶
type ManagementAccessReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the managementaccess.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
ManagementAccessReconciler reconciles a ManagementAccess object
func (*ManagementAccessReconciler) Reconcile ¶
func (r *ManagementAccessReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*ManagementAccessReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type NTPReconciler ¶
type NTPReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the ntp.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
NTPReconciler reconciles a NTP object
func (*NTPReconciler) Reconcile ¶
func (r *NTPReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*NTPReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type NetworkVirtualizationEdgeReconciler ¶
type NetworkVirtualizationEdgeReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the dns.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
NetworkVirtualizationEdgeReconciler reconciles a NVE object
func (*NetworkVirtualizationEdgeReconciler) Reconcile ¶
func (r *NetworkVirtualizationEdgeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.22.1/pkg/reconcile
func (*NetworkVirtualizationEdgeReconciler) SetupWithManager ¶
func (r *NetworkVirtualizationEdgeReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OSPFReconciler ¶
type OSPFReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the ospf.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
OSPFReconciler reconciles a OSPF object
func (*OSPFReconciler) Reconcile ¶
func (r *OSPFReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*OSPFReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type PIMReconciler ¶
type PIMReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the pim.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
PIMReconciler reconciles a PIM object
func (*PIMReconciler) Reconcile ¶
func (r *PIMReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*PIMReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type PrefixSetReconciler ¶
type PrefixSetReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the prefixset.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
PrefixSetReconciler reconciles a PrefixSet object
func (*PrefixSetReconciler) Reconcile ¶
func (r *PrefixSetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*PrefixSetReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type RoutingPolicyReconciler ¶
type RoutingPolicyReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the routingpolicy.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
RoutingPolicyReconciler reconciles a RoutingPolicy object
func (*RoutingPolicyReconciler) Reconcile ¶
func (r *RoutingPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*RoutingPolicyReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type SNMPReconciler ¶
type SNMPReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the snmp.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
SNMPReconciler reconciles a snmp object
func (*SNMPReconciler) Reconcile ¶
func (r *SNMPReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*SNMPReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type SyslogReconciler ¶
type SyslogReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the syslog.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
SyslogReconciler reconciles a Syslog object
func (*SyslogReconciler) Reconcile ¶
func (r *SyslogReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*SyslogReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type UserReconciler ¶
type UserReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the user.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
UserReconciler reconciles a User object
func (*UserReconciler) Reconcile ¶
func (r *UserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*UserReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type VLANReconciler ¶
type VLANReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the vlan.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
// RequeueInterval is the duration after which the controller should requeue the reconciliation,
// regardless of changes.
RequeueInterval time.Duration
}
VLANReconciler reconciles a VLAN object
func (*VLANReconciler) Reconcile ¶
func (r *VLANReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.20.2/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
func (*VLANReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type VRFReconciler ¶
type VRFReconciler struct {
client.Client
Scheme *runtime.Scheme
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// Recorder is used to record events for the controller.
// More info: https://book.kubebuilder.io/reference/raising-events
Recorder events.EventRecorder
// Provider is the driver that will be used to create & delete the isis.
Provider provider.ProviderFunc
// Locker is used to synchronize operations on resources targeting the same device.
Locker *resourcelock.ResourceLocker
}
VRFReconciler reconciles a VRF object
func (*VRFReconciler) Reconcile ¶
func (r *VRFReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.22.1/pkg/reconcile
For more details about the method shape, read up here: - https://ahmet.im/blog/controller-pitfalls/#reconcile-method-shape
NOTE: TODO: VRF requires features `nv overlay` and `bgp` to be enabled on the device
func (*VRFReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Source Files
¶
- acl_controller.go
- banner_controller.go
- bgp_controller.go
- bgp_peer_controller.go
- certificate_controller.go
- device_controller.go
- dhcprelay_controller.go
- dns_controller.go
- evpninstance_controller.go
- interface_controller.go
- isis_controller.go
- lldp_controller.go
- lockwaitpriority.go
- managementaccess_controller.go
- ntp_controller.go
- nve_controller.go
- ospf_controller.go
- pim_controller.go
- prefixset_controller.go
- routingpolicy_controller.go
- snmp_controller.go
- syslog_controller.go
- user_controller.go
- vlan_controller.go
- vrf_controller.go