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
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterRoleBinding
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRoleRef: IO[K8sFailure, RoleRef]
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.
- val metadata: Optional[ObjectMeta]
- val roleRef: RoleRef
- val subjects: Optional[Vector[Subject]]