Registration

com.coralogix.zio.k8s.operator.Registration$

Registers CRD objects

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def registerIfMissing[T](customResourceDefinition: ZIO[Any, Throwable, CustomResourceDefinition])(implicit metadata: ResourceMetadata[T]): ZIO[Any & CustomResourceDefinitions, Throwable, Unit]

Register a Custom Resource Definition if it is not registered yet

Register a Custom Resource Definition if it is not registered yet

When using the zio-k8s-crd plugin, the effect to provide the custom resource definition is automatically generated.

Attributes

T

Resource type

customResourceDefinition

Effect returning the custom resource definition

metadata

Resource metadata