Packages

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

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

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. RoleBinding
  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 RoleBinding(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]]