cmd

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	GoVersion string `json:"go,omitempty"`
	GoOS      string `json:"os,omitempty"`
	GoArch    string `json:"arch,omitempty"`
	Compiler  string `json:"compiler,omitempty"`
}

type MigrateCommand

type MigrateCommand struct {
	Ui      cli.Ui
	Verbose bool
	Strict  bool
}

func (MigrateCommand) Help

func (c MigrateCommand) Help() string

func (MigrateCommand) MigrateGenericResource

func (c MigrateCommand) MigrateGenericResource(terraform *tf.Terraform, resources []types.GenericResource)

func (MigrateCommand) MigrateGenericUpdateResource

func (c MigrateCommand) MigrateGenericUpdateResource(terraform *tf.Terraform, resources []types.GenericUpdateResource)

func (MigrateCommand) Run

func (c MigrateCommand) Run(args []string) int

func (MigrateCommand) Synopsis

func (c MigrateCommand) Synopsis() string

type PlanCommand

type PlanCommand struct {
	Ui      cli.Ui
	Verbose bool
	Strict  bool
}

func (PlanCommand) Help

func (c PlanCommand) Help() string

func (PlanCommand) Plan

func (c PlanCommand) Plan(terraform *tf.Terraform, isPlanOnly bool) ([]types.GenericResource, []types.GenericUpdateResource)

func (PlanCommand) Run

func (c PlanCommand) Run(args []string) int

func (PlanCommand) Synopsis

func (c PlanCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Ui      cli.Ui
	Version string
	// contains filtered or unexported fields
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

type VersionOutput

type VersionOutput struct {
	Version string `json:"version"`

	*BuildInfo
}

Jump to

Keyboard shortcuts

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