apm

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: BSD-3-Clause Imports: 24 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APM

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

func New

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

func (*APM) AddRepository

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

func (*APM) Info

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

func (*APM) Install

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

func (*APM) JoinSubnet

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

func (*APM) ListRepositories

func (a *APM) ListRepositories() error

func (*APM) RemoveRepository

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

func (*APM) Uninstall

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

func (*APM) Update

func (a *APM) Update() error

func (*APM) Upgrade

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

type Config

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

Jump to

Keyboard shortcuts

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