vendor: update oci image spec dependency
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
b7805198b1
commit
24397e7169
10 changed files with 48 additions and 32 deletions
15
vendor/github.com/opencontainers/image-spec/specs-go/v1/layout.go
generated
vendored
15
vendor/github.com/opencontainers/image-spec/specs-go/v1/layout.go
generated
vendored
|
@ -14,18 +14,15 @@
|
|||
|
||||
package v1
|
||||
|
||||
import "regexp"
|
||||
|
||||
// ImageLayoutVersion is the version of ImageLayout
|
||||
const ImageLayoutVersion = "1.0.0"
|
||||
const (
|
||||
// ImageLayoutFile is the file name of oci image layout file
|
||||
ImageLayoutFile = "oci-layout"
|
||||
// ImageLayoutVersion is the version of ImageLayout
|
||||
ImageLayoutVersion = "1.0.0"
|
||||
)
|
||||
|
||||
// ImageLayout is the structure in the "oci-layout" file, found in the root
|
||||
// of an OCI Image-layout directory.
|
||||
type ImageLayout struct {
|
||||
Version string `json:"imageLayoutVersion"`
|
||||
}
|
||||
|
||||
var (
|
||||
// RefsRegexp matches requirement of image-layout 'refs' charset.
|
||||
RefsRegexp = regexp.MustCompile(`^[a-zA-Z0-9-._]+$`)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue