command

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 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 DataBrowseCommand

type DataBrowseCommand struct {
	Meta
}

DataBrowseCommand is a command which browses a documentation of data source.

func (*DataBrowseCommand) AutocompleteArgs

func (c *DataBrowseCommand) AutocompleteArgs() complete.Predictor

AutocompleteArgs returns the argument predictor.

func (*DataBrowseCommand) AutocompleteFlags

func (c *DataBrowseCommand) AutocompleteFlags() complete.Flags

AutocompleteFlags returns a mapping of supported flags and options.

func (*DataBrowseCommand) Help

func (c *DataBrowseCommand) Help() string

Help returns long-form help text.

func (*DataBrowseCommand) Run

func (c *DataBrowseCommand) Run(args []string) int

Run runs the procedure of this command.

func (*DataBrowseCommand) Synopsis

func (c *DataBrowseCommand) Synopsis() string

Synopsis returns one-line help text.

type DataListCommand

type DataListCommand struct {
	Meta
}

DataListCommand is a command which lists data sources.

func (*DataListCommand) Help

func (c *DataListCommand) Help() string

Help returns long-form help text.

func (*DataListCommand) Run

func (c *DataListCommand) Run(args []string) int

Run runs the procedure of this command.

func (*DataListCommand) Synopsis

func (c *DataListCommand) Synopsis() string

Synopsis returns one-line help text.

type DataShowCommand

type DataShowCommand struct {
	Meta
	// contains filtered or unexported fields
}

DataShowCommand is a command which shows a type definition of data source.

func (*DataShowCommand) AutocompleteArgs

func (c *DataShowCommand) AutocompleteArgs() complete.Predictor

AutocompleteArgs returns the argument predictor.

func (*DataShowCommand) AutocompleteFlags

func (c *DataShowCommand) AutocompleteFlags() complete.Flags

AutocompleteFlags returns a mapping of supported flags and options.

func (*DataShowCommand) Help

func (c *DataShowCommand) Help() string

Help returns long-form help text.

func (*DataShowCommand) Run

func (c *DataShowCommand) Run(args []string) int

Run runs the procedure of this command.

func (*DataShowCommand) Synopsis

func (c *DataShowCommand) Synopsis() string

Synopsis returns one-line help text.

type Meta

type Meta struct {
	// UI is a user interface representing input and output.
	UI cli.Ui
}

Meta are the meta-options that are available on all or most commands.

type ProviderBrowseCommand

type ProviderBrowseCommand struct {
	Meta
}

ProviderBrowseCommand is a command which browses a documentation of provider.

func (*ProviderBrowseCommand) Help

func (c *ProviderBrowseCommand) Help() string

Help returns long-form help text.

func (*ProviderBrowseCommand) Run

func (c *ProviderBrowseCommand) Run(args []string) int

Run runs the procedure of this command.

func (*ProviderBrowseCommand) Synopsis

func (c *ProviderBrowseCommand) Synopsis() string

Synopsis returns one-line help text.

type ProviderShowCommand

type ProviderShowCommand struct {
	Meta
	// contains filtered or unexported fields
}

ProviderShowCommand is a command which shows a type definition of provider.

func (*ProviderShowCommand) Help

func (c *ProviderShowCommand) Help() string

Help returns long-form help text.

func (*ProviderShowCommand) Run

func (c *ProviderShowCommand) Run(args []string) int

Run runs the procedure of this command.

func (*ProviderShowCommand) Synopsis

func (c *ProviderShowCommand) Synopsis() string

Synopsis returns one-line help text.

type ResourceBrowseCommand

type ResourceBrowseCommand struct {
	Meta
}

ResourceBrowseCommand is a command which browses a documentation of resource.

func (*ResourceBrowseCommand) AutocompleteArgs

func (c *ResourceBrowseCommand) AutocompleteArgs() complete.Predictor

AutocompleteArgs returns the argument predictor.

func (*ResourceBrowseCommand) AutocompleteFlags

func (c *ResourceBrowseCommand) AutocompleteFlags() complete.Flags

AutocompleteFlags returns a mapping of supported flags and options.

func (*ResourceBrowseCommand) Help

func (c *ResourceBrowseCommand) Help() string

Help returns long-form help text.

func (*ResourceBrowseCommand) Run

func (c *ResourceBrowseCommand) Run(args []string) int

Run runs the procedure of this command.

func (*ResourceBrowseCommand) Synopsis

func (c *ResourceBrowseCommand) Synopsis() string

Synopsis returns one-line help text.

type ResourceListCommand

type ResourceListCommand struct {
	Meta
}

ResourceListCommand is a command which lists resource types.

func (*ResourceListCommand) Help

func (c *ResourceListCommand) Help() string

Help returns long-form help text.

func (*ResourceListCommand) Run

func (c *ResourceListCommand) Run(args []string) int

Run runs the procedure of this command.

func (*ResourceListCommand) Synopsis

func (c *ResourceListCommand) Synopsis() string

Synopsis returns one-line help text.

type ResourceShowCommand

type ResourceShowCommand struct {
	Meta
	// contains filtered or unexported fields
}

ResourceShowCommand is a command which shows a type definition of resource.

func (*ResourceShowCommand) AutocompleteArgs

func (c *ResourceShowCommand) AutocompleteArgs() complete.Predictor

AutocompleteArgs returns the argument predictor.

func (*ResourceShowCommand) AutocompleteFlags

func (c *ResourceShowCommand) AutocompleteFlags() complete.Flags

AutocompleteFlags returns a mapping of supported flags and options.

func (*ResourceShowCommand) Help

func (c *ResourceShowCommand) Help() string

Help returns long-form help text.

func (*ResourceShowCommand) Run

func (c *ResourceShowCommand) Run(args []string) int

Run runs the procedure of this command.

func (*ResourceShowCommand) Synopsis

func (c *ResourceShowCommand) Synopsis() string

Synopsis returns one-line help text.

Jump to

Keyboard shortcuts

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