mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 13:35:00 +00:00
Update imports
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
7c5b913e09
commit
c05f9dffc5
@ -20,12 +20,12 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/ensure"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/filter"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/modify"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/runtime"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/ensure"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/filter"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/modify"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/runtime"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-container-runtime.experimental/config"
|
||||
|
@ -22,7 +22,7 @@ import (
|
||||
"os/exec"
|
||||
"strings"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -22,7 +22,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
testlog "github.com/sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
@ -22,7 +22,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"encoding/json"
|
||||
"os"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -20,8 +20,8 @@ import (
|
||||
"encoding/json"
|
||||
"os"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/filter"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/filter"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -23,8 +23,8 @@ import (
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/lookup"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
package ensure
|
||||
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
|
||||
// Ensure is an alias for Discover
|
||||
type Ensure discover.Discover
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
package filter
|
||||
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
|
||||
type all struct {
|
||||
selectors []Selector
|
||||
|
@ -19,7 +19,7 @@ package filter
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
package filter
|
||||
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
|
||||
type any struct {
|
||||
selectors []Selector
|
||||
|
@ -19,7 +19,7 @@ package filter
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
package filter
|
||||
|
||||
import (
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
)
|
||||
|
||||
type devicesByID map[string]struct{}
|
||||
|
@ -19,7 +19,7 @@ package filter
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -19,7 +19,7 @@ package filter
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
log "github.com/sirupsen/logrus"
|
||||
testlog "github.com/sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
@ -17,7 +17,7 @@
|
||||
package filter
|
||||
|
||||
import (
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
testlog "github.com/sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
package filter
|
||||
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
|
||||
type standardDevice struct{}
|
||||
|
||||
|
@ -19,7 +19,7 @@ package filter
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
package filter
|
||||
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
import "github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
|
||||
//go:generate moq -stub -out selector_mock.go . Selector
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
package filter
|
||||
|
||||
import (
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"sync"
|
||||
)
|
||||
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -19,8 +19,8 @@ package modify
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -21,8 +21,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -17,7 +17,7 @@
|
||||
package modify
|
||||
|
||||
import (
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
)
|
||||
|
||||
//go:generate moq -stub -out modify_mock.go . Modifier
|
||||
|
@ -4,7 +4,7 @@
|
||||
package modify
|
||||
|
||||
import (
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"sync"
|
||||
)
|
||||
|
||||
|
@ -3,8 +3,8 @@ package modify
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/discover"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -19,8 +19,8 @@ package runtime
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/modify"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/modify"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -20,8 +20,8 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/modify"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/pkg/oci"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/modify"
|
||||
"github.com/NVIDIA/nvidia-container-toolkit/internal/oci"
|
||||
testlog "github.com/sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user