Interface AdmissionWhitelistPatternOrBuilder (1.28.0)

public interface AdmissionWhitelistPatternOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNamePattern()

public abstract String getNamePattern()

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.

string name_pattern = 1;

Returns
TypeDescription
String

The namePattern.

getNamePatternBytes()

public abstract ByteString getNamePatternBytes()

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.

string name_pattern = 1;

Returns
TypeDescription
ByteString

The bytes for namePattern.