Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalerManager ¶
type AutoscalerManager struct {
// contains filtered or unexported fields
}
ClusterAutoscalerManager either creates or destroys Cluster Autoscaler resources for given k8s cluster.
func NewAutoscalerManager ¶
func NewAutoscalerManager(projectName string, cluster *spec.K8Scluster, directory string) *AutoscalerManager
NewAutoscalerManager returns configured AutoscalerManager which can set up or remove Cluster Autoscaler.
func (*AutoscalerManager) DestroyClusterAutoscaler ¶
func (a *AutoscalerManager) DestroyClusterAutoscaler() error
DestroyClusterAutoscaler removes all resources regarding Cluster Autoscaler.
func (*AutoscalerManager) SetUpClusterAutoscaler ¶
func (a *AutoscalerManager) SetUpClusterAutoscaler() error
SetUpClusterAutoscaler deploys all resources necessary to set up a Cluster Autoscaler.
type TagsResponse ¶ added in v0.6.6
type TagsResponse struct {
Tags []string `json:"tags"`
}
TagResponse will carry the information about cluster-autoscaler tags
Click to show internal directories.
Click to hide internal directories.