com.coralogix.zio.k8s.client.test

Type members

Classlikes

final class TestResourceClient[T] extends Resource[T] with ResourceDeleteAll[T]

Implementation of Resource and ResourceDeleteAll to be used from unit tests

Implementation of Resource and ResourceDeleteAll to be used from unit tests

Type Params
T

Resource type

Value Params
events

Watch event queue

store

Object store

Companion
object
Companion
class
final class TestResourceStatusClient[StatusT, T](client: TestResourceClient[T])(implicit r: K8sObject[T], rs: K8sObjectStatus[T, StatusT]) extends ResourceStatus[StatusT, T]

Test implementation of ResourceStatus to be used from unit tests

Test implementation of ResourceStatus to be used from unit tests

Type Params
StatusT

Status subresource type

T

Resource type

Value Params
client

The test client implementation to attach to

final class TestSubresourceClient[T] extends Subresource[T]

Test implementation of Subresource to be used from unit tests

Test implementation of Subresource to be used from unit tests

Type Params
T

Subresource type

Value Params
store

Subresource data store

Companion
object