package
0.1.10
Repository: https://github.com/munnerz/controller-runtime.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package config contains libraries for initializing rest configs for talking to the Kubernetes API.
Package fake provides a fake client for testing.

# Functions

GracePeriodSeconds is a functional option that sets the GracePeriodSeconds field of a DeleteOptions struct.
InNamespace is a convenience function that constructs list options to list in the given namespace.
MatchingField is a convenience function that constructs list options to match the given field.
MatchingLabels is a convenience function that constructs list options to match the given labels.
New returns a new Client using the provided config and Options.
ObjectKeyFromObject returns the ObjectKey given a runtime.Object.
Preconditions is a functional option that sets the Preconditions field of a DeleteOptions struct.
PropagationPolicy is a functional option that sets the PropagationPolicy field of a DeleteOptions struct.

# Structs

DelegatingClient forms an interface Client by composing separate reader, writer and statusclient interfaces.
DelegatingReader forms a interface Reader that will cause Get and List requests for unstructured types to use the ClientReader while requests for any other type of object with use the CacheReader.
DeleteOptions contains options for delete requests.
ListOptions contains options for limitting or filtering results.
Options are creation options for a Client.

# Interfaces

Client knows how to perform CRUD operations on Kubernetes objects.
FieldIndexer knows how to index over a particular "field" such that it can later be used by a field selector.
Reader knows how to read and list Kubernetes objects.
StatusClient knows how to create a client which can update status subresource for kubernetes objects.
StatusWriter knows how to update status subresource of a Kubernetes object.
Writer knows how to create, delete, and update Kubernetes objects.

# Type aliases

DeleteOptionFunc is a function that mutates a DeleteOptions struct.
IndexerFunc knows how to take an object and turn it into a series of (non-namespaced) keys for that object.
ObjectKey identifies a Kubernetes Object.