Documentation ¶
Index ¶
- type Copy
- type ExpressionEvaluationOptions
- type Function
- type Parameter
- type ParameterValue
- type Parser
- func (p *Parser) ParseFS(ctx context.Context, dir string) ([]azure.Deployment, error)
- func (p *Parser) ParseFS2(ctx context.Context, dir string) (map[string]azure.Deployment, error)
- func (p *Parser) Required(path string) bool
- func (p *Parser) SetDebugWriter(writer io.Writer)
- func (p *Parser) SetSkipRequiredCheck(b bool)
- type Resource
- type Template
- type TemplateProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter struct { Metadata types.Metadata Type types2.Value `json:"type"` DefaultValue types2.Value `json:"defaultValue"` MaxLength types2.Value `json:"maxLength"` MinLength types2.Value `json:"minLength"` }
func (*Parameter) SetMetadata ¶
type ParameterValue ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) SetDebugWriter ¶
func (*Parser) SetSkipRequiredCheck ¶
type Resource ¶
type Resource struct { Metadata types.Metadata `json:"-"` // contains filtered or unexported fields }
func (*Resource) SetMetadata ¶
type Template ¶
type Template struct { Metadata types.Metadata `json:"-"` Schema types2.Value `json:"$schema"` ContentVersion types2.Value `json:"contentVersion"` APIProfile types2.Value `json:"apiProfile"` Parameters map[string]Parameter `json:"parameters"` Variables map[string]types2.Value `json:"variables"` Functions []Function `json:"functions"` Resources []Resource `json:"resources"` Copy *Copy `json:"copy"` Outputs map[string]types2.Value `json:"outputs"` }
func (*Template) SetMetadata ¶
type TemplateProperties ¶
type TemplateProperties struct { Mode types2.Value `json:"mode"` ExpressionEvaluationOptions *ExpressionEvaluationOptions `json:"expressionEvaluationOptions"` ParameterValues map[string]ParameterValue `json:"parameters"` Template *Template `json:"template"` }
Click to show internal directories.
Click to hide internal directories.