chassis

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyLabels

func CopyLabels(m map[string]string) map[string]string

CopyLabels returns a shallow copy of a label map so scrapers cannot mutate the component's stored labels.

func PeerName

func PeerName(valkeyName string) string

PeerName is the valkey component Name() to resolve. Empty means the default cf_valkey.ComponentName ("valkey").

func ResolveValkey

func ResolveValkey(fw *cf.CaerusFramework, valkeyName string) (*cf_valkey.CFValkey, error)

ResolveValkey looks up the valkey peer by component name. It does not require Client() to be non-nil (soft-init / DegradedMode).

Types

This section is empty.

Jump to

Keyboard shortcuts

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