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
List a collection of a resource
Watch a resource at a given version
Create an instance of a resource
Delete an instance of a resource
pub fn delete_collection(
&self,
dp: &DeleteParams,
lp: &ListParams
) -> Result<Request<Vec<u8>>, Error>
pub fn delete_collection(
&self,
dp: &DeleteParams,
lp: &ListParams
) -> Result<Request<Vec<u8>>, Error>
Delete a collection of a resource
Patch an instance of a resource
Requires a serialized merge-patch+json at the moment.
Subresources
Get an instance of the subresource
Patch 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