cmd

package
v2.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const BuildCommandDescription = "builds the driver"
View Source
const InitCommandDescription = "initializes a driver for a given language and OS"
View Source
const PushCommandDescription = "push driver image to docker registry (CI only)"
View Source
const ReleaseCommandDescription = "prepare driver for the release"
View Source
const TagCommandDescription = "returns a version tag for the driver"
View Source
const TestCommandDescription = "tests the driver using fixtures"
View Source
const UpdateCommandDescription = "updates an already initialized driver"

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildCommand

type BuildCommand struct {
	cmd.Command
}

func (*BuildCommand) Execute

func (c *BuildCommand) Execute(args []string) error

type InitCommand

type InitCommand struct {
	Args struct {
		Language string `positional-arg-name:"language"  description:"target language of the driver"`
	} `positional-args:"yes"`

	UpdateCommand
}

func (*InitCommand) Execute

func (c *InitCommand) Execute(args []string) error

type PushCommand

type PushCommand struct {
	cmd.Command
}

func (*PushCommand) Execute

func (c *PushCommand) Execute(args []string) error

type ReleaseCommand

type ReleaseCommand struct {
	cmd.Command
}

func (*ReleaseCommand) Execute

func (c *ReleaseCommand) Execute(args []string) error

type TagCommand

type TagCommand struct {
	cmd.Command
}

func (*TagCommand) Execute

func (c *TagCommand) Execute(args []string) error

type TestCommand

type TestCommand struct {
	cmd.Command
	Bblfshd string `long:"bblfshd" description:"bblfshd version to test with"`
}

func (*TestCommand) Execute

func (c *TestCommand) 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"`

	cmd.Command
	// contains filtered or unexported fields
}

func (*UpdateCommand) Execute

func (c *UpdateCommand) Execute(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL