mirror of
https://github.com/containers/skopeo.git
synced 2025-09-22 02:18:41 +00:00
Vendor in c/image with sigstore support
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
4
vendor/github.com/opencontainers/image-spec/schema/loader.go
generated
vendored
4
vendor/github.com/opencontainers/image-spec/schema/loader.go
generated
vendored
@@ -78,7 +78,7 @@ type fsLoader struct {
|
||||
}
|
||||
|
||||
// JsonSource implements gojsonschema.JSONLoader.JsonSource. The "Json" capitalization needs to be maintained to conform to the interface.
|
||||
func (l *fsLoader) JsonSource() interface{} { // nolint: golint
|
||||
func (l *fsLoader) JsonSource() interface{} { // revive:disable-line:var-naming
|
||||
return l.source
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ func decodeJSONUsingNumber(r io.Reader) (interface{}, error) {
|
||||
}
|
||||
|
||||
// JsonReference implements gojsonschema.JSONLoader.JsonReference. The "Json" capitalization needs to be maintained to conform to the interface.
|
||||
func (l *fsLoader) JsonReference() (gojsonreference.JsonReference, error) { // nolint: golint
|
||||
func (l *fsLoader) JsonReference() (gojsonreference.JsonReference, error) { // revive:disable-line:var-naming
|
||||
return gojsonreference.NewJsonReference(l.JsonSource().(string))
|
||||
}
|
||||
|
||||
|
2
vendor/github.com/opencontainers/image-spec/schema/schema.go
generated
vendored
2
vendor/github.com/opencontainers/image-spec/schema/schema.go
generated
vendored
@@ -17,7 +17,7 @@ package schema
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/opencontainers/image-spec/specs-go/v1"
|
||||
v1 "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
)
|
||||
|
||||
// Media types for the OCI image formats
|
||||
|
Reference in New Issue
Block a user