Documentation
¶
Overview ¶
Package task provides the “--task” CLI flag to enable task discovery above process discovery.
Use task.Enabled to query whether task discovery has been requested (enabled), or task.DiscoveryOption that instead returns an appropriate discovery option.
Index ¶
Constants ¶
View Source
const (
TaskFlagName = "task"
)
Names of the CLI flags provided in this package.
Variables ¶
This section is empty.
Functions ¶
func DiscoveryOption ¶
func DiscoveryOption(cmd *cobra.Command) discover.DiscoveryOption
DiscoveryOption returns a discover.FromTasks option func when task discovery has been requested on the passed cmd, otherwise nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.