Class AggregationRule

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class AggregationRule
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
    • Constructor Detail

      • AggregationRule

        public AggregationRule​(java.util.List<LabelSelector> clusterRoleSelectors)
      • AggregationRule

        public AggregationRule()
    • Method Detail

      • getClusterRoleSelectors

        public java.util.List<LabelSelector> getClusterRoleSelectors()
        ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
      • setClusterRoleSelectors

        public void setClusterRoleSelectors​(java.util.List<LabelSelector> clusterRoleSelectors)
        ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object