completer

package
v1.17.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentsKeys

func AgentsKeys(aa []types.Agent) []string

agentsKeys returns unique agent names first and then IDs.

func CoreInstanceKeys

func CoreInstanceKeys(aa []types.CoreInstance) []string

CoreInstanceKeys returns unique aggregator names first and then IDs.

func PipelinesKeys

func PipelinesKeys(aa []types.Pipeline) []string

pipelinesKeys returns unique pipeline names first and then IDs.

Types

type Completer

type Completer struct {
	Config *config.Config
}

func (*Completer) CompleteAgents

func (c *Completer) CompleteAgents(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteClusterObjects

func (c *Completer) CompleteClusterObjects(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteConfigSections

func (c *Completer) CompleteConfigSections(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteCoreContainerVersion

func (c *Completer) CompleteCoreContainerVersion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteCoreInstances

func (c *Completer) CompleteCoreInstances(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteCoreOperatorVersion

func (c *Completer) CompleteCoreOperatorVersion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteEnvironments

func (c *Completer) CompleteEnvironments(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteFleets

func (c *Completer) CompleteFleets(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteMembers

func (c *Completer) CompleteMembers(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompletePermissions

func (c *Completer) CompletePermissions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompletePipelinePlugins

func (c *Completer) CompletePipelinePlugins(pipelineKey string, cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompletePipelines

func (c *Completer) CompletePipelines(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompletePluginKinds

func (c *Completer) CompletePluginKinds(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompletePluginNames

func (c *Completer) CompletePluginNames(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompletePluginProps

func (c *Completer) CompletePluginProps(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteResourceProfiles

func (c *Completer) CompleteResourceProfiles(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteSecretIDs

func (c *Completer) CompleteSecretIDs(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) CompleteTraceSessions

func (c *Completer) CompleteTraceSessions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func (*Completer) FetchAllClusterObjects

func (c *Completer) FetchAllClusterObjects() ([]types.ClusterObject, error)

func (*Completer) FetchAllPipelines

func (c *Completer) FetchAllPipelines() ([]types.Pipeline, error)

func (*Completer) LoadAgentID

func (c *Completer) LoadAgentID(agentKey string, environmentID string) (string, error)

func (*Completer) LoadClusterObjectID

func (c *Completer) LoadClusterObjectID(key string, environmentID string) (string, error)

func (*Completer) LoadConfigSectionID

func (c *Completer) LoadConfigSectionID(ctx context.Context, key string) (string, error)

func (*Completer) LoadCoreInstanceID

func (c *Completer) LoadCoreInstanceID(key string, environmentID string) (string, error)

func (*Completer) LoadEnvironmentID

func (c *Completer) LoadEnvironmentID(environmentName string) (string, error)

func (*Completer) LoadFleetID

func (c *Completer) LoadFleetID(key string) (string, error)

func (*Completer) LoadPipelineID

func (c *Completer) LoadPipelineID(pipelineKey string) (string, error)

Jump to

Keyboard shortcuts

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