Interface AdmissionWhitelistPatternOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getNamePattern()
      An image name pattern to allowlist, in the form `registry/path/to/image`.
      com.google.protobuf.ByteString getNamePatternBytes()
      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 Detail

      • 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.