arm

package
v0.19.905 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReservedParamNames = []string{"nuonInstallID", "nuonOrgID", "nuonAppID", "location", "deployTimestamp"}

ReservedParamNames are always provided by Nuon, never exposed to the customer.

Functions

This section is empty.

Types

type ARMOutput

type ARMOutput struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

type ARMParameter

type ARMParameter struct {
	Type         string                `json:"type"`
	DefaultValue any                   `json:"defaultValue,omitempty"`
	Metadata     *ARMParameterMetadata `json:"metadata,omitempty"`
}

type ARMParameterMetadata

type ARMParameterMetadata struct {
	Description string `json:"description,omitempty"`
}

type ARMTemplate

type ARMTemplate struct {
	Schema         string                  `json:"$schema"`
	ContentVersion string                  `json:"contentVersion"`
	Parameters     map[string]ARMParameter `json:"parameters,omitempty"`
	Variables      map[string]any          `json:"variables,omitempty"`
	Resources      []any                   `json:"resources"`
	Outputs        map[string]ARMOutput    `json:"outputs,omitempty"`
}

ARMTemplate represents an Azure Resource Manager deployment template.

type Params

type Params struct {
	fx.In

	Cfg *internal.Config
}

type Templates

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

func NewTemplates

func NewTemplates(params Params) *Templates

func (*Templates) Template

func (t *Templates) Template(inp *stacks.TemplateInput) ([]byte, string, error)

Jump to

Keyboard shortcuts

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