autoscaleruserconfig

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscalerUserConfig

type AutoscalerUserConfig struct {
	// +kubebuilder:validation:MaxItems=64
	// Configure autoscaling thresholds for a service
	Autoscaling []*Autoscaling `groups:"create,update" json:"autoscaling"`
}

func (*AutoscalerUserConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalerUserConfig.

func (*AutoscalerUserConfig) DeepCopyInto

func (in *AutoscalerUserConfig) DeepCopyInto(out *AutoscalerUserConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Autoscaling

type Autoscaling struct {
	// +kubebuilder:validation:Minimum=50
	// +kubebuilder:validation:Maximum=10000
	// The maximum total disk size (in gb) to allow autoscaler to scale up to
	CapGb int `groups:"create,update" json:"cap_gb"`

	// +kubebuilder:validation:Enum="autoscale_disk"
	// Type of autoscale event
	Type string `groups:"create,update" json:"type"`
}

Autoscaling properties for a service

func (*Autoscaling) DeepCopy

func (in *Autoscaling) DeepCopy() *Autoscaling

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autoscaling.

func (*Autoscaling) DeepCopyInto

func (in *Autoscaling) DeepCopyInto(out *Autoscaling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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