workflow

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NamingConvention = regexp.MustCompile(`^terraform\-[\w]+\-[\w]+`)

NamingConvention is the naming convention for a repository^terraform-\\w-\\w$

Functions

func NewCommand

func NewCommand(factory cmd.Factory) *cobra.Command

NewCommand returns a new instance of the get command

func NewCreateCommand

func NewCreateCommand(factory cmd.Factory) *cobra.Command

NewCreateCommand returns a new instance of the command

Types

type Command

type Command struct {
	cmd.Factory
}

Command represents the available get command options

type ModuleCommand

type ModuleCommand struct {
	cmd.Factory
	// EnsureNameLinting is used to enable the linting of the module name
	EnsureNameLinting bool
	// Template is the repository to use for the template
	Template string
	// Source is the directory to create the workflow in
	Source string
}

ModuleCommand defines the command line options for the command

func (*ModuleCommand) Run

func (o *ModuleCommand) Run(ctx context.Context) error

Run is called to execute the action

Jump to

Keyboard shortcuts

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