bundle

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSpecs

func DefaultSpecs() ([]types.Spec, error)

func Exec

func Exec(ctx context.Context, rootDir string, tasks []types.Task) []*types.Result

func Generate

func Generate(tasks []types.Task, timeout time.Duration, pathname string) error

Generate a new support bundle and write the results as an archive at pathname

func Upload

func Upload(file *os.File, fname, lname, email, company, description string) (string, error)

Upload uploads a support bundle in such a way that it becomes accessable to replicated support.

Types

type Planner

type Planner struct {
	Plugins map[string]types.Plugin
}

func (Planner) Plan

func (p Planner) Plan(specs []types.Spec) []types.Task

Jump to

Keyboard shortcuts

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