Documentation
¶
Overview ¶
Package frontends wires the volcano frontends subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deploy ¶ added in v0.45.0
func Deploy(ctx context.Context, deps cliruntime.Deps, opts DeployOptions) (*apiclient.Frontend, error)
Deploy packages and uploads one frontend, as "frontends deploy" does, and returns the frontend whose deployment started.
Types ¶
type DeployOptions ¶ added in v0.45.0
type DeployOptions struct {
Path string
Name string
AppRoot string
VariableScope string
Variables []string
// ExcludeFiles are files to leave out of the upload, such as an env file
// the caller deployed from inside the frontend's directory.
ExcludeFiles []string
// Out is required.
Out io.Writer
}
DeployOptions configures Deploy. The fields up to Variables mirror the flags of "frontends deploy".
Click to show internal directories.
Click to hide internal directories.