Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDebug ¶
func NewCmdDebug(tkcContext *config.TkcContext, streams genericclioptions.IOStreams) *cobra.Command
NewCmdDebug creates the debug subcommand which helps container debugging
Types ¶
type DebugOptions ¶
type DebugOptions struct { // Pod select options Namespace string PodName string // Debug options Image string ContainerName string Command []string HostDockerSocket string LauncherImage string Privileged bool KubeCli *kubernetes.Clientset RestConfig *rest.Config genericclioptions.IOStreams }
DebugOptions specify how to run debug container in a running pod
func NewDebugOptions ¶
func NewDebugOptions(iostreams genericclioptions.IOStreams) *DebugOptions
func (*DebugOptions) Complete ¶
func (o *DebugOptions) Complete(tkcContext *config.TkcContext, cmd *cobra.Command, argsIn []string) error
Complete populate default values for DebugOptions
func (*DebugOptions) Run ¶
func (o *DebugOptions) Run() error
Click to show internal directories.
Click to hide internal directories.