Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CheckSetupQuery ¶
func (CheckSetupQuery) MessageName ¶
func (CheckSetupQuery) MessageName() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(tui tui, github githubClient) *Manager
func (*Manager) CheckSetup ¶
func (m *Manager) CheckSetup(_ context.Context, query CheckSetupQuery) error
func (*Manager) UpdateSelf ¶
func (m *Manager) UpdateSelf(_ context.Context, cmd UpdateSelfCommand) error
func (*Manager) VerifySetup ¶
type ToolNotFoundError ¶
type ToolNotFoundError struct {
Tool string
}
func (ToolNotFoundError) Error ¶
func (err ToolNotFoundError) Error() string
type ToolsNotFoundError ¶
type ToolsNotFoundError struct {
Errs []ToolNotFoundError
}
func (ToolsNotFoundError) Error ¶
func (err ToolsNotFoundError) Error() string
type UpdateSelfCommand ¶
type UpdateSelfCommand struct {
bus.Returns[bus.Void]
Strategy VersioningStrategy
SpecifiedVersion string
}
func (UpdateSelfCommand) MessageName ¶
func (UpdateSelfCommand) MessageName() string
type VersioningStrategy ¶
type VersioningStrategy string
const VersioningStrategyLatest VersioningStrategy = "latest"
const VersioningStrategySpecific VersioningStrategy = "specific"
Click to show internal directories.
Click to hide internal directories.