public sealed class AdmissionWhitelistPattern : IMessage<AdmissionWhitelistPattern>, IEquatable<AdmissionWhitelistPattern>, IDeepCloneable<AdmissionWhitelistPattern>, IBufferMessage, IMessage
Reference documentation and code samples for the Binary Authorization v1beta1 API class AdmissionWhitelistPattern.
An [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].
Implements
IMessageAdmissionWhitelistPattern, IEquatableAdmissionWhitelistPattern, IDeepCloneableAdmissionWhitelistPattern, IBufferMessage, IMessageNamespace
Google.Cloud.BinaryAuthorization.V1Beta1Assembly
Google.Cloud.BinaryAuthorization.V1Beta1.dll
Constructors
AdmissionWhitelistPattern()
public AdmissionWhitelistPattern()
AdmissionWhitelistPattern(AdmissionWhitelistPattern)
public AdmissionWhitelistPattern(AdmissionWhitelistPattern other)
Parameter | |
---|---|
Name | Description |
other |
AdmissionWhitelistPattern |
Properties
NamePattern
public string NamePattern { get; set; }
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing *
as a wildcard, but this is allowed only in
text after the registry/
part. *
wildcard does not match /
, i.e.,
gcr.io/nginx*
matches gcr.io/nginx@latest
, but it does not match
gcr.io/nginx/image
. This also supports a trailing **
wildcard which
matches subdirectories, i.e., gcr.io/nginx**
matches
gcr.io/nginx/image
.
Property Value | |
---|---|
Type | Description |
string |