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
ConfigExtmethods. - retry
- Retry policy for Kubernetes API requests.
Structs§
- APIGroup
Discovery - APIGroupDiscovery holds information about which resources are being served for all version of the API Group. It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version. Versions are in descending order of preference, with the first version being the preferred entry.
- APIGroup
Discovery List - APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery. This is one of the types that can be returned from the /api and /apis endpoint and contains an aggregated list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers) that a cluster supports.
- APIResource
Discovery - APIResourceDiscovery provides information about an API resource for discovery.
- APISubresource
Discovery - APISubresourceDiscovery provides information about an API subresource for discovery.
- APIVersion
Discovery - APIVersionDiscovery holds a list of APIResourceDiscovery types that are served for a particular version within an API Group.
- Body
- A request body.
- Client
- Client for connecting with a Kubernetes cluster.
- Client
Builder - Builder for
Clientinstances with customized tower middleware. - Connection
- Represents a WebSocket connection.
Value returned by
Client::connect. - Discovery
Group Version Kind - GroupVersionKind unambiguously identifies a kind. This is a local copy for use in discovery types.
Enums§
- Auth
Error - Client auth errors
- Openssl
TlsError - Errors from OpenSSL TLS
- Upgrade
Connection Error - Possible errors from upgrading to a WebSocket connection
Traits§
Type Aliases§
- DynBody
- HTTP body of a dynamic backing type.