arm

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceDelete

func ResourceDelete(options *Options, ids []string) (out string, err error)

func RunAzureCLICommand

func RunAzureCLICommand(streamOutput bool, options *Options, additionalArgs ...string) (string, error)

func SubCreate

func SubCreate(options *Options, deploymentName string, accountID string, location string, file string) (out string, err error)

func SubDelete

func SubDelete(options *Options, deploymentName string, accountID string) (out string, err error)

func SubShow

func SubShow(options *Options, deploymentName string, accountID string) (out string, err error)

func SubWhatIf

func SubWhatIf(options *Options, deploymentName string, accountID string, location string, file string) (out string, err error)

func Version

func Version(options *Options) (out string, err error)

Types

type AzureCLI

type AzureCLI struct{}

func (AzureCLI) ResourceDelete

func (a AzureCLI) ResourceDelete(options *Options, ids []string) (out string, err error)

func (AzureCLI) SubCreate

func (a AzureCLI) SubCreate(options *Options, deploymentName string, accountID string, location string, file string) (out string, err error)

func (AzureCLI) SubDelete

func (a AzureCLI) SubDelete(options *Options, deploymentName string, accountID string) (out string, err error)

func (AzureCLI) SubShow

func (a AzureCLI) SubShow(options *Options, deploymentName string, accountID string) (out string, err error)

func (AzureCLI) SubWhatIf

func (a AzureCLI) SubWhatIf(options *Options, deploymentName string, accountID string, location string, file string) (out string, err error)

func (AzureCLI) Version

func (a AzureCLI) Version(options *Options) (out string, err error)

type AzureRM

type AzureRM interface {
	ResourceDelete(options *Options, ids []string) (out string, err error)
	SubCreate(options *Options, deploymentName string, accountID string, location string, file string) (out string, err error)
	SubDelete(options *Options, deploymentName string, accountID string) (out string, err error)
	SubShow(options *Options, deploymentName string, accountID string) (out string, err error)
	SubWhatIf(options *Options, deploymentName string, accountID string, location string, file string) (out string, err error)
	Version(options *Options) (out string, err error)
}

type Options

type Options struct {
	AzureCLIBinary    string
	AzureCLIDir       string
	EnvVars           map[string]string
	OutputMaxLineSize int
	Logger            *logrus.Entry
}

Jump to

Keyboard shortcuts

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