runner

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: AGPL-3.0 Imports: 65 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseInfo

type ReleaseInfo struct {
	Version         string
	Major           string
	Minor           string
	Patch           string
	Commit          string
	BuildDate       string
	BuiltBy         string
	GitURL          string
	EnterpriseToken string
}

ReleaseInfo holds the release information

type Runner

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

Runner is responsible for running the application

func New

func New(releaseInfo ReleaseInfo) *Runner

New creates and initializes a new Runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, args []string) int

Run runs the application and returns the exit code

Jump to

Keyboard shortcuts

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