controllers

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Abnormal nodeStatusType = "abnormal"
	Normal   nodeStatusType = "normal"
)
View Source
const (
	// KubernetesCustomized pod annotation BlkIOThrottleReadBPS
	KubernetesCustomized = "carina.storage.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogicVolumeReconciler

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

LogicVolumeReconciler reconciles a LogicVolume object

func (*LogicVolumeReconciler) Reconcile

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

func (*LogicVolumeReconciler) SetupWithManager

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

type NodeReconciler

type NodeReconciler struct {
	client.Client
	// stop
	StopChan <-chan struct{}
}

NodeReconciler reconciles a Node object

func (*NodeReconciler) Reconcile

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

Reconcile finalize Node

func (*NodeReconciler) SetupWithManager

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

SetupWithManager sets up Reconciler with Manager.

type PodIOReconciler added in v0.11.0

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

PodReconciler reconciles a Node object

func NewPodIOReconciler added in v0.11.0

func NewPodIOReconciler(
	client client.Client,
	nodeName string,
	partition partition.LocalPartition,
) *PodIOReconciler

func (*PodIOReconciler) Reconcile added in v0.11.0

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

Reconcile finalize Node

func (*PodIOReconciler) SetupWithManager added in v0.11.0

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

SetupWithManager sets up Reconciler with Manager.

Jump to

Keyboard shortcuts

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