mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 13:06:40 +00:00
Vendoring with Glide and delete function handler
This commit is contained in:
12
gateway/vendor/github.com/docker/distribution/manifest/versioned.go
generated
vendored
Normal file
12
gateway/vendor/github.com/docker/distribution/manifest/versioned.go
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
package manifest
|
||||
|
||||
// Versioned provides a struct with the manifest schemaVersion and mediaType.
|
||||
// Incoming content with unknown schema version can be decoded against this
|
||||
// struct to check the version.
|
||||
type Versioned struct {
|
||||
// SchemaVersion is the image manifest schema that this image follows
|
||||
SchemaVersion int `json:"schemaVersion"`
|
||||
|
||||
// MediaType is the media type of this schema.
|
||||
MediaType string `json:"mediaType,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user