ClusterRoleBinding

case class ClusterRoleBinding(metadata: Optional[ObjectMeta], roleRef: RoleRef, subjects: Optional[Vector[Subject]])

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

Value Params
subjects

Subjects holds references to the objects the role applies to.

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

Value members

Concrete methods

Gets metadata.

Gets metadata.

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

Gets roleRef.

Gets roleRef.

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

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.

Inherited methods

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