package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/kubectl.git
Documentation: pkg.go.dev

# Functions

NewCmdDebug returns a cobra command that runs kubectl debug.
NewDebugOptions returns a DebugOptions initialized with default values.
NewProfileApplier returns a new Options for the given profile name.

# Constants

ProfileBaseline is identical to "general" but eliminates privileges that are disallowed under the baseline security profile, such as host namespaces, host volume, mounts and SYS_PTRACE.
ProfileGeneral contains a reasonable set of defaults tailored for each debugging journey.
ProfileLegacy represents the legacy debugging profile which is backwards-compatible with 1.23 behavior.
ProfileNetadmin offers elevated privileges for network debugging.
ProfileRestricted is identical to "baseline" but adds configuration that's required under the restricted security profile, such as requiring a non-root user and dropping all capabilities.
ProfileSysadmin offers elevated privileges for debugging.

# Structs

DebugOptions holds the options for an invocation of kubectl debug.
KeepFlags holds the flag set that determine which fields to keep in the copy pod.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author