Help us shape the future of Go! Take the 2026 Go Developer Survey

manager

package
v0.1.109 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: MIT Imports: 19 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(unique string)

func Download

func Download(ctx context.Context, p *resources.Agent) error

func DownloadURL

func DownloadURL(p *resources.Agent) string

func Downloaded added in v0.0.90

func Downloaded(ctx context.Context, p *resources.Agent) (bool, error)

func PinToLatestRelease

func PinToLatestRelease(ctx context.Context, agent *resources.Agent) error

func ValidURL

func ValidURL(s string) bool

Types

type AgentContext

type AgentContext interface {
	Key(p *resources.Agent, unique string) string
	Default() plugin.Plugin
}

type GithubSource

type GithubSource struct {
	Owner string
	Repo  string
}

type Pluggable

type Pluggable interface {
	ImplementationKind() string
	Path() (string, error)
	Name() string
	Unique() string
}

type ProcessInfo added in v0.0.67

type ProcessInfo struct {
	PID int
}

func Load

func Load[P AgentContext, Instance any](ctx context.Context, p *resources.Agent, unique string) (*Instance, *ProcessInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL