lpm

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Directory        string
	Auth             http.BasicAuth
	AdminAPIEndpoint string
	PluginDir        string
	Fs               afero.Fs
	StateFile        state.File
}

type LPM

type LPM struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*LPM, error)

func (*LPM) AddRepository

func (a *LPM) AddRepository(alias string, url string, branch string) error

func (*LPM) Info

func (a *LPM) Info(alias string) error

func (*LPM) Install

func (a *LPM) Install(alias string) error

func (*LPM) JoinSubnet

func (a *LPM) JoinSubnet(alias string) error

func (*LPM) ListRepositories

func (a *LPM) ListRepositories() error

func (*LPM) RemoveRepository

func (a *LPM) RemoveRepository(alias string) error

func (*LPM) Uninstall

func (a *LPM) Uninstall(alias string) error

func (*LPM) Update

func (a *LPM) Update() error

func (*LPM) Upgrade

func (a *LPM) Upgrade(alias string) error

Jump to

Keyboard shortcuts

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