printers

package
v0.17.39 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// on the node it is (was) running.
	NodeUnreachablePodReason = "NodeLost"
	None                     = "<none>"
)

Variables

This section is empty.

Functions

func Convert

func Convert(o runtime.Object) (map[string]interface{}, error)

func MakeServicePortString

func MakeServicePortString(ports []core.ServicePort) string

func Register

func Register(c ColumnConverter)

func ServiceExternalIP added in v0.9.9

func ServiceExternalIP(svc *core.Service) string

Types

type ColumnConverter

type ColumnConverter interface {
	GVK() schema.GroupVersionKind
	Convert(obj runtime.Object) (map[string]interface{}, error)
}

type IngressClassPrinter

type IngressClassPrinter struct{}

func (IngressClassPrinter) Convert

func (p IngressClassPrinter) Convert(o runtime.Object) (map[string]interface{}, error)

func (IngressClassPrinter) GVK

type IngressPrinter

type IngressPrinter struct{}

func (IngressPrinter) Convert

func (p IngressPrinter) Convert(o runtime.Object) (map[string]interface{}, error)

func (IngressPrinter) GVK

type PodPrinter

type PodPrinter struct{}

func (PodPrinter) Convert

func (p PodPrinter) Convert(o runtime.Object) (map[string]interface{}, error)

"name": "Name", "name": "Ready", "name": "Status", "name": "Restarts", "name": "Age", "name": "IP", "name": "Node", "name": "Nominated Node", "name": "Readiness Gates",

func (PodPrinter) GVK

Jump to

Keyboard shortcuts

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