commands

package
v0.0.0-...-352af58 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import struct {
	Config  string `short:"c" long:"config" description:"path to the pipeline yaml"        required:"true"`
	Name    string `short:"n" long:"name"   description:"name of the imported pipeline"    required:"true"`
	Output  string `short:"o" long:"output" description:"path to the folder to be created" required:"true"`
	PerFile bool   `long:"per-file"         description:"put each type into its own file"`
}

func (*Import) Execute

func (i *Import) Execute(args []string) error

func (Import) WriteGroups

func (i Import) WriteGroups(f io.Writer) error

func (Import) WriteJobs

func (i Import) WriteJobs(f io.Writer) error

func (Import) WriteResourceTypes

func (i Import) WriteResourceTypes(f io.Writer) error

func (Import) WriteResources

func (i Import) WriteResources(f io.Writer) error

func (Import) WriteSteps

func (i Import) WriteSteps(f io.Writer) error

func (Import) WriteTasks

func (i Import) WriteTasks(f io.Writer) error

Jump to

Keyboard shortcuts

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