worker

package
v0.0.0-...-5231612 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(ctx context.Context, mgr manager.Manager, ns, hostname, nodename string, executeChan chan *v1.Calculation, workerPool, namespace string) error

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(
	ctx context.Context,
	mgr manager.Manager,
	executeChan chan *v1.Calculation,
	calcErrorChan chan string,
	stepUpdaterChan chan util.Result,
	hostname, nodename, namespace, workerPool string) *Controller

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{}) error

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

func NewMainOperator

func NewMainOperator(ctx context.Context, hostname, nodename, namespace, workerPool, nfsPath string, cfg *rest.Config, dryRun bool) *Operator

func (*Operator) Initialize

func (op *Operator) Initialize() error

func (*Operator) Run

func (op *Operator) Run(stopCh <-chan struct{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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