Documentation ¶
Index ¶
- Constants
- func ClearPending(id string) error
- func Collect(appID string, clusterID string) error
- func CreateBundle(requestedID string, appID string, archivePath string) (*types.SupportBundle, error)
- func CreateBundleForBackup(appID string, backupName string, backupNamespace string) (string, error)
- func CreateRenderedSpec(appID string, sequence int64, origin string, inCluster bool, ...) error
- func GetBundleCommand(appSlug string) []string
- func GetFilesContents(bundleID string, filenames []string) (map[string][]byte, error)
- func GetSpecSecretName(appSlug string) string
- func GetSpecURI(appSlug string) string
- func InjectDefaultAnalyzers(analyzer *troubleshootv1beta2.Analyzer) error
- func StartServer()
Constants ¶
View Source
const (
SpecDataKey = "support-bundle-spec"
)
Variables ¶
This section is empty.
Functions ¶
func ClearPending ¶
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 CreateRenderedSpec ¶
func GetBundleCommand ¶
func GetFilesContents ¶
GetFilesContents will return the file contents for filenames matching the filenames parameter.
func GetSpecSecretName ¶
func GetSpecURI ¶
func InjectDefaultAnalyzers ¶
func InjectDefaultAnalyzers(analyzer *troubleshootv1beta2.Analyzer) error
func StartServer ¶
func StartServer()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.