autoscaler

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AzureVirtualMachineScaleSet = "vmss"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManager

type ClusterManager interface {
	GetClusterByIDOnly(ctx context.Context, clusterID uint) (cluster.CommonCluster, error)
}

ClusterManager interface to access clusters.

type DeployClusterAutoscalerActivity

type DeployClusterAutoscalerActivity struct {
	// contains filtered or unexported fields
}

func NewDeployClusterAutoscalerActivity

func NewDeployClusterAutoscalerActivity(manager ClusterManager, helmService HelmService) *DeployClusterAutoscalerActivity

func (DeployClusterAutoscalerActivity) Execute

type DeployClusterAutoscalerActivityInput

type DeployClusterAutoscalerActivityInput struct {
	ClusterID uint
}

type HelmService

type HelmService interface {
	ApplyDeploymentReuseValues(
		ctx context.Context,
		clusterID uint,
		namespace string,
		chartName string,
		releaseName string,
		values []byte,
		chartVersion string,
		reuseValues bool,
	) error
}

Jump to

Keyboard shortcuts

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