Versions in this module Expand all Collapse all v0 v0.6.0 Dec 4, 2026 v0.5.0 Dec 2, 2026 Changes in this version + const APIVersion + const ArgvRuntime + const BrowserContractVersion + const BrowserManagementContract + const BrowserShareContract + const ManifestFileName + const MetadataKey + const Protocol + func BuildGoPackage(options GoBuildOptions) (string, error) + func ConfigHome() string + func FileSHA256(path string) (string, error) + func HasDependencyDeclarations(pm packagekit.Manifest) bool + func Home() string + func IsKnownRuntime(runtime string) bool + func PackageDirectory(directory, output, goos, goarch string) error + func ProjectDependencies(manifests []packagekit.Manifest, goos string) ([]packagekit.Manifest, error) + func ProjectDependenciesFor(manifests []packagekit.Manifest, target Target) ([]packagekit.Manifest, error) + func Seal(directory string, target Target) (packagekit.Manifest, error) + func TemplateFromKeyValues(text string) (packagekit.Manifest, error) + func ValidateDependency(dependency Dependency, target *Adapter) error + func WriteIndex(output string, packages []string) error + func WriteKeyValueManifest(directory, text string) error + func WriteManifest(directory string, pm packagekit.Manifest) error + type Adapter struct + Directory string + Manifest Manifest + Package packagekit.Manifest + func LoadDirectory(directory string) (*Adapter, error) + func LoadDirectoryForOS(directory, goos string) (*Adapter, error) + func LoadDirectoryForTarget(directory string, target Target) (*Adapter, error) + func LoadSource(directory, goos string) (*Adapter, error) + func (a *Adapter) Checksum() (string, error) + func (a *Adapter) Command(invocation Invocation) (*exec.Cmd, error) + func (a *Adapter) CommandContext(ctx context.Context, invocation Invocation) (*exec.Cmd, error) + func (a *Adapter) ConfigKeys() []string + func (a *Adapter) Declarative() bool + func (a *Adapter) DisplayLabel() string + func (a *Adapter) ExecutablePath() string + func (a *Adapter) ExecutablePathForOS(goos string) string + func (a *Adapter) HasBrowserManagement(operation string) bool + func (a *Adapter) HasBrowserShare(operation string) bool + func (a *Adapter) HasCapability(capability string) bool + func (a *Adapter) HasCommand(command string) bool + func (a *Adapter) HasComputerCapability(capability string) bool + func (a *Adapter) HasComputerCommand(command string) bool + func (a *Adapter) HasEngine(engine string) bool + func (a *Adapter) HasRole(role string) bool + func (a *Adapter) HasSupport(kind string) bool + func (a *Adapter) IsComputerEndpoint() bool + func (a *Adapter) IsKnownRuntime() bool + func (a *Adapter) IsRuntime(runtimeName string) bool + func (a *Adapter) IsSelectable() bool + func (a *Adapter) PluginDescriptor() (plugin.Descriptor, error) + func (a *Adapter) SupportsSurface(surface string) bool + type Check struct + Err error + Name string + State TrustState + func (c Check) OK() bool + type Dependency struct + APIVersion string + Adapter string + Space string + type GoBuildOptions struct + Arch string + OS string + Output string + Source string + type Invocation struct + Arguments []string + Command string + Operation string + Profile string + Project string + RealCommand string + Selection string + Values map[string]string + type Manifest struct + APIVersion string + BrowserManagement []string + BrowserQueryAuto bool + BrowserQueryPriority int + BrowserShare []string + Capabilities []string + Commands []string + ComputerCapabilities []string + ComputerCommands []string + ComputerHookDefaults []string + ComputerHookEvents []string + ComputerHookSettings string + ComputerHookTemplate string + DefaultProvider bool + Dependencies map[string]Dependency + Description string + DisplayName string + Engine []string + Executable string + ExecutableWindows string + ExtraKeys []string + Name string + OverrideEnv []string + ProgramRoots []string + Role []string + Runtime string + Selectable bool + SelectorKey string + SelfContained bool + ShareSpaces []string + Supports []string + Surfaces []string + type Store struct + Home string + TrustFile string + func NewStore(home string) *Store + func (s *Store) AssertTrusted(a *Adapter) error + func (s *Store) Install(source string) (*Adapter, error) + func (s *Store) InstallSource(source, expectedSHA256 string) (*Adapter, error) + func (s *Store) IsTrusted(a *Adapter) (bool, error) + func (s *Store) List() ([]*Adapter, error) + func (s *Store) Load(name string) (*Adapter, error) + func (s *Store) Remove(name string) error + func (s *Store) RemoveTrust(name string) error + func (s *Store) Replace(source string) (*Adapter, error) + func (s *Store) Trust(a *Adapter) error + func (s *Store) TrustState(a *Adapter) (TrustState, error) + func (s *Store) Verify(names ...string) ([]Check, error) + type Target struct + Arch string + OS string + type TrustState string + const TrustChanged + const TrustTrusted + const TrustUntrusted