v1alpha1

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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

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

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

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

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

func (*CrossVersionObjectReference) DeepCopyInto

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

func (in *GPULimit) DeepCopy() *GPULimit

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

func (*GPULimit) DeepCopyInto

func (in *GPULimit) DeepCopyInto(out *GPULimit)

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

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

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

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

type ResourceRange struct {
	Min int32 `json:"min"`
	Max int32 `json:"max"`
}

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.

Jump to

Keyboard shortcuts

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