Documentation ¶
Index ¶
- type ListPodReporter
- func (l ListPodReporter) ContainerIds() string
- func (l ListPodReporter) ContainerNames() string
- func (l ListPodReporter) ContainerStatuses() string
- func (l ListPodReporter) Created() string
- func (l ListPodReporter) ID() string
- func (l ListPodReporter) Id() string
- func (l ListPodReporter) InfraID() string
- func (l ListPodReporter) InfraId() string
- func (l ListPodReporter) Labels() map[string]string
- func (l ListPodReporter) Networks() string
- func (l ListPodReporter) NumberOfContainers() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListPodReporter ¶
type ListPodReporter struct {
*entities.ListPodsReport
}
ListPodReporter is a struct for pod ps output
func (ListPodReporter) ContainerIds ¶
func (l ListPodReporter) ContainerIds() string
func (ListPodReporter) ContainerNames ¶
func (l ListPodReporter) ContainerNames() string
func (ListPodReporter) ContainerStatuses ¶
func (l ListPodReporter) ContainerStatuses() string
func (ListPodReporter) Created ¶
func (l ListPodReporter) Created() string
Created returns a human readable created time/date
func (ListPodReporter) ID ¶
func (l ListPodReporter) ID() string
ID is a wrapper to Id for compat, typos
func (ListPodReporter) InfraID ¶
func (l ListPodReporter) InfraID() string
Added for backwards compatibility with podmanv1
func (ListPodReporter) InfraId ¶
func (l ListPodReporter) InfraId() string
InfraId returns the infra container id for the pod depending on trunc
func (ListPodReporter) Labels ¶
func (l ListPodReporter) Labels() map[string]string
Labels returns a map of the pod's labels
func (ListPodReporter) Networks ¶
func (l ListPodReporter) Networks() string
Networks returns the infra container network names in string format
func (ListPodReporter) NumberOfContainers ¶
func (l ListPodReporter) NumberOfContainers() int
NumberOfContainers returns an int representation for the number of containers belonging to the pod
Click to show internal directories.
Click to hide internal directories.