Documentation
¶
Index ¶
- Constants
- func BundledDirectory() (string, error)
- func Interpreter(directory string) string
- func Run(ctx context.Context, input Command) error
- func ValidateIndex(index *string) error
- type Access
- type Command
- type Execution
- type File
- type Manager
- func (manager *Manager) Collect(ctx context.Context, current string) error
- func (manager *Manager) Configure(index *string) error
- func (manager *Manager) Ensure(ctx context.Context, requirement *Requirements) (*Ready, error)
- func (manager *Manager) Execution(ctx context.Context, session protocol.SessionID, skills []Access) (*Execution, error)
- func (manager *Manager) Preparations() []protocol.PythonPreparation
- func (manager *Manager) Refresh(ctx context.Context, ready *Ready) (*Ready, error)
- func (manager *Manager) Retain(requirements []Requirements)
- type Options
- type Ready
- type Requirements
- type Runtime
Constants ¶
View Source
const Version = "3.12.13"
Variables ¶
This section is empty.
Functions ¶
func BundledDirectory ¶
func Interpreter ¶
func ValidateIndex ¶
Types ¶
type Execution ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) Preparations ¶
func (manager *Manager) Preparations() []protocol.PythonPreparation
func (*Manager) Retain ¶
func (manager *Manager) Retain(requirements []Requirements)
type Ready ¶
type Requirements ¶
type Requirements struct {
Package protocol.PluginReference
Content string
}
func NewRequirements ¶
func NewRequirements(reference protocol.PluginReference, content string) (*Requirements, error)
func (Requirements) Key ¶
func (requirements Requirements) Key(identity string) string
type Runtime ¶
type Runtime struct {
Root string
Python string
Identity string
// contains filtered or unexported fields
}
func BundledRuntime ¶
func OpenRuntime ¶
Click to show internal directories.
Click to hide internal directories.