From 66d11427635160901e8bde0a6e05751e2db4a7da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 22:34:11 +0000 Subject: [PATCH] Bump github.com/opencontainers/image-spec from 1.0.0 to 1.0.2 Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec) from 1.0.0 to 1.0.2. - [Release notes](https://github.com/opencontainers/image-spec/releases) - [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md) - [Commits](https://github.com/opencontainers/image-spec/compare/v1.0.0...v1.0.2) --- updated-dependencies: - dependency-name: github.com/opencontainers/image-spec dependency-type: indirect ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 +- .../image-spec/specs-go/v1/index.go | 3 ++ .../image-spec/specs-go/v1/manifest.go | 3 ++ .../image-spec/specs-go/version.go | 2 +- vendor/modules.txt | 40 +++++++++---------- 6 files changed, 30 insertions(+), 24 deletions(-) diff --git a/go.mod b/go.mod index 90bf302..bb4a6bd 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/huandu/xstrings v1.2.0 // indirect github.com/imdario/mergo v0.3.7 // indirect github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420 // indirect - github.com/opencontainers/image-spec v1.0.0 // indirect + github.com/opencontainers/image-spec v1.0.2 // indirect github.com/pkg/errors v0.8.1 github.com/spf13/cobra v0.0.5 github.com/spf13/pflag v1.0.5 // indirect diff --git a/go.sum b/go.sum index bac0fd7..cfcf1d5 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420 h1:Yu3681ykYHDfLoI6XVjL4JWmkE+3TX9yfIWwRCh1kFM= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/image-spec v1.0.0 h1:jcw3cCH887bLKETGYpv8afogdYchbShR0eH6oD9d5PQ= -github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= +github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go b/vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go index 4e6c4b2..82da6c6 100644 --- a/vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go +++ b/vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go @@ -21,6 +21,9 @@ import "github.com/opencontainers/image-spec/specs-go" type Index struct { specs.Versioned + // MediaType specificies the type of this document data structure e.g. `application/vnd.oci.image.index.v1+json` + MediaType string `json:"mediaType,omitempty"` + // Manifests references platform specific manifests. Manifests []Descriptor `json:"manifests"` diff --git a/vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go b/vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go index 7ff32c4..d72d15c 100644 --- a/vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go +++ b/vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go @@ -20,6 +20,9 @@ import "github.com/opencontainers/image-spec/specs-go" type Manifest struct { specs.Versioned + // MediaType specificies the type of this document data structure e.g. `application/vnd.oci.image.manifest.v1+json` + MediaType string `json:"mediaType,omitempty"` + // Config references a configuration object for a container, by digest. // The referenced configuration object is a JSON blob that the runtime uses to set up the container. Config Descriptor `json:"config"` diff --git a/vendor/github.com/opencontainers/image-spec/specs-go/version.go b/vendor/github.com/opencontainers/image-spec/specs-go/version.go index e3eee29..0d9543f 100644 --- a/vendor/github.com/opencontainers/image-spec/specs-go/version.go +++ b/vendor/github.com/opencontainers/image-spec/specs-go/version.go @@ -22,7 +22,7 @@ const ( // VersionMinor is for functionality in a backwards-compatible manner VersionMinor = 0 // VersionPatch is for backwards-compatible bug fixes - VersionPatch = 0 + VersionPatch = 2 // VersionDev indicates development branch. Releases will be empty string. VersionDev = "" diff --git a/vendor/modules.txt b/vendor/modules.txt index a172ab3..1984461 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -7,28 +7,28 @@ github.com/Masterminds/semver # github.com/Masterminds/sprig v2.19.0+incompatible github.com/Masterminds/sprig # github.com/containers/image v3.0.2+incompatible -github.com/containers/image/types github.com/containers/image/docker/reference +github.com/containers/image/types # github.com/cyphar/filepath-securejoin v0.2.2 github.com/cyphar/filepath-securejoin # github.com/docker/distribution v2.7.1+incompatible -github.com/docker/distribution/reference github.com/docker/distribution/digestset +github.com/docker/distribution/reference # github.com/ghodss/yaml v0.0.0-20180820084758-c7ce16629ff4 github.com/ghodss/yaml # github.com/gobwas/glob v0.2.3 github.com/gobwas/glob github.com/gobwas/glob/compiler -github.com/gobwas/glob/syntax github.com/gobwas/glob/match +github.com/gobwas/glob/syntax github.com/gobwas/glob/syntax/ast -github.com/gobwas/glob/util/runes github.com/gobwas/glob/syntax/lexer +github.com/gobwas/glob/util/runes github.com/gobwas/glob/util/strings # github.com/golang/protobuf v1.2.0 +github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/timestamp -github.com/golang/protobuf/proto # github.com/google/uuid v0.0.0-20161128191214-064e2069ce9c github.com/google/uuid # github.com/huandu/xstrings v1.2.0 @@ -39,9 +39,9 @@ github.com/imdario/mergo github.com/inconshreveable/mousetrap # github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420 github.com/opencontainers/go-digest -# github.com/opencontainers/image-spec v1.0.0 -github.com/opencontainers/image-spec/specs-go/v1 +# github.com/opencontainers/image-spec v1.0.2 github.com/opencontainers/image-spec/specs-go +github.com/opencontainers/image-spec/specs-go/v1 # github.com/pkg/errors v0.8.1 github.com/pkg/errors # github.com/spf13/cobra v0.0.5 @@ -49,16 +49,16 @@ github.com/spf13/cobra # github.com/spf13/pflag v1.0.5 github.com/spf13/pflag # golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 +golang.org/x/crypto/cast5 golang.org/x/crypto/openpgp -golang.org/x/crypto/openpgp/clearsign -golang.org/x/crypto/openpgp/packet -golang.org/x/crypto/scrypt golang.org/x/crypto/openpgp/armor +golang.org/x/crypto/openpgp/clearsign +golang.org/x/crypto/openpgp/elgamal golang.org/x/crypto/openpgp/errors +golang.org/x/crypto/openpgp/packet golang.org/x/crypto/openpgp/s2k -golang.org/x/crypto/cast5 -golang.org/x/crypto/openpgp/elgamal golang.org/x/crypto/pbkdf2 +golang.org/x/crypto/scrypt # gopkg.in/yaml.v2 v2.2.2 gopkg.in/yaml.v2 # gopkg.in/yaml.v3 v3.0.0-20190905181640-827449938966 @@ -68,20 +68,20 @@ k8s.io/apimachinery/pkg/version # k8s.io/client-go v0.0.0-20190409021438-1a26190bd76a k8s.io/client-go/util/homedir # k8s.io/helm v2.16.1+incompatible -k8s.io/helm/pkg/repo k8s.io/helm/cmd/helm/search k8s.io/helm/pkg/chartutil k8s.io/helm/pkg/engine k8s.io/helm/pkg/getter k8s.io/helm/pkg/helm/environment -k8s.io/helm/pkg/proto/hapi/chart -k8s.io/helm/pkg/renderutil -k8s.io/helm/pkg/version -k8s.io/helm/pkg/provenance -k8s.io/helm/pkg/urlutil +k8s.io/helm/pkg/helm/helmpath k8s.io/helm/pkg/ignore +k8s.io/helm/pkg/plugin +k8s.io/helm/pkg/proto/hapi/chart k8s.io/helm/pkg/proto/hapi/version +k8s.io/helm/pkg/provenance +k8s.io/helm/pkg/renderutil +k8s.io/helm/pkg/repo k8s.io/helm/pkg/sympath -k8s.io/helm/pkg/plugin k8s.io/helm/pkg/tlsutil -k8s.io/helm/pkg/helm/helmpath +k8s.io/helm/pkg/urlutil +k8s.io/helm/pkg/version