bundle

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomerJSONSpec

func CustomerJSONSpec(customerID string) types.Spec

func DefaultSpecs

func DefaultSpecs() []types.Spec

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) (os.FileInfo, string, error)

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

func SupportBundleVersionSpec

func SupportBundleVersionSpec() types.Spec

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 []types.Plugin
}

func (*Planner) AddPlugin

func (p *Planner) AddPlugin(plugin 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