launch

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const CodeFailed = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultExiter

type DefaultExiter struct{}

func (*DefaultExiter) CodeFor

func (e *DefaultExiter) CodeFor(errType LifecycleExitError) int

type Exiter

type Exiter interface {
	CodeFor(errType LifecycleExitError) int
}

func NewExiter

func NewExiter(platformAPI string) Exiter

type LegacyExiter

type LegacyExiter struct{}

func (*LegacyExiter) CodeFor

func (e *LegacyExiter) CodeFor(errType LifecycleExitError) int

type LifecycleExitError

type LifecycleExitError int
const (
	LaunchError LifecycleExitError = iota
)

type Platform

type Platform struct {
	Exiter
	// contains filtered or unexported fields
}

func NewPlatform

func NewPlatform(apiStr string) *Platform

func (*Platform) API

func (p *Platform) API() *api.Version

Jump to

Keyboard shortcuts

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