armv1

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JSONExtension json
	JSONExtension = ".json"

	// ParametersFileExtension .parameters.json
	ParametersFileExtension = ".parameters.json"

	// MetadataFileExtension .metadata.json
	MetadataFileExtension = ".metadata.json"

	// UnknownExtension unknown
	UnknownExtension = "unknown"
)

Variables

This section is empty.

Functions

func ARMFileExtensions

func ARMFileExtensions() []string

ARMFileExtensions returns the valid extensions for Azure ARM (json)

Types

type ARMV1

type ARMV1 struct {
	// contains filtered or unexported fields
}

ARMV1 struct implements the IacProvider interface

func (*ARMV1) LoadIacDir

func (a *ARMV1) LoadIacDir(absRootDir string, options map[string]interface{}) (output.AllResourceConfigs, error)

LoadIacDir loads all ARM template files in the current directory.

func (*ARMV1) LoadIacFile

func (a *ARMV1) LoadIacFile(absFilePath string, options map[string]interface{}) (allResourcesConfig output.AllResourceConfigs, err error)

LoadIacFile loads the specified ARM template file. Note that a single ARM template json file may contain multiple resource definitions.

func (*ARMV1) Name

func (a *ARMV1) Name() string

Name returns name of the provider

Jump to

Keyboard shortcuts

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