autoscaler

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AutoscalerClassNone = "none"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Autoscaler

type Autoscaler struct {
	AutoscalerClass constants.AutoscalerClassType
	HPA             *hpa.HPAReconciler
}

type AutoscalerReconciler

type AutoscalerReconciler struct {
	Autoscaler *Autoscaler
	// contains filtered or unexported fields
}

AutoscalerReconciler is the struct of Raw K8S Object

func NewAutoscalerReconciler

func NewAutoscalerReconciler(client client.Client,
	scheme *runtime.Scheme,
	servingRuntime interface{}, mmDeploymentName string, mmNamespace string) (*AutoscalerReconciler, error)

func (*AutoscalerReconciler) Reconcile

func (r *AutoscalerReconciler) Reconcile(scaleToZero bool) (*Autoscaler, error)

Reconcile ...

Jump to

Keyboard shortcuts

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