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)
| 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. |
no outgoing calls