action

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(actionRef string, stepInputs StepInputs) error

func RunDockerAction

func RunDockerAction(action Action, stepInputs StepInputs, dir string) error

Types

type Action

type Action struct {
	Name        string
	Description string
	Inputs      map[string]Param
	Outputs     map[string]Param
	Runs        struct {
		Using string
		Main  string
		Image string
		Args  []string
	}
}

type Param

type Param struct {
	Description string
	Required    bool
	Default     string
}

type StepInputs

type StepInputs map[string]string

Jump to

Keyboard shortcuts

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