search

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

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

NewCommand returns a new instance of the get command

Types

type Command

type Command struct {
	cmd.Factory
	// EnableDefaults indicates if any defaults with values from the terraform module are included
	EnableDefaults bool
	// Provider is the module provider
	Provider string
	// Name is the name of the resource
	Name string
	// Source is the registry source
	Source string
	// SourceNamespace is the module namespace
	SourceNamespace string
	// Query is the registry query string
	Query string
}

Command returns the cobra command for the "build" sub-command.

func (*Command) Run

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

Run implements the command action

Jump to

Keyboard shortcuts

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