Discover modules > cue.dev/x/k8s.io > api > apiserverinternal > v1alpha1
v0.12.0
#ServerStorageVersion: ¶

An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.

"apiServerID"!: string ¶

apiServerID is the ID of the reporting API server.

"decodableVersions"!: [...string] ¶

decodableVersions are the encoding versions the API server can handle to decode. The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.

[...]: string
"encodingVersion"!: string ¶

encodingVersion the API server encodes the object to when persisting it in the backend (e.g., etcd).

"servedVersions"?: [...string] ¶

servedVersions lists all versions the API server can serve. DecodableVersions must include all ServedVersions.

[...]: string
#StorageVersion: ¶

Storage version of a specific resource.

"apiVersion": "internal.apiserver.k8s.io/v1alpha1" ¶

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

"kind": "StorageVersion" ¶

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

"metadata"!: v1.#ObjectMeta ¶

metadata is the standard object metadata. The name is <group>.<resource>.

"spec"?: #StorageVersionSpec ¶

spec is an empty spec. It is here to comply with Kubernetes API style.

"status"?: #StorageVersionStatus ¶

status on the version the API server instance can decode from and encode objects to when persisting objects in the backend.

#StorageVersionCondition: ¶

Describes the state of the storageVersion at a certain point.

"lastTransitionTime"?: v1.#Time ¶

lastTransitionTime is the last time the condition transitioned from one status to another.

"message"!: string ¶

message is a human readable string indicating details about the transition.

"observedGeneration"?: int64 & int ¶

observedGeneration represents the .metadata.generation that the condition was set based upon, if field is set.

"reason"!: string ¶

reason for the condition's last transition.

"status"!: string ¶

status of the condition, one of True, False, Unknown.

"type"!: string ¶

type of the condition.

#StorageVersionList: ¶

A list of StorageVersions.

"apiVersion": "internal.apiserver.k8s.io/v1alpha1" ¶

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

"items"!: [...#StorageVersion] ¶

Items holds a list of StorageVersion

[...]: #StorageVersion
"kind": "StorageVersionList" ¶

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

"metadata"?: v1.#ListMeta ¶

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

#StorageVersionSpec: {} ¶

StorageVersionSpec is an empty spec.

#StorageVersionStatus: ¶

API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.

"commonEncodingVersion"?: string ¶

commonEncodingVersion is set to an encoding storage version if all API server instances share that same version. If they don't share one storage version, this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.

"conditions"?: [...#StorageVersionCondition] ¶

conditions lists the latest available observations of the storageVersion's state.

[...]: #StorageVersionCondition
"storageVersions"?: [...#ServerStorageVersion] ¶

storageVersions lists the reported versions per API server instance.

[...]: #ServerStorageVersion

Source files

  • schema.cue