# Packages

Package apiutil contains utilities for working with raw Kubernetes API machinery, such as creating RESTMappers and raw REST clients, and extracting the GVK of an object.
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 functional option that sets the Namespace field of a ListOptions struct.
MatchingField is a functional option that sets the FieldSelector field of a ListOptions struct.
MatchingLabels is a functional option that sets the LabelSelector field of a ListOptions struct.
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.
UseListOptions is a functional option that replaces the fields of a ListOptions struct with those of a different ListOptions struct.

# Structs

DelegatingClient forms a Client by composing separate reader, writer and statusclient interfaces.
DelegatingReader forms a 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 limiting 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.
ListOptionFunc is a function that mutates a ListOptions struct.
ObjectKey identifies a Kubernetes Object.