[−][src]Struct kube::api::CrBuilder
A builder for CustomResource
Methods
impl CrBuilder
[src]
pub fn group(self, group: &str) -> Self
[src]
Set the api group of a custom resource
pub fn version(self, version: &str) -> Self
[src]
Set the api version of a custom resource
pub fn within(self, ns: &str) -> Self
[src]
Set the namespace of a custom resource
pub fn build(self) -> CustomResource
[src]
pub fn into_api<K>(self, client: APIClient) -> Api<K>
[src]
pub fn into_resource(self) -> Resource
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CrBuilder
impl Send for CrBuilder
impl Sync for CrBuilder
impl Unpin for CrBuilder
impl UnwindSafe for CrBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,