Documentation
¶
Index ¶
Constants ¶
View Source
const InitCommandDescription = "initializes a driver for a given language and OS"
View Source
const PrepareBuildCommandDescription = "installs locally the build system for a driver"
View Source
const UpdateCommandDescription = "updates an already initialized driver"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitCommand ¶
type InitCommand struct {
Args struct {
Language string `positional-arg-name:"language" description:"target language of the driver"`
OS string `positional-arg-name:"os" description:"distribution used to run the runtime. (Values: alpine or debian)"`
} `positional-args:"yes"`
UpdateCommand
}
func (*InitCommand) Execute ¶
func (c *InitCommand) Execute(args []string) error
type PrepareBuildCommand ¶
func (*PrepareBuildCommand) Execute ¶
func (c *PrepareBuildCommand) Execute(args []string) error
type UpdateCommand ¶
type UpdateCommand struct {
DryRun bool `long:"dry-run" description:"don't writes nothing just checks if something should be written"`
cli.Command
// contains filtered or unexported fields
}
func (*UpdateCommand) Execute ¶
func (c *UpdateCommand) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.