nodestatus

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoOwnerProfile  = errors.New("No owner profile defined for this status")
	ErrUnkownOwnerKind = errors.New("the node status owner is of an unknown kind")
)

Functions

func Setup

func Setup(ctx context.Context, mgr ctrl.Manager, l logr.Logger) error

Setup adds a controller that reconciles the SPOd DaemonSet.

Types

type StatusReconciler

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

A StatusReconciler monitors node changes and updates the profile status.

func NewStatusReconciler

func NewStatusReconciler(cli client.Client, log logr.Logger, record event.Recorder) *StatusReconciler

func (*StatusReconciler) Reconcile

Reconcile reconciles a NodeStatus.

Jump to

Keyboard shortcuts

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