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

This is supported on crate feature client only.

New request with a resource’s url path

Convenience methods found from API conventions

This is supported on crate feature client only.

List a collection of a resource

This is supported on crate feature client only.

Watch a resource at a given version

This is supported on crate feature client only.

Get a single instance

This is supported on crate feature client only.

Create an instance of a resource

This is supported on crate feature client only.

Delete an instance of a resource

This is supported on crate feature client only.

Delete a collection of a resource

This is supported on crate feature client only.

Patch an instance of a resource

Requires a serialized merge-patch+json at the moment.

This is supported on crate feature client only.

Replace an instance of a resource

Requires metadata.resourceVersion set in data

Subresources

This is supported on crate feature client only.

Get an instance of the subresource

This is supported on crate feature client only.

Patch an instance of the subresource

This is supported on crate feature client only.

Replace an instance of the subresource

This is supported on crate feature client only.

Get a pod logs

This is supported on crate feature client only.

Create an eviction

This is supported on crate feature client only.

Attach to a pod

This is supported on crate feature client only.

Execute command in a pod

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.