daemon

package
v0.0.0-...-0490a85 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlashCondition flash condition name
	FlashCondition string = "Flashed"

	// Failed indicates that the flashing is in an unknown state
	FlashUnknown FlashConditionReason = "Unknown"
	// FlashInProgress indicates that the flashing process is in progress
	FlashInProgress FlashConditionReason = "InProgress"
	// FlashFailed indicates that the flashing process failed
	FlashFailed FlashConditionReason = "Failed"
	// FlashNotRequested indicates that the flashing process was not requested
	FlashNotRequested FlashConditionReason = "NotRequested"
	// FlashSucceeded indicates that the flashing process succeeded
	FlashSucceeded FlashConditionReason = "Succeeded"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FPGAManager

type FPGAManager struct {
	Log logr.Logger
}

func (*FPGAManager) ProgramFPGA

func (fpga *FPGAManager) ProgramFPGA(file string, PCIAddr string, dryRun bool) error

func (*FPGAManager) ProgramFPGAs

func (fpga *FPGAManager) ProgramFPGAs(n *fpgav1.N3000Node) error

type FlashConditionReason

type FlashConditionReason string

type FortvilleManager

type FortvilleManager struct {
	Log logr.Logger
	// contains filtered or unexported fields
}

type N3000NodeReconciler

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

func NewN3000NodeReconciler

func NewN3000NodeReconciler(c client.Client, clientSet *clientset.Clientset, log logr.Logger,
	nodename, namespace string) *N3000NodeReconciler

func (*N3000NodeReconciler) CreateEmptyN3000NodeIfNeeded

func (r *N3000NodeReconciler) CreateEmptyN3000NodeIfNeeded(c client.Client) error

CreateEmptyN3000NodeIfNeeded creates empty CR to be Reconciled in near future and filled with Status. If invoked before manager's Start, it'll need a direct API client (Manager's/Controller's client is cached and cache is not initialized yet).

func (*N3000NodeReconciler) Reconcile

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

func (*N3000NodeReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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