Versions in this module Expand all Collapse all v0 v0.24.3 Jun 16, 2023 Changes in this version + var AbsPathFunc = function.New(&function.Spec{ ... }) + var AllTrueFunc = function.New(&function.Spec{ ... }) + var AnyTrueFunc = function.New(&function.Spec{ ... }) + var Base64DecodeFunc = function.New(&function.Spec{ ... }) + var Base64EncodeFunc = function.New(&function.Spec{ ... }) + var Base64GzipFunc = function.New(&function.Spec{ ... }) + var Base64Sha256Func = makeStringHashFunction(sha256.New, base64.StdEncoding.EncodeToString) + var Base64Sha512Func = makeStringHashFunction(sha512.New, base64.StdEncoding.EncodeToString) + var BasenameFunc = function.New(&function.Spec{ ... }) + var BcryptFunc = function.New(&function.Spec{ ... }) + var CidrHostFunc = function.New(&function.Spec{ ... }) + var CidrNetmaskFunc = function.New(&function.Spec{ ... }) + var CidrSubnetFunc = function.New(&function.Spec{ ... }) + var CidrSubnetsFunc = function.New(&function.Spec{ ... }) + var CoalesceFunc = function.New(&function.Spec{ ... }) + var DirnameFunc = function.New(&function.Spec{ ... }) + var EndsWithFunc = function.New(&function.Spec{ ... }) + var IndexFunc = function.New(&function.Spec{ ... }) + var LengthFunc = function.New(&function.Spec{ ... }) + var ListFunc = function.New(&function.Spec{ ... }) + var LogFunc = function.New(&function.Spec{ ... }) + var LookupFunc = function.New(&function.Spec{ ... }) + var MapFunc = function.New(&function.Spec{ ... }) + var MatchkeysFunc = function.New(&function.Spec{ ... }) + var Md5Func = makeStringHashFunction(md5.New, hex.EncodeToString) + var NonsensitiveFunc = function.New(&function.Spec{ ... }) + var OneFunc = function.New(&function.Spec{ ... }) + var ParseIntFunc = function.New(&function.Spec{ ... }) + var PathExpandFunc = function.New(&function.Spec{ ... }) + var PowFunc = function.New(&function.Spec{ ... }) + var ReplaceFunc = function.New(&function.Spec{ ... }) + var RsaDecryptFunc = function.New(&function.Spec{ ... }) + var SensitiveFunc = function.New(&function.Spec{ ... }) + var Sha1Func = makeStringHashFunction(sha1.New, hex.EncodeToString) + var Sha256Func = makeStringHashFunction(sha256.New, hex.EncodeToString) + var Sha512Func = makeStringHashFunction(sha512.New, hex.EncodeToString) + var SignumFunc = function.New(&function.Spec{ ... }) + var StartsWithFunc = function.New(&function.Spec{ ... }) + var SumFunc = function.New(&function.Spec{ ... }) + var TextDecodeBase64Func = function.New(&function.Spec{ ... }) + var TextEncodeBase64Func = function.New(&function.Spec{ ... }) + var TimeAddFunc = function.New(&function.Spec{ ... }) + var TimeCmpFunc = function.New(&function.Spec{ ... }) + var TimestampFunc = function.New(&function.Spec{ ... }) + var TransposeFunc = function.New(&function.Spec{ ... }) + var TypeFunc = function.New(&function.Spec{ ... }) + var URLEncodeFunc = function.New(&function.Spec{ ... }) + var UUIDFunc = function.New(&function.Spec{ ... }) + var UUIDV5Func = function.New(&function.Spec{ ... }) + func AllTrue(collection cty.Value) (cty.Value, error) + func AnyTrue(collection cty.Value) (cty.Value, error) + func Base64Decode(str cty.Value) (cty.Value, error) + func Base64Encode(str cty.Value) (cty.Value, error) + func Base64Gzip(str cty.Value) (cty.Value, error) + func Base64Sha256(str cty.Value) (cty.Value, error) + func Base64Sha512(str cty.Value) (cty.Value, error) + func Basename(path cty.Value) (cty.Value, error) + func Bcrypt(str cty.Value, cost ...cty.Value) (cty.Value, error) + func CidrHost(prefix, hostnum cty.Value) (cty.Value, error) + func CidrNetmask(prefix cty.Value) (cty.Value, error) + func CidrSubnet(prefix, newbits, netnum cty.Value) (cty.Value, error) + func CidrSubnets(prefix cty.Value, newbits ...cty.Value) (cty.Value, error) + func Coalesce(args ...cty.Value) (cty.Value, error) + func Dirname(path cty.Value) (cty.Value, error) + func File(baseDir string, path cty.Value) (cty.Value, error) + func FileBase64(baseDir string, path cty.Value) (cty.Value, error) + func FileExists(baseDir string, path cty.Value) (cty.Value, error) + func FileSet(baseDir string, path, pattern cty.Value) (cty.Value, error) + func Index(list, value cty.Value) (cty.Value, error) + func Length(collection cty.Value) (cty.Value, error) + func List(args ...cty.Value) (cty.Value, error) + func Log(num, base cty.Value) (cty.Value, error) + func Lookup(args ...cty.Value) (cty.Value, error) + func MakeFileBase64Sha256Func(baseDir string) function.Function + func MakeFileBase64Sha512Func(baseDir string) function.Function + func MakeFileExistsFunc(baseDir string) function.Function + func MakeFileFunc(baseDir string, encBase64 bool) function.Function + func MakeFileMd5Func(baseDir string) function.Function + func MakeFileSetFunc(baseDir string) function.Function + func MakeFileSha1Func(baseDir string) function.Function + func MakeFileSha256Func(baseDir string) function.Function + func MakeFileSha512Func(baseDir string) function.Function + func MakeTemplateFileFunc(baseDir string, funcsCb func() map[string]function.Function) function.Function + func MakeToFunc(wantTy cty.Type) function.Function + func Map(args ...cty.Value) (cty.Value, error) + func Matchkeys(values, keys, searchset cty.Value) (cty.Value, error) + func Md5(str cty.Value) (cty.Value, error) + func Nonsensitive(v cty.Value) (cty.Value, error) + func One(list cty.Value) (cty.Value, error) + func ParseInt(num cty.Value, base cty.Value) (cty.Value, error) + func Pathexpand(path cty.Value) (cty.Value, error) + func Pow(num, power cty.Value) (cty.Value, error) + func Replace(str, substr, replace cty.Value) (cty.Value, error) + func RsaDecrypt(ciphertext, privatekey cty.Value) (cty.Value, error) + func Sensitive(v cty.Value) (cty.Value, error) + func Sha1(str cty.Value) (cty.Value, error) + func Sha256(str cty.Value) (cty.Value, error) + func Sha512(str cty.Value) (cty.Value, error) + func Signum(num cty.Value) (cty.Value, error) + func Sum(list cty.Value) (cty.Value, error) + func TextDecodeBase64(str, enc cty.Value) (cty.Value, error) + func TextEncodeBase64(str, enc cty.Value) (cty.Value, error) + func TimeAdd(timestamp cty.Value, duration cty.Value) (cty.Value, error) + func TimeCmp(timestampA, timestampB cty.Value) (cty.Value, error) + func Timestamp() (cty.Value, error) + func Transpose(values cty.Value) (cty.Value, error) + func Type(input []cty.Value) (cty.Value, error) + func URLEncode(str cty.Value) (cty.Value, error) + func UUID() (cty.Value, error) + func UUIDV5(namespace cty.Value, name cty.Value) (cty.Value, error)