clikv

package
v1.0.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 8 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 EventRetentionDaysKey = "event-retention-days"
View Source
const Prefix = shared.Prefix
View Source
const ShippedEventRetentionDays = "30"
View Source
const ToolImagesKeptKey = "tool-images-kept"
View Source
const UnofficialSignInsKey = "unofficial-sign-ins"

Variables

This section is empty.

Functions

func EventRetention

func EventRetention(ctx context.Context, store runtimetypes.Store) (time.Duration, bool, error)

func ParseEventRetention

func ParseEventRetention(value string) (time.Duration, bool, error)

func ParseToolImagesKept

func ParseToolImagesKept(value string) (int, error)

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)

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 ToolImagesKept

func ToolImagesKept(ctx context.Context, store runtimetypes.Store) int

func UnofficialSignIns

func UnofficialSignIns(ctx context.Context, store runtimetypes.Store) bool

func WriteConfig

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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