Documentation ¶
Index ¶
- func CookiesToMapValue(cookies []*http.Cookie) cty.Value
- func GoToValue(v interface{}) cty.Value
- func HeaderToMapValue(headers http.Header) cty.Value
- func MapToValue(m map[string]interface{}) cty.Value
- func SliceToString(sl []interface{}) string
- func ToString(s interface{}) string
- func ValueToGo(val cty.Value) interface{}
- func ValueToInt(v cty.Value) (n int64)
- func ValueToIntSlice(src cty.Value) []int64
- func ValueToLogFields(val cty.Value) logrus.Fields
- func ValueToMap(val cty.Value) map[string]interface{}
- func ValueToPermission(val cty.Value) (string, map[string]string, error)
- func ValueToString(v cty.Value) string
- func ValueToStringSlice(src cty.Value) []string
- func ValuesMapToValue(m url.Values) cty.Value
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToValue ¶
func SliceToString ¶
func SliceToString(sl []interface{}) string
func ValueToInt ¶
func ValueToIntSlice ¶
func ValueToMap ¶
func ValueToString ¶
ValueToString explicitly drops all other (unknown) types and converts non whitespace strings or numbers to its string representation.
func ValueToStringSlice ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.