cacheclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cacheclient builds a rest.Config that talks to a kcp cache server.

kcp keeps the equivalent helpers in its own module, but the kcp module cannot be consumed as a dependency: its published go.mod pins github.com/kcp-dev/sdk at v0.0.0 and resolves it with a replace directive pointing into ./staging, and replace directives in a dependency are ignored by the Go tool. The two round trippers this virtual workspace needs are small enough to carry here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestConfig

func RestConfig(base *rest.Config) *rest.Config

RestConfig returns a copy of base pointed at the cache API, reading across all shards.

Types

This section is empty.

Jump to

Keyboard shortcuts

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