Documentation ¶
Overview ¶
nolint:deadcode
Index ¶
- Variables
- func BoolUI(label string, uiSize int) string
- func HTTPGet(url string) ([]byte, error)
- func HTTPPost(url, contentType, reqBody string) ([]byte, error)
- func HTTPPostWithContext(ctx context.Context, url, contentType, reqBody string) ([]byte, error)
- func Hash(data string) string
- func HashSufString(data string) string
- func PrintKV(out io.Writer, prefix string, kv map[string]interface{})
- func PrintString(out io.Writer, name string)
- func PrintTable(table interface{}, headers []string) error
- func PrintWarning(out io.Writer, name string)
- func PrintYellow(out io.Writer, content string)
- func PromptUI(label string, name string) string
- func SelectUI(kubeItems []Needle, label string, uiSize int) int
- func TimeFormat(ts int64) string
- type Namespaces
- type Needle
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func HTTPPostWithContext ¶
func HashSufString ¶
HashSufString return the string of HashSuf.
func PrintString ¶
func PrintTable ¶
PrintTable generate table
func PrintWarning ¶
func PrintYellow ¶
func TimeFormat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.