{"modulePath":"github.com/sailry/sailry-harness","version":"v0.3.3","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package python\n\n## Constants\n\n```go\nconst Version = \"3.12.13\"\n```\n\n## Functions\n\n```go\nfunc BundledDirectory() (string, error)\n```\n\n```go\nfunc Interpreter(directory string) string\n```\n\n```go\nfunc Run(ctx context.Context, input Command) error\n```\n\n```go\nfunc ValidateIndex(index *string) error\n```\n\n## Types\n\n```go\ntype Access struct {\n\tReady     *Ready\n\tDirectory string\n}\n```\n\n```go\ntype Command struct {\n\tExecutable  string\n\tArguments   []string\n\tDirectory   string\n\tEnvironment map[string]string\n}\n```\n\n```go\ntype Execution struct {\n\tBase    *Ready\n\tSkills  []Access\n\tSession string\n\tCache   string\n\tIndex   *string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (execution *Execution) Close() error\n```\n\n```go\nfunc (execution *Execution) Variables() map[string]string\n```\n\n```go\ntype File struct {\n\tPath   string  `json:\"path\"`\n\tSize   uint64  `json:\"size\"`\n\tSHA256 string  `json:\"sha256\"`\n\tLink   *string `json:\"link,omitempty\"`\n}\n```\n\n```go\ntype Manager struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewManager(profile string, options Options) (*Manager, error)\n```\n\n```go\nfunc (manager *Manager) Collect(ctx context.Context, current string) error\n```\n\n```go\nfunc (manager *Manager) Configure(index *string) error\n```\n\n```go\nfunc (manager *Manager) Ensure(ctx context.Context, requirement *Requirements) (*Ready, error)\n```\n\n```go\nfunc (manager *Manager) Execution(ctx context.Context, session protocol.SessionID, skills []Access) (*Execution, error)\n```\n\n```go\nfunc (manager *Manager) Preparations() []protocol.PythonPreparation\n```\n\n```go\nfunc (manager *Manager) Refresh(ctx context.Context, ready *Ready) (*Ready, error)\n```\n\n```go\nfunc (manager *Manager) Retain(requirements []Requirements)\n```\n\n```go\nfunc (manager *Manager) SuspendCollection()\n```\nSuspendCollection keeps environments whose requirements could not be read.\n\n```go\ntype Options struct {\n\tRuntimeDirectory string\n\tEnvironment      []string\n\tRun              func(context.Context, Command) error\n\tNow              func() time.Time\n\tChanged          func([]protocol.PythonPreparation)\n}\n```\n\n```go\ntype Ready struct {\n\tPython      string\n\tEnvironment string\n\tRuntime     string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (ready *Ready) Close() error\n```\n\n```go\nfunc (ready *Ready) MCP(command string, arguments []string, environment map[string]string, inheritedPath string) (string, []string, map[string]string, error)\n```\n\n```go\ntype Requirements struct {\n\tPackage protocol.PluginReference\n\tContent string\n}\n```\n\n```go\nfunc NewRequirements(reference protocol.PluginReference, content string) (*Requirements, error)\n```\n\n```go\nfunc (requirements Requirements) Key(identity string) string\n```\n\n```go\ntype Runtime struct {\n\tRoot     string\n\tPython   string\n\tIdentity string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc BundledRuntime() (*Runtime, error)\n```\n\n```go\nfunc OpenRuntime(directory string) (*Runtime, error)\n```\n\n```go\nfunc (value *Runtime) Verify(ctx context.Context) error\n```\n\n","path":"github.com/sailry/sailry-harness/internal/node/python","name":"python","synopsis":"","isRedistributable":true}
