Documentation
¶
Overview ¶
Package durable wires the volcano durable subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployAll ¶ added in v0.45.0
func DeployAll(ctx context.Context, deps cliruntime.Deps, opts DeployAllOptions) ([]apiclient.DurableFunction, error)
DeployAll deploys every function the manifest declares durable, as "durable deploy --all" does, and returns the functions whose deployment started. On error it still returns the ones started before the failure.
func NewLocal ¶ added in v0.33.0
func NewLocal(deps cliruntime.Deps) *cobra.Command
NewLocal returns the durable functions command for the local tree.
The same commands as the cloud tree, pointed at the local server. Local development runs durable executions on its own engine now, against the same API and the same manifest, so there is nothing for the two trees to differ about.
Types ¶
type DeployAllOptions ¶ added in v0.45.0
type DeployAllOptions struct {
// ManifestPath names the volcano-config.yaml that declares the durable
// functions. Empty uses the default lookup.
ManifestPath string
// Out and ErrOut are required.
Out io.Writer
ErrOut io.Writer
}
DeployAllOptions configures DeployAll.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package approvals wires the volcano durable approvals subcommands.
|
Package approvals wires the volcano durable approvals subcommands. |
|
Package executions wires the volcano durable executions subcommands.
|
Package executions wires the volcano durable executions subcommands. |
|
Package schedulers wires the volcano durable schedulers subcommands.
|
Package schedulers wires the volcano durable schedulers subcommands. |
Click to show internal directories.
Click to hide internal directories.