Browse Source

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 <[email protected]>
Sebastiaan van Stijn 2 months ago
parent
commit
beb81a73f9
1 changed files with 0 additions and 11 deletions
  1. 0 11
      pkg/compose/container.go

+ 0 - 11
pkg/compose/container.go

@@ -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{}