cmdworker

package
v0.182.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package cmdworker owns worker command arguments and announcements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime shared.Runtime, deps Dependencies) *cobra.Command

Types

type Dependencies

type Dependencies struct {
	CanonicalRoots func([]string) ([]string, error)
	Budget         func() int
	Connect        func(context.Context, workerrun.ConnectRequest, func(workerrun.ConnectResult) error, io.Writer) error
}

Jump to

Keyboard shortcuts

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