controllers

package
v0.0.0-...-dfbde08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

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

type HardwareConfigPtpConfigHandler struct {
	Client client.Client
	Log    logr.Logger
}

HardwareConfigPtpConfigHandler handles PTP config changes and triggers HardwareConfig reconciliation

func (*HardwareConfigPtpConfigHandler) Create

Create handles PTP config creation events

func (*HardwareConfigPtpConfigHandler) Delete

Delete handles PTP config deletion events

func (*HardwareConfigPtpConfigHandler) Generic

Generic handles generic PTP config events

func (*HardwareConfigPtpConfigHandler) Update

Update handles PTP config update events

type HardwareConfigReconciler

type HardwareConfigReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

HardwareConfigReconciler reconciles a HardwareConfig object

func (*HardwareConfigReconciler) Reconcile

func (*HardwareConfigReconciler) SetupWithManager

func (r *HardwareConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

type PtpConfigReconciler

type PtpConfigReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

PtpConfigReconciler reconciles a PtpConfig object

func (*PtpConfigReconciler) Reconcile

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) Reconcile

func (*PtpOperatorConfigReconciler) SetupWithManager

func (r *PtpOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL