autoscaler

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

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 *pb.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL