seetie

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 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 ValueToGo

func ValueToGo(val cty.Value) interface{}

func ValueToInt

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

func ValueToIntSlice

func ValueToIntSlice(src cty.Value) []int64

func ValueToLogFields

func ValueToLogFields(val cty.Value) logrus.Fields

func ValueToMap

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

func ValueToPermission

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

type Object interface {
	Value() cty.Value
}

Jump to

Keyboard shortcuts

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