Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=autoscaling.openshift.io
Package v1alpha1 contains API Schema definitions for the autoscaling v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=autoscaling.openshift.io
Index ¶
- Variables
- type ClusterAutoscaler
- type ClusterAutoscalerList
- type ClusterAutoscalerSpec
- type ClusterAutoscalerStatus
- type CrossVersionObjectReference
- type GPULimit
- type MachineAutoscaler
- type MachineAutoscalerList
- type MachineAutoscalerSpec
- type MachineAutoscalerStatus
- type ResourceLimits
- type ResourceRange
- type ScaleDownConfig
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "autoscaling.openshift.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type ClusterAutoscaler ¶
type ClusterAutoscaler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterAutoscalerSpec `json:"spec,omitempty"` Status ClusterAutoscalerStatus `json:"status,omitempty"` }
ClusterAutoscaler is the Schema for the clusterautoscalers API +k8s:openapi-gen=true
func (*ClusterAutoscaler) DeepCopy ¶
func (in *ClusterAutoscaler) DeepCopy() *ClusterAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAutoscaler.
func (*ClusterAutoscaler) DeepCopyInto ¶
func (in *ClusterAutoscaler) DeepCopyInto(out *ClusterAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAutoscaler) DeepCopyObject ¶
func (in *ClusterAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAutoscalerList ¶
type ClusterAutoscalerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterAutoscaler `json:"items"` }
ClusterAutoscalerList contains a list of ClusterAutoscaler
func (*ClusterAutoscalerList) DeepCopy ¶
func (in *ClusterAutoscalerList) DeepCopy() *ClusterAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAutoscalerList.
func (*ClusterAutoscalerList) DeepCopyInto ¶
func (in *ClusterAutoscalerList) DeepCopyInto(out *ClusterAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAutoscalerList) DeepCopyObject ¶
func (in *ClusterAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAutoscalerSpec ¶
type ClusterAutoscalerSpec struct { ResourceLimits *ResourceLimits `json:"resourceLimits,omitempty"` ScaleDown *ScaleDownConfig `json:"scaleDown,omitempty"` MaxPodGracePeriod *int32 `json:"maxPodGracePeriod,omitempty"` PodPriorityThreshold *int32 `json:"podPriorityThreshold,omitempty"` }
ClusterAutoscalerSpec defines the desired state of ClusterAutoscaler
func (*ClusterAutoscalerSpec) DeepCopy ¶
func (in *ClusterAutoscalerSpec) DeepCopy() *ClusterAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAutoscalerSpec.
func (*ClusterAutoscalerSpec) DeepCopyInto ¶
func (in *ClusterAutoscalerSpec) DeepCopyInto(out *ClusterAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAutoscalerStatus ¶
type ClusterAutoscalerStatus struct { }
ClusterAutoscalerStatus defines the observed state of ClusterAutoscaler
func (*ClusterAutoscalerStatus) DeepCopy ¶
func (in *ClusterAutoscalerStatus) DeepCopy() *ClusterAutoscalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAutoscalerStatus.
func (*ClusterAutoscalerStatus) DeepCopyInto ¶
func (in *ClusterAutoscalerStatus) DeepCopyInto(out *ClusterAutoscalerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrossVersionObjectReference ¶
type CrossVersionObjectReference struct { Kind string `json:"kind"` Name string `json:"name"` APIVersion string `json:"apiVersion,omitempty"` }
CrossVersionObjectReference identifies another object by name, API version, and kind.
func (*CrossVersionObjectReference) DeepCopy ¶
func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference.
func (*CrossVersionObjectReference) DeepCopyInto ¶
func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GPULimit ¶
type GPULimit struct { Type string `json:"type"` ResourceRange }
func (*GPULimit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPULimit.
func (*GPULimit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineAutoscaler ¶
type MachineAutoscaler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineAutoscalerSpec `json:"spec,omitempty"` Status MachineAutoscalerStatus `json:"status,omitempty"` }
MachineAutoscaler is the Schema for the machineautoscalers API +k8s:openapi-gen=true
func (*MachineAutoscaler) DeepCopy ¶
func (in *MachineAutoscaler) DeepCopy() *MachineAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAutoscaler.
func (*MachineAutoscaler) DeepCopyInto ¶
func (in *MachineAutoscaler) DeepCopyInto(out *MachineAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineAutoscaler) DeepCopyObject ¶
func (in *MachineAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineAutoscalerList ¶
type MachineAutoscalerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MachineAutoscaler `json:"items"` }
MachineAutoscalerList contains a list of MachineAutoscaler
func (*MachineAutoscalerList) DeepCopy ¶
func (in *MachineAutoscalerList) DeepCopy() *MachineAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAutoscalerList.
func (*MachineAutoscalerList) DeepCopyInto ¶
func (in *MachineAutoscalerList) DeepCopyInto(out *MachineAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineAutoscalerList) DeepCopyObject ¶
func (in *MachineAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineAutoscalerSpec ¶
type MachineAutoscalerSpec struct { MinReplicas int32 `json:"minReplicas"` MaxReplicas int32 `json:"maxReplicas"` ScaleTargetRef CrossVersionObjectReference `json:"scaleTargetRef"` }
MachineAutoscalerSpec defines the desired state of MachineAutoscaler
func (*MachineAutoscalerSpec) DeepCopy ¶
func (in *MachineAutoscalerSpec) DeepCopy() *MachineAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAutoscalerSpec.
func (*MachineAutoscalerSpec) DeepCopyInto ¶
func (in *MachineAutoscalerSpec) DeepCopyInto(out *MachineAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineAutoscalerStatus ¶
type MachineAutoscalerStatus struct { }
MachineAutoscalerStatus defines the observed state of MachineAutoscaler
func (*MachineAutoscalerStatus) DeepCopy ¶
func (in *MachineAutoscalerStatus) DeepCopy() *MachineAutoscalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAutoscalerStatus.
func (*MachineAutoscalerStatus) DeepCopyInto ¶
func (in *MachineAutoscalerStatus) DeepCopyInto(out *MachineAutoscalerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceLimits ¶
type ResourceLimits struct { MaxNodesTotal *int32 `json:"maxNodesTotal,omitempty"` Cores *ResourceRange `json:"cores,omitempty"` Memory *ResourceRange `json:"memory,omitempty"` GPUS []GPULimit `json:"gpus,omitempty"` }
func (*ResourceLimits) DeepCopy ¶
func (in *ResourceLimits) DeepCopy() *ResourceLimits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceLimits.
func (*ResourceLimits) DeepCopyInto ¶
func (in *ResourceLimits) DeepCopyInto(out *ResourceLimits)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRange ¶
func (*ResourceRange) DeepCopy ¶
func (in *ResourceRange) DeepCopy() *ResourceRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRange.
func (*ResourceRange) DeepCopyInto ¶
func (in *ResourceRange) DeepCopyInto(out *ResourceRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScaleDownConfig ¶
type ScaleDownConfig struct { Enabled bool `json:"enabled"` DelayAfterAdd string `json:"delayAfterAdd"` DelayAfterDelete string `json:"delayAfterDelete"` DelayAfterFailure string `json:"delayAfterFailure"` }
func (*ScaleDownConfig) DeepCopy ¶
func (in *ScaleDownConfig) DeepCopy() *ScaleDownConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleDownConfig.
func (*ScaleDownConfig) DeepCopyInto ¶
func (in *ScaleDownConfig) DeepCopyInto(out *ScaleDownConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.