supportbundle

package
v0.0.0-...-d5808ce Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpecDataKey = "support-bundle-spec"
)

Variables

This section is empty.

Functions

func ClearPending

func ClearPending(id string) error

func Collect

func Collect(appID string, clusterID string) error

Collect will queue collection of a new support bundle

func CreateBundle

func CreateBundle(requestedID string, appID string, archivePath string) (*types.SupportBundle, error)

CreateBundle will create a support bundle in the store, attempting to use the requestedID. This function uploads the archive and creates the record.

func CreateBundleForBackup

func CreateBundleForBackup(appID string, backupName string, backupNamespace string) (string, error)

func CreateRenderedSpec

func CreateRenderedSpec(appID string, sequence int64, origin string, inCluster bool, kotsKinds *kotsutil.KotsKinds) error

func GetBundleCommand

func GetBundleCommand(appSlug string) []string

func GetFilesContents

func GetFilesContents(bundleID string, filenames []string) (map[string][]byte, error)

GetFilesContents will return the file contents for filenames matching the filenames parameter.

func GetSpecSecretName

func GetSpecSecretName(appSlug string) string

func GetSpecURI

func GetSpecURI(appSlug string) string

func InjectDefaultAnalyzers

func InjectDefaultAnalyzers(analyzer *troubleshootv1beta2.Analyzer) error

func StartServer

func StartServer()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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