v1alpha1

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +kubebuilder:object:generate=true +groupName=autoscaling.stefaniak.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "autoscaling.stefaniak.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type StartupCPUBoost

type StartupCPUBoost struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Selector metav1.LabelSelector  `json:"selector,omitempty"`
	Spec     StartupCPUBoostSpec   `json:"spec,omitempty"`
	Status   StartupCPUBoostStatus `json:"status,omitempty"`
}

StartupCPUBoost is the Schema for the startupcpuboosts API

func (*StartupCPUBoost) DeepCopy

func (in *StartupCPUBoost) DeepCopy() *StartupCPUBoost

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

func (*StartupCPUBoost) DeepCopyInto

func (in *StartupCPUBoost) DeepCopyInto(out *StartupCPUBoost)

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

func (*StartupCPUBoost) DeepCopyObject

func (in *StartupCPUBoost) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StartupCPUBoostList

type StartupCPUBoostList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StartupCPUBoost `json:"items"`
}

StartupCPUBoostList contains a list of StartupCPUBoost

func (*StartupCPUBoostList) DeepCopy

func (in *StartupCPUBoostList) DeepCopy() *StartupCPUBoostList

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

func (*StartupCPUBoostList) DeepCopyInto

func (in *StartupCPUBoostList) DeepCopyInto(out *StartupCPUBoostList)

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

func (*StartupCPUBoostList) DeepCopyObject

func (in *StartupCPUBoostList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StartupCPUBoostSpec

type StartupCPUBoostSpec struct {
	// TimePeriod defines the period of time, in seconds, that POD will be affected
	// by the CPU Boost after the initialization
	TimePeriod int64 `json:"timePeriod,omitempty"`

	// BootPercent defines the percent of CPU request increase that POD will get
	// during the CPU boost time period
	BoostPercent int64 `json:"boostPercent,omitempty"`
}

StartupCPUBoostSpec defines the desired state of StartupCPUBoost

func (*StartupCPUBoostSpec) DeepCopy

func (in *StartupCPUBoostSpec) DeepCopy() *StartupCPUBoostSpec

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

func (*StartupCPUBoostSpec) DeepCopyInto

func (in *StartupCPUBoostSpec) DeepCopyInto(out *StartupCPUBoostSpec)

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

type StartupCPUBoostStatus

type StartupCPUBoostStatus struct {
}

StartupCPUBoostStatus defines the observed state of StartupCPUBoost

func (*StartupCPUBoostStatus) DeepCopy

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

func (*StartupCPUBoostStatus) DeepCopyInto

func (in *StartupCPUBoostStatus) DeepCopyInto(out *StartupCPUBoostStatus)

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