Documentation ¶
Index ¶
Constants ¶
View Source
const ( SucceededStatus ephemeralContainerStatusState = iota FailedStatus WaitingStatus RunningStatus UnknownStatus )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EphemeralContainerInterface ¶
type EphemeralContainerInterface interface { // GetEphemeralContainers will return all ephemeral container status. // Maybe they are not created by current ephemeral jobs. GetEphemeralContainersStatus(target *v1.Pod) []v1.ContainerStatus // GetEphemeralContainers return all ephemeral containers which have been created in target pods. // Maybe they are not created by current ephemeral jobs. GetEphemeralContainers(target *v1.Pod) []v1.EphemeralContainer UpdateEphemeralContainer(target *v1.Pod) error CreateEphemeralContainer(target *v1.Pod) error RemoveEphemeralContainer(target *v1.Pod) error }
func New ¶
func New(job *appsv1alpha1.EphemeralJob) EphemeralContainerInterface
Click to show internal directories.
Click to hide internal directories.