# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Make a copy of a string map if the source map is nil, the result is an empty map.
DNSSanitize santizies the name string for RFC 1123 DNS format.
DockerSanitize sanitizes the name string (which is assumed to be a ValidName) to make it usable as a docker image name (no spaces and special chars other than - and .
No description provided by the author
No description provided by the author
Get the number of milliseconds since epoch for the time.
Get the external address with port when running under kubernetes.
No description provided by the author
Get the shard index based on the key and number of shards.
Get the time to wait based on the interval and offset.
alphanumeric plus -_.
HostnameSanitize makes a valid hostname, for which the rules are the same as DNSSanitize, but it cannot end in '-' and cannot be > 63 digits.
No description provided by the author
IsLatitudeValid checks that the latitude is within accepted ranges.
IsLongitudeValid checks that the longitude is within accepted ranges.
K8SLabelValueSanitize sanitizes a string to use as a metadata label value Label values must be 63 chars or less (can be empty), must begin and end with alphanumerics [a-z0-9A-Z], and may contain dashes, underscores, dots, and alphanumerics.
No description provided by the author
No description provided by the author
No description provided by the author
Namespaces are limited to 63 characters and cannot end in "-".
No description provided by the author
No description provided by the author
open opens the specified URL in the default browser of the user.
No description provided by the author
No description provided by the author
No description provided by the author
RemoveExtension removes extension and all trailing dots after a filename.
No description provided by the author
This is for figuring out the "external" address when running under kubernetes, which is really the internal CNI address that containers can use to talk to each other.
SetExtension adds an extension to path if the basename of path has a filename.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnCamelCase converts camel case to lowercase separated by underscore.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
walk through the map of names and values and validate the values return an error about which key had invalid value.
No description provided by the author
Valid CLI args must be all lowercase, and my only contain alphanumeric and period, and in the case of repeated objects, colons.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Name to clear map/list for CLI.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
EmptyStringJsonNumber behaves like JsonNumber for valid numbers, but treats the empty string differently.