We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd3c3f commit 4093782Copy full SHA for 4093782
crates/stackable-versioned/src/apply_resource.rs
@@ -1,15 +1,13 @@
1
use k8s_openapi::Resource;
2
use kube::Client;
3
-use serde::Serialize;
4
-
5
/// Given a [kube::Client], apply a resource to the server.
6
///
7
-/// This is esspecially useful when you have custom requirements for deploying
+/// This is especially useful when you have custom requirements for deploying
8
/// CRDs to clusters which already have a definition.
9
10
/// For example, you want to prevent stable versions (v1) from having any
11
/// change.
12
-pub trait ApplyResource: Resource + Serialize {
+pub trait ApplyResource: Resource {
13
type Error;
14
15
/// Apply a resource to a cluster
0 commit comments