package
0.2.5
Repository: https://github.com/slalombuild/fusion.git
Documentation: pkg.go.dev

# 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

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
NewVnetCmd creates a new vnet.