bundle

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelJSONSpec added in v0.23.0

func ChannelJSONSpec(channelID string) types.Spec

func CustomerJSONSpec

func CustomerJSONSpec(customerID string) types.Spec

Deprecated

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) (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