Documentation ¶
Index ¶
- Constants
- func ChannelJSONSpec(channelID string) types.Spec
- func CustomerJSONSpec(customerID string) types.Spec
- func DefaultSpecs() ([]types.Spec, error)
- func Exec(ctx context.Context, rootDir string, tasks []types.Task, opts ...Option) []*types.Result
- func Generate(tasks []types.Task, timeout time.Duration, pathname string) (os.FileInfo, string, error)
- func SupportBundleSpecs() []types.Spec
- func Upload(file *os.File, fname, lname, email, company, description string) (string, error)
- func WatchJSONSpec(watchID string) types.Spec
- type ExecOptions
- type Option
- type Planner
- type PlannerOptions
Constants ¶
View Source
const (
DeferredTimeoutDefault = 5 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func ChannelJSONSpec ¶ added in v0.23.0
func DefaultSpecs ¶
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 SupportBundleSpecs ¶ added in v0.24.0
func Upload ¶
Upload uploads a support bundle in such a way that it becomes accessable to replicated support.
func WatchJSONSpec ¶ added in v0.27.0
Types ¶
type ExecOptions ¶ added in v0.24.0
type Option ¶ added in v0.24.0
type Option func(*ExecOptions)
type Planner ¶
func NewPlanner ¶ added in v0.19.0
Click to show internal directories.
Click to hide internal directories.