Struct kube::core::request::Request [−][src]
pub struct Request { pub url_path: String, }
Expand description
A Kubernetes request builder
Takes a base_path and supplies constructors for common operations
The extra operations all return http::Request
objects.
Fields
url_path: String
The path component of a url
Implementations
Convenience methods found from API conventions
This is supported on crate feature client
only.
This is supported on crate feature
client
only.List a collection of a resource
This is supported on crate feature client
only.
This is supported on crate feature
client
only.Watch a resource at a given version
This is supported on crate feature client
only.
This is supported on crate feature
client
only.Get a single instance
pub fn create(
&self,
pp: &PostParams,
data: Vec<u8, Global>
) -> Result<Request<Vec<u8, Global>>, Error>
This is supported on crate feature client
only.
pub fn create(
&self,
pp: &PostParams,
data: Vec<u8, Global>
) -> Result<Request<Vec<u8, Global>>, Error>
This is supported on crate feature
client
only.Create an instance of a resource
This is supported on crate feature client
only.
This is supported on crate feature
client
only.Delete an instance of a resource
pub fn delete_collection(
&self,
dp: &DeleteParams,
lp: &ListParams
) -> Result<Request<Vec<u8, Global>>, Error>
This is supported on crate feature client
only.
pub fn delete_collection(
&self,
dp: &DeleteParams,
lp: &ListParams
) -> Result<Request<Vec<u8, Global>>, Error>
This is supported on crate feature
client
only.Delete a collection of a resource
Subresources
pub fn get_subresource(
&self,
subresource_name: &str,
name: &str
) -> Result<Request<Vec<u8, Global>>, Error>
This is supported on crate feature client
only.
pub fn get_subresource(
&self,
subresource_name: &str,
name: &str
) -> Result<Request<Vec<u8, Global>>, Error>
This is supported on crate feature
client
only.Get an instance of the subresource
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Request
impl UnwindSafe for Request
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V