func (ref dockerReference) PolicyConfigurationIdentity() string {
	res, err := policyconfiguration.DockerReferenceIdentity(ref.ref)
	if res == "" || err != nil { // Coverage: Should never happen, NewReference above should refuse values which could cause a failure.
		panic(fmt.Sprintf("Internal inconsistency: policyconfiguration.DockerReferenceIdentity returned %#v, %v", res, err))
	}
	return res
}
func (ref dockerReference) PolicyConfigurationIdentity() string {
	res, err := policyconfiguration.DockerReferenceIdentity(ref.ref)
	if res == "" || err != nil { 
		panic(fmt.Sprintf("Internal inconsistency: policyconfiguration.DockerReferenceIdentity returned %#v, %v", res, err))
	}
	return res
}
func ( ref dockerReference ) PolicyConfigurationIdentity ( ) string { res , err := policyconfiguration . DockerReferenceIdentity ( ref . ref ) if res == " " || err != nil { // Coverage: Should never happen, NewReference above should refuse values which could cause a failure. panic ( fmt . Sprintf ( " " , res , err ) ) } return res }
// PolicyConfigurationIdentity returns a string representation of the reference, suitable for policy lookup.
// This MUST reflect user intent, not e.g. after processing of third-party redirects or aliases;
// The value SHOULD be fully explicit about its semantics, with no hidden defaults, AND canonical
// (i.e. various references with exactly the same semantics should return the same configuration identity)
// It is fine for the return value to be equal to StringWithinTransport(), and it is desirable but
// not required/guaranteed that it will be a valid input to Transport().ParseReference().
// Returns "" if configuration identities for these references are not supported.
PolicyConfigurationIdentity returns a string representation of the reference suitable for policy lookup . This MUST reflect user intent not e . g . after processing of third - party redirects or aliases ; The value SHOULD be fully explicit about its semantics with no hidden defaults AND canonical ( i . e . various references with exactly the same semantics should return the same configuration identity ) It is fine for the return value to be equal to StringWithinTransport () and it is desirable but not required / guaranteed that it will be a valid input to Transport () . ParseReference () . Returns if configuration identities for these references are not supported .