installer

package
v0.0.0-...-73d1639 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer interface {
	Reset() error
	Apply() error
	Install(path string, force bool) error
	Remove(name string) error
	List() error
	Init(OPPath string) error
	Info(name string) error
}

func GetInstaller

func GetInstaller() Installer

type InstallerImpl

type InstallerImpl struct{}

func (*InstallerImpl) Apply

func (installer *InstallerImpl) Apply() error

func (*InstallerImpl) Info

func (installer *InstallerImpl) Info(urlOrName string) error

func (*InstallerImpl) Init

func (installer *InstallerImpl) Init(OPPath string) error

func (*InstallerImpl) Install

func (installer *InstallerImpl) Install(path string, force bool) error

func (*InstallerImpl) List

func (installer *InstallerImpl) List() error

func (*InstallerImpl) Remove

func (installer *InstallerImpl) Remove(name string) error

func (*InstallerImpl) RemoveAllOMMBranches

func (installer *InstallerImpl) RemoveAllOMMBranches() error

func (*InstallerImpl) Reset

func (installer *InstallerImpl) Reset() error

Jump to

Keyboard shortcuts

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