Documentation
¶
Overview ¶
Package bootcompile implements the three boot-prompt compile commands. By default they act as the signed-in person; with --as-worker (cli#1872) the compile mutation carries this worktree's bound worker session. 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
// AsWorker (cli#1872) sends the compile mutations through the bound
// worker session; the batch resolves it before any request.
AsWorker 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.