package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AdmissionToValidateObjectDeleteFunc returns a admission validate func for object deletion.
AdmissionToValidateObjectFunc converts validating admission to a rest validate object func.
AdmissionToValidateObjectUpdateFunc converts validating admission to a rest validate object update func.
BeforeCreate ensures that common operations for all resources are performed on creation.
BeforeDelete tests whether the object can be gracefully deleted.
BeforeUpdate ensures that common operations for all resources are performed on update.
CheckGeneratedNameError checks whether an error that occurred creating a resource is due to generation being unable to pick a valid name.
DefaultUpdatedObjectInfo returns an UpdatedObjectInfo impl based on the specified object.
FillObjectMetaSystemFields populates fields that are managed by the system on ObjectMeta.
NewDefaultTableConvertor creates a default convertor; the provided resource is used for error messages if no resource info can be determined from the context passed to ConvertToTable.
ValidateAllObjectFunc is a "admit everything" instance of ValidateObjectFunc.
ValidateAllObjectUpdateFunc is a "admit everything" instance of ValidateObjectUpdateFunc.
ValidNamespace returns false if the namespace on the context differs from the resource.
WrapUpdatedObjectInfo returns an UpdatedObjectInfo impl that delegates to the specified objInfo, then calls the passed transformers.
# Constants
No description provided by the author
No description provided by the author
Unsupported means that the resource knows that it cannot be GC'd, so the finalizers should never be set in storage.
# Interfaces
CategoriesProvider allows a resource to specify which groups of resources (categories) it's part of.
CollectionDeleter is an object that can delete a collection of RESTful resources.
Connecter is a storage object that responds to a connection request.
Creater is an object that can create an instance of a RESTful object.
CreaterUpdater is a storage object that must support both create and update.
CreateUpdateResetFieldsStrategy is a union of RESTCreateUpdateStrategy and ResetFieldsStrategy.
GarbageCollectionDeleteStrategy must be implemented by the registry that wants to orphan dependents by default.
Getter is an object that can retrieve a named RESTful resource.
GetterWithOptions is an object that retrieve a named RESTful resource and takes additional options on the get request.
GracefulDeleter knows how to pass deletion options to allow delayed deletion of a RESTful object.
GroupVersionAcceptor is used to determine if a particular GroupVersion is acceptable to send to an endpoint.
GroupVersionKindProvider is used to specify a particular GroupVersionKind to discovery.
KindProvider specifies a different kind for its API than for its internal storage.
Lister is an object that can retrieve resources that match the provided field and label criteria.
MayReturnFullObjectDeleter may return deleted object (instead of a simple status) on deletion.
NamedCreater is an object that can create an instance of a RESTful object using a name parameter.
NamespaceScopedStrategy has a method to tell if the object must be in a namespace.
Patcher is a storage object that supports both get and update.
Redirector know how to return a remote resource's location.
ResetFieldsStrategy is an optional interface that a storage object can implement if it wishes to provide the fields reset by its strategies.
ResourceStreamer is an interface implemented by objects that prefer to be streamed from the server instead of decoded directly.
Responder abstracts the normal response behavior for a REST method and is passed to callers that may wish to handle the response directly in some cases, but delegate to the normal error or object behavior in other cases.
RESTCreateStrategy defines the minimum validation, accepted input, and name generation behavior to create an object that follows Kubernetes API conventions.
RESTCreateUpdateStrategy is a union of RESTUpdateStrategy and RESTCreateStrategy, and it defines the minimum validation, accepted input, and name generation behavior to create and update an object that follows Kubernetes API conventions.
RESTDeleteStrategy defines deletion behavior on an object that follows Kubernetes API conventions.
RESTGracefulDeleteStrategy must be implemented by the registry that supports graceful deletion.
RESTUpdateStrategy defines the minimum validation, accepted input, and name generation behavior to update an object that follows Kubernetes API conventions.
Scoper indicates what scope the resource is at.
ShortNamesProvider is an interface for RESTful storage services.
StandardStorage is an interface covering the common verbs.
Storage is a generic interface for RESTful storage services.
StorageMetadata is an optional interface that callers can implement to provide additional information about their Storage objects.
StorageVersionProvider is an optional interface that a storage object can implement if it wishes to disclose its storage version.
No description provided by the author
UpdatedObjectInfo provides information about an updated object to an Updater.
Updater is an object that can update an instance of a RESTful object.
UpdateResetFieldsStrategy is a union of RESTUpdateStrategy and ResetFieldsStrategy.
Watcher should be implemented by all Storage objects that want to offer the ability to watch for changes through the watch api.
# Type aliases
No description provided by the author
TransformFunc is a function to transform and return newObj.
ValidateObjectFunc is a function to act on a given object.
ValidateObjectUpdateFunc is a function to act on a given object and its predecessor.