Documentation
¶
Overview ¶
Package bootcompile implements the three manager-only boot-prompt compile commands. Authority, source selection and output addresses belong to the server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppAgent ¶
NewAppAgent compiles an installed Agent's source for an App.
Types ¶
type Batch ¶ added in v0.34.0
type Batch func(*cobra.Command, BatchOptions) error
Batch runs the batch compile.
type BatchOptions ¶ added in v0.34.0
type BatchOptions struct {
All bool // compile every live worker, not only changed ones
Only []string // restrict to these workers (names, ids or URNs)
Apply bool // write; without it the run is a dry run
// SetPointer is nil for the server default (set) and false for
// --no-set-pointer, exactly as the single-worker compile sends it.
SetPointer *bool
}
BatchOptions are the flags of `team worker compile` with no worker argument (cli#1463): compile the App's workers in one run.
Click to show internal directories.
Click to hide internal directories.