com.coralogix.zio.k8s.client.impl

Type members

Classlikes

final
class ResourceClient[T, DeleteResult](val resourceType: K8sResourceType, val cluster: K8sCluster, val backend: SttpBackend[Task, ZioStreams & WebSockets])(implicit evidence$1: K8sObject[T], evidence$2: Encoder[T], evidence$3: Decoder[T], evidence$4: Encoder[DeleteResult], evidence$5: Decoder[DeleteResult]) extends Resource[T] with ResourceDelete[T, DeleteResult] with ResourceDeleteAll[T] with ResourceClientBase

Generic implementation of Resource, ResourceDelete and ResourceDeleteAll

Type Params
DeleteResult

Result type of the delete operation. Usually com.coralogix.zio.k8s.model.pkg.apis.meta.v1.Status but for some resources it can be custom.

T

Resource type, must have JSON encoder and decoder and an implementation of com.coralogix.zio.k8s.client.model.K8sObject

Value Params
backend

Configured HTTP client

cluster

Configured Kubernetes cluster

resourceType

Kubernetes resource metadata

Companion
object
Companion
class
Companion
object
Companion
class
final
class ResourceStatusClient[StatusT, T](val resourceType: K8sResourceType, val cluster: K8sCluster, val backend: SttpBackend[Task, ZioStreams & WebSockets])(implicit evidence$1: Encoder[StatusT], evidence$2: K8sObject[T], evidence$3: Encoder[T], evidence$4: Decoder[T]) extends ResourceStatus[StatusT, T] with ResourceClientBase

Generic implementation for ResourceStatus

Generic implementation for ResourceStatus

Type Params
StatusT

Status subresource type

T

Resource type

Value Params
backend

Configured HTTP client

cluster

Configured Kubernetes cluster

resourceType

Kubernetes resource metadata

final
class SubresourceClient[T](val resourceType: K8sResourceType, val cluster: K8sCluster, val backend: SttpBackend[Task, ZioStreams & WebSockets], subresourceName: String)(implicit evidence$1: Encoder[T], evidence$2: Decoder[T]) extends Subresource[T] with ResourceClientBase

Generic implementation for Subresource

Generic implementation for Subresource

Type Params
T

Subresource type

Value Params
backend

Configured HTTP client

cluster

Configured Kubernetes cluster

resourceType

Kubernetes resource metadata

subresourceName

Name of the subresource