econtainer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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