Documentation ¶
Overview ¶
Package tool provides convenience helpers useful to the lxkns CLI tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReflectValuesSlice ¶
ReflectValuesSlice returns a slice of reflect.Value objects for the specified slice of elements.
func Sort ¶
Sort sorts a copy of the passed slice using the specified less function and returns the sorted copy.
func SortRootNamespaces ¶
SortRootNamespaces sorts the specified slice of model.Namespace objects by their IDs and then returns the sorted list as a slice consisting of reflection values for the individual namespace objects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.