executable

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgsToExecutable

func ArgsToExecutable(
	args []string, agentType consts.AgentType, currentConfig *config.RootConfig,
) (string, *executable.Executable, error)

ArgsToExecutable parses the given arguments and returns the corresponding executable. The first argument is the executable identifier, which can be in the form of: <workspace>/<namespace>:<name> If found, the executable is returned along with the namespace it was found in.

func FlagsToExecutableList

func FlagsToExecutableList(
	cmd *cobra.Command,
	set flags.FlagSet,
	currentConfig *config.RootConfig,
) (executable.List, error)

func SplitExecutableIdentifier

func SplitExecutableIdentifier(identifier string) (ws, ns, name string, _ error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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