v1beta1

package
v0.0.0-...-dd3cf1f Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the autoscaling v1beta1 API group +kubebuilder:object:generate=true +groupName=autoscaling.44smkn.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "autoscaling.44smkn.github.io", Version: "v1beta1"}

	// 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 HorizontalPodCronscaler

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

	Spec   HorizontalPodCronscalerSpec   `json:"spec,omitempty"`
	Status HorizontalPodCronscalerStatus `json:"status,omitempty"`
}

HorizontalPodCronscaler is the Schema for the horizontalpodcronscalers API

func (*HorizontalPodCronscaler) DeepCopy

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

func (*HorizontalPodCronscaler) DeepCopyInto

func (in *HorizontalPodCronscaler) DeepCopyInto(out *HorizontalPodCronscaler)

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

func (*HorizontalPodCronscaler) DeepCopyObject

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

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

func (*HorizontalPodCronscaler) Default

func (r *HorizontalPodCronscaler) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*HorizontalPodCronscaler) SetupWebhookWithManager

func (r *HorizontalPodCronscaler) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*HorizontalPodCronscaler) ValidateCreate

func (r *HorizontalPodCronscaler) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*HorizontalPodCronscaler) ValidateDelete

func (r *HorizontalPodCronscaler) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*HorizontalPodCronscaler) ValidateUpdate

func (r *HorizontalPodCronscaler) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type HorizontalPodCronscalerList

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

HorizontalPodCronscalerList contains a list of HorizontalPodCronscaler

func (*HorizontalPodCronscalerList) DeepCopy

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

func (*HorizontalPodCronscalerList) DeepCopyInto

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

func (*HorizontalPodCronscalerList) DeepCopyObject

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

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

type HorizontalPodCronscalerSpec

type HorizontalPodCronscalerSpec struct {
	// ScaleTargetRef
	ScaleTargetRef autoscalingv2beta2.CrossVersionObjectReference `json:"scaleTargetRef"`

	// Reference ...
	Reference string `json:"reference,omitempty"`

	// MinReplicas ...
	Replicas int32 `json:"replicas"`

	// Schedule
	Schedule string `json:"schedule"`
}

func (*HorizontalPodCronscalerSpec) DeepCopy

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

func (*HorizontalPodCronscalerSpec) DeepCopyInto

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

type HorizontalPodCronscalerStatus

type HorizontalPodCronscalerStatus struct {
	// LastTargetTeplicas ...
	LastTargetReplicas *int32 `json:"lastTargetReplicas"`

	// LastSchedule ...
	LastSchedule metav1.Time `json:"lastSchedule"`
}

HorizontalPodCronscalerStatus defines the observed state of HorizontalPodCronscaler

func (*HorizontalPodCronscalerStatus) DeepCopy

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

func (*HorizontalPodCronscalerStatus) DeepCopyInto

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

type ObjectMeta

type ObjectMeta struct {
	// Name is the name of the object.
	// +optional
	Name string `json:"name,omitempty"`

	// Labels is a map of string keys and values.
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations is a map of string keys and values.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

ObjectMeta is metadata of objects. This is partially copied from metav1.ObjectMeta.

func (*ObjectMeta) DeepCopy

func (in *ObjectMeta) DeepCopy() *ObjectMeta

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

func (*ObjectMeta) DeepCopyInto

func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)

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