supportarchive

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Kibi
	Mebi
)
View Source
const CRDDirectoryName = "crds"
View Source
const CRDKindName = "CustomResourceDefinition"
View Source
const (
	DefaultNumEvents = 300
)
View Source
const InjectedNamespacesManifestsDirectoryName = "injected_namespaces"
View Source
const (
	LabelEecPodName = "dynatrace-extension-controller"
)
View Source
const LogsDirectoryName = "logs"
View Source
const ManifestsDirectoryName = "manifests"
View Source
const ManifestsFileExtension = ".yaml"
View Source
const MutatingWebhookConfigurationKind = "MutatingWebhookConfiguration"
View Source
const OperatorVersionFileName = "operator-version.txt"
View Source
const SupportArchiveOutputFileName = "supportarchive_console.log"
View Source
const TroublshootOutputFileName = "troubleshoot.txt"
View Source
const ValidatingWebhookConfigurationKind = "ValidatingWebhookConfiguration"
View Source
const WebhookConfigurationsDirectoryName = "webhook_configurations"

Variables

View Source
var DefaultEventFieldSelector = fields.OneTermEqualSelector("type", corev1.EventTypeWarning)
View Source
var (
	NumEventsFlagValue int
)

Functions

func BuildZipFilePath

func BuildZipFilePath(podName string, fileName string) string

func New

func New() *cobra.Command

Types

type DefaultExecutor added in v1.9.0

type DefaultExecutor struct{}

func (DefaultExecutor) Exec added in v1.9.0

func (r DefaultExecutor) Exec(ctx context.Context, config *rest.Config, podName string, podNamespace string, containerName string, command []string) (stdOut *bytes.Buffer, stdErr *bytes.Buffer, err error)

type Executor added in v1.9.0

type Executor interface {
	Exec(ctx context.Context, config *rest.Config, podName string, podNamespace string, containerName string, command []string) (stdOut *bytes.Buffer, stdErr *bytes.Buffer, err error)
}

Jump to

Keyboard shortcuts

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