Packages

case class Role(metadata: Optional[ObjectMeta] = Optional.Absent, rules: Optional[Vector[PolicyRule]] = Optional.Absent) extends Product with Serializable

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

rules

Rules holds all the PolicyRules for this Role

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Role
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Role(metadata: Optional[ObjectMeta] = Optional.Absent, rules: Optional[Vector[PolicyRule]] = Optional.Absent)

    rules

    Rules holds all the PolicyRules for this Role

Value Members

  1. def getMetadata: IO[K8sFailure, ObjectMeta]

    Gets metadata.

    Gets metadata.

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

  2. def getRules: IO[K8sFailure, Vector[PolicyRule]]

    Rules holds all the PolicyRules for this Role

    Rules holds all the PolicyRules for this Role

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

  3. val metadata: Optional[ObjectMeta]
  4. val rules: Optional[Vector[PolicyRule]]