TestResourceStatusClient

final class TestResourceStatusClient[StatusT, T](client: TestResourceClient[T])(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

trait ResourceStatus[StatusT, T]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def getStatus(name: String, namespace: Option[K8sNamespace]): IO[K8sFailure, T]
Definition Classes
override def replaceStatus(of: T, updatedStatus: StatusT, namespace: Option[K8sNamespace], dryRun: Boolean): IO[K8sFailure, T]
Definition Classes