Module k8s_openapi::apimachinery::pkg::apis::meta::v1

source ·

Structs§

  • APIGroup contains the name, the supported versions, and the preferred version of a group.
  • APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.
  • APIResource specifies the name of a resource and whether it is namespaced.
  • APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
  • APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.
  • Condition contains details for one aspect of the current state of this API Resource.
  • DeleteOptions may be provided when deleting an API object.
  • FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.
  • FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
  • GroupVersion contains the “group/version” and “version” string of a version. It is made a struct to keep extensibility.
  • A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
  • A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
  • ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
  • ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
  • MicroTime is version of Time with microsecond level precision.
  • ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
  • OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
  • Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
  • ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
  • Status is a return value for calls that don’t return other objects.
  • StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
  • StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
  • Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

Enums§

  • Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
  • Event represents a single event to a watched resource.