Module kube_client::api

source ·
Expand description

API helpers for structured interaction with the Kubernetes API

Modules§

  • API helpers for get-or-create and get-and-modify patterns

Structs§

  • The generic Api abstraction
  • Information about a Kubernetes API resource
  • Parameters for attaching to a container in a Pod.
  • Represents an attached process in a container for attach and exec.
  • Common query parameters for delete calls
  • A dynamic representation of a kubernetes object
  • Params for evictable objects
  • Common query parameters used in get calls
  • 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}.
  • Common query parameters used in list/delete calls on collections
  • Params for logging
  • 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.
  • A generic representation of any object with ObjectMeta.
  • Common query parameters for patch calls
  • Manages port-forwarded streams.
  • Common query parameters for put/post calls
  • Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
  • A Kubernetes request builder
  • ScaleSpec describes the attributes of a scale subresource.
  • ScaleStatus represents the current status of a scale subresource.
  • TerminalSize define the size of a terminal
  • Type information that is flattened into every kubernetes object
  • Common query parameters used in watch calls on collections

Enums§

  • Describes changes that should be applied to a resource
  • Propagation policy when deleting single objects
  • The validation directive to use for fieldValidation when using server-side apply.
  • Controls how the resource version parameter is applied for list calls
  • A raw event returned from a watch query

Traits§

  • Marker trait for objects that has attach
  • Marker trait for objects that support the ephemeral containers sub resource.
  • Marker trait for objects that can be evicted
  • Marker trait for objects that has exec
  • Marker trait for objects that has logs
  • Helper trait for converting ObjectMeta into useful PartialObjectMeta variants
  • Marker trait for objects that has portforward
  • An accessor trait for a kubernetes Resource.
  • Helper methods for resources.