Versions in this module Expand all Collapse all v0 v0.4.0 Jul 31, 2026 Changes in this version + const EnvVar + const ReasonClassNotGranted + const ReasonGranted + const ReasonNoSession + const ReasonNotLive + const ReasonStale + func AllowsDelete(granted []string, class string) bool + func ClassFromPath(p string) string + func DestroyableResourceTypes() []string + func NormalizeAllowDelete(in []string) (out []string, warnings []string) + type Authorizer interface + AuthorizeDelete func(class string) (Decision, error) + type Decision struct + Allowed bool + Reason string + Token string + type EnvAuthorizer struct + Getenv func(string) string + Liveness LivenessFn + Store *Store + func (a *EnvAuthorizer) AuthorizeDelete(class string) (Decision, error) + type Handle struct + func (h *Handle) Close() error + func (h *Handle) Token() string + type LivenessFn func(path string) (alive bool, err error) + type Permissions struct + AllowDelete []string + type Session struct + AllowDelete []string + CreatedAt string + PID int + Token string + Version int + type Store struct + Dir string + func DefaultStore() (*Store, error) + func (s *Store) Create(perms Permissions, pid int) (*Handle, error) + func (s *Store) Load(token string) (*Session, error) v0.4.0-beta Jul 23, 2026