actions

package
v0.0.0-...-ced39b3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(installName, goVersion, goPath string, settings environment.Settings) error

Create creates the an environment with the passed name in the passed go version, if it exists its a noop and returns an error.

func List

func List() error

List prints a list of the existing configs.

func Reset

func Reset() error

Reset will try toreturn the env to its original state.

func Set

func Set(attribute, value string) error

Set sets <attribute> to <value> in the correct setting or returns an error.

func Switch

func Switch(installName string) error

Switch changes the environment to the specified one if it exists, otherwise its a noop and returns error.

func UpdateAllTo

func UpdateAllTo(version goinstalls.Version) error

UpdateAllTo will update all environments that share the common version to the passed patch.

func UpdateToLatest

func UpdateToLatest(environmentName string) error

UpdateToLatest will update the environment to the latest available version of go

func UpdateToVersion

func UpdateToVersion(environmentName string, version goinstalls.Version) error

UpdateToVersion updates the given environment to the given version or returns an error if not possible

Types

This section is empty.

Jump to

Keyboard shortcuts

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