package
3.4.0
Repository: https://github.com/rancher/k3d.git
Documentation: pkg.go.dev

# Functions

ExecPlugin executes a found plugin.
FilterNodes takes a string filter to return a filtered list of nodes.
FindPlugin tries to find the plugin executable on the filesystem.
GetFreePort tries to fetch an open port from the OS-Kernel.
HandlePlugin takes care of finding and executing a plugin based on the longest prefix.
ParseAPIPort parses/validates a string to create an exposeAPI struct from it.
SplitFiltersFromFlag separates a flag's value from the node filter, if there is one.
SplitKV splits an '='-delimited string into a key-value-pair (if any).
ValidArgsAvailableClusters is used for shell completion: proposes the list of existing clusters.
ValidArgsAvailableNodes is used for shell completion: proposes the list of existing nodes.
ValidArgsNodeRoles is used for shell completion: proposes the list of possible node roles.
ValidatePortMap validates a port mapping.
ValidateVolumeMount checks, if the source of volume mounts exists and if the destination is an absolute path - SRC: source directory/file -> tests: must exist - DEST: source directory/file -> tests: must be absolute path.