workflows

package
v0.0.0-...-9bc967a Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleanup

type Cleanup struct{}

Cleanup is a workflow that removes version-platform pairs from the store that match the given filter.

func (Cleanup) Do

func (Cleanup) Do(env *envp.Env)

Do executes this workflow.

type List

type List struct{}

List is a workflow that lists version-platform pairs in the store and on the remote server that match the given filter.

func (List) Do

func (List) Do(env *envp.Env)

Do executes this workflow.

type Sideload

type Sideload struct {
	Input       io.Reader
	PrintFormat envp.PrintFormat
}

Sideload is a workflow that adds or replaces a version-platform pair in the store, using the given archive as the files.

func (Sideload) Do

func (f Sideload) Do(env *envp.Env)

Do executes this workflow.

type Use

type Use struct {
	UseEnv      bool
	AssetsPath  string
	PrintFormat envp.PrintFormat
}

Use is a workflow that prints out information about stored version-platform pairs, downloading them if necessary & requested.

func (Use) Do

func (f Use) Do(env *envp.Env)

Do executes this workflow.

Jump to

Keyboard shortcuts

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