printers

package
v0.0.0-...-44ad4c6 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Convert

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

func Register

func Register(c ColumnConverter)

Types

type CSIDriverPrinter

type CSIDriverPrinter struct{}

func (CSIDriverPrinter) Convert

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

func (CSIDriverPrinter) GVK

type CSINodePrinter

type CSINodePrinter struct{}

func (CSINodePrinter) Convert

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

func (CSINodePrinter) GVK

type ColumnConverter

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

type CronJobPrinter

type CronJobPrinter struct{}

func (CronJobPrinter) Convert

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

func (CronJobPrinter) GVK

type DaemonSetPrinter

type DaemonSetPrinter struct{}

func (DaemonSetPrinter) Convert

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

func (DaemonSetPrinter) GVK

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 JobPrinter

type JobPrinter struct{}

func (JobPrinter) Convert

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

func (JobPrinter) 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

type ReplicaSetPrinter

type ReplicaSetPrinter struct{}

func (ReplicaSetPrinter) Convert

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

func (ReplicaSetPrinter) GVK

type ReplicationControllerPrinter

type ReplicationControllerPrinter struct{}

func (ReplicationControllerPrinter) Convert

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

func (ReplicationControllerPrinter) GVK

type ServicePrinter

type ServicePrinter struct{}

func (ServicePrinter) Convert

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

func (ServicePrinter) GVK

type StatefulSetPrinter

type StatefulSetPrinter struct{}

func (StatefulSetPrinter) Convert

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

func (StatefulSetPrinter) GVK

Jump to

Keyboard shortcuts

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