plugins

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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