Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ControlPointsCmd = &cobra.Command{ Use: "control-points", Short: "List Flow Control control points", Long: `List Flow Control control points`, SilenceErrors: true, Example: `aperturectl flow-control control-points`, RunE: func(_ *cobra.Command, _ []string) error { client, err := controller.IntrospectionClient() if err != nil { return err } return utils.ParseControlPoints(client) }, }
ControlPointsCmd is the command to list control points.
View Source
var FlowControlCmd = &cobra.Command{ Use: "flow-control", Short: "Flow Control integrations", Long: `Use this command to query information about active Flow Control integrations`, SilenceErrors: true, PersistentPreRunE: controller.PreRunE, PersistentPostRun: controller.PostRun, }
FlowControlCmd is the command to observe Flow Control control points.
View Source
var PreviewCmd = &cobra.Command{ Use: "preview [--http] CONTROL_POINT", Short: "Preview control points", Long: `Preview samples of flow labels or HTTP requests on control points`, SilenceErrors: true, Args: cobra.ExactArgs(1), RunE: func(_ *cobra.Command, args []string) error { client, err := controller.IntrospectionClient() if err != nil { return err } input := utils.PreviewInput{ AgentGroup: agentGroup, IsHTTPPreview: isHTTPPreview, NumSamples: numSamples, Service: service, ControlPoint: args[0], } return utils.ParsePreview(client, input) }, }
PreviewCmd is the command to preview control points.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.