runner

package
v0.0.0-...-57fe177 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package runner runs recipes. It excludes installer selection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer struct {
	Recipe parse.Recipe
	Repo   string
	parse.Installer
}

func FromParseRecipes

func FromParseRecipes(rs []parse.Recipe, repo string) []Installer

FromParseRecipes converts parse.Recipes into Recipes. It generates a new runner.Recipe for each Installer.

func (Installer) Check

func (i Installer) Check(out Output) error

func (Installer) CheckOnly

func (i Installer) CheckOnly() bool

func (Installer) DependencyOnly

func (i Installer) DependencyOnly() bool

DependencyOnly returns whether this recipe only proxies dependencies.

func (Installer) FullName

func (i Installer) FullName() string

func (Installer) Install

func (i Installer) Install(out Output) error

type Output

type Output struct {
	Stderr io.Writer
	Stdout io.Writer
}

Jump to

Keyboard shortcuts

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