types

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Overview

shared types for support bundle controller and manager

Index

Constants

View Source
const (
	StateNone       = ""
	StateGenerating = "generating"
	StateError      = "error"
	StateReady      = "ready"

	// labels
	SupportBundleLabelKey = "rancher/supportbundle"
	DrainKey              = "kubevirt.io/drain"

	AppManager = "support-bundle-manager"
	AppAgent   = "support-bundle-agent"

	BundleCreationTimeout = 8 * time.Minute
	NodeBundleWaitTimeout = "5m"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagerStatus

type ManagerStatus struct {
	// phase to collect bundle
	Phase string

	// fail to collect bundle
	Error bool

	// error message
	ErrorMessage string

	// progress of the bundle collecting. 0 - 100.
	Progress int

	// bundle filename
	Filename string

	// bundle filesize
	Filesize int64
}

Jump to

Keyboard shortcuts

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