Class PodSecurityPolicySubjectReviewSpec

    • Constructor Detail

      • PodSecurityPolicySubjectReviewSpec

        public PodSecurityPolicySubjectReviewSpec()
        No args constructor for use in serialization
      • PodSecurityPolicySubjectReviewSpec

        public PodSecurityPolicySubjectReviewSpec​(List<String> groups,
                                                  io.fabric8.kubernetes.api.model.PodTemplateSpec template,
                                                  String user)
    • Method Detail

      • getGroups

        public List<String> getGroups()
        groups is the groups you're testing for.
      • setGroups

        public void setGroups​(List<String> groups)
        groups is the groups you're testing for.
      • getTemplate

        public io.fabric8.kubernetes.api.model.PodTemplateSpec getTemplate()
        PodSecurityPolicySubjectReviewSpec defines specification for PodSecurityPolicySubjectReview
      • setTemplate

        public void setTemplate​(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
        PodSecurityPolicySubjectReviewSpec defines specification for PodSecurityPolicySubjectReview
      • getUser

        public String getUser()
        user is the user you're testing for. If you specify "user" but not "group", then is it interpreted as "What if user were not a member of any groups. If user and groups are empty, then the check is performed using *only* the serviceAccountName in the template.
      • setUser

        public void setUser​(String user)
        user is the user you're testing for. If you specify "user" but not "group", then is it interpreted as "What if user were not a member of any groups. If user and groups are empty, then the check is performed using *only* the serviceAccountName in the template.
      • getAdditionalProperties

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

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

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