Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move kube -> kube-client and try to make a facade crate (#652)
* move kube -> kube-client and try to make a facade crate Signed-off-by: clux <sszynrae@gmail.com> * move relative imports from kube-runtime -> kube-client Signed-off-by: clux <sszynrae@gmail.com> * client: fd -e rs | xargs sed -i 's/kube\:\:/kube_client\:\:/g' also add a standalone readme Signed-off-by: clux <sszynrae@gmail.com> * kube-derive path correcting (now always points at kube-core) Signed-off-by: clux <sszynrae@gmail.com> * kube-derive to point dev-deps at kube-core as well Signed-off-by: clux <sszynrae@gmail.com> * fix kube not re-exporting config when client feature set Signed-off-by: clux <sszynrae@gmail.com> * Update kube/src/lib.rs Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> * Update kube-client/README.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> * ensure kube::core == kube-client::core == kube-core so that we can use same paths equally depending on where we require them Signed-off-by: clux <sszynrae@gmail.com> * add #[kube(kube_crate = "kube")] attr defaults to kube and will append ::core if kube or kube_client but users can also use it with kube_core directly Signed-off-by: clux <sszynrae@gmail.com> * revert change to kube-dervive dev-dependencies they need to look like they came from the facade crate Signed-off-by: clux <sszynrae@gmail.com> * rename to #[kube(kube...)] and document Signed-off-by: clux <sszynrae@gmail.com> * doc tweaks and fixes Signed-off-by: clux <sszynrae@gmail.com> * start writing an architecture md Signed-off-by: clux <sszynrae@gmail.com> * fix imports from new events moudle after crate-split Signed-off-by: clux <sszynrae@gmail.com> * architecture mostly done Signed-off-by: clux <sszynrae@gmail.com> * kube root crate documentation and fmt Signed-off-by: clux <sszynrae@gmail.com> * maintain kube doc imports from kube-client Signed-off-by: clux <sszynrae@gmail.com> * use kube imports in examples Signed-off-by: clux <sszynrae@gmail.com> * Allow `#[derive(CustomResource)]` to take an arbitrary path to `kube_core` (#658) * Allow `#[derive(CustomResource)]` to take an arbitrary path to `kube_core` Signed-off-by: Teo Klestrup Röijezon <teo@nullable.se> * Update kube-derive/src/lib.rs Co-authored-by: Eirik A <sszynrae@gmail.com> Co-authored-by: Eirik A <sszynrae@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> * Update kube-derive/src/lib.rs Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> minor doc improvements Signed-off-by: clux <sszynrae@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> Update examples/README.md Co-authored-by: kazk <kazk.dev@gmail.com> Signed-off-by: clux <sszynrae@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> Update architecture.md Co-authored-by: kazk <kazk.dev@gmail.com> * conditions::is_accepted for crds with await_condition (#659) * add conditions::is_accepted for crds - closes #655 Signed-off-by: clux <sszynrae@gmail.com> * rename to established based on new information + timout guard Signed-off-by: clux <sszynrae@gmail.com> * simplify a bit Signed-off-by: clux <sszynrae@gmail.com> * traitify condition Signed-off-by: clux <sszynrae@gmail.com> * docs for Condition fn trait Signed-off-by: clux <sszynrae@gmail.com> * add example for await_condition as well Signed-off-by: clux <sszynrae@gmail.com> * fix pedantic lints Signed-off-by: clux <sszynrae@gmail.com> * add root docs for condition waiting and fill doc gaps in runtime Signed-off-by: clux <sszynrae@gmail.com> * runtime::events: remove client validation + simplify module (#662) - simpler names for snappier docs - removes client side validation - see #654 - everything in one file in root (200 lines after all) - avoids clippy lint Signed-off-by: clux <sszynrae@gmail.com> * Update architecture.md Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de> Update architecture.md Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de> Update architecture.md Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de> Signed-off-by: clux <sszynrae@gmail.com> * change core example in kube-client root Signed-off-by: clux <sszynrae@gmail.com> * add overlaps and crate delineation at the end Signed-off-by: clux <sszynrae@gmail.com> * Events api improvements (#663) * add Resource::object_ref helper to simplify event recording Signed-off-by: clux <sszynrae@gmail.com> * a few more simplifications to events recorder Signed-off-by: clux <sszynrae@gmail.com> * fmt Signed-off-by: clux <sszynrae@gmail.com> * clippy + broken doc links Signed-off-by: clux <sszynrae@gmail.com> * one line clarification Signed-off-by: clux <sszynrae@gmail.com> * remove remnants of derive feature from kube-client Signed-off-by: clux <sszynrae@gmail.com> * only clone what is necessary Signed-off-by: clux <sszynrae@gmail.com> * code review doc comments Signed-off-by: clux <sszynrae@gmail.com> * 2021 edition (#664) Signed-off-by: clux <sszynrae@gmail.com> Co-authored-by: kazk <kazk.dev@gmail.com> Co-authored-by: Teo Klestrup Röijezon <teo.roijezon@stackable.de>
- Loading branch information
1 parent
015979b
commit 8effb4f
Showing
76 changed files
with
1,067 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.