package
0.21.4
Repository: https://github.com/dougtea/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.

# Variables

Services is the default logic that applies when creating and updating Service objects.

# Structs

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

# Interfaces

Connecter is a storage object that responds to a connection request.
ConnectHandler is a handler for HTTP connection requests.
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.
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.
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.
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.
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.
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.
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

ObjectFunc is a function to act on a given object.