MCPcopy Create free account
hub / github.com/containers/image / ValidatePolicyConfigurationScope

Method ValidatePolicyConfigurationScope

types/types.go:36–36  ·  view source on GitHub ↗

ValidatePolicyConfigurationScope checks that scope is a valid name for a signature.PolicyTransportScopes keys (i.e. a valid PolicyConfigurationIdentity() or PolicyConfigurationNamespaces() return value). It is acceptable to allow an invalid value which will never be matched, it can "only" cause user

(scope string)

Source from the content-addressed store, hash-verified

34 // It is acceptable to allow an invalid value which will never be matched, it can "only" cause user confusion.
35 // scope passed to this function will not be "", that value is always allowed.
36 ValidatePolicyConfigurationScope(scope string) error
37}
38
39// ImageReference is an abstracted way to refer to an image location, namespaced within an ImageTransport.

Implementers 10

tarballTransporttarball/tarball_transport.go
storageTransportstorage/storage_transport.go
ociTransportoci/layout/oci_transport.go
ociArchiveTransportoci/archive/oci_transport.go
dirTransportdirectory/directory_transport.go
sifTransportsif/transport.go
openshiftTransportopenshift/openshift_transport.go
dockerTransportdocker/docker_transport.go
daemonTransportdocker/daemon/daemon_transport.go
archiveTransportdocker/archive/transport.go

Calls

no outgoing calls