package
0.11.4
Repository: https://github.com/hashicorp/waypoint.git
Documentation: pkg.go.dev

# Functions

This adds the functions that should be available to any HCL run in the entrypoint.
This adds the functions that should be able to any HCL run in the waypoint server and CLI context.
Base64Decode decodes a string containing a base64 sequence.
Base64Encode applies Base64 encoding to a string.
Base64Gzip compresses a string with gzip and then encodes the result in Base64 encoding.
Basename takes a string containing a filesystem path and removes all except the last portion from it.
Stdlib are the functions provided by the HCL stdlib.
Dirname takes a string containing a filesystem path and removes the last portion from it.
No description provided by the author
No description provided by the author
File reads the contents of the file at the given path.
FileBase64 reads the contents of the file at the given path.
FileExists determines whether a file exists at the given path.
FileSet enumerates a set of files given a glob pattern The underlying function implementation works relative to a particular base directory, so this wrapper takes a base directory string and uses it to construct the underlying function before calling it.
No description provided by the author
No description provided by the author
JsonnetDir converts a directory of Jsonnet files into JSON.
JsonnetFile converts a single Jsonnet file to JSON.
MakeFileExistsFunc constructs a function that takes a path and determines whether a file exists at that path.
MakeFileFunc constructs a function that takes a file path and returns the contents of that file, either directly as a string (where valid UTF-8 is required) or as a string containing base64 bytes.
MakeFileSetFunc constructs a function that takes a glob pattern and enumerates a file set from that pattern.
MakeTemplateFileFunc constructs a function that takes a file path and an arbitrary object of named values and attempts to render the referenced file as a template using HCL template syntax.
MakeTemplateFuncs adds the template functions to the function map.
Pathexpand takes a string that might begin with a `~` segment, and if so it replaces that segment with the current user's home directory path.
No description provided by the author
SelectorLookup applies a selector to a map and returns true if the selector matches.
SelectorMatch applies a selector to a map and returns true if the selector matches.
Stdlib are the functions provided by the HCL stdlib.
URLEncode applies URL encoding to a given string.
No description provided by the author

# Variables

AbsPathFunc constructs a function that converts a filesystem path to an absolute path.
Base64DecodeFunc constructs a function that decodes a string containing a base64 sequence.
Base64EncodeFunc constructs a function that encodes a string to a base64 sequence.
Base64GzipFunc constructs a function that compresses a string with gzip and then encodes the result in Base64 encoding.
BasenameFunc constructs a function that takes a string containing a filesystem path and removes all except the last portion from it.
DirnameFunc constructs a function that takes a string containing a filesystem path and removes the last portion from it.
JsonnetDirFunc constructs a function that converts a directory of jsonnet files into standard JSON files with the same name but a "json" extension instead of the "jsonnet" extension.
JsonnetFileFunc constructs a function that converts a single Jsonnet file to JSON.
PathExpandFunc constructs a function that expands a leading ~ character to the current user's home directory.
SelectorLookupFunc constructs a function that applies a label selector to a map and returns true/false if there is a match.
SelectorMatchFunc constructs a function that applies a label selector to a map and returns true/false if there is a match.
TimestampFunc constructs a function that returns a string representation of the current date and time.
URLEncodeFunc constructs a function that applies URL encoding to a given string.

# Structs

No description provided by the author