Documentation
¶
Index ¶
- Constants
- func EventRetention(ctx context.Context, store runtimetypes.Store) (time.Duration, bool, error)
- func ParseEventRetention(value string) (time.Duration, bool, error)
- func ParseToolImagesKept(value string) (int, error)
- func Read(ctx context.Context, store runtimetypes.Store, key string) string
- func ReadConfig(ctx context.Context, store runtimetypes.Store, workspaceID, key string) (string, string)
- func ReadHITLPolicy(ctx context.Context, store runtimetypes.Store) string
- func SetHITLPolicy(ctx context.Context, store runtimetypes.Store, name string) error
- func SetString(ctx context.Context, store runtimetypes.Store, key, value string) error
- func ToolImagesKept(ctx context.Context, store runtimetypes.Store) int
- func UnofficialSignIns(ctx context.Context, store runtimetypes.Store) bool
- func WriteConfig(ctx context.Context, store runtimetypes.Store, workspaceID, key, value string) error
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 ParseToolImagesKept ¶
func ReadConfig ¶
func ReadHITLPolicy ¶
func ReadHITLPolicy(ctx context.Context, store runtimetypes.Store) string
func SetHITLPolicy ¶
func ToolImagesKept ¶
func ToolImagesKept(ctx context.Context, store runtimetypes.Store) int
func UnofficialSignIns ¶
func UnofficialSignIns(ctx context.Context, store runtimetypes.Store) bool
func WriteConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.