nodestatus

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewController added in v0.4.0

func NewController() controller.Controller

NewController returns a new empty controller instance.

Types

type StatusReconciler

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

A StatusReconciler monitors node changes and updates the profile status.

func (*StatusReconciler) Healthz added in v0.4.0

func (r *StatusReconciler) Healthz(*http.Request) error

Healthz is the liveness probe endpoint of the controller.

func (*StatusReconciler) Name added in v0.4.0

func (r *StatusReconciler) Name() string

Name returns the name of the controller.

func (*StatusReconciler) Reconcile

Reconcile reconciles a NodeStatus.

func (*StatusReconciler) SchemeBuilder added in v0.4.0

func (r *StatusReconciler) SchemeBuilder() *scheme.Builder

SchemeBuilder returns the API scheme of the controller.

func (*StatusReconciler) Setup added in v0.4.0

func (r *StatusReconciler) Setup(
	_ context.Context,
	mgr ctrl.Manager,
	_ *metrics.Metrics,
) error

Setup adds a controller that reconciles the SPOd DaemonSet.

Jump to

Keyboard shortcuts

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