Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHandler ¶
type GitHandler struct{}
GitHandler handles generic git repositories
func (*GitHandler) CheckUpdate ¶
CheckUpdate checks if updates are available
type GitHubHandler ¶
type GitHubHandler struct{}
GitHubHandler handles GitHub repositories
func (*GitHubHandler) CheckUpdate ¶
func (g *GitHubHandler) CheckUpdate(source config.Source, currentCommit string) (bool, string, error)
CheckUpdate checks if updates are available
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer manages agent installation
func New ¶
func New(cfg *config.Config, track *tracker.Tracker, resolver *conflict.Resolver, opts Options) *Installer
New creates a new installer instance
func (*Installer) InstallSource ¶
InstallSource installs agents from a specific source
func (*Installer) UninstallAll ¶
UninstallAll removes all installed agents
func (*Installer) UninstallSource ¶
UninstallSource removes agents from a specific source
func (*Installer) UpdateSource ¶
UpdateSource updates agents from a specific source
type LocalHandler ¶
type LocalHandler struct{}
LocalHandler handles local file system sources
func (*LocalHandler) CheckUpdate ¶
func (l *LocalHandler) CheckUpdate(source config.Source, currentCommit string) (bool, string, error)
CheckUpdate checks if local source has been modified
Click to show internal directories.
Click to hide internal directories.