Commit graph

6 commits

Author SHA1 Message Date
Vibhav Bobade
5a07055645 Add IsReachable to /pkg/kube/client to see if connected to the internet
Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
2019-08-27 04:11:04 +05:30
Jacob LeGrone
49987975a8
fix(test): wait for pods and record status
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-08-02 00:16:02 -04:00
Taylor Thomas
dd8222d7f2 Removes clientset method from interface in favor of the configuration struct
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-07-30 11:51:40 -06:00
Taylor Thomas
15fc57f8a3 ref(*): Refactors kube client to be a bit more friendly
This changes most of the KubeClient interface to only ever build objects once and
then pass in everything as lists of resources. As a consequence, we needed to refactor
several of the actions. I took the opportunity to refactor out some duplicated
code while I was in the same area

Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-07-30 11:51:39 -06:00
Taylor Thomas
1dac8421ef ref(kube): Renames Result type to ResourceList
`Result` is a misnomer and is going to be repurposed in a future commit for a
common result type for the different kube `Interface` methods

Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-07-30 11:51:39 -06:00
Adam Reese
0338576fc5
ref(pkg/kube): cleanup kube client interface
* move the main interface to it's own file
* removed summarizeKeptManifests() which was the last place kube.Get()
  was called
* when polling for hooks, use external types
* refactor out legacyschema
* refactor detecting selectors from object
* refactor creating test client

Signed-off-by: Adam Reese <adam@reese.io>
2019-05-15 12:31:47 -07:00