discovery

package
v2.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

DiscoveryCmd is the command to observe AutoScale control points.

View Source
var EntitiesCmd = &cobra.Command{
	Use:           "entities",
	Short:         "List AutoScale control points",
	Long:          `List AutoScale control points`,
	SilenceErrors: true,
	Example: `aperturectl cloud discovery entities

aperturectl cloud discovery entities --find-by="name=service1-demo-app-7dfdf9c698-4wmlt"

aperturectl cloud discovery entities --find-by=“ip=10.244.1.24”`,
	RunE: func(_ *cobra.Command, _ []string) error {
		client, err := controller.IntrospectionClient()
		if err != nil {
			return err
		}

		return utils.ParseEntities(client, findBy, agentGroup)
	},
}

EntitiesCmd 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