package
1.6.0-alpha.0
Repository: https://github.com/mikedanese/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
No description provided by the author
IsInternalError returns true if and only if err is an InternalError.
IsInvalidError returns true if and only if err is an InvalidError.
IsInvalidObj returns true if and only if err is invalid 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.
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
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().
SimpleFilter converts a selection predicate into a FilterFunc.
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.
# Variables
Everything accepts all objects.
# 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.
MatchValue defines a pair (<index name>, <value for that index>).
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.
SelectionPredicate is used to represent the way to select objects from api storage.
No description provided by the author
# Type aliases
AttrFunc returns label and field sets for List or Watch to match.
FilterFunc takes an API object and returns true if the object satisfies some requirements.
HighWaterMark is a thread-safe object for tracking the maximum value seen for some quantity.
No description provided by the author
TriggerPublisherFunc is a function that takes an object, and returns a list of pairs (<index name>, <index value for the given object>) for all indexes known to that function.
Pass an UpdateFunc to Interface.GuaranteedUpdate to make an update that is guaranteed to succeed.