Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCtop ¶
func NewCmdCtop(tkcContext *config.TkcContext, streams genericclioptions.IOStreams) *cobra.Command
NewCmdTop creates the ctop subcommand
Types ¶
type CtopOptions ¶
type CtopOptions struct { Target string Kind CtopKind Namespace string Image string HostDockerSocket string KubeCli *kubernetes.Clientset RestConfig *rest.Config genericclioptions.IOStreams }
CtopOptions specify the target resource stats to show
func NewCtopOptions ¶
func NewCtopOptions(iostreams genericclioptions.IOStreams) *CtopOptions
NewCtopOptions create a ctop options
func (*CtopOptions) Complete ¶
func (o *CtopOptions) Complete(cmd *cobra.Command, tkcContext *config.TkcContext, args []string) error
func (*CtopOptions) Run ¶
func (o *CtopOptions) Run() error
Click to show internal directories.
Click to hide internal directories.