completer

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package completer contains functions that query the API to get a list of values for command line tab completion

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentLinkCompleter

func AgentLinkCompleter(id uuid.UUID) func(string) []string

AgentLinkCompleter returns a list of child Agent IDs for the current Agent and is used for command line tab completion

func AgentListCompleter

func AgentListCompleter() func(string) []string

AgentListCompleter returns a list of agents that exist and is used for command line tab completion

func AgentListCompleterAll

func AgentListCompleterAll() func(string) []string

AgentListCompleterAll returns a list of agents that exist and is used for command line tab completion plus the special value of "all" to indicate all agents

func GroupListCompleter

func GroupListCompleter() func(string) []string

GroupListCompleter returns a list of group names for command line tab completion

func ListCompleter

func ListCompleter(options []string) func(string) []string

ListCompleter returns a completer function for the provided input slice. This is commonly used with configurable listener options for command line tab completion

func ListenerListCompleter

func ListenerListCompleter() func(string) []string

func ListenerTypesCompleter

func ListenerTypesCompleter() func(string) []string

ListenerTypesCompleter returns a completer function that has a slice of all available listener types

func ModuleCompleter

func ModuleCompleter() func(string) []string

ModuleCompleter returns a completer function that has a slice of all available modules

Types

This section is empty.

Jump to

Keyboard shortcuts

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