pkg/compose: remove aliases for container-state consts

These are no longer used, and have no known external consumers.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-09-08 10:42:52 +02:00 committed by Nicolas De loof
parent f217207876
commit beb81a73f9

View file

@ -20,17 +20,6 @@ import (
"io"
moby "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
)
const (
ContainerCreated = container.StateCreated // StateCreated indicates the container is created, but not (yet) started.
ContainerRunning = container.StateRunning // StateRunning indicates that the container is running.
ContainerPaused = container.StatePaused // StatePaused indicates that the container's current state is paused.
ContainerRestarting = container.StateRestarting // StateRestarting indicates that the container is currently restarting.
ContainerRemoving = container.StateRemoving // StateRemoving indicates that the container is being removed.
ContainerExited = container.StateExited // StateExited indicates that the container exited.
ContainerDead = container.StateDead // StateDead indicates that the container failed to be deleted. Containers in this state are attempted to be cleaned up when the daemon restarts.
)
var _ io.ReadCloser = ContainerStdout{}