Versions in this module Expand all Collapse all v0 v0.6.0 Dec 3, 2026 Changes in this version + var ReverseFrom = plugin.ReverseFrom + var SessionReverseFrom = plugin.SessionReverseFrom + var WithReverse = plugin.WithReverse + var WithSessionReverse = plugin.WithSessionReverse + type ReverseCaller = plugin.ReverseCaller + type ReverseOptions = plugin.ReverseOptions v0.5.0 Dec 2, 2026 Changes in this version + const APIVersion + const AdapterAPIVersion + const AdapterContractName + const BoundaryConfined + const BoundaryContainer + const BoundaryInProcess + const BoundaryKernel + const BoundaryProcess + const BoundaryRuntime + const CEngine + const DefaultTimeout + const MaxFrameBytes + const MaxRetryAfterMilliseconds + const StateClosed + const StateDraining + const StateFailed + const StateReady + var AdapterDescriptor = plugin.AdapterDescriptor + var CheckRequirements = plugin.CheckRequirements + var Decode = plugin.Decode + var ErrAmbiguous = plugin.ErrAmbiguous + var ErrClosed = plugin.ErrClosed + var ErrDenied = plugin.ErrDenied + var ErrDraining = plugin.ErrDraining + var ErrInvalid = plugin.ErrInvalid + var ErrMismatch = plugin.ErrMismatch + var ErrNotFound = plugin.ErrNotFound + var ErrPackageExists = errors.New("plugin package already installed") + var ErrRegistryExists = errors.New("already registered") + var ErrUnsupported = plugin.ErrUnsupported + var MatchHandshake = plugin.MatchHandshake + var Method = plugin.Method + var NegotiateProtocol = plugin.NegotiateProtocol + var ParseAdapterInvocation = plugin.ParseAdapterInvocation + var PortablePath = plugin.PortablePath + var Select = plugin.Select + var TreeDigest = plugin.TreeDigest + var ValidBoundary = plugin.ValidBoundary + var ValidateRequest = plugin.ValidateRequest + func ArtifactDigest(root, path string, tree bool) (string, error) + func CheckSchema(s schema.Schema, value json.RawMessage) error + func DirectoryDigest(root string) (string, error) + func NewRegistry(identity plugin.Identity) (*author.Registry, error) + func ResolveRoute(hosts, guests []plugin.BackendProfile, bridges []interop.Bridge, ...) (interop.Route, error) + func SHA256(input []byte) [32]byte + func StoreDigest(root, id string) (string, error) + func TrustRecord(path, scope, id, digest string) error + func TrustRevoke(path, scope, id string) error + func TrustStateOf(path, scope, id, digest string) (hosttrust.State, error) + func ValidateSchema(s schema.Schema) error + type AdapterInvocation = plugin.AdapterInvocation + type Backend = plugin.Backend + type BackendProfile = plugin.BackendProfile + type Contract = plugin.Contract + type ContractRef = plugin.ContractRef + type Descriptor = plugin.Descriptor + type Endpoint = plugin.Endpoint + type Event = plugin.Event + type Guest struct + func GuestFromRegistry(r *author.Registry, opts author.Options) (*Guest, error) + func NewGuest(d plugin.Descriptor, options plugin.GuestOptions) (*Guest, error) + func (*Guest) Destroy() + type GuestOptions = plugin.GuestOptions + type GuestRegistry struct + func NewGuestRegistry() *GuestRegistry + func (r *GuestRegistry) OpenProcess(ctx context.Context, d plugin.Descriptor, launch LaunchOptions, ...) (*Session, error) + func (r *GuestRegistry) Register(ref plugin.ContractRef, s *Session) error + func (r *GuestRegistry) Route(from plugin.ContractRef, op string, to plugin.ContractRef, target string) error + func (r *GuestRegistry) Unregister(ref plugin.ContractRef) error + type Handler = plugin.Handler + type Identity = plugin.Identity + type LaunchOptions struct + Directory string + StderrBytes int + type LayeredPackageStore struct + func OpenLayeredPackageStore(roots []string, limits PackageStoreLimits) (*LayeredPackageStore, error) + func OpenLayeredPackageStoreWithLayout(roots []string, limits PackageStoreLimits, layout storelayout.Layout) (*LayeredPackageStore, error) + func (l *LayeredPackageStore) Close() + func (l *LayeredPackageStore) List() ([]PackageRecord, error) + func (l *LayeredPackageStore) ListUnverified() ([]PackageRecord, []PackageCheck, error) + func (l *LayeredPackageStore) Load(id string) (PackageRecord, error) + func (l *LayeredPackageStore) Roots() []string + func (l *LayeredPackageStore) Verify() ([]PackageCheck, error) + type Observer = plugin.Observer + type Operation = plugin.Operation + type Options = plugin.Options + type PackageCheck struct + Directory string + Err error + ID string + Layer int + type PackageEntrypoint struct + Artifact string + Digest string + Name string + Path string + type PackageRecord struct + Directory string + ID string + Layer int + Manifest []byte + type PackageStore struct + func OpenPackageStore(root string, limits PackageStoreLimits) (*PackageStore, error) + func OpenPackageStoreWithLayout(root string, limits PackageStoreLimits, layout storelayout.Layout) (*PackageStore, error) + func (s *PackageStore) Close() + func (s *PackageStore) IDs() ([]string, error) + func (s *PackageStore) Install(source string, preserve bool) ([]byte, error) + func (s *PackageStore) InstallArchive(archive, sum, id string, preserve bool) ([]byte, error) + func (s *PackageStore) List() ([]PackageRecord, error) + func (s *PackageStore) ListUnverified() ([]PackageRecord, []PackageCheck, error) + func (s *PackageStore) Load(id string) ([]byte, error) + func (s *PackageStore) Receipt(id string) ([]byte, error) + func (s *PackageStore) Remove(id string) error + func (s *PackageStore) Replace(source string, preserve bool) ([]byte, error) + func (s *PackageStore) ResolveEntrypoint(id, contract, version, protocol, digest string) (PackageEntrypoint, error) + func (s *PackageStore) Upgrade(source string, preserve bool) ([]byte, error) + func (s *PackageStore) Verify() ([]PackageCheck, error) + type PackageStoreLimits struct + MaxArchiveBytes int64 + MaxArtifactBytes int64 + MaxTreeBytes int64 + MaxTreeFiles int + type ProcessOptions struct + Arguments []string + Environment []string + Executable string + type RemoteError = plugin.RemoteError + type Request = plugin.Request + type Requirement = plugin.Requirement + type Response = plugin.Response + type Session struct + func Open(ctx context.Context, d plugin.Descriptor, options plugin.Options) (*Session, error) + func OpenProcess(ctx context.Context, d plugin.Descriptor, launch LaunchOptions, ...) (*Session, error) + type State = plugin.State