package v1
- Alphabetic
- Public
- Protected
Type Members
- final case class APIGroup(name: String, versions: Seq[GroupVersionForDiscovery], preferredVersion: Option[GroupVersionForDiscovery] = None, serverAddressByClientCIDRs: Option[Seq[ServerAddressByClientCIDR]] = None) extends KObject with Product with Serializable
APIGroup contains the name, the supported versions, and the preferred version of a group.
- final case class APIGroupList(groups: Seq[APIGroup]) extends KObject with Product with Serializable
APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.
- final case class APIResource(name: String, verbs: Seq[String], namespaced: Boolean, kind: String, singularName: String, version: Option[String] = None, categories: Option[Seq[String]] = None, shortNames: Option[Seq[String]] = None, storageVersionHash: Option[String] = None, group: Option[String] = None) extends Product with Serializable
APIResource specifies the name of a resource and whether it is namespaced.
- final case class APIResourceList(groupVersion: String, resources: Seq[APIResource]) extends KObject with Product with Serializable
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.
- final case class APIVersions(serverAddressByClientCIDRs: Seq[ServerAddressByClientCIDR], versions: Seq[String]) extends KObject with Product with Serializable
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.
- final case class Condition(reason: String, status: String, lastTransitionTime: Time, message: String, type: String, observedGeneration: Option[Long] = None) extends Product with Serializable
Condition contains details for one aspect of the current state of this API Resource.
- final case class DeleteOptions(kind: String, apiVersion: String, orphanDependents: Option[Boolean] = None, preconditions: Option[Preconditions] = None, propagationPolicy: Option[String] = None, gracePeriodSeconds: Option[Long] = None, dryRun: Option[Seq[String]] = None) extends Product with Serializable
DeleteOptions may be provided when deleting an API object.
- final case class FieldsV1() extends Product with Serializable
FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.
The exact format is defined in sigs.k8s.io/structured-merge-diff
- final case class GroupVersionForDiscovery(groupVersion: String, version: String) extends Product with Serializable
GroupVersion contains the "group/version" and "version" string of a version.
GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.
- final case class LabelSelector(matchExpressions: Option[Seq[LabelSelectorRequirement]] = None, matchLabels: Option[Map[String, String]] = None) extends Product with Serializable
A label selector is a label query over a set of resources.
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.
- final case class LabelSelectorRequirement(key: String, operator: String, values: Option[Seq[String]] = None) extends Product with Serializable
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- final case class ListMeta(continue: Option[String] = None, remainingItemCount: Option[Long] = None, resourceVersion: Option[String] = None, selfLink: Option[String] = None) extends Product with Serializable
ListMeta describes metadata that synthetic resources must have, including lists and various status objects.
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
- final case class ManagedFieldsEntry(operation: Option[String] = None, manager: Option[String] = None, fieldsV1: Option[FieldsV1] = None, time: Option[Time] = None, apiVersion: Option[String] = None, fieldsType: Option[String] = None, subresource: Option[String] = None) extends Product with Serializable
ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
- final case class MicroTime(value: String) extends AnyVal with Product with Serializable
MicroTime is version of Time with microsecond level precision.
- final case class ObjectMeta(name: Option[String] = None, ownerReferences: Option[Seq[OwnerReference]] = None, creationTimestamp: Option[Time] = None, generation: Option[Long] = None, resourceVersion: Option[String] = None, generateName: Option[String] = None, deletionGracePeriodSeconds: Option[Long] = None, selfLink: Option[String] = None, finalizers: Option[Seq[String]] = None, annotations: Option[Map[String, String]] = None, managedFields: Option[Seq[ManagedFieldsEntry]] = None, labels: Option[Map[String, String]] = None, uid: Option[String] = None, namespace: Option[String] = None, deletionTimestamp: Option[Time] = None) extends Product with Serializable
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- final case class OwnerReference(name: String, uid: String, kind: String, apiVersion: String, blockOwnerDeletion: Option[Boolean] = None, controller: Option[Boolean] = None) extends Product with Serializable
OwnerReference contains enough information to let you identify an owning object.
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.
- final case class Preconditions(resourceVersion: Option[String] = None, uid: Option[String] = None) extends Product with Serializable
Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
- final case class ServerAddressByClientCIDR(clientCIDR: String, serverAddress: String) extends Product with Serializable
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
- final case class Status(kind: String, apiVersion: String, reason: Option[String] = None, code: Option[Int] = None, status: Option[String] = None, details: Option[StatusDetails] = None, metadata: Option[ListMeta] = None, message: Option[String] = None) extends Product with Serializable
Status is a return value for calls that don't return other objects.
- final case class StatusCause(field: Option[String] = None, message: Option[String] = None, reason: Option[String] = None) extends Product with Serializable
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
- final case class StatusDetails(name: Option[String] = None, causes: Option[Seq[StatusCause]] = None, uid: Option[String] = None, kind: Option[String] = None, retryAfterSeconds: Option[Int] = None, group: Option[String] = None) extends Product with Serializable
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response.
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.
- final case class Time(value: String) extends AnyVal with Product with Serializable
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.
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.
- final case class WatchEvent(object: RawExtension, type: String) extends Product with Serializable
Event represents a single event to a watched resource.
Value Members
- object APIGroup extends Serializable
- object APIGroupList extends Serializable
- object APIResource extends Serializable
- object APIResourceList extends Serializable
- object APIVersions extends Serializable
- object Condition extends Serializable
- object DeleteOptions extends Serializable
- object FieldsV1 extends Serializable
- object GroupVersionForDiscovery extends Serializable
- object LabelSelector extends Serializable
- object LabelSelectorRequirement extends Serializable
- object ListMeta extends Serializable
- object ManagedFieldsEntry extends Serializable
- object MicroTime extends Serializable
- object ObjectMeta extends Serializable
- object OwnerReference extends Serializable
- object Preconditions extends Serializable
- object ServerAddressByClientCIDR extends Serializable
- object Status extends Serializable
- object StatusCause extends Serializable
- object StatusDetails extends Serializable
- object Time extends Serializable
- object WatchEvent extends Serializable