Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzapiDefinition ¶
type AzapiDefinition struct { Id string Kind Kind // resource or data ResourceName string // azapi_resource, azapi_update_resource, azapi_resource_action Label string // example: test AzureResourceType string // example: Microsoft.Network/virtualNetworks ApiVersion string // example: 2020-06-01 Body interface{} AdditionalFields map[string]Value // fields like resource_id, parent_id, name, location, action, method BodyFormat BodyFormat // hcl or json LeadingComments []string }
func (AzapiDefinition) DeepCopy ¶
func (def AzapiDefinition) DeepCopy() AzapiDefinition
func (AzapiDefinition) Identifier ¶
func (def AzapiDefinition) Identifier() string
func (AzapiDefinition) String ¶
func (def AzapiDefinition) String() string
type BodyFormat ¶
type BodyFormat string
const ( BodyFormatHcl BodyFormat = "hcl" BodyFormatJson BodyFormat = "json" )
type Reference ¶
type ReferenceValue ¶
type ReferenceValue struct {
Reference string
}
func NewReferenceValue ¶
func NewReferenceValue(reference string) ReferenceValue
func (ReferenceValue) DeepCopy ¶
func (v ReferenceValue) DeepCopy() Value
func (ReferenceValue) String ¶
func (v ReferenceValue) String() string
type StringLiteralValue ¶
type StringLiteralValue struct {
Literal string
}
func NewStringLiteralValue ¶
func NewStringLiteralValue(literal string) StringLiteralValue
func (StringLiteralValue) DeepCopy ¶
func (v StringLiteralValue) DeepCopy() Value
func (StringLiteralValue) String ¶
func (v StringLiteralValue) String() string
Click to show internal directories.
Click to hide internal directories.