package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev
# Packages
awsdynamodb aws dynamodb backend driver.
No description provided by the author
Package storage provides conversion of storage errors to API errors.
No description provided by the author
mongodbs mongodb backend driver.
mysqls mysql backend driver.
No description provided by the author
sqlite backend driver.
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
No description provided by the author
No description provided by the author
No description provided by the author
FiledIndex add prefix for field index.
IsConflict returns true if and only if err is a write conflict.
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.
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
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
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
# Variables
Everything accepts all objects.
# Structs
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
# Type aliases
AttrFunc returns label and field sets and the uninitialized flag for List or Watch to match.
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.