autoscale

package
v2.29.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AutoScaleCmd = &cobra.Command{
	Use:               "auto-scale",
	Short:             "AutoScale integrations",
	Long:              `Use this command to query information about active AutoScale integrations`,
	SilenceErrors:     true,
	PersistentPreRunE: controller.PreRunE,
	PersistentPostRun: controller.PostRun,
}

AutoScaleCmd is the command to observe AutoScale control points.

View Source
var ControlPointsCmd = &cobra.Command{
	Use:           "control-points",
	Short:         "List AutoScale control points",
	Long:          `List AutoScale control points`,
	SilenceErrors: true,
	Example:       `aperturectl auto-scale control-points`,
	RunE: func(_ *cobra.Command, _ []string) error {
		client, err := controller.IntrospectionClient()
		if err != nil {
			return err
		}

		return utils.ParseAutoScaleControlPoints(client)
	},
}

ControlPointsCmd is the command to list control points.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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