ClusterRole

case class ClusterRole(aggregationRule: Optional[AggregationRule], metadata: Optional[ObjectMeta], rules: Optional[Vector[PolicyRule]])

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.

Value Params
rules

Rules holds all the PolicyRules for this ClusterRole

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets aggregationRule.

Gets aggregationRule.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product