Packages

case class ClusterRoleBinding(metadata: Optional[ObjectMeta] = Optional.Absent, roleRef: RoleRef, subjects: Optional[Vector[Subject]] = Optional.Absent) extends Product with Serializable

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

subjects

Subjects holds references to the objects the role applies to.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterRoleBinding
  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 ClusterRoleBinding(metadata: Optional[ObjectMeta] = Optional.Absent, roleRef: RoleRef, subjects: Optional[Vector[Subject]] = Optional.Absent)

    subjects

    Subjects holds references to the objects the role applies to.

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 getRoleRef: IO[K8sFailure, RoleRef]

    Gets roleRef.

    Gets roleRef.

    This effect always succeeds, it is safe to use the field roleRef directly.

  3. def getSubjects: IO[K8sFailure, Vector[Subject]]

    Subjects holds references to the objects the role applies to.

    Subjects holds references to the objects the role applies to.

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

  4. val metadata: Optional[ObjectMeta]
  5. val roleRef: RoleRef
  6. val subjects: Optional[Vector[Subject]]