Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSize ¶
ClusterSize defines the cluster status.
type K8sClient ¶
type K8sClient interface { // GetClusterSize counts schedulable nodes and cores in the cluster GetClusterSize() (*ClusterSize, error) // UpdateResources updates the resource needs for the containers in the target UpdateResources(resources map[string]apiv1.ResourceRequirements) error }
K8sClient - Wraps all needed client functionalities for autoscaler
Click to show internal directories.
Click to hide internal directories.