Interface V1Admissionregistration.RuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1Admissionregistration.Rule, V1Admissionregistration.Rule.Builder
Enclosing class:
V1Admissionregistration

public static interface V1Admissionregistration.RuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getApiGroups(int index)
    APIGroups is the API groups the resources belong to.
    com.google.protobuf.ByteString
    getApiGroupsBytes(int index)
    APIGroups is the API groups the resources belong to.
    int
    APIGroups is the API groups the resources belong to.
    APIGroups is the API groups the resources belong to.
    getApiVersions(int index)
    APIVersions is the API versions the resources belong to.
    com.google.protobuf.ByteString
    APIVersions is the API versions the resources belong to.
    int
    APIVersions is the API versions the resources belong to.
    APIVersions is the API versions the resources belong to.
    getResources(int index)
    Resources is a list of resources this rule applies to.
    com.google.protobuf.ByteString
    getResourcesBytes(int index)
    Resources is a list of resources this rule applies to.
    int
    Resources is a list of resources this rule applies to.
    Resources is a list of resources this rule applies to.
    scope specifies the scope of this rule.
    com.google.protobuf.ByteString
    scope specifies the scope of this rule.
    boolean
    scope specifies the scope of this rule.

    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

    • getApiGroupsList

      List<String> getApiGroupsList()
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiGroupsCount

      int getApiGroupsCount()
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiGroups

      String getApiGroups(int index)
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiGroupsBytes

      com.google.protobuf.ByteString getApiGroupsBytes(int index)
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiVersionsList

      List<String> getApiVersionsList()
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getApiVersionsCount

      int getApiVersionsCount()
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getApiVersions

      String getApiVersions(int index)
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getApiVersionsBytes

      com.google.protobuf.ByteString getApiVersionsBytes(int index)
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getResourcesList

      List<String> getResourcesList()
       Resources is a list of resources this rule applies to.
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • getResourcesCount

      int getResourcesCount()
       Resources is a list of resources this rule applies to.
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • getResources

      String getResources(int index)
       Resources is a list of resources this rule applies to.
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • getResourcesBytes

      com.google.protobuf.ByteString getResourcesBytes(int index)
       Resources is a list of resources this rule applies to.
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • hasScope

      boolean hasScope()
       scope specifies the scope of this rule.
       Valid values are "Cluster", "Namespaced", and "*"
       "Cluster" means that only cluster-scoped resources will match this rule.
       Namespace API objects are cluster-scoped.
       "Namespaced" means that only namespaced resources will match this rule.
       "*" means that there are no scope restrictions.
       Subresources match the scope of their parent resource.
       Default is "*".
       +optional
       
      optional string scope = 4;
    • getScope

      String getScope()
       scope specifies the scope of this rule.
       Valid values are "Cluster", "Namespaced", and "*"
       "Cluster" means that only cluster-scoped resources will match this rule.
       Namespace API objects are cluster-scoped.
       "Namespaced" means that only namespaced resources will match this rule.
       "*" means that there are no scope restrictions.
       Subresources match the scope of their parent resource.
       Default is "*".
       +optional
       
      optional string scope = 4;
    • getScopeBytes

      com.google.protobuf.ByteString getScopeBytes()
       scope specifies the scope of this rule.
       Valid values are "Cluster", "Namespaced", and "*"
       "Cluster" means that only cluster-scoped resources will match this rule.
       Namespace API objects are cluster-scoped.
       "Namespaced" means that only namespaced resources will match this rule.
       "*" means that there are no scope restrictions.
       Subresources match the scope of their parent resource.
       Default is "*".
       +optional
       
      optional string scope = 4;