Available on crate feature
client
only.Expand description
API client for interacting with the Kubernetes API
The Client
uses standard kube error handling.
This client can be used on its own or in conjuction with the Api
type for more structured interaction with the kubernetes API.
The Client
can also be used with Discovery
to dynamically
retrieve the resources served by the kubernetes API.
Modules§
- middleware
- Middleware types returned from
ConfigExt
methods. - oidc_
errors oidc
- Possible errors when handling OIDC authentication.
- scope
unstable-client
- Scopes for
unstable-client
Client
extension methods
Structs§
- Body
- A request body.
- Client
- Client for connecting with a Kubernetes cluster.
- Client
Builder - Builder for
Client
instances with customized tower middleware. - Connection
ws
- Represents a WebSocket connection.
Value returned by
Client::connect
. - Status
- A Kubernetes status object
Enums§
- Auth
Error - Client auth errors
- OAuth
Error oauth
- Possible errors when requesting token with OAuth
- Openssl
TlsError - Errors from OpenSSL TLS
- Rustls
TlsError - Errors from Rustls
- Upgrade
Connection Error - Possible errors from upgrading to a WebSocket connection
Traits§
Type Aliases§
- DynBody
- HTTP body of a dynamic backing type.