ResourceDefinition

skuber.model.ResourceDefinition
See theResourceDefinition companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[T <: TypeMeta](kind: String, group: String, version: String, singular: Option[String], plural: Option[String], scope: Value, shortNames: List[String], versions: List[Version], subresources: Option[Subresources]): ResourceDefinition[T]

Implicits

Implicits

implicit def listDef[O <: ObjectResource](implicit rd: ResourceDefinition[O]): ResourceDefinition[ListResource[O]]

This will provide an implicit resource definition require by API list methods, as long as an implicit resource definition for the corresponding object resource type is in scope

This will provide an implicit resource definition require by API list methods, as long as an implicit resource definition for the corresponding object resource type is in scope

Type parameters

O

the object resource type

Value parameters

rd

resource definition for the object resource kind

Attributes

Returns

an implicit resource definition for the list resource kind