nodeslo

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v1.1.0

func Add(mgr ctrl.Manager) error

Types

type NodeSLOReconciler

type NodeSLOReconciler struct {
	client.Client

	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

NodeSLOReconciler reconciles a NodeSLO object

func (*NodeSLOReconciler) Reconcile

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

func (*NodeSLOReconciler) SetupWithManager

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

type SLOCfg added in v0.5.0

type SLOCfg struct {
	ThresholdCfgMerged   config.ResourceThresholdCfg `json:"thresholdCfgMerged,omitempty"`
	ResourceQOSCfgMerged config.ResourceQOSCfg       `json:"resourceQOSCfgMerged,omitempty"`
	CPUBurstCfgMerged    config.CPUBurstCfg          `json:"cpuBurstCfgMerged,omitempty"`
}

func DefaultSLOCfg added in v0.5.0

func DefaultSLOCfg() SLOCfg

func (*SLOCfg) DeepCopy added in v0.5.0

func (in *SLOCfg) DeepCopy() *SLOCfg

type SLOCfgCache added in v0.5.0

type SLOCfgCache interface {
	GetCfgCopy() *SLOCfg
	IsCfgAvailable() bool
}

type SLOCfgHandlerForConfigMapEvent added in v0.5.0

type SLOCfgHandlerForConfigMapEvent struct {
	config.EnqueueRequestForConfigMap

	Client client.Client
	// contains filtered or unexported fields
}

func NewSLOCfgHandlerForConfigMapEvent added in v0.5.0

func NewSLOCfgHandlerForConfigMapEvent(client client.Client, initCfg SLOCfg, recorder record.EventRecorder) *SLOCfgHandlerForConfigMapEvent

func (*SLOCfgHandlerForConfigMapEvent) GetCfgCopy added in v0.7.0

func (p *SLOCfgHandlerForConfigMapEvent) GetCfgCopy() *SLOCfg

func (*SLOCfgHandlerForConfigMapEvent) IsCfgAvailable added in v0.7.0

func (p *SLOCfgHandlerForConfigMapEvent) IsCfgAvailable() bool

Jump to

Keyboard shortcuts

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