clikv

package
v0.28.9 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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