appctl

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 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 WithBinOutputDir added in v0.0.6

func WithBinOutputDir(binDir string) Option

func WithPbGRPC added in v0.0.3

func WithPbGRPC(genGRPC bool) Option

func WithPbOutputDir added in v0.0.3

func WithPbOutputDir(outputDir string) Option

func WithPbOutputPackage added in v0.0.3

func WithPbOutputPackage(outputPackage string) Option

func WithPluginOutputDir added in v0.0.6

func WithPluginOutputDir(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