File tree Expand file tree Collapse file tree 16 files changed +18
-91
lines changed
Expand file tree Collapse file tree 16 files changed +18
-91
lines changed Original file line number Diff line number Diff line change 11module github.com/CloudNativeAI/modctl
22
3- go 1.23.0
3+ go 1.23.3
44
55require (
6+ github.com/CloudNativeAI/model-spec v0.0.0-20241121031550-59ad02d4a225
67 github.com/distribution/reference v0.6.0
78 github.com/dustin/go-humanize v1.0.1
89 github.com/emirpasic/gods v1.18.1
@@ -15,11 +16,9 @@ require (
1516 github.com/vbauerster/mpb/v8 v8.8.3
1617 golang.org/x/crypto v0.29.0
1718 oras.land/oras-go/v2 v2.5.0
18- zotregistry.dev/zot v1.4.3
19+ zotregistry.dev/zot v1.4.4-0.20241020091450-edb549142830
1920)
2021
21- replace zotregistry.dev/zot v1.4.3 => zotregistry.dev/zot v1.4.4-0.20241020091450-edb549142830
22-
2322require (
2423 github.com/VividCortex/ewma v1.2.0 // indirect
2524 github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 h1:XHOnouVk1mx
5555github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 /go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI =
5656github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0 =
5757github.com/BurntSushi/toml v1.4.0 /go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho =
58+ github.com/CloudNativeAI/model-spec v0.0.0-20241121031550-59ad02d4a225 h1:/wakwn9KDTKnVSlg+H12XxsGSVSNs0XK/j9UjUw3vUs =
59+ github.com/CloudNativeAI/model-spec v0.0.0-20241121031550-59ad02d4a225 /go.mod h1:/wGtOmyHRaxmWGWguc1oh7pcYbWyiuXG+VkAV8vmOTI =
5860github.com/CycloneDX/cyclonedx-go v0.9.0 h1:inaif7qD8bivyxp7XLgxUYtOXWtDez7+j72qKTMQTb8 =
5961github.com/CycloneDX/cyclonedx-go v0.9.0 /go.mod h1:NE/EWvzELOFlG6+ljX/QeMlVt9VKcTwu8u0ccsACEsw =
6062github.com/GoogleCloudPlatform/docker-credential-gcr v2.0.5+incompatible h1:juIaKLLVhqzP55d8x4cSVgwyQv76Z55/fRv/UBr2KkQ =
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "github.com/CloudNativeAI/modctl/pkg/backend/build"
2727 "github.com/CloudNativeAI/modctl/pkg/backend/processor"
2828 "github.com/CloudNativeAI/modctl/pkg/modelfile"
29- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
29+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
3030
3131 humanize "github.com/dustin/go-humanize"
3232 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424 "path/filepath"
2525 "time"
2626
27- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
27+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2828 "github.com/CloudNativeAI/modctl/pkg/storage"
2929
3030 godigest "github.com/opencontainers/go-digest"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
2020 "testing"
2121 "time"
2222
23- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
23+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2424 "github.com/CloudNativeAI/modctl/test/mocks/modelfile"
2525
2626 "github.com/stretchr/testify/assert"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
2121 "encoding/json"
2222 "fmt"
2323
24- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
24+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2525 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
2626)
2727
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import (
2323 "sort"
2424 "time"
2525
26- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
26+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2727
2828 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
2929)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
2121 "os"
2222
2323 "github.com/CloudNativeAI/modctl/pkg/backend/build"
24- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
24+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2525 "github.com/CloudNativeAI/modctl/pkg/storage"
2626
2727 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
2121 "testing"
2222 "testing/fstest"
2323
24- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
24+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2525 "github.com/CloudNativeAI/modctl/test/mocks/storage"
2626
2727 "github.com/stretchr/testify/assert"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
2222 "regexp"
2323
2424 "github.com/CloudNativeAI/modctl/pkg/backend/build"
25- modelspec "github.com/CloudNativeAI/modctl/pkg/spec "
25+ modelspec "github.com/CloudNativeAI/model-spec/specs-go/v1 "
2626 "github.com/CloudNativeAI/modctl/pkg/storage"
2727
2828 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
You can’t perform that action at this time.
0 commit comments