"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/github.com/containers/image/docker/policyconfiguration/naming.go" between
buildah-1.11.2.tar.gz and buildah-1.11.3.tar.gz

About: Buildah is a tool that facilitates building Open Container Initiative (OCI) container images.

naming.go  (buildah-1.11.2):naming.go  (buildah-1.11.3)
package policyconfiguration package policyconfiguration
import ( import (
"strings" "strings"
"github.com/containers/image/docker/reference" "github.com/containers/image/v4/docker/reference"
"github.com/pkg/errors" "github.com/pkg/errors"
) )
// DockerReferenceIdentity returns a string representation of the reference, sui table for policy lookup, // DockerReferenceIdentity returns a string representation of the reference, sui table for policy lookup,
// as a backend for ImageReference.PolicyConfigurationIdentity. // as a backend for ImageReference.PolicyConfigurationIdentity.
// The reference must satisfy !reference.IsNameOnly(). // The reference must satisfy !reference.IsNameOnly().
func DockerReferenceIdentity(ref reference.Named) (string, error) { func DockerReferenceIdentity(ref reference.Named) (string, error) {
res := ref.Name() res := ref.Name()
tagged, isTagged := ref.(reference.NamedTagged) tagged, isTagged := ref.(reference.NamedTagged)
digested, isDigested := ref.(reference.Canonical) digested, isDigested := ref.(reference.Canonical)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)