daemon

package
v0.0.0-...-ac6acfc Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateCondition        string                = "Updated"
	UpdateInProgress       UpdateConditionReason = "InProgress"
	UpdatePostUpdateReboot UpdateConditionReason = "PostUpdateReboot"
	UpdateFailed           UpdateConditionReason = "Failed"
	UpdateNotRequested     UpdateConditionReason = "NotRequested"
	UpdateSucceeded        UpdateConditionReason = "Succeeded"
)

Variables

This section is empty.

Functions

func GetInventory

func GetInventory(log logr.Logger) ([]ethernetv1.Device, error)

func LoadConfig

func LoadConfig() error

Types

type Compatibility

type Compatibility struct {
	utils.SupportedDevice
	Driver   string
	Firmware string
	DDP      []string
}

type CompatibilityMap

type CompatibilityMap map[string]Compatibility

type DeviceIDs

type DeviceIDs utils.SupportedDevice

type NodeConfigReconciler

type NodeConfigReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

func NewNodeConfigReconciler

func NewNodeConfigReconciler(c client.Client, clientSet *clientset.Clientset, log logr.Logger,
	nodeName, ns string) (*NodeConfigReconciler, error)

func (*NodeConfigReconciler) CreateEmptyNodeConfigIfNeeded

func (r *NodeConfigReconciler) CreateEmptyNodeConfigIfNeeded(c client.Client) error

func (*NodeConfigReconciler) Reconcile

func (r *NodeConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*NodeConfigReconciler) SetupWithManager

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

type ResourceNamePredicate

type ResourceNamePredicate struct {
	predicate.Funcs
	// contains filtered or unexported fields
}

func (ResourceNamePredicate) Create

func (ResourceNamePredicate) Update

type UpdateConditionReason

type UpdateConditionReason string

Jump to

Keyboard shortcuts

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