Watch

skuber.akkaclient.watch.Watch
object Watch

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Watch.type

Members list

Value members

Concrete methods

def events[O <: ObjectResource](context: AkkaKubernetesClientImpl, name: String, sinceResourceVersion: Option[String], bufSize: Int, errorHandler: Option[String => ])(implicit format: Format[O], rd: ResourceDefinition[O], lc: LoggingContext): Future[Source[WatchEvent[O], _]]

Get a source of events on a specific Kubernetes resource type

Get a source of events on a specific Kubernetes resource type

Type parameters

O

the object resource type

Value parameters

bufSize

maximum size of each event in the event stream, in bytes

context

the applicable request context

format

the json formatter for the object resource type

name

the name of the Kubernetes resource to watch

rd

the resource definition for the object resource type

sinceResourceVersion

if specfied all events since the resource version are included, otherwise only future events

Attributes

def eventsOnKind[O <: ObjectResource](context: AkkaKubernetesClientImpl, sinceResourceVersion: Option[String], bufSize: Int, errorHandler: Option[String => ])(implicit format: Format[O], rd: ResourceDefinition[O], lc: LoggingContext): Future[Source[WatchEvent[O], _]]

Get a source of events on all resources of a specified object resource type

Get a source of events on all resources of a specified object resource type

Type parameters

O

the object resource type

Value parameters

bufSize

maximum size of each event in the event stream, in bytes

context

the applicable request context

format

Play json formatter for the applicable Kubernetes type, used to read each event object

rd

resource definition for the kind, required for building the watch request Uri.

sinceResourceVersion

if specfied all events since the resource version are included, otherwise only future events

Attributes

Returns

a Future which will eventually return a Source of events