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

appctl

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppController

type AppController interface {
	Start(app string, extraParam ...string) error
	Stop(app string) error
	Build(app string, ref string) error
	Install(app string, ref string) error
	Run() error
}

func New

func New(baseDir string, options ...Option) AppController

type Apper added in v0.1.2

type Apper interface {
	GetRepoUrl() (string, error)
	GetPath(binDir string) string
	GetStartCommand(binDir, extraParam string) (string, error)
	PreStart() error
	GetId() string
	GetHealthChecker() func() bool
}

type Option

type Option func(impl *appCtlImpl)

func WithBinDir added in v0.1.7

func WithBinDir(binDir string) Option

func WithPluginDir added in v0.1.7

func WithPluginDir(pluginDir string) Option

func WithPlugins added in v0.0.6

func WithPlugins(plugins []string) Option

Jump to

Keyboard shortcuts

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