# README
Internal API
This package is created to avoid having extra dependencies in the api package.
Go lang files are symlinked here to avoid coping:
ln -sr ./api/v1alpha1/groupversion_info.go ./internal/api/v1alpha1/groupversion_info.go
ln -sr ./api/v1alpha1/hvpa_types.go ./internal/api/v1alpha1/hvpa_types.go
ln -sr ./api/v1alpha1/zz_generated.deepcopy.go ./internal/api/v1alpha1/zz_generated.deepcopy.go
# Constants
BlockingReasonMaintenanceWindow - Resource is in maintenance window.
BlockingReasonMinChange - Min change doesn't support scaling.
BlockingReasonStabilizationWindow - HVPA is in stabilization window.
BlockingReasonUpdatePolicy - Update policy doesn't support scaling.
BlockingReasonWeight - VpaWeight doesn't support scaling.
HpaOnly - only horizontal scaling.
UpdateModeAuto means that autoscaler can update resources during the lifetime of the resource.
UpdateModeDefault is the default update mode.
UpdateModeMaintenanceWindow means that HPA/VPA will only act during maintenance window.
UpdateModeOff means that autoscaler never changes resources.
VpaOnly - only vertical scaling.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
BlockingReasons lists all the blocking reasons.
GroupName is the group name use in this package.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeGroupVersionHvpa is group version used to register these objects.
SchemeGroupVersionVpa is group version used to register these objects.
# Structs
BlockedScaling defines the details for blocked scaling.
ChangeParams defines the parameters for scaling.
HpaSpec defines spec for HPA.
HpaStatus defines the status of HPA.
HpaTemplate defines the template for HPA.
HpaTemplateSpec defines the spec for HPA.
Hvpa is the Schema for the hvpas API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas,selectorpath=.status.targetSelector.
HvpaList contains a list of Hvpa +kubebuilder:object:root=true.
HvpaSpec defines the desired state of Hvpa.
HvpaStatus defines the observed state of Hvpa.
LastError has detailed information of the error.
MaintenanceTimeWindow contains information about the time window for maintenance operations.
ScaleParams defines the scaling parameters for the limits.
ScaleType defines parameters for scaling.
ScalingStatus defines the status of scaling.
UpdatePolicy describes the rules on how changes are applied.
VpaSpec defines spec for VPA.
VpaTemplate defines the template for VPA.
VpaTemplateSpec defines the spec for VPA.
WeightBasedScalingInterval defines the interval of replica counts in which VpaWeight is applied to VPA scaling.
# Type aliases
BlockingReason defines the reason for blocking.