package
1.4.0-alpha.0
Repository: https://github.com/7ing/kubernetes.git
Documentation: pkg.go.dev

# Packages

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

# Functions

Everything is a FilterFunc which accepts all objects.
IsInternalError returns true if and only if err is an InternalError.
IsInvalidError returns true if and only if err is an InvalidError.
IsInvalidUID returns true if and only if err is invalid UID error.
IsNodeExist returns true if and only if err is an node already exist error.
IsNotFound returns true if and only if err is "key" not found error.
IsTestFailed returns true if and only if err is a write conflict.
IsUnreachable returns true if and only if err indicates the server could not be reached.
No description provided by the author
Create a new Cacher responsible from service WATCH and LIST requests from its internal cache and updating its cache in the background based on the given configuration.
Create a new Cacher responsible from service WATCH and LIST requests from its internal cache and updating its cache in the background based on the given configuration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUIDPreconditions returns a Preconditions with UID set.
No description provided by the author
No description provided by the author
ParseListResourceVersion takes a resource version argument and converts it to the etcd version.
ParseWatchResourceVersion takes a resource version argument and converts it to the etcd version we should pass to helper.Watch().
SimpleUpdateFunc converts SimpleUpdateFunc into UpdateFunc.

# 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
No description provided by the author
MaximumListWait determines how long we're willing to wait for a list if a client specified a resource version in the future.

# Structs

Cacher is responsible for serving WATCH and LIST requests for a given resource from its internal cache and updating its cache in the background based on the underlying storage contents.
CacherConfig contains the configuration for a given Cache.
InternalError is generated when an error occurs in the storage package, i.e., not from the underlying storage backend (e.g., etcd).
InvalidError is generated when an error caused by invalid API object occurs in the storage package.
Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
ResponseMeta contains information about the database metadata that is associated with an object.
No description provided by the author

# Interfaces

Config interface allows storage tiers to generate the proper storage.interface and reduce the dependencies to encapsulate storage.
Interface offers a common interface for object marshaling/unmarshling operations and hides all the storage-related operations behind it.
Versioner abstracts setting and retrieving metadata fields from database response onto the object ot list.

# Type aliases

FilterFunc is a predicate which takes an API object and returns true if and only if the object should remain in the set.
No description provided by the author
Pass an UpdateFunc to Interface.GuaranteedUpdate to make an update that is guaranteed to succeed.