prereqs

package
Version: v10.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(ctx *mansion.Context, planPath string, pipePath string) error

func Register

func Register(ctx *mansion.Context)

func Test

func Test(ctx *mansion.Context, prereqs []string) error

Types

type NamedRedistEntry

type NamedRedistEntry struct {
	// contains filtered or unexported fields
}

NamedRedistEntry is used for sorting redists by names

type PrereqLogEntry

type PrereqLogEntry struct {
	Type    string `json:"type"`
	Message string `json:"message"`
}

PrereqLogEntry sends an information to the caller on the progress of the task

type PrereqPlan

type PrereqPlan struct {
	Tasks []*PrereqTask `json:"tasks"`
}

PrereqPlan contains a list of tasks for the prereq installer

type PrereqState

type PrereqState struct {
	Type   string `json:"type"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

PrereqState informs the caller on the current status of a prereq

type PrereqTask

type PrereqTask struct {
	Name    string             `json:"name"`
	WorkDir string             `json:"workDir"`
	Info    redist.RedistEntry `json:"info"`
}

PrereqTask describes something the prereq installer has to do

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL