github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/integration-cli/docker_cli_network_test.go (about)

     1  package main
     2  
     3  import (
     4  	"context"
     5  	"net/http/httptest"
     6  	"testing"
     7  
     8  	"github.com/Prakhar-Agarwal-byte/moby/integration-cli/daemon"
     9  )
    10  
    11  type DockerCLINetworkSuite struct {
    12  	ds *DockerSuite
    13  }
    14  
    15  func (s *DockerCLINetworkSuite) TearDownTest(ctx context.Context, c *testing.T) {
    16  	s.ds.TearDownTest(ctx, c)
    17  }
    18  
    19  func (s *DockerCLINetworkSuite) OnTimeout(c *testing.T) {
    20  	s.ds.OnTimeout(c)
    21  }
    22  
    23  type DockerNetworkSuite struct {
    24  	server *httptest.Server
    25  	ds     *DockerSuite
    26  	d      *daemon.Daemon
    27  }