Documentation ¶
Index ¶
- func AgentsKeys(aa []types.Agent) []string
- func CoreInstanceKeys(aa []types.CoreInstance) []string
- func PipelinesKeys(aa []types.Pipeline) []string
- type Completer
- func (c *Completer) CompleteAgents(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteClusterObjects(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteConfigSections(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteCoreContainerVersion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteCoreInstances(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteCoreOperatorVersion(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteEnvironments(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteFleets(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteMembers(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompletePermissions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompletePipelinePlugins(pipelineKey string, cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompletePipelines(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompletePluginKinds(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompletePluginNames(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompletePluginProps(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteResourceProfiles(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteSecretIDs(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) CompleteTraceSessions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func (c *Completer) FetchAllClusterObjects() ([]types.ClusterObject, error)
- func (c *Completer) FetchAllPipelines() ([]types.Pipeline, error)
- func (c *Completer) LoadAgentID(agentKey string, environmentID string) (string, error)
- func (c *Completer) LoadClusterObjectID(key string, environmentID string) (string, error)
- func (c *Completer) LoadConfigSectionID(ctx context.Context, key string) (string, error)
- func (c *Completer) LoadCoreInstanceID(key string, environmentID string) (string, error)
- func (c *Completer) LoadEnvironmentID(environmentName string) (string, error)
- func (c *Completer) LoadFleetID(key string) (string, error)
- func (c *Completer) LoadPipelineID(pipelineKey string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentsKeys ¶
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 ¶
pipelinesKeys returns unique pipeline names first and then IDs.
Types ¶
type Completer ¶
func (*Completer) CompleteAgents ¶
func (*Completer) CompleteClusterObjects ¶
func (*Completer) CompleteConfigSections ¶
func (*Completer) CompleteCoreContainerVersion ¶
func (*Completer) CompleteCoreInstances ¶
func (*Completer) CompleteCoreOperatorVersion ¶
func (*Completer) CompleteEnvironments ¶
func (*Completer) CompleteFleets ¶
func (*Completer) CompleteMembers ¶
func (*Completer) CompletePermissions ¶
func (*Completer) CompletePipelinePlugins ¶
func (*Completer) CompletePipelines ¶
func (*Completer) CompletePluginKinds ¶
func (*Completer) CompletePluginNames ¶
func (*Completer) CompletePluginProps ¶
func (*Completer) CompleteResourceProfiles ¶
func (*Completer) CompleteSecretIDs ¶
func (*Completer) CompleteTraceSessions ¶
func (*Completer) FetchAllClusterObjects ¶
func (c *Completer) FetchAllClusterObjects() ([]types.ClusterObject, error)
func (*Completer) FetchAllPipelines ¶
func (*Completer) LoadAgentID ¶
func (*Completer) LoadClusterObjectID ¶
func (*Completer) LoadConfigSectionID ¶
func (*Completer) LoadCoreInstanceID ¶
func (*Completer) LoadEnvironmentID ¶
Click to show internal directories.
Click to hide internal directories.