Versions in this module Expand all Collapse all v0 v0.2.1 Nov 14, 2026 v0.2.0 Nov 13, 2026 Changes in this version + const ReferenceEnvironment + const Registry + const RunRoot + const SocketEnforcement + func Check(ctx context.Context, ref Reference) error + func CheckRetained(ctx context.Context, ref Reference) error + func Completed(ctx context.Context, ref Reference, id string) error + func Endpoint(name, identity string) string + func Environment(env []string, ref Reference) []string + func Prepare(name string, uid uint32) error + func PrepareProtected(name string, uid uint32, enable bool, authentication []string) error + func Release(ctx context.Context, ref Reference, id string) error + func Reserve(ctx context.Context, ref Reference, id string) error + func Start(name string) error + func ValidateName(name string) error + func Wrap(cmd *exec.Cmd, ref Reference, id string) (func(), error) + type Forward struct + GuestPort int + HostPort int + ID int + UID uint32 + type Membership struct + ExitCode int + ID string + State string + UID uint32 + type Reference struct + Endpoint string + Generation uint64 + Identity string + Name string + func Resolve(ctx context.Context, name string) (Reference, error) + func (r Reference) Validate() error + type Request struct + Args []string + Dir string + Env []string + Forward Forward + ID string + Operation string + Path string + Reference Reference + Terminal bool + Umask int + func (r *Request) UnmarshalJSON(data []byte) error + func (r Request) MarshalJSON() ([]byte, error) + type Response struct + Error string + Member Membership + Status Status + func Call(ctx context.Context, name string, req Request) (Response, error) + type Status struct + ForwardCount int + Forwards []Forward + ForwardsTruncated bool + Healthy bool + MemberCount int + Members map[string]Membership + MembersTruncated bool + NetworkNamespace string + Reference Reference + SocketEnforcement string