package
11.0.0+incompatible
Repository: https://github.com/kubernetes/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.
Package scheme contains a runtime.Scheme to be used for serializing and deserializing different versions of Scale, and for converting in between them.
# Functions
New creates a new ScalesGetter using the given client to make requests.
NewDiscoveryScaleKindResolver creates a new ScaleKindResolver which uses information from the given disovery client to resolve the correct Scale GroupVersionKind for different resources.
NewForConfig creates a new ScalesGetter which resolves kinds to resources using the given RESTMapper, and API paths using the given dynamic.APIPathResolverFunc.
NewScaleConverter creates a new ScaleConverter for converting between Scales in autoscaling/v1 and extensions/v1beta1.
# Structs
ScaleConverter knows how to convert between external scale versions.
# Interfaces
PreferredResourceMapper determines the preferred version of a resource to scale.
ScaleInterface can fetch and update scales for resources in a particular namespace which implement the scale subresource.
ScaleKindResolver knows about the relationship between resources and the GroupVersionKind of their scale subresources.
ScalesGetter can produce a ScaleInterface for a particular namespace.