package
1.6.0-alpha.0
Repository: https://github.com/inercia/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AllFuncs returns an ObjectFunc that attempts to run all of the provided functions in order, returning early if there are any errors.
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.
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

# Structs

ConnectRequest is an object passed to admission control for Connect operations.
GracefulDeleteAdapter adapts the Deleter interface to GracefulDeleter.

# Interfaces

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.
Deleter is an object that can delete a named RESTful resource.
Exporter is an object that knows how to strip a RESTful resource for export.
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.
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.
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.
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.
RESTDeleteStrategy defines deletion behavior on an object that follows Kubernetes API conventions.
RESTExportStrategy is the interface that defines how to export a Kubernetes object.
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.
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.
UpdatedObjectInfo provides information about an updated object to an Updater.
Updater is an object that can update an instance of a RESTful object.
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
ObjectFunc is a function to act on a given object.
TransformFunc is a function to transform and return newObj.