You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{name: "base64decode", fn: encoding.Base64DecodeFunc, descriptionAlt: `Decodes a string containing a base64 sequence.`},
32
+
{name: "base64encode", fn: encoding.Base64EncodeFunc, descriptionAlt: `Encodes a string to a base64 sequence.`},
32
33
{name: "basename", factory: basenameFunc},
33
-
{name: "bcrypt", fn: crypto.BcryptFunc},
34
+
{name: "bcrypt", fn: crypto.BcryptFunc, descriptionAlt: `Computes a hash of the given string using the Blowfish cipher.`},
34
35
{name: "byteslen", fn: stdlib.BytesLenFunc},
35
36
{name: "bytesslice", fn: stdlib.BytesSliceFunc},
36
-
{name: "can", fn: tryfunc.CanFunc},
37
+
{name: "can", fn: tryfunc.CanFunc, descriptionAlt: `Tries to evaluate the expression given in its first argument.`},
37
38
{name: "ceil", fn: stdlib.CeilFunc},
38
39
{name: "chomp", fn: stdlib.ChompFunc},
39
40
{name: "chunklist", fn: stdlib.ChunklistFunc},
40
-
{name: "cidrhost", fn: cidr.HostFunc},
41
-
{name: "cidrnetmask", fn: cidr.NetmaskFunc},
42
-
{name: "cidrsubnet", fn: cidr.SubnetFunc},
43
-
{name: "cidrsubnets", fn: cidr.SubnetsFunc},
41
+
{name: "cidrhost", fn: cidr.HostFunc, descriptionAlt: `Calculates a full host IP address within a given IP network address prefix.`},
42
+
{name: "cidrnetmask", fn: cidr.NetmaskFunc, descriptionAlt: `Converts an IPv4 address prefix given in CIDR notation into a subnet mask address.`},
43
+
{name: "cidrsubnet", fn: cidr.SubnetFunc, descriptionAlt: `Calculates a subnet address within a given IP network address prefix.`},
44
+
{name: "cidrsubnets", fn: cidr.SubnetsFunc, descriptionAlt: `Calculates many consecutive subnet addresses at once, rather than just a single subnet extension.`},
{name: "convert", fn: typeexpr.ConvertFunc, descriptionAlt: `Converts a value to a specified type constraint, using HCL's customdecode extension for type expression support.`},
50
51
{name: "csvdecode", fn: stdlib.CSVDecodeFunc},
51
52
{name: "dirname", factory: dirnameFunc},
52
53
{name: "distinct", fn: stdlib.DistinctFunc},
@@ -76,7 +77,7 @@ var stdlibFunctions = []funcDef{
76
77
{name: "lookup", fn: stdlib.LookupFunc},
77
78
{name: "lower", fn: stdlib.LowerFunc},
78
79
{name: "max", fn: stdlib.MaxFunc},
79
-
{name: "md5", fn: crypto.Md5Func},
80
+
{name: "md5", fn: crypto.Md5Func, descriptionAlt: `Computes the MD5 hash of a given string and encodes it with hexadecimal digits.`},
80
81
{name: "merge", fn: stdlib.MergeFunc},
81
82
{name: "min", fn: stdlib.MinFunc},
82
83
{name: "modulo", fn: stdlib.ModuloFunc},
@@ -94,17 +95,17 @@ var stdlibFunctions = []funcDef{
{name: "sha1", fn: crypto.Sha1Func, descriptionAlt: `Computes the SHA1 hash of a given string and encodes it with hexadecimal digits.`},
107
+
{name: "sha256", fn: crypto.Sha256Func, descriptionAlt: `Computes the SHA256 hash of a given string and encodes it with hexadecimal digits.`},
108
+
{name: "sha512", fn: crypto.Sha512Func, descriptionAlt: `Computes the SHA512 hash of a given string and encodes it with hexadecimal digits.`},
108
109
{name: "signum", fn: stdlib.SignumFunc},
109
110
{name: "slice", fn: stdlib.SliceFunc},
110
111
{name: "sort", fn: stdlib.SortFunc},
@@ -119,11 +120,11 @@ var stdlibFunctions = []funcDef{
119
120
{name: "trimprefix", fn: stdlib.TrimPrefixFunc},
120
121
{name: "trimspace", fn: stdlib.TrimSpaceFunc},
121
122
{name: "trimsuffix", fn: stdlib.TrimSuffixFunc},
122
-
{name: "try", fn: tryfunc.TryFunc},
123
+
{name: "try", fn: tryfunc.TryFunc, descriptionAlt: `Variadic function that tries to evaluate all of is arguments in sequence until one succeeds, in which case it returns that result, or returns an error if none of them succeed.`},
123
124
{name: "upper", fn: stdlib.UpperFunc},
124
-
{name: "urlencode", fn: encoding.URLEncodeFunc},
125
-
{name: "uuidv4", fn: uuid.V4Func},
126
-
{name: "uuidv5", fn: uuid.V5Func},
125
+
{name: "urlencode", fn: encoding.URLEncodeFunc, descriptionAlt: `Applies URL encoding to a given string.`},
126
+
{name: "uuidv4", fn: uuid.V4Func, descriptionAlt: `Generates and returns a Type-4 UUID in the standard hexadecimal string format.`},
127
+
{name: "uuidv5", fn: uuid.V5Func, descriptionAlt: `Generates and returns a Type-5 UUID in the standard hexadecimal string format.`},
0 commit comments