Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the custompodautoscaler.com v1 API group +kubebuilder:object:generate=true +groupName=custompodautoscaler.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "custompodautoscaler.com", Version: "v1"} // 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 CustomPodAutoscaler ¶
type CustomPodAutoscaler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CustomPodAutoscalerSpec `json:"spec,omitempty"` Status CustomPodAutoscalerStatus `json:"status,omitempty"` }
CustomPodAutoscaler is the Schema for the custompodautoscalers API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=cpa +groupName=custompodautoscaler.com
func (*CustomPodAutoscaler) DeepCopy ¶
func (in *CustomPodAutoscaler) DeepCopy() *CustomPodAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPodAutoscaler.
func (*CustomPodAutoscaler) DeepCopyInto ¶
func (in *CustomPodAutoscaler) DeepCopyInto(out *CustomPodAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomPodAutoscaler) DeepCopyObject ¶
func (in *CustomPodAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CustomPodAutoscalerConfig ¶
CustomPodAutoscalerConfig defines the configuration options that can be passed to the CustomPodAutoscaler
func (*CustomPodAutoscalerConfig) DeepCopy ¶
func (in *CustomPodAutoscalerConfig) DeepCopy() *CustomPodAutoscalerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPodAutoscalerConfig.
func (*CustomPodAutoscalerConfig) DeepCopyInto ¶
func (in *CustomPodAutoscalerConfig) DeepCopyInto(out *CustomPodAutoscalerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomPodAutoscalerList ¶
type CustomPodAutoscalerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CustomPodAutoscaler `json:"items"` }
CustomPodAutoscalerList contains a list of CustomPodAutoscaler +kubebuilder:object:root=true
func (*CustomPodAutoscalerList) DeepCopy ¶
func (in *CustomPodAutoscalerList) DeepCopy() *CustomPodAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPodAutoscalerList.
func (*CustomPodAutoscalerList) DeepCopyInto ¶
func (in *CustomPodAutoscalerList) DeepCopyInto(out *CustomPodAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomPodAutoscalerList) DeepCopyObject ¶
func (in *CustomPodAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CustomPodAutoscalerSpec ¶
type CustomPodAutoscalerSpec struct { // The image of the Custom Pod Autoscaler Template corev1.PodTemplateSpec `json:"template"` // ScaleTargetRef defining what the Custom Pod Autoscaler should manage ScaleTargetRef autoscaling.CrossVersionObjectReference `json:"scaleTargetRef"` // Configuration options to be delivered as environment variables to the container Config []CustomPodAutoscalerConfig `json:"config,omitempty"` ProvisionRole *bool `json:"provisionRole,omitempty"` ProvisionRoleBinding *bool `json:"provisionRoleBinding,omitempty"` ProvisionServiceAccount *bool `json:"provisionServiceAccount,omitempty"` ProvisionPod *bool `json:"provisionPod,omitempty"` }
CustomPodAutoscalerSpec defines the desired state of CustomPodAutoscaler
func (*CustomPodAutoscalerSpec) DeepCopy ¶
func (in *CustomPodAutoscalerSpec) DeepCopy() *CustomPodAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPodAutoscalerSpec.
func (*CustomPodAutoscalerSpec) DeepCopyInto ¶
func (in *CustomPodAutoscalerSpec) DeepCopyInto(out *CustomPodAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomPodAutoscalerStatus ¶
type CustomPodAutoscalerStatus struct{}
CustomPodAutoscalerStatus defines the observed state of CustomPodAutoscaler
func (*CustomPodAutoscalerStatus) DeepCopy ¶
func (in *CustomPodAutoscalerStatus) DeepCopy() *CustomPodAutoscalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPodAutoscalerStatus.
func (*CustomPodAutoscalerStatus) DeepCopyInto ¶
func (in *CustomPodAutoscalerStatus) DeepCopyInto(out *CustomPodAutoscalerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.