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.
Click to show internal directories.
Click to hide internal directories.