Documentation ¶
Index ¶
- func ReplaceBodyTokens(body *hclwrite.Body, targetKey string, targetTokens hclwrite.Tokens)
- func UpdateBodyTokenOrder(body *hclwrite.Body, targetKey string, afterKey string)
- type Object
- func (o *Object) BuildTokens() hclwrite.Tokens
- func (o *Object) DeleteObjectAttribute(name string) *ObjectAtrribute
- func (o *Object) GetObjectAttribute(name string) *ObjectAtrribute
- func (o *Object) ObjectAttributes() map[string]*ObjectAtrribute
- func (o *Object) ReplaceObjectAttribute(name string, nestedObject *Object) *ObjectAtrribute
- func (o *Object) SetObjectAttributeRaw(name string, exprTokens, beforeTokens hclwrite.Tokens) *ObjectAtrribute
- func (o *Object) UpdateObjectAttributeOrder(targetKey, afterKey string)
- type ObjectAtrribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceBodyTokens ¶
Types ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object
func (*Object) BuildTokens ¶
func (*Object) DeleteObjectAttribute ¶
func (o *Object) DeleteObjectAttribute(name string) *ObjectAtrribute
func (*Object) GetObjectAttribute ¶
func (o *Object) GetObjectAttribute(name string) *ObjectAtrribute
func (*Object) ObjectAttributes ¶
func (o *Object) ObjectAttributes() map[string]*ObjectAtrribute
func (*Object) ReplaceObjectAttribute ¶
func (o *Object) ReplaceObjectAttribute(name string, nestedObject *Object) *ObjectAtrribute
func (*Object) SetObjectAttributeRaw ¶
func (o *Object) SetObjectAttributeRaw(name string, exprTokens, beforeTokens hclwrite.Tokens) *ObjectAtrribute
func (*Object) UpdateObjectAttributeOrder ¶
type ObjectAtrribute ¶
type ObjectAtrribute struct {
// contains filtered or unexported fields
}
ObjectAttribute is attribute inside Object
func (*ObjectAtrribute) BuildTokens ¶
func (oa *ObjectAtrribute) BuildTokens() hclwrite.Tokens
Click to show internal directories.
Click to hide internal directories.