Documentation ¶
Index ¶
- type Pod
- func (po Pod) Copy() Pod
- func (pod Pod) MarshalJSON() ([]byte, error)
- func (pod Pod) MarshalYAML() (interface{}, error)
- func (pod Pod) RenderJSON() (string, error)
- func (pod Pod) RenderTable() string
- func (pod Pod) RenderYAML() (string, error)
- func (Pod) TableHeaders() []string
- func (pod Pod) TableRows() [][]string
- type PodList
- func (list PodList) Copy() PodList
- func (list PodList) Filter(pred func(po Pod) bool) PodList
- func (list PodList) FilterByNames(names ...string) PodList
- func (list PodList) FilterByStatus(status ...string) PodList
- func (list PodList) Len() int
- func (list PodList) New() PodList
- func (list PodList) RenderJSON() (string, error)
- func (list PodList) RenderTable() string
- func (list PodList) RenderYAML() (string, error)
- func (_ PodList) TableHeaders() []string
- func (list PodList) TableRows() [][]string
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pod ¶
type Pod struct { Name string Hostname string Containers []string Status Status CreatedAt time.Time // contains filtered or unexported fields }
func PodFromKube ¶
func (Pod) MarshalJSON ¶
func (Pod) MarshalYAML ¶
func (Pod) RenderJSON ¶
func (Pod) RenderTable ¶
func (Pod) RenderYAML ¶
func (Pod) TableHeaders ¶
type PodList ¶
type PodList []Pod
func PodListFromKube ¶
func (PodList) FilterByNames ¶
func (PodList) FilterByStatus ¶
func (PodList) RenderJSON ¶
func (PodList) RenderTable ¶
func (PodList) RenderYAML ¶
func (PodList) TableHeaders ¶
Click to show internal directories.
Click to hide internal directories.