class

Kubernetes::SyncedStore(T)

Inherits Reference < Object

Constructors

new(k8s_client : Client, api_path : String)
Source
new(resource_watcher : ResourceWatcher(T))
Source

Instance methods

[](name : String) : T | Nil
Source
all_for(namespace : String) : Array(T)
Source
all_for(namespace : Kubernetes::Namespace) : Array(T)
Source
disconnect
Source
get(namespace : String, name : String) : T | Nil
Source
get(name : String) : T | Nil
Source
on_change

Register a callback that fires on each watch event after the cache is updated

Source
spawn_watch
Source