clientcache

package
v0.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

clientcache

This package provides a rest.Config wrapper implementation that caches Kubernetes api responses using a RFC 7234 compliant cache for http responses. This connection should be only used in a single "session" to avoid repetitive api calls to Kubernetes api server for same requests.

The cache interface is provided by the https://github.com/gregjones/httpcache package and various implementations can be found on the project's website.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFor

func ConfigFor(config *rest.Config, maxAge time.Duration, cache httpcache.Cache) *rest.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL