Documentation
¶
Index ¶
- func ArgsToExecutable(args []string, agentType consts.AgentType, currentConfig *config.RootConfig) (string, *executable.Executable, error)
- func FlagsToExecutableList(cmd *cobra.Command, set flags.FlagSet, currentConfig *config.RootConfig) (executable.List, error)
- func SplitExecutableIdentifier(identifier string) (ws, ns, name string, _ error)
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.