2019-08-09 00:38:35 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-07-14 18:02:38 +00:00
|
|
|
"context"
|
2019-08-09 00:38:35 +00:00
|
|
|
"net/http/httptest"
|
2022-06-16 21:32:10 +00:00
|
|
|
"testing"
|
2019-08-09 00:38:35 +00:00
|
|
|
|
|
|
|
"github.com/docker/docker/integration-cli/daemon"
|
|
|
|
)
|
|
|
|
|
2022-06-16 21:32:10 +00:00
|
|
|
type DockerCLINetworkSuite struct {
|
|
|
|
ds *DockerSuite
|
|
|
|
}
|
|
|
|
|
2023-07-14 18:02:38 +00:00
|
|
|
func (s *DockerCLINetworkSuite) TearDownTest(ctx context.Context, c *testing.T) {
|
|
|
|
s.ds.TearDownTest(ctx, c)
|
2022-06-16 21:32:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (s *DockerCLINetworkSuite) OnTimeout(c *testing.T) {
|
|
|
|
s.ds.OnTimeout(c)
|
|
|
|
}
|
|
|
|
|
2019-08-09 00:38:35 +00:00
|
|
|
type DockerNetworkSuite struct {
|
|
|
|
server *httptest.Server
|
|
|
|
ds *DockerSuite
|
|
|
|
d *daemon.Daemon
|
|
|
|
}
|