Module client

Source
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_errorsoidc
Possible errors when handling OIDC authentication.
scopeunstable-client
Scopes for unstable-client Client extension methods

Structs§

Body
A request body.
Client
Client for connecting with a Kubernetes cluster.
ClientBuilder
Builder for Client instances with customized tower middleware.
Connectionws
Represents a WebSocket connection. Value returned by Client::connect.
Status
A Kubernetes status object

Enums§

AuthError
Client auth errors
OAuthErroroauth
Possible errors when requesting token with OAuth
OpensslTlsError
Errors from OpenSSL TLS
RustlsTlsError
Errors from Rustls
UpgradeConnectionError
Possible errors from upgrading to a WebSocket connection

Traits§

ConfigExt
Extensions to Config for custom Client.

Type Aliases§

DynBody
HTTP body of a dynamic backing type.