Documentation ¶
Index ¶
- type DeviceReconciler
- type NetworkInterfaceReconciler
- func (r *NetworkInterfaceReconciler) AddToScheme(s *runtime.Scheme) error
- func (r *NetworkInterfaceReconciler) Close() error
- func (r *NetworkInterfaceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)
- func (r *NetworkInterfaceReconciler) SetupWithManager(mgr ctrl.Manager) error
- type NodeReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceReconciler ¶
type DeviceReconciler struct { DeviceName string DeviceAddress string DataDir string ManifestDir string ExternalPort int K3sProxyEnabled *bool Docker bool KubeletArgs []string Devices storage.Interface DeviceTokens storage.Interface NetworkInterfaces storage.Interface DeviceDiscovery *discovery.DeviceDiscovery IngressController *ingress.IngressController Shutdown func() error Logger *logrus.Entry client.Client // contains filtered or unexported fields }
DeviceReconciler reconciles a Device object.
func (*DeviceReconciler) AddToScheme ¶
func (r *DeviceReconciler) AddToScheme(s *runtime.Scheme) error
func (*DeviceReconciler) Reconcile ¶
func (r *DeviceReconciler) 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 (*DeviceReconciler) SetupWithManager ¶
func (r *DeviceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NetworkInterfaceReconciler ¶
type NetworkInterfaceReconciler struct { DeviceName string NetworkInterfaces []string Store storage.Interface WifiPasswords storage.Interface WifiNetworks storage.Interface Wifi *wifi.Wifi client.Client // contains filtered or unexported fields }
NetworkInterfaceReconciler reconciles a Device object.
func (*NetworkInterfaceReconciler) AddToScheme ¶
func (r *NetworkInterfaceReconciler) AddToScheme(s *runtime.Scheme) error
func (*NetworkInterfaceReconciler) Close ¶
func (r *NetworkInterfaceReconciler) Close() error
func (*NetworkInterfaceReconciler) SetupWithManager ¶
func (r *NetworkInterfaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NodeReconciler ¶
type NodeReconciler struct { DeviceName string DeviceStore storage.Interface K3sDir string Shutdown func() error client.Client // contains filtered or unexported fields }
NodeReconciler reconciles a Node object.
func (*NodeReconciler) AddToScheme ¶
func (r *NodeReconciler) AddToScheme(s *runtime.Scheme) error
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.