1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

test: added test cases for container actions (#2559)

This commit is contained in:
Akash Ramaswamy
2023-12-05 21:18:37 +05:30
committed by GitHub
parent f027c753c1
commit f240b7011b
5 changed files with 212 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ type DockerClient interface {
ContainerStats(context.Context, string, chan<- docker.ContainerStat) error
Ping(context.Context) (types.Ping, error)
Host() *docker.Host
ContainerActions(action string, id string) error
ContainerActions(action string, containerID string) error
}
func CreateServer(clients map[string]DockerClient, content fs.FS, config Config) *http.Server {