Versions in this module Expand all Collapse all v1 v1.4.4 Mar 5, 2021 Changes in this version + const Default + const GRPCHeader + const NamespaceEnvVar + const TTRPCHeader + func Namespace(ctx context.Context) (string, bool) + func NamespaceFromEnv(ctx context.Context) context.Context + func NamespaceRequired(ctx context.Context) (string, error) + func WithNamespace(ctx context.Context, namespace string) context.Context + type DeleteInfo struct + Name string + type DeleteOpts func(context.Context, *DeleteInfo) error + type Store interface + Create func(ctx context.Context, namespace string, labels map[string]string) error + Delete func(ctx context.Context, namespace string, opts ...DeleteOpts) error + Labels func(ctx context.Context, namespace string) (map[string]string, error) + List func(ctx context.Context) ([]string, error) + SetLabel func(ctx context.Context, namespace, key, value string) error