Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BashCompletionFunc the custom bash completion function to complete object. // The bash completion mechanism will launch the __custom_func func if it cannot // find any completion and pass the object in the ${last_command} // variable. // // Additional tweaks: // - namespace-aware completion: whenever namespace has been specified before any namespace-bound parameter (such as --deployment) // we are narrowing the results to that specific namespace (see __kubectl_get) // - combining object sets: we can combine results of multiple kubectl_ctl get by calling __kubectl_get_object_combined with multiple types combined. BashCompletionFunc = `` /* 1280-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func AddFlagCompletion ¶
AddFlagCompletion adds custom bash completion function defined through bashCompletionFlags map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.