Versions in this module Expand all Collapse all v0 v0.7.0 Aug 10, 2026 v0.6.0 Jul 28, 2026 Changes in this version + const APIVersion + const DefaultRepo + const EnvAPI + const EnvName + const EnvRoot + const EnvVersion + const LangGo + const LangNode + const LangPython + const LangShell + const ManifestName + func DefaultLang(kind Kind) string + func Environ(base []string, c Component, cmd Command, opts EnvOptions) ([]string, error) + func Root(lookup func(string) (string, bool)) (string, bool, error) + func Run(ctx context.Context, c Component, args []string, env []string, streams Streams) error + type Command struct + Claims []string + Long string + Mutates bool + Name string + Session Session + Short string + type Component struct + Dir string + FirstParty bool + Installed bool + func (c Component) Command(name string) (Command, bool) + func (c Component) Delivers(target string) bool + func (c Component) ExecPath() string + type EnvOptions struct + Extra map[string]string + NoColor bool + Output string + Root string + Session *SessionInfo + Timeout time.Duration + Version string + type ExitError struct + Code int + Name string + func (e *ExitError) Error() string + func (e *ExitError) ExitCode() int + func (e *ExitError) Silent() bool + type File struct + Data []byte + Mode os.FileMode + Name string + type Installer struct + func NewInstaller(root string, opts ...InstallerOption) *Installer + func (i *Installer) Commit(p Plan) (Component, error) + func (i *Installer) Discard(p Plan) + func (i *Installer) Prepare(ctx context.Context, src Source) (Plan, error) + func (i *Installer) Remove(name string) error + type InstallerOption func(*Installer) + func WithAPI(url string) InstallerOption + type Kind string + const KindCommand + const KindTransport + type Manifest struct + APIVersion int + Commands []Command + Description string + Env []string + Exec string + Kind Kind + Name string + Source string + Targets []string + Version string + func ParseManifest(data []byte, source string) (Manifest, error) + func (m Manifest) Validate() error + type NotInstalledError struct + Command string + Name string + func (e *NotInstalledError) Error() string + func (e *NotInstalledError) ExitCode() int + func (e *NotInstalledError) Hint() string + type Option func(*Registry) + func WithFirstParty(table []Manifest) Option + type Plan struct + Digest string + Dir string + Manifest Manifest + Replaces string + Signed bool + Source Source + func (p Plan) Verification() string + type Problem struct + Dir string + Err error + type Registry struct + func Open(root string, opts ...Option) *Registry + func (r *Registry) All() []Component + func (r *Registry) Dir(name string) string + func (r *Registry) Lookup(name string) (Component, bool) + func (r *Registry) Problems() []Problem + func (r *Registry) Root() string + func (r *Registry) Transports() []Component + type Scaffold struct + FFTRequire string + Kind Kind + Lang string + Name string + Session Session + func (s Scaffold) Build() ([]File, error) + type Session string + const SessionNone + const SessionRead + const SessionWrite + type SessionInfo struct + BaseURL string + Email string + Environment string + ProjectID string + ReadOnly bool + Tenant string + Token string + type Source struct + Dir string + Name string + Repo string + Version string + func ParseSource(spec string) (Source, error) + func (s Source) String() string + type Streams struct + Err io.Writer + In io.Reader + Out io.Writer