Class ResourceRule

    • Constructor Detail

      • ResourceRule

        public ResourceRule()
        No args constructor for use in serialization
    • Method Detail

      • getApiGroups

        public List<String> getApiGroups()
        apiGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.
      • setApiGroups

        public void setApiGroups​(List<String> apiGroups)
        apiGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.
      • getResourceNames

        public List<String> getResourceNames()
        resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
      • setResourceNames

        public void setResourceNames​(List<String> resourceNames)
        resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
      • getResources

        public List<String> getResources()
        resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.

        "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.

      • setResources

        public void setResources​(List<String> resources)
        resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.

        "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.

      • getVerbs

        public List<String> getVerbs()
        verbs is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
      • setVerbs

        public void setVerbs​(List<String> verbs)
        verbs is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)