Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + var ErrNoRole = errors.New("no such role") + var Group = command.Register(command.Define("role", "Read the roles and what each grants", ...)) + type Config interface + CustomRoles func() (authtoken.CustomRoles, error) + type Deps struct + Config Config + type GetInput struct + Name string + type ListInput struct + type ListOutput struct + Roles []Role + func List(_ context.Context, d Deps, _ ListInput) (ListOutput, error) + type Role struct + Name string + Permissions []string + Source string + func Get(ctx context.Context, d Deps, in GetInput) (Role, error)