package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/apiserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package storage provides conversion of storage errors to API errors.
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
Package value contains methods for assisting with transformation of values in storage.

# Functions

AnnotateInitialEventsEndBookmark adds a special annotation to the given object which indicates that the initial events have been sent.
DecodeContinue transforms an encoded predicate from into a versioned struct.
No description provided by the author
No description provided by the author
EncodeContinue returns a string representing the encoded continuation of the current query.
FiledIndex add prefix for field index.
GetCurrentResourceVersionFromStorage gets the current resource version from the underlying storage engine.
HasInitialEventsEndBookmarkAnnotation checks the presence of the special annotation which marks that the initial events have been sent.
IsConflict returns true if and only if err is a write conflict.
IsCorruptObject returns true if and only if: a) the given object data retrieved from the storage is not transformable, or b) the given object failed to decode properly.
IsExist returns true if and only if err is "key" already exists error.
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.
IsNotFound returns true if and only if err is "key" not found error.
IsRequestTimeout returns true if and only if err indicates that the request has timed out.
IsTooLargeResourceVersion returns true if the error is a TooLargeResourceVersion error.
IsUnreachable returns true if and only if err indicates the server could not be reached.
LabelIndex add prefix for label index.
No description provided by the author
NewCorruptObjError returns a new StorageError, it represents a corrupt object: a) object data retrieved from the storage failed to transform with the given err.
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
NewTooLargeResourceVersionError returns a timeout error with the given retrySeconds for a request for a minimum resource version that is larger than the largest currently available resource version for a requested resource.
NewUIDPreconditions returns a Preconditions with UID set.
No description provided by the author
No description provided by the author
PrepareContinueToken prepares optional parameters for retrieving additional results for a paginated request.
SimpleUpdateFunc converts SimpleUpdateFunc into UpdateFunc.
ValidateAllObjectFunc is a "admit everything" instance of ValidateObjectFunc.

# 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
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
No description provided by the author
No description provided by the author
Everything accepts all objects.
RequestWatchProgress is an etcd feature that may use to check if it supported or not.

# Structs

APIObjectVersioner implements versioning and extracting etcd node information for objects that have an embedded ObjectMeta or ListMeta field.
DeleteOptions provides the options that may be provided for storage delete operations.
GetOptions provides the options that may be provided for storage get operations.
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.
ListOptions provides the options that may be provided for storage list operations.
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

# Interfaces

Interface offers a common interface for object marshaling/unmarshaling 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

AttrFunc returns label and field sets and the uninitialized flag for List or Watch to match.
Feature is the name of each feature in storage that we check in feature_support_checker.
FieldMutationFunc allows the mutation of the field selection fields.
HighWaterMark is a thread-safe object for tracking the maximum value seen for some quantity.
IndexerFunc is a function that for a given object computes `<value of an index>` for a particular `<index>`.
IndexerFuncs is a mapping from `<index name>` to function that for a given object computes `<value for that index>`.
No description provided by the author
Pass an UpdateFunc to Interface.GuaranteedUpdate to make an update that is guaranteed to succeed.
ValidateObjectFunc is a function to act on a given object.