Documentation
¶
Index ¶
- Constants
- type HardwareConfigPtpConfigHandler
- func (h *HardwareConfigPtpConfigHandler) Create(ctx context.Context, evt event.CreateEvent, ...)
- func (h *HardwareConfigPtpConfigHandler) Delete(ctx context.Context, evt event.DeleteEvent, ...)
- func (h *HardwareConfigPtpConfigHandler) Generic(ctx context.Context, evt event.GenericEvent, ...)
- func (h *HardwareConfigPtpConfigHandler) Update(ctx context.Context, evt event.UpdateEvent, ...)
- type HardwareConfigReconciler
- type PtpConfigReconciler
- type PtpOperatorConfigReconciler
- func (r *PtpOperatorConfigReconciler) EventTransportHostAvailabilityCheck(transportHost string) (string, error)
- func (r *PtpOperatorConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (reconcile.Result, error)
- func (r *PtpOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ( ResyncPeriod = 2 * time.Minute DefaultTransportHost = "http://ptp-event-publisher-service-NODE_NAME.openshift-ptp.svc.cluster.local:9043" DefaultStorageType = "emptyDir" DefaultApiVersion = "2.0" )
View Source
const PTP_SEC_FOLDER = "/etc/ptp-secret-mount/"
View Source
const ProfileNameSeperator = "_"
View Source
const TLV_AUTH_SUFFIX = "-tlv-auth"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HardwareConfigPtpConfigHandler ¶
HardwareConfigPtpConfigHandler handles PTP config changes and triggers HardwareConfig reconciliation
func (*HardwareConfigPtpConfigHandler) Create ¶
func (h *HardwareConfigPtpConfigHandler) Create(ctx context.Context, evt event.CreateEvent, q workqueue.TypedRateLimitingInterface[reconcile.Request])
Create handles PTP config creation events
func (*HardwareConfigPtpConfigHandler) Delete ¶
func (h *HardwareConfigPtpConfigHandler) Delete(ctx context.Context, evt event.DeleteEvent, q workqueue.TypedRateLimitingInterface[reconcile.Request])
Delete handles PTP config deletion events
func (*HardwareConfigPtpConfigHandler) Generic ¶
func (h *HardwareConfigPtpConfigHandler) Generic(ctx context.Context, evt event.GenericEvent, q workqueue.TypedRateLimitingInterface[reconcile.Request])
Generic handles generic PTP config events
func (*HardwareConfigPtpConfigHandler) Update ¶
func (h *HardwareConfigPtpConfigHandler) Update(ctx context.Context, evt event.UpdateEvent, q workqueue.TypedRateLimitingInterface[reconcile.Request])
Update handles PTP config update events
type HardwareConfigReconciler ¶
HardwareConfigReconciler reconciles a HardwareConfig object
func (*HardwareConfigReconciler) SetupWithManager ¶
func (r *HardwareConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type PtpConfigReconciler ¶
PtpConfigReconciler reconciles a PtpConfig object
func (*PtpConfigReconciler) SetupWithManager ¶
func (r *PtpConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type PtpOperatorConfigReconciler ¶
type PtpOperatorConfigReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
// TLSProfileSpec is the cluster-wide TLS profile to apply to kube-rbac-proxy.
// When nil, legacy hardcoded cipher suites are used (pre-TLS adherence behavior).
TLSProfileSpec *configv1.TLSProfileSpec
}
PtpOperatorConfigReconciler reconciles a PtpOperatorConfig object
func (*PtpOperatorConfigReconciler) EventTransportHostAvailabilityCheck ¶
func (r *PtpOperatorConfigReconciler) EventTransportHostAvailabilityCheck(transportHost string) (string, error)
EventTransportHostAvailabilityCheck ... check availability for transporthost
func (*PtpOperatorConfigReconciler) SetupWithManager ¶
func (r *PtpOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.