repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/network/ipvlan/main_windows_test.go | integration/network/ipvlan/main_windows_test.go | package ipvlan
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/network/ipvlan/main_test.go | integration/network/ipvlan/main_test.go | //go:build !windows
package ipvlan
import (
"context"
"os"
"testing"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/environment"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
)
var (
testEnv *environment.Execution
baseContext context.Context
)
func... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/network/ipvlan/ipvlan_test.go | integration/network/ipvlan/ipvlan_test.go | //go:build !windows
package ipvlan
import (
"context"
"fmt"
"net/netip"
"strings"
"testing"
"time"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/daemon/libnetwork/netlabel"
"github.com/moby/moby/v2/integration/interna... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/network/nat/main_windows_test.go | integration/network/nat/main_windows_test.go | package nat
import (
"context"
"os"
"testing"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/environment"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
)
var (
testEnv *environment.Execution
baseContext context.Context
)
func TestMain(m *testing.M) ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/network/nat/nat_windows_test.go | integration/network/nat/nat_windows_test.go | package nat
import (
"testing"
"github.com/moby/moby/v2/integration/internal/network"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
func TestWindowsNoDisableIPv4(t *testing.T) {
ctx := setupTest(t)
c := testEnv.APIClient()
_, err := network.Create(ctx, c, "ipv6only",
network.WithDriver("nat"),... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/daemon_test.go | integration/daemon/daemon_test.go | package daemon
import (
"bytes"
"fmt"
"io"
"net/http"
"net/http/httptest"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"syscall"
"testing"
cerrdefs "github.com/containerd/errdefs"
"github.com/moby/moby/api/pkg/stdcopy"
containertypes "github.com/moby/moby/api/types/container"
"github.com/moby/mo... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/daemon_linux_test.go | integration/daemon/daemon_linux_test.go | package daemon
import (
"context"
"net"
"net/netip"
"slices"
"testing"
"time"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/moby/moby/api/types/network"
swarmtypes "github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/daemon/libnetwork/nlwrap"
"github.com/moby/... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/main_test.go | integration/daemon/main_test.go | package daemon
import (
"context"
"os"
"testing"
"github.com/moby/moby/v2/internal/testutil/environment"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
)
var (
testEnv *environment.Execution
baseContext context.Context
)
func TestMain(m *testing.M) {
var err error
ctx, span := otel.Trace... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/default_storage_test.go | integration/daemon/default_storage_test.go | package daemon
import (
"testing"
containertypes "github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/storage"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/daemon"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/migration_test.go | integration/daemon/migration_test.go | package daemon // import "github.com/docker/docker/integration/daemon"
import (
"bytes"
"io"
"runtime"
"testing"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration/internal/container"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/daemon"
"github.com/mo... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/nri/nri_test.go | integration/daemon/nri/nri_test.go | package nri
import (
"os"
"path/filepath"
"strings"
"testing"
"github.com/containerd/nri/pkg/api"
"github.com/moby/moby/api/types/mount"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration/internal/container"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testut... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/nri/main_test.go | integration/daemon/nri/main_test.go | package nri
import (
"context"
"os"
"testing"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/environment"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
)
var (
testEnv *environment.Execution
baseContext context.Context
)
func TestMain(m *testing.M) ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/nri/plugin.go | integration/daemon/nri/plugin.go | /*
Based on https://github.com/containerd/nri/blob/main/plugins/template/ - which is ...
Copyright The containerd Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/daemon/nri/testdata/test_plugin.go | integration/daemon/nri/testdata/test_plugin.go | /*
Based on https://github.com/containerd/nri/blob/main/plugins/template/ - which is ...
Copyright The containerd Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/volume/volume_test.go | integration/volume/volume_test.go | package volume
import (
"net/http"
"os"
"path/filepath"
"strings"
"testing"
"time"
cerrdefs "github.com/containerd/errdefs"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/moby/moby/api/types/volume"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration/internal/build"
"github.com/moby/mob... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/volume/main_test.go | integration/volume/main_test.go | package volume
import (
"context"
"os"
"testing"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/environment"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
)
var (
testEnv *environment.Execution
baseContext context.Context
)
func TestMain(m *testing.... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration/volume/mount_test.go | integration/volume/mount_test.go | package volume
import (
"bytes"
"context"
"fmt"
"io"
"path/filepath"
"strings"
"testing"
containertypes "github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/mount"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client"
"github.com/moby/moby/client/pkg/versions"
"gith... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_containers_unix_test.go | integration-cli/docker_api_containers_unix_test.go | //go:build !windows
package main
import (
"testing"
"github.com/moby/sys/mount"
)
func mountWrapper(t *testing.T, device, target, mType, options string) error {
t.Helper()
err := mount.Mount(device, target, mType, options)
if err != nil {
return err
}
t.Cleanup(func() { _ = mount.Unmount(target) })
return... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_swarm_test.go | integration-cli/docker_api_swarm_test.go | //go:build !windows
package main
import (
"context"
"fmt"
"net"
"net/http"
"os"
"path/filepath"
"runtime"
"strings"
"sync"
"testing"
"time"
"github.com/cloudflare/cfssl/csr"
"github.com/cloudflare/cfssl/helpers"
"github.com/cloudflare/cfssl/initca"
"github.com/moby/moby/api/types/container"
"github.c... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/test_vars_test.go | integration-cli/test_vars_test.go | package main
// sleepCommandForDaemonPlatform is a helper function that determines what
// the command is for a sleeping container based on the daemon platform.
// The Windows busybox image does not have a `top` command.
func sleepCommandForDaemonPlatform() []string {
if testEnv.DaemonInfo.OSType == "windows" {
ret... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_logs_test.go | integration-cli/docker_cli_logs_test.go | package main
import (
"context"
"fmt"
"io"
"os/exec"
"regexp"
"strings"
"testing"
"time"
"github.com/containerd/log"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/daemon"
"github.com/moby/moby/v2/internal/testutil"
testdaemon "github.com/moby/moby/v2/internal/test... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_stats_test.go | integration-cli/docker_cli_stats_test.go | package main
import (
"bufio"
"context"
"os/exec"
"regexp"
"strings"
"testing"
"time"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
type DockerCLIStatsSuite struct {
ds *DockerSuite
}
func (s *DockerCLIStatsSuite) TearDownTest(ctx context.Context... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_pull_test.go | integration-cli/docker_cli_pull_test.go | package main
import (
"context"
"regexp"
"strings"
"testing"
"time"
"github.com/opencontainers/go-digest"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/skip"
)
type DockerCLIPullSuite struct {
ds *DockerSuite
}
func (s *DockerCLIPullSuite) TearDownTest(ctx context.Context, t *t... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/requirements_windows_test.go | integration-cli/requirements_windows_test.go | package main
func setupLocalInfo() {
}
func onlyCgroupsv2() bool {
return false
}
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/daemon_swarm_hack_test.go | integration-cli/daemon_swarm_hack_test.go | package main
import (
"testing"
"github.com/moby/moby/v2/integration-cli/daemon"
)
func (s *DockerSwarmSuite) getDaemon(t *testing.T, nodeID string) *daemon.Daemon {
s.daemonsLock.Lock()
defer s.daemonsLock.Unlock()
for _, d := range s.daemons {
if d.NodeID() == nodeID {
return d
}
}
t.Fatalf("could no... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_cp_test.go | integration-cli/docker_cli_cp_test.go | package main
import (
"bytes"
"context"
"fmt"
"io"
"os"
"os/exec"
"path"
"path/filepath"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/icmd"
)
const (
cpTestPathParent = "/some"
cpTestPath = "/some/pat... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_userns_test.go | integration-cli/docker_cli_userns_test.go | //go:build !windows
package main
import (
"fmt"
"os"
"os/exec"
"path"
"path/filepath"
"strconv"
"strings"
"syscall"
"testing"
"github.com/moby/moby/client/pkg/stringid"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
// user namespaces test: run da... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_cp_to_container_unix_test.go | integration-cli/docker_cli_cp_to_container_unix_test.go | //go:build !windows
package main
import (
"fmt"
"os"
"path/filepath"
"strconv"
"strings"
"syscall"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
"gotest.tools/v3/icmd"
)
func (s *DockerCLICpSuite) TestCpToContainerWithPermissions(c *testing.T) {
testRequires(c, testEnv.... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/requirements_test.go | integration-cli/requirements_test.go | package main
import (
"context"
"errors"
"fmt"
"net"
"net/http"
"os"
"os/exec"
"path"
"reflect"
"runtime"
"strings"
"testing"
"time"
"github.com/containerd/containerd/v2/plugins"
"github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/internal/testutil/registry"
... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/test_vars_unix_test.go | integration-cli/test_vars_unix_test.go | //go:build !windows
package main
const (
// identifies if test suite is running on a unix platform
isUnixCli = true
expectedFileChmod = "-rw-r--r--"
)
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_swarm_node_test.go | integration-cli/docker_api_swarm_node_test.go | //go:build !windows
package main
import (
"fmt"
"testing"
"time"
"github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/v2/integration-cli/checker"
"github.com/moby/moby/v2/integration-cli/daemon"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
"gotest.tools/v3/poll"
)
func (s *D... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_swarm_service_test.go | integration-cli/docker_api_swarm_service_test.go | //go:build !windows
package main
import (
"fmt"
"strconv"
"strings"
"testing"
"time"
"github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/checker"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"git... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_push_test.go | integration-cli/docker_cli_push_test.go | package main
import (
"archive/tar"
"context"
"fmt"
"net/http"
"net/http/httptest"
"os"
"strings"
"sync"
"testing"
"github.com/distribution/reference"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"golang.org/x/sync/errgroup"
"gotest.tools/v3/assert"
... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/events_utils_test.go | integration-cli/events_utils_test.go | package main
import (
"bufio"
"bytes"
"context"
"io"
"os/exec"
"regexp"
"strconv"
"strings"
"testing"
"github.com/containerd/log"
eventstestutils "github.com/moby/moby/v2/daemon/events/testutils"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
)
// eventMatcher is a function that ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_inspect_test.go | integration-cli/docker_cli_inspect_test.go | package main
import (
"context"
"encoding/json"
"fmt"
"os"
"strconv"
"strings"
"testing"
"time"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/image"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil/specialimage"
"gotest.tools/v3/assert"... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_plugins_logdriver_test.go | integration-cli/docker_cli_plugins_logdriver_test.go | package main
import (
"context"
"strings"
"testing"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
type DockerCLIPluginLogDriverSuite struct {
ds *DockerSuite
}
func (s *Docke... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_volume_test.go | integration-cli/docker_cli_volume_test.go | package main
import (
"context"
"fmt"
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/mount"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_save_load_unix_test.go | integration-cli/docker_cli_save_load_unix_test.go | //go:build !windows
package main
import (
"context"
"fmt"
"os"
"os/exec"
"strings"
"testing"
"time"
"github.com/creack/pty"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.to... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_events_test.go | integration-cli/docker_cli_events_test.go | package main
import (
"bufio"
"context"
"encoding/json"
"fmt"
"io"
"os"
"os/exec"
"strconv"
"strings"
"testing"
"time"
eventtypes "github.com/moby/moby/api/types/events"
"github.com/moby/moby/client"
eventstestutils "github.com/moby/moby/v2/daemon/events/testutils"
"github.com/moby/moby/v2/integration-... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_run_test.go | integration-cli/docker_cli_run_test.go | package main
import (
"bufio"
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net"
"os"
"os/exec"
"path"
"path/filepath"
"reflect"
"regexp"
"runtime"
"sort"
"strconv"
"strings"
"sync"
"testing"
"time"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client"
"github.com/mob... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_exec_test.go | integration-cli/docker_api_exec_test.go | package main
import (
"bytes"
"context"
"encoding/json"
"fmt"
"io"
"net/http"
"os"
"strings"
"testing"
"time"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/checker"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_pull_local_test.go | integration-cli/docker_cli_pull_local_test.go | package main
import (
"encoding/json"
"fmt"
"os"
"path/filepath"
"runtime"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"github.com/opencontainers/go-digest"
"github.com/opencontainers/image-spec/specs-go"
ocispec "github.com/opencon... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_service_logs_test.go | integration-cli/docker_cli_service_logs_test.go | //go:build !windows
package main
import (
"bufio"
"fmt"
"io"
"os/exec"
"strings"
"testing"
"time"
"github.com/moby/moby/v2/integration-cli/checker"
"github.com/moby/moby/v2/integration-cli/daemon"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotes... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_daemon_test.go | integration-cli/docker_cli_daemon_test.go | //go:build linux
package main
import (
"bufio"
"bytes"
"context"
"crypto/tls"
"crypto/x509"
"encoding/json"
"fmt"
"io"
"net"
"os"
"os/exec"
"path"
"path/filepath"
"regexp"
"strconv"
"strings"
"sync"
"testing"
"time"
"github.com/cloudflare/cfssl/helpers"
cerrdefs "github.com/containerd/errdefs"
... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_network_test.go | integration-cli/docker_api_network_test.go | package main
import (
"encoding/json"
"fmt"
"net/http"
"net/netip"
"strings"
"testing"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/request"
"gotes... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_build_test.go | integration-cli/docker_api_build_test.go | package main
import (
"archive/tar"
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"
"regexp"
"strings"
"testing"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/fakecontext"
"github.com/moby/moby/v2/internal/testutil/fakegit"
"github.com... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_service_create_test.go | integration-cli/docker_cli_service_create_test.go | //go:build !windows
package main
import (
"encoding/json"
"fmt"
"path/filepath"
"strings"
"testing"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/mount"
"github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/checker"
"gith... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_import_test.go | integration-cli/docker_cli_import_test.go | package main
import (
"compress/gzip"
"context"
"os"
"os/exec"
"regexp"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
"gotest.tools/v3/icmd"
)
type DockerCLIImportSuite struct {
ds *DockerSuite
}
func (s *DockerCLIImportSuite) TearDownTest(ctx context.Context,... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/utils_unix_test.go | integration-cli/utils_unix_test.go | //go:build !windows
package main
// getLongPathName converts Windows short pathnames to full pathnames.
// For example C:\Users\ADMIN~1 --> C:\Users\Administrator.
// It is a no-op on non-Windows platforms
func getLongPathName(path string) (string, error) {
return path, nil
}
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_search_test.go | integration-cli/docker_cli_search_test.go | package main
import (
"context"
"fmt"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
)
type DockerCLISearchSuite struct {
ds *DockerSuite
}
func (s *DockerCLISearchSuite) TearDownTest(ctx context.Context, t *testing.T) {
s.ds.TearDownTest(ctx, t)
}
func (s *Docke... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_links_test.go | integration-cli/docker_cli_links_test.go | package main
import (
"context"
"encoding/json"
"fmt"
"regexp"
"sort"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
type DockerCLILinksSuite struct {
ds *DockerSuite
}
func (s *DockerCLILinksSuite) TearDownTest(ctx context.Con... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_attach_unix_test.go | integration-cli/docker_cli_attach_unix_test.go | //go:build !windows
package main
import (
"bufio"
"io"
"os/exec"
"strings"
"testing"
"time"
"github.com/creack/pty"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
// #9860 Make sure attach ends when container ends (with no errors)
func (s *DockerCL... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_network_unix_test.go | integration-cli/docker_cli_network_unix_test.go | //go:build !windows
package main
import (
"context"
"encoding/json"
"fmt"
"net"
"net/http"
"net/http/httptest"
"net/netip"
"os"
"strings"
"testing"
"time"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client/pkg/stringid"
"github.com/moby/mob... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_cp_utils_test.go | integration-cli/docker_cli_cp_utils_test.go | package main
import (
"bytes"
"fmt"
"io"
"os"
"path/filepath"
"runtime"
"strings"
"testing"
"github.com/moby/go-archive"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/icmd"
)
type fileType uint32
const (
ftRegular fileType = iot... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_info_unix_test.go | integration-cli/docker_cli_info_unix_test.go | //go:build !windows
package main
import (
"testing"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/daemon/config"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
func (s *DockerCLIInfoSuite) TestInfoSecurityOptions(c *testing.T) {
testRequires(c,... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_images_test.go | integration-cli/docker_api_images_test.go | package main
import (
"net/http"
"testing"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/request"
"gotest.tools/v3/assert"
)
// #14846
func (s *DockerAPISuite) TestAPIImagesSearchJSONContentType(c *testing.T) {
testRequires(c, Network)
res, b, err := request.Get(testu... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_attach_test.go | integration-cli/docker_api_attach_test.go | package main
import (
"bufio"
"bytes"
"io"
"net"
"net/http"
"strings"
"testing"
"time"
"github.com/docker/go-connections/sockets"
"github.com/moby/moby/api/pkg/stdcopy"
"github.com/moby/moby/api/types"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/i... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_sni_test.go | integration-cli/docker_cli_sni_test.go | package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"net/url"
"os/exec"
"strings"
"testing"
"gotest.tools/v3/assert"
)
type DockerCLISNISuite struct {
ds *DockerSuite
}
func (s *DockerCLISNISuite) TearDownTest(ctx context.Context, t *testing.T) {
s.ds.TearDownTest(ctx, t)
}
... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_rmi_test.go | integration-cli/docker_cli_rmi_test.go | package main
import (
"context"
"fmt"
"strings"
"testing"
"time"
"github.com/moby/moby/client/pkg/stringid"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/icmd"
"gotest.tools/v3/ski... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_v2_only_test.go | integration-cli/docker_cli_v2_only_test.go | package main
import (
"fmt"
"net/http"
"os"
"testing"
"github.com/moby/moby/v2/internal/testutil/registry"
"gotest.tools/v3/assert"
)
func makefile(path string, contents string) (string, error) {
f, err := os.CreateTemp(path, "tmp")
if err != nil {
return "", err
}
err = os.WriteFile(f.Name(), []byte(con... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_stats_test.go | integration-cli/docker_api_stats_test.go | package main
import (
"context"
"encoding/json"
"fmt"
"io"
"net/http"
"os/exec"
"runtime"
"strconv"
"strings"
"testing"
"time"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/system"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"g... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_build_windows_test.go | integration-cli/docker_api_build_windows_test.go | //go:build windows
package main
import (
"net/http"
"testing"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/fakecontext"
"github.com/moby/moby/v2/internal/testutil/request"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
func (s *DockerAPISuite) TestBuildWi... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/fixtures_linux_daemon_test.go | integration-cli/fixtures_linux_daemon_test.go | package main
import (
"context"
"fmt"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil/fixtures/load"
"gotest.tools/v3/assert"
)
func ensureSyscallTest(ctx context.Context, t *testing.T) {
defer testEnv.P... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_info_test.go | integration-cli/docker_cli_info_test.go | package main
import (
"context"
"encoding/json"
"fmt"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
type DockerCLIInfoSuite struct {
ds *DockerSuite
}
func (s *DockerCLIInfoSuite) TearDownTest(ctx context.Context, t *testing.T) ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_logout_test.go | integration-cli/docker_cli_logout_test.go | package main
import (
"bytes"
"fmt"
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
func (s *DockerRegistryAuthHtpasswdSuite) TestLogoutWithExternalAuth(c... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_utils_test.go | integration-cli/docker_utils_test.go | package main
import (
"context"
"encoding/json"
"errors"
"fmt"
"io"
"os"
"path"
"path/filepath"
"strconv"
"strings"
"testing"
"time"
"github.com/moby/go-archive"
"github.com/moby/moby/api/types/common"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/i... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_netmode_test.go | integration-cli/docker_cli_netmode_test.go | package main
import (
"context"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
// GH14530. Validates combinations of --net= with other options
// stringCheckPS is how the output of PS starts in order to validate that
// the command ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_build_test.go | integration-cli/docker_cli_build_test.go | package main
import (
"archive/tar"
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"os"
"path/filepath"
"reflect"
"regexp"
"runtime"
"slices"
"strconv"
"strings"
"testing"
"text/template"
"time"
"github.com/moby/buildkit/frontend/dockerfile/command"
"github.com/moby/go-archive"
"github.com/moby/... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_login_test.go | integration-cli/docker_cli_login_test.go | package main
import (
"bytes"
"context"
"os/exec"
"runtime"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/skip"
)
type DockerCLILoginSuite struct {
ds *DockerSuite
}
func (s *DockerCLILoginSuite) TearDownTest(ctx context.C... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_logs_test.go | integration-cli/docker_api_logs_test.go | package main
import (
"bufio"
"bytes"
"fmt"
"io"
"net/http"
"strconv"
"strings"
"testing"
"time"
"github.com/moby/moby/api/pkg/stdcopy"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/reque... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_inspect_test.go | integration-cli/docker_api_inspect_test.go | package main
import (
"encoding/json"
"strings"
"testing"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
func (s *DockerAPISuite) Tes... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_images_test.go | integration-cli/docker_cli_images_test.go | package main
import (
"context"
"fmt"
"os"
"path/filepath"
"reflect"
"sort"
"strings"
"testing"
"time"
"github.com/moby/moby/client/pkg/stringid"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"g... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_port_test.go | integration-cli/docker_cli_port_test.go | package main
import (
"context"
"errors"
"fmt"
"regexp"
"sort"
"strconv"
"strings"
"testing"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
type DockerCLIPortSuite struct {... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/utils_test.go | integration-cli/utils_test.go | package main
import (
"fmt"
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"github.com/pkg/errors"
)
func getPrefixAndSlashFromDaemonPlatform() (prefix, slash string) {
if testEnv.DaemonInfo.OSType == "windows" {
... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_external_volume_driver_test.go | integration-cli/docker_cli_external_volume_driver_test.go | package main
import (
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/http/httptest"
"os"
"os/exec"
"path/filepath"
"strings"
"testing"
"time"
"github.com/moby/moby/api/types/container"
volumetypes "github.com/moby/moby/api/types/volume"
"github.com/moby/moby/v2/daemon/volume"
"github.c... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_prune_unix_test.go | integration-cli/docker_cli_prune_unix_test.go | //go:build !windows
package main
import (
"context"
"os"
"path/filepath"
"strconv"
"strings"
"testing"
"time"
"github.com/moby/moby/v2/integration-cli/checker"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"github.com/moby/moby/v2/integration-cli/daemon"... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_service_scale_test.go | integration-cli/docker_cli_service_scale_test.go | //go:build !windows
package main
import (
"testing"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
func (s *DockerSwarmSuite) TestServiceScale(c *testing.T) {
ctx := testutil.GetContext(c)
d := s.AddDaemon(ctx, c, true, true)
service1Name := "TestServi... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_top_test.go | integration-cli/docker_cli_top_test.go | package main
import (
"context"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
"gotest.tools/v3/icmd"
)
type DockerCLITopSuite struct {
ds *DockerSuite
}
func (s *DockerCLITopSuite) TearDownTest(ctx context.Context, t *testing.T) {
s.ds.TearDownTest(ctx, t)
}
fun... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_cp_from_container_test.go | integration-cli/docker_cli_cp_from_container_test.go | package main
import (
"os"
"path/filepath"
"testing"
"gotest.tools/v3/assert"
)
// Try all of the test cases from the archive package which implements the
// internals of `docker cp` and ensure that the behavior matches when actually
// copying to and from containers.
// Basic assumptions about SRC and DST:
// ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_swarm_unix_test.go | integration-cli/docker_cli_swarm_unix_test.go | //go:build !windows
package main
import (
"encoding/json"
"strings"
"testing"
"time"
"github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/v2/integration-cli/checker"
"github.com/moby/moby/v2/internal/testutil"
"gotest.tools/v3/assert"
"gotest.tools/v3/poll"
)
func (s *DockerSwarmSuite) TestSwarmVol... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_events_unix_test.go | integration-cli/docker_cli_events_unix_test.go | //go:build !windows
package main
import (
"bufio"
"bytes"
"fmt"
"os"
"os/exec"
"strings"
"testing"
"time"
"unicode"
"github.com/creack/pty"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"golang.org/x/sys/unix"
"gotest.tools/v3/assert"
is "gotest.tool... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_prune_test.go | integration-cli/docker_cli_prune_test.go | package main
type DockerCLIPruneSuite struct {
ds *DockerSuite
}
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_update_unix_test.go | integration-cli/docker_cli_update_unix_test.go | //go:build !windows
package main
import (
"context"
"encoding/json"
"fmt"
"os/exec"
"strings"
"testing"
"time"
"github.com/creack/pty"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"githu... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/utils_windows_test.go | integration-cli/utils_windows_test.go | package main
import "golang.org/x/sys/windows"
// getLongPathName converts Windows short pathnames to full pathnames.
// For example C:\Users\ADMIN~1 --> C:\Users\Administrator.
// It is a no-op on non-Windows platforms
func getLongPathName(path string) (string, error) {
// See https://groups.google.com/forum/#!topi... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_by_digest_test.go | integration-cli/docker_cli_by_digest_test.go | package main
import (
"encoding/json"
"fmt"
"os"
"path/filepath"
"regexp"
"strings"
"testing"
"github.com/moby/moby/api/types/image"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/im... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/test_vars_windows_test.go | integration-cli/test_vars_windows_test.go | //go:build windows
package main
const (
// identifies if test suite is running on a unix platform
isUnixCli = false
// this is the expected file permission set on windows: gh#11395
expectedFileChmod = "-rwxr-xr-x"
)
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_cp_to_container_test.go | integration-cli/docker_cli_cp_to_container_test.go | package main
import (
"os"
"testing"
"gotest.tools/v3/assert"
)
// Try all of the test cases from the archive package which implements the
// internals of `docker cp` and ensure that the behavior matches when actually
// copying to and from containers.
// Basic assumptions about SRC and DST:
// 1. SRC must exist... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_exec_test.go | integration-cli/docker_cli_exec_test.go | package main
import (
"bufio"
"context"
"errors"
"fmt"
"os"
"os/exec"
"reflect"
"sort"
"strings"
"sync"
"testing"
"time"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"github.com/moby/moby/v2/internal/testutil"
"gotest.... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/benchmark_test.go | integration-cli/benchmark_test.go | package main
import (
"context"
"errors"
"os"
"runtime"
"strings"
"sync"
"testing"
"time"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
)
type DockerBenchmarkSuite struct {
ds *DockerSuite
}
func (s *DockerBenchmarkSuite) TearDownTest(ctx context.Context, t *testing.T) {
s.ds.Te... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_plugins_test.go | integration-cli/docker_cli_plugins_test.go | package main
import (
"context"
"fmt"
"io"
"net/http"
"os"
"path"
"path/filepath"
"strings"
"testing"
"time"
plugintypes "github.com/moby/moby/api/types/plugin"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/daemon"
"github.com/moby/moby/v2/internal/testutil"
"gi... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_containers_test.go | integration-cli/docker_api_containers_test.go | package main
import (
"archive/tar"
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"os"
"path/filepath"
"runtime"
"strings"
"testing"
"time"
cerrdefs "github.com/containerd/errdefs"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/mount"
"github.com/moby/m... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_history_test.go | integration-cli/docker_cli_history_test.go | package main
import (
"context"
"fmt"
"regexp"
"strconv"
"strings"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/cli/build"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
type DockerCLIHistorySuite struct {
ds *DockerSuite
}
func (s *DockerCL... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_start_test.go | integration-cli/docker_cli_start_test.go | package main
import (
"context"
"fmt"
"strings"
"testing"
"time"
"github.com/moby/moby/v2/integration-cli/cli"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/icmd"
)
type DockerCLIStartSuite struct {
ds *DockerSuite
}
func (s *DockerCLIStartSuite) TearDownTest(ctx context.Contex... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/check_test.go | integration-cli/check_test.go | package main
import (
"context"
"flag"
"fmt"
"net/http/httptest"
"os"
"path"
"path/filepath"
"strconv"
"sync"
"syscall"
"testing"
"time"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/integration-cli/daemon"
"github.com/moby/moby/v2/integration-cli/environment"
"github.com/moby... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_containers_windows_test.go | integration-cli/docker_api_containers_windows_test.go | //go:build windows
package main
import (
"fmt"
"io"
"math/rand"
"strings"
"testing"
"github.com/Microsoft/go-winio"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/api/types/mount"
"github.com/moby/moby/api/types/network"
"github.com/moby/moby/client"
"github.com/moby/moby/v2/internal/tes... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_swarm_test.go | integration-cli/docker_cli_swarm_test.go | //go:build !windows
package main
import (
"bytes"
"context"
"encoding/json"
"encoding/pem"
"errors"
"fmt"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"runtime"
"strings"
"testing"
"time"
"github.com/cloudflare/cfssl/helpers"
"github.com/moby/moby/api/types/swarm"
"github.com/moby/moby/client... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | true |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_api_exec_resize_test.go | integration-cli/docker_api_exec_resize_test.go | package main
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"
"strings"
"sync"
"testing"
"github.com/moby/moby/v2/integration-cli/cli"
"github.com/moby/moby/v2/internal/testutil"
"github.com/moby/moby/v2/internal/testutil/request"
"github.com/pkg/errors"
"gotest.tools/v3/assert"
)
func (s *DockerA... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_network_test.go | integration-cli/docker_cli_network_test.go | package main
import (
"context"
"net/http/httptest"
"testing"
"github.com/moby/moby/v2/integration-cli/daemon"
)
type DockerCLINetworkSuite struct {
ds *DockerSuite
}
func (s *DockerCLINetworkSuite) TearDownTest(ctx context.Context, t *testing.T) {
s.ds.TearDownTest(ctx, t)
}
func (s *DockerCLINetworkSuite) ... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_proxy_test.go | integration-cli/docker_cli_proxy_test.go | package main
import (
"context"
"net"
"strings"
"testing"
"gotest.tools/v3/assert"
"gotest.tools/v3/icmd"
)
type DockerCLIProxySuite struct {
ds *DockerSuite
}
func (s *DockerCLIProxySuite) TearDownTest(ctx context.Context, t *testing.T) {
s.ds.TearDownTest(ctx, t)
}
func (s *DockerCLIProxySuite) OnTimeout... | go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
moby/moby | https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/integration-cli/docker_cli_update_test.go | integration-cli/docker_cli_update_test.go | package main
type DockerCLIUpdateSuite struct {
ds *DockerSuite
}
| go | Apache-2.0 | 015cd3d3fdf4a1ad9f27f132013bea7838da721b | 2026-01-07T08:35:43.425641Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.