TreeInspector
Inspector that maintains an attribute bag.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
alicloudroscdkcore.NewTreeInspector() TreeInspector
| Name | Type | Description |
|---|---|---|
Methods
| Name | Description |
|---|---|
AddAttribute |
Adds attribute to bag. |
AddAttribute
func AddAttribute(key *string, value interface{})
Adds attribute to bag.
Keys should be added by convention to prevent conflicts
- Type: *string
key for metadata.
- Type: interface{}
value of metadata.
Properties
| Name | Type | Description |
|---|---|---|
Attributes |
*map[string]interface{} |
Represents the bag of attributes as key-value pairs. |
AttributesRequired
func Attributes() *map[string]interface{}
- Type: *map[string]interface{}
Represents the bag of attributes as key-value pairs.