Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the autoscaling v1beta1 API group +kubebuilder:object:generate=true +groupName=autoscaling.44smkn.github.io
Index ¶
- Variables
- type HorizontalPodCronscaler
- func (in *HorizontalPodCronscaler) DeepCopy() *HorizontalPodCronscaler
- func (in *HorizontalPodCronscaler) DeepCopyInto(out *HorizontalPodCronscaler)
- func (in *HorizontalPodCronscaler) DeepCopyObject() runtime.Object
- func (r *HorizontalPodCronscaler) Default()
- func (r *HorizontalPodCronscaler) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HorizontalPodCronscaler) ValidateCreate() error
- func (r *HorizontalPodCronscaler) ValidateDelete() error
- func (r *HorizontalPodCronscaler) ValidateUpdate(old runtime.Object) error
- type HorizontalPodCronscalerList
- type HorizontalPodCronscalerSpec
- type HorizontalPodCronscalerStatus
- type ObjectMeta
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (in *HorizontalPodCronscaler) DeepCopy() *HorizontalPodCronscaler
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 ¶
func (in *HorizontalPodCronscalerList) DeepCopy() *HorizontalPodCronscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodCronscalerList.
func (*HorizontalPodCronscalerList) DeepCopyInto ¶
func (in *HorizontalPodCronscalerList) DeepCopyInto(out *HorizontalPodCronscalerList)
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 ¶
func (in *HorizontalPodCronscalerSpec) DeepCopy() *HorizontalPodCronscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodCronscalerSpec.
func (*HorizontalPodCronscalerSpec) DeepCopyInto ¶
func (in *HorizontalPodCronscalerSpec) DeepCopyInto(out *HorizontalPodCronscalerSpec)
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 ¶
func (in *HorizontalPodCronscalerStatus) DeepCopy() *HorizontalPodCronscalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodCronscalerStatus.
func (*HorizontalPodCronscalerStatus) DeepCopyInto ¶
func (in *HorizontalPodCronscalerStatus) DeepCopyInto(out *HorizontalPodCronscalerStatus)
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.