Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2024retracted Changes in this version + const RootNamespaceID + var ErrNoNamespace error = errors.New("no namespace") + var RootNamespace *Namespace = &Namespace + func Canonicalize(nsPath string) string + func ContextWithNamespace(ctx context.Context, ns *Namespace) context.Context + func RootContext(ctx context.Context) context.Context + func SplitIDFromString(input string) (string, string) + type MountPathDetails struct + MountPath string + Namespace *Namespace + func (mpd *MountPathDetails) GetFullPath() string + func (mpd *MountPathDetails) GetRelativePath(currNs *Namespace) string + type Namespace struct + CustomMetadata map[string]string + ID string + Path string + func FromContext(ctx context.Context) (*Namespace, error) + func (n *Namespace) HasParent(possibleParent *Namespace) bool + func (n *Namespace) String() string + func (n *Namespace) TrimmedPath(path string) string