package
6.0.0+incompatible
Repository: https://github.com/unitytech/client-go.git
Documentation: pkg.go.dev
# Packages
Package fake provides a fake client interface to arbitrary Kubernetes APIs that exposes common high level operations and exposes common metadata.
# Functions
ContentConfig returns a restclient.ContentConfig for dynamic types.
LegacyAPIPathResolverFunc can resolve paths properly with the legacy API.
NewClient returns a new client based on the passed in config.
NewClientPool returns a ClientPool from the specified config.
NewDiscoveryRESTMapper returns a RESTMapper based on discovery information.
Instantiates a new dynamic client pool with the given config.
NewObjectTyper constructs an ObjectTyper from discovery information.
VersionInterfaces provides an object converter and metadata accessor appropriate for use with unstructured objects.
# Variables
VersionedParameterEncoderWithV1Fallback is useful for encoding query parameters for custom resources.
# Structs
Client is a Kubernetes client that allows you to access metadata and manipulate metadata of a Kubernetes API group, and implements Interface.
ObjectTyper provides an ObjectTyper implementation for unstructured.Unstructured object based on discovery information.
ResourceClient is an API interface to a specific resource under a dynamic client, and implements ResourceInterface.
# Interfaces
ClientPool manages a pool of dynamic clients.
Interface is a Kubernetes client that allows you to access metadata and manipulate metadata of a Kubernetes API group.
ResourceInterface is an API interface to a specific resource under a dynamic client.
# Type aliases
APIPathResolverFunc knows how to convert a groupVersion to its API path.