plugins

package
v2.20.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

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.

Jump to

Keyboard shortcuts

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