• Kubernetes Submit Queue's avatar
    Merge pull request #62877 from deads2k/cli-34-describer · df489968
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 62982, 63075, 63067, 62877, 63141). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    make describers more generic from the CLI
    
    I've made this change very small so the intent and explanation make sense to people.
    
    Clients are not generic.  Client**Configs** are generic.  We faced this distinction in the apiserver and it took us a little to hurdle it.  When you try to provide a generic example or function, you need to provide Client**Config**, not a kube clientset.  The reason is that the code you're calling may have generated their own clientset, may want to use a dynamic one, or may want to a simple restclient.  As we seek to make `kubectl` primitives more generally applicable, this is an example we'll want to follow.  I suspect we'll be making more changes along these veins as we tease out the generic pieces of `kubectl ` to make a friendly CLI library.
    
    
    @kubernetes/sig-cli-maintainers 
    
    /hold
    
    Holding for a few days to make sure that people have time to read and digest.
    
    ```release-note
    NONE
    ```
    df489968
Name
Last commit
Last update
..
internalversion Loading commit data...
storage Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
customcolumn.go Loading commit data...
customcolumn_flags.go Loading commit data...
customcolumn_flags_test.go Loading commit data...
customcolumn_test.go Loading commit data...
flags.go Loading commit data...
humanreadable.go Loading commit data...
humanreadable_flags.go Loading commit data...
humanreadable_flags_test.go Loading commit data...
humanreadable_test.go Loading commit data...
interface.go Loading commit data...
json.go Loading commit data...
json_yaml_flags.go Loading commit data...
json_yaml_flags_test.go Loading commit data...
jsonpath.go Loading commit data...
jsonpath_flags.go Loading commit data...
jsonpath_flags_test.go Loading commit data...
kube_template_flags.go Loading commit data...
name.go Loading commit data...
name_flags.go Loading commit data...
name_flags_test.go Loading commit data...
printers.go Loading commit data...
tabwriter.go Loading commit data...
template.go Loading commit data...
template_flags.go Loading commit data...
template_flags_test.go Loading commit data...
template_test.go Loading commit data...
versioned.go Loading commit data...