Crate kube_core[][src]

Expand description

Crate with types and traits necessary for interacting with the Kubernetes API

This crate provides the minimal apimachinery necessary to make requests to the kubernetes API.

It does not export export a client, but it also has almost no dependencies.

Everything in this crate is re-exported from kube (even with zero features) under kube::core.

Re-exports

pub use dynamic::DynamicObject;
pub use crd::CustomResourceExt;
pub use gvk::GroupVersion;
pub use gvk::GroupVersionKind;
pub use gvk::GroupVersionResource;
pub use request::Request;
pub use watch::WatchEvent;

Modules

Traits and tyes for CustomResources

Type information structs for API discovery

Contains types for using resource kinds not known at compile-time.

Type information structs for dynamic resources.

Metadata structs used in traits, lists, and dynamic objects.

Generic object and objectlist wrappers.

A port of request parameter *Optionals from apimachinery/types.go

Request builder type for arbitrary api types

Generic api response types

Request builder types and parameters for subresources

Types for the watch api

Structs

An error response from the API.

Enums

Core error types.

Traits

An accessor trait for a kubernetes Resource.

Helper methods for resources.

Type Definitions

Convient alias for Result<T, Error>