seetie

package
v1.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CookiesToMapValue

func CookiesToMapValue(cookies []*http.Cookie) cty.Value

func GoToValue

func GoToValue(v interface{}) cty.Value

func HeaderToMapValue

func HeaderToMapValue(headers http.Header) cty.Value

func MapToValue

func MapToValue(m map[string]interface{}) cty.Value

func SliceToString

func SliceToString(sl []interface{}) string

func ToString

func ToString(s interface{}) string

func ValueToInt

func ValueToInt(v cty.Value) (n int64)

func ValueToIntSlice added in v1.7.0

func ValueToIntSlice(src cty.Value) []int64

func ValueToLogFields added in v1.7.0

func ValueToLogFields(val cty.Value) logrus.Fields

func ValueToMap

func ValueToMap(val cty.Value) map[string]interface{}

func ValueToPermission added in v1.9.0

func ValueToPermission(val cty.Value) (string, map[string]string, error)

func ValueToString

func ValueToString(v cty.Value) string

ValueToString explicitly drops all other (unknown) types and converts non whitespace strings or numbers to its string representation.

func ValueToStringSlice

func ValueToStringSlice(src cty.Value) []string

func ValuesMapToValue

func ValuesMapToValue(m url.Values) cty.Value

Types

type Object added in v1.9.0

type Object interface {
	Value() cty.Value
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL