Documentation
¶
Index ¶
- type Manager
- func (m *Manager) Clean(runtime string) error
- func (m *Manager) CleanAll() error
- func (m *Manager) Get(ctx context.Context, runtime, version string) (string, error)
- func (m *Manager) GetInstalled() ([]RuntimeInfo, error)
- func (m *Manager) GetLatest(ctx context.Context, runtime string) (string, error)
- func (m *Manager) List(ctx context.Context, runtime string) ([]types.Version, error)
- func (m *Manager) ListRuntimes() []string
- func (m *Manager) Register(runtime types.Runtime)
- type RuntimeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages multiple runtime types
func NewManager ¶
NewManager creates a new runtime manager
func (*Manager) GetInstalled ¶
func (m *Manager) GetInstalled() ([]RuntimeInfo, error)
GetInstalled returns all installed runtime versions
func (*Manager) ListRuntimes ¶
ListRuntimes returns all registered runtime names
type RuntimeInfo ¶
RuntimeInfo provides information about an installed runtime
Click to show internal directories.
Click to hide internal directories.