Interface AdmissionWhitelistPatternOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdmissionWhitelistPattern, AdmissionWhitelistPattern.Builder

@Generated public interface AdmissionWhitelistPatternOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    An image name pattern to allowlist, in the form `registry/path/to/image`.
    com.google.protobuf.ByteString
    An image name pattern to allowlist, in the form `registry/path/to/image`.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNamePattern

      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:
      The namePattern.
    • getNamePatternBytes

      com.google.protobuf.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:
      The bytes for namePattern.