wing

package
v0.149.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAliveEggSessions

func ListAliveEggSessions(cfg *config.Config) []ws.SessionInfo

listAliveEggSessions scans ~/.wingthing/eggs/ for alive egg processes.

func RunWingWithContext

func RunWingWithContext(options EntryOptions, ctx context.Context, sighupCh <-chan os.Signal, roostFlag, labelsFlag, convFlag, eggConfigFlag, orgFlag string, allowFlags []string, pathsFlag string, debug, audit, local, vte, sharedHost bool, tokenOverride *auth.DeviceToken) error

Types

type EntryOptions

type EntryOptions struct {
	Version           string
	LocalOnly         bool
	SetSessionService func(*wingsession.Service)
	// RelayState observes the optional adapter without controlling wing lifetime.
	RelayState func(string, error)
	// SetPolicySource shares the synchronized runtime policy with an embedded roost.
	SetPolicySource func(func() (*config.WingConfig, *egg.EggConfig))
}

EntryOptions carries values supplied by the CLI entry point.

Jump to

Keyboard shortcuts

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