Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodSpec ¶
type PodSpec struct { // This overrides the Containers field in the v1.PodSpec, therefore making sure that callers // only access the Containers array through utility functions in this package. Containers struct{} v1.PodSpec }
PodSpec is a description of a pod. This is a wrapper around v1.PodSpec with custom utility methods
func (*PodSpec) AllContainers ¶
AllContainers returns a list of all containers in the Pod, including Init, Regular, and Ephemeral
func (*PodSpec) EphemeralContainers ¶ added in v0.6.1
func (p *PodSpec) EphemeralContainers() []v1.EphemeralContainer
EphemeralContainers returns a list of all ephemeral containers in the Pod
func (*PodSpec) InitContainers ¶
InitContainers returns a list of all init containers in the Pod
func (*PodSpec) NonInitContainers ¶
NonInitContainers returns a list of all regular (non-init) containers in the Pod
Click to show internal directories.
Click to hide internal directories.