Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupHpaInformer ¶
func SetupHpaInformer(ctx context.Context, logger *logr.Logger, kubeClient *kubernetes.Clientset, customMetricsClient custom_metrics.CustomMetricsClient, externalMetricsClient external_metrics.ExternalMetricsClient, hpaSelector string)
Types ¶
type DeploymentReplicasPatch ¶
type DeploymentReplicasPatch struct {
Spec DeploymentReplicasSpec `json:"spec"`
}
type DeploymentReplicasSpec ¶
type DeploymentReplicasSpec struct {
Replicas int `json:"replicas"`
}
Click to show internal directories.
Click to hide internal directories.