Expand description
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
.
Modules§
- Contains types for implementing admission controllers.
- Contains types useful for implementing custom resource conversion webhooks.
- Traits and tyes for CustomResources
- Type information structs for API discovery
- Kubernetes
Duration
s. - Contains types for using resource kinds not known at compile-time.
- Types for isolating deserialization failures. See
DeserializeGuard
. - Type information structs for dynamic resources.
- Type safe label selector logic
- 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
- Utilities for managing
CustomResourceDefinition
schemas - Request builder types and parameters for subresources
- Utils and helpers
- Types for the watch api
Structs§
- Information about a Kubernetes API resource
- Indicates that a
Resource
is cluster-scoped. - A wrapper type for K that lets deserializing the parent object succeed, even if the K is invalid.
- A Kubernetes duration.
- A dynamic representation of a kubernetes object
- Indicates that a
Resource
is of an indeterminate dynamic scope. - An error response from the API.
- Core information about a family of API Resources
- Core information about an API Resource.
- Represents a type-erased object resource.
- ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
- Indicates that a
Resource
is namespace-scoped. - Empty struct for when data should be discarded
- A standard Kubernetes object with
.spec
and.status
. - A generic Kubernetes object list
- ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Indicates failure of conversion to Expression
- A generic representation of any object with
ObjectMeta
. - A Kubernetes request builder
- Perform selection on a list of expressions
- A Kubernetes status object
- Indicates that a
Resource
is neither cluster-scoped nor namespace-scoped. - Type information that is flattened into every kubernetes object
Enums§
- A selector expression with existing operations
- Version parser for Kubernetes version patterns
- A raw event returned from a watch query
Traits§
- Extension trait that is implemented by kube-derive
- Helper trait for converting
ObjectMeta
into usefulPartialObjectMeta
variants - An accessor trait for a kubernetes Resource.
- Helper methods for resources.
- The scope of a
Resource
. - Selector extension trait for querying selector-like objects
Functions§
- Helper function that creates the
apiVersion
field from the group and version strings.