Documentation ¶
Index ¶
- func DataToJSON(data map[string]interface{}, keys ...string) error
- func GetFromResourceData(d *schema.ResourceData, rsc *schema.Resource) (map[string]interface{}, error)
- func GetResource(data map[string]interface{}, rsc *schema.Resource) (map[string]interface{}, error)
- func GetSchema(data interface{}, sc *schema.Schema) (interface{}, error)
- func InterfaceListToStringList(data []interface{}) []string
- func JSONToData(data map[string]interface{}, keys ...string) error
- func ListToMap(data []interface{}, key string) map[string]interface{}
- func MapToList(data map[string]interface{}, key string) []interface{}
- func OneSizeListToJSON(data map[string]interface{}, keys ...string) error
- func SetResource(data map[string]interface{}, rsc *schema.Resource) (interface{}, error)
- func SetResourceData(d *schema.ResourceData, rsc *schema.Resource, data map[string]interface{}) error
- func SetSchema(data interface{}, sc *schema.Schema) (interface{}, error)
- func SetTypeList(data interface{}, sc *schema.Schema) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataToJSON ¶
func GetFromResourceData ¶
func GetResource ¶
func InterfaceListToStringList ¶
func InterfaceListToStringList(data []interface{}) []string
func JSONToData ¶
func OneSizeListToJSON ¶
func SetResource ¶
func SetResourceData ¶
func SetTypeList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.