Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPluginsTasks ¶
func LoadPluginsTasks(pluginsParam godellauncher.PluginsParam, stdout io.Writer) ([]godellauncher.Task, []godellauncher.UpgradeConfigTask, error)
LoadPluginsTasks returns all of the tasks defined by the plugins in the specified parameters. Does the following:
- Resolves all of the plugins defined in the provided params for the runtime environment's OS/Architecture into the gödel home plugins and downloads directories.
- Verifies that all of the resolved plugins are valid and compatible with each other (for example, ensures that multiple plugins do not provide the same task).
- Creates runnable godellauncher.Task tasks for all of the plugins.
Returns all of the tasks provided by the plugins in the provided parameters.
func LoadProvidedConfigurations ¶
func LoadProvidedConfigurations(taskConfigProvidersParam godellauncher.TasksConfigProvidersParam, stdout io.Writer) ([]config.TasksConfig, error)
LoadProvidedConfigurations returns all of the godellauncher.GodelConfig configurations provided by the specified params. Does the following:
- Resolves all of the configuration providers defined in the provided params into the gödel home configs and downloads directories.
- Unmarshals all of the resolved configurations into godellauncher.TasksConfig structs.
Returns all of the unmarshaled configurations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.