app

package
v0.0.0-...-009bb65 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name    = "dbeaver-server-installer"
	Version = "v0.1.0"
)

Variables

This section is empty.

Functions

func Run

func Run(printer Printer, f func(a *App) error) error

Types

type App

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

func (*App) Close

func (a *App) Close() error

func (*App) Configure

func (a *App) Configure() error

func (*App) InstallAllDependencies

func (a *App) InstallAllDependencies() error

func (*App) Start

func (a *App) Start() error

func (*App) Stop

func (a *App) Stop() error

type DependenciesMissing

type DependenciesMissing struct {
	MissingDependencies []Dependency
}

func (DependenciesMissing) DependencyNames

func (dm DependenciesMissing) DependencyNames() []string

func (DependenciesMissing) Error

func (dm DependenciesMissing) Error() string

type Dependency

type Dependency string

func (Dependency) InstallationInstructions

func (d Dependency) InstallationInstructions() (string, bool)

func (Dependency) String

func (d Dependency) String() string

type LocalGitRepoNotFound

type LocalGitRepoNotFound struct{}

func (LocalGitRepoNotFound) Error

func (err LocalGitRepoNotFound) Error() string

type Printer

type Printer interface {
	Println(i ...any)

	Printf(format string, a ...any)

	PrintErrf(format string, a ...any)
}

Jump to

Keyboard shortcuts

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