Imports of k8s2slog command

PathSynopsis
contextPackage context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
fmtPackage fmt implements formatted I/O with functions analogous to C's printf and scanf.
github.com/spf13/cobraPackage cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
k8s.io/apimachinery/pkg/apis/meta/v1Package v1 contains API types that are common to all versions.
k8s.io/apimachinery/pkg/util/runtime
k8s.io/component-base/cli
k8s.io/component-base/featuregate
k8s.io/component-base/logsPackage logs contains support for logging options, flags and setup.
k8s.io/component-base/logs/api/v1The LoggingAlphaOptions and LoggingBetaOptions feature gates control whether these unstable features can get enabled.
k8s.io/component-base/logs/json/register
k8s.io/klog/v2Package klog contains the following functionality:
log/slogPackage slog provides structured logging, in which log records include a message, a severity level, and various other attributes expressed as key-value pairs.
osPackage os provides a platform-independent interface to operating system functionality.
stringsPackage strings implements simple functions to manipulate UTF-8 encoded strings.