README ¶
azurecmd
import "github.com/slalombuild/fusion/internal/commands/azurecmd"
Package azurecmd contains all commands for the aws section of the fusion cli
Commands
AWS commands can be executed with fusion new azure
Index
Variables
var (
ErrGenVnet = "failed to generate terraform for vnet"
ErrHighlight = "error highlighting terraform"
)
type Azure
type Azure struct {
Func NewFunctionCommand `cmd:"" help:"Create new Azure function"`
Vnet NewVnetCommand `cmd:"" help:"Create new Azure vnet"`
}
type Globals
type Globals struct {
Region string `enum:"us-west-1,us-west-2,us-east-1" default:"us-east-1"`
}
type NewFunctionCommand
type NewFunctionCommand struct {
Globals
Data *azure.AzureFunction `embed:""`
}
func (*NewFunctionCommand) Run
func (cmd *NewFunctionCommand) Run(ctx *commands.Context) error
type NewVnetCommand
NewVnetCmd creates a new vnet
type NewVnetCommand struct {
*azure.Vnet `embed:""`
}
func (*NewVnetCommand) Run
func (cmd *NewVnetCommand) Run(ctx *commands.Context) error
Generated by gomarkdoc
Documentation ¶
Overview ¶
Package azurecmd contains all commands for the aws section of the fusion cli
Commands ¶
AWS commands can be executed with
fusion new azure
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrGenVnet = "failed to generate terraform for vnet" ErrHighlight = "error highlighting terraform" )
Functions ¶
This section is empty.
Types ¶
type Azure ¶
type Azure struct { Func NewFunctionCommand `cmd:"" help:"Create new Azure function"` Vnet NewVnetCommand `cmd:"" help:"Create new Azure vnet"` }
type Globals ¶
type Globals struct {
Region string `enum:"us-west-1,us-west-2,us-east-1" default:"us-east-1"`
}
type NewFunctionCommand ¶
type NewFunctionCommand struct { Globals Data *azure.AzureFunction `embed:""` }
type NewVnetCommand ¶
NewVnetCmd creates a new vnet
Click to show internal directories.
Click to hide internal directories.