case class ClusterRole(aggregationRule: Optional[AggregationRule] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, rules: Optional[Vector[PolicyRule]] = Optional.Absent) extends Product with Serializable
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
- rules
Rules holds all the PolicyRules for this ClusterRole
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterRole
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ClusterRole(aggregationRule: Optional[AggregationRule] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, rules: Optional[Vector[PolicyRule]] = Optional.Absent)
- rules
Rules holds all the PolicyRules for this ClusterRole
Value Members
- val aggregationRule: Optional[AggregationRule]
-
def
getAggregationRule: IO[K8sFailure, AggregationRule]
Gets aggregationRule.
Gets aggregationRule.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRules: IO[K8sFailure, Vector[PolicyRule]]
Rules holds all the PolicyRules for this ClusterRole
Rules holds all the PolicyRules for this ClusterRole
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val rules: Optional[Vector[PolicyRule]]