clikv

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Prefix = "cli."

Variables

This section is empty.

Functions

func Read

func Read(ctx context.Context, store runtimetypes.Store, key string) string

func ReadConfig

func ReadConfig(ctx context.Context, store runtimetypes.Store, workspaceID, key string) (string, string)

ReadConfig reads key using workspace scope with global fallback for workspace-scoped keys. Returns (value, "workspace"|"global").

func ReadHITLPolicy

func ReadHITLPolicy(ctx context.Context, store runtimetypes.Store) string

func SetHITLPolicy

func SetHITLPolicy(ctx context.Context, store runtimetypes.Store, name string) error

func SetString

func SetString(ctx context.Context, store runtimetypes.Store, key, value string) error

func WriteConfig

func WriteConfig(ctx context.Context, store runtimetypes.Store, workspaceID, key, value string) error

WriteConfig writes key to workspace scope for workspace-scoped keys, global scope otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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