runner

package
v1.6.0-preview.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: AGPL-3.0 Imports: 61 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