Skip to content
Snippets Groups Projects
  1. Oct 17, 2018
    • Thong Kuah's avatar
      DRY up *_clients methods · 9342197a
      Thong Kuah authored
      Build using `define_method` directly from the constant, saves us writing
      api_groups strings twice.
      9342197a
    • Thong Kuah's avatar
      Split hashed_clients into one per api_group · 71a9e1d1
      Thong Kuah authored
      Essentially make #build_kubeclient do less.
      
      Should be much clearer now
      71a9e1d1
    • Thong Kuah's avatar
      Update all usages of KubeClient · 772461e1
      Thong Kuah authored
      Find and replace everywhere we pass in `api_groups` to KubeClient, as no
      longer needed
      772461e1
    • Thong Kuah's avatar
      Remove api_groups from KubeClient constructor · 7a1ffc31
      Thong Kuah authored
      We should have access to #core_client, #rbac_client,
      and #extensions_client without having to pass in an awkward array.
      
      Also change api_version to default_api_version, which allows us to use a
      different version for an individual client. Special case for
      apis/extensions which only go up to v1beta1
      
      Makes #hashed_client private
      
      Removes the #clients and #discover! methods which are un-used
      7a1ffc31
  2. Oct 16, 2018
  3. Oct 15, 2018
Loading