object ClusterRole
- Companion:
- class
- Source:
- ClusterRole.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Implicits
Implicits
obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta]("metadata")(decoder).flatMap[String,ClusterRole](((metadata:Option[ObjectMeta])=>obj.readOpt[Seq[io.k8s.api.rbac.v1.PolicyRule]]("rules")(arrDecoder[PolicyRule](decoder)).map[ClusterRole](((rules:Option[Seq[PolicyRule]])=>ClusterRole.apply(aggregationRule=aggregationRule,metadata=metadata,rules=rules)))))))))
}
(new$anon():Decoder[ClusterRole])
}" class="documentableAnchor">
implicit val obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta]("metadata")(decoder).flatMap[String,ClusterRole](((metadata:Option[ObjectMeta])=>obj.readOpt[Seq[io.k8s.api.rbac.v1.PolicyRule]]("rules")(arrDecoder[PolicyRule](decoder)).map[ClusterRole](((rules:Option[Seq[PolicyRule]])=>ClusterRole.apply(aggregationRule=aggregationRule,metadata=metadata,rules=rules)))))))))
}
(new$anon():Decoder[ClusterRole])
}" class="documentableName ">decoder: Decoder[ClusterRole]
- Source:
- ClusterRole.scala