get

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicGlobalResourceTablePrinter

func BasicGlobalResourceTablePrinter(rootTime time.Time, resources model.ResourceList, out io.Writer) error

func BasicResourceTablePrinter

func BasicResourceTablePrinter(rootTime time.Time, resources model.ResourceList, out io.Writer) error

func NewGetCmd

func NewGetCmd(pctx *kumactl_cmd.RootContext) *cobra.Command

func NewGetResourceCmd

func NewGetResourceCmd(pctx *kumactl_cmd.RootContext, use string, resourceType core_model.ResourceType, tablePrinter TablePrinter) *cobra.Command

func NewGetResourcesCmd

func NewGetResourcesCmd(pctx *kumactl_cmd.RootContext, use string, resourceType model.ResourceType, tablePrinter TablePrinter) *cobra.Command

func WithPaginationArgs

func WithPaginationArgs(cmd *cobra.Command, ctx *get_context.ListContext) *cobra.Command

Types

type TablePrinter

type TablePrinter = func(time.Time, model.ResourceList, io.Writer) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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