# Packages
Copyright © 2020-2023 The k3d Author(s)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
# Functions
ExecPlugin executes a found plugin.
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.
ParsePortExposureSpec parses/validates a string to create an exposePort struct from it.
No description provided by the author
PrintNodes prints a list of nodes, either as a table or as a JSON/YAML listing.
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).
StandardIOStreams returns an IOStreams from os.Stdin, os.Stdout.
ValidArgsAvailableClusters is used for shell completion: proposes the list of existing clusters.
ValidArgsAvailableNodes is used for shell completion: proposes the list of existing nodes.
ValidArgsAvailableRegistries is used for shell completions: proposes the list of existing registries.
ValidArgsNodeRoles is used for shell completion: proposes the list of possible node roles.
ValidatePortMap validates a port mapping.
validateRuntimeLabelKey validates a given label key is not reserved for internal k3d usage.
ValidateRuntimeUlimitKey validates a given ulimit key is valid.
# Type aliases
No description provided by the author