package
0.11.0
Repository: https://github.com/sallyom/kubernetes.git
Documentation: pkg.go.dev

# Functions

Everything is a FilterFunc which accepts all objects.
IsEtcdNodeExist returns true iff err is an etcd node aleady exist error.
IsEtcdNotFound returns true iff err is an etcd not found error.
IsEtcdTestFailed returns true iff err is an etcd write conflict.
IsEtcdWatchStoppedByUser returns true iff err is a client triggered stop.
No description provided by the author
No description provided by the author
ParseWatchResourceVersion takes a resource version argument and converts it to the etcd version we should pass to helper.Watch().

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

EtcdHelper offers common object marshalling/unmarshalling operations on an etcd client.
No description provided by the author
No description provided by the author
RuntimeVersionAdapter converts a string based versioner to EtcdResourceVersioner.

# Interfaces

EtcdClient is an injectable interface for testing.
EtcdGetSet interface exposes only the etcd operations needed by EtcdHelper.
No description provided by the author
TestLogger is a type passed to Test functions to support formatted test logs.

# Type aliases

Pass an EtcdUpdateFunc to EtcdHelper.AtomicUpdate to make an atomic etcd update.
FilterFunc is a predicate which takes an API object and returns true iff the object should remain in the set.
TransformFunc attempts to convert an object to another object for use with a watcher.