apps

package
v0.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApp

func GetApp(appTemplate AppTemplate, manager appmanager.Manager, os oss.OS) (app app.Applicable)

Types

type AppTemplate

type AppTemplate interface {
	CentOS7(manager appmanager.Manager) app.Applicable
	CentOS8(manager appmanager.Manager) app.Applicable
}

type Bundle

type Bundle struct {
	app.Applicable
	Name, Ver string
}

func NewBundle

func NewBundle(applicable app.Applicable, ver string) *Bundle

type GroupedApp

type GroupedApp struct {
	app.ConfigurationLoader
	// contains filtered or unexported fields
}

func NewGroupApp

func NewGroupApp(bundle ...*Bundle) *GroupedApp

func (*GroupedApp) ConfigureFile

func (a *GroupedApp) ConfigureFile(map[string]string) (err error)

func (*GroupedApp) Disable

func (a *GroupedApp) Disable() (ok bool, err error)

func (*GroupedApp) Enable

func (a *GroupedApp) Enable() (ok bool, err error)

func (*GroupedApp) File

func (a *GroupedApp) File() string

func (*GroupedApp) Install

func (a *GroupedApp) Install(string) (ok bool, err error)

func (*GroupedApp) Reinstall

func (a *GroupedApp) Reinstall(string) (ok bool, err error)

func (*GroupedApp) Restart

func (a *GroupedApp) Restart() (ok bool, err error)

func (*GroupedApp) Start

func (a *GroupedApp) Start() (ok bool, err error)

func (*GroupedApp) Status

func (a *GroupedApp) Status() (st string, ok bool, err error)

func (*GroupedApp) Stop

func (a *GroupedApp) Stop() (ok bool, err error)

func (*GroupedApp) Truncate

func (a *GroupedApp) Truncate() (err error)

func (*GroupedApp) Uninstall

func (a *GroupedApp) Uninstall(string) (ok bool, err error)

Jump to

Keyboard shortcuts

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