bundle

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 27 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 NewPlanner added in v0.19.0

func NewPlanner(opts PlannerOptions, inContainer bool) (*Planner, error)

func (*Planner) AddPlugin

func (p *Planner) AddPlugin(plugin types.Plugin)

func (*Planner) Plan

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

type PlannerOptions added in v0.19.0

type PlannerOptions struct {
	EnableCore       bool
	EnableDocker     bool
	EnableJournald   bool
	EnableKubernetes bool
	EnableRetraced   bool

	RequireCore       bool
	RequireDocker     bool
	RequireJournald   bool
	RequireKubernetes bool
	RequireRetraced   bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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