struct

Kubernetes::ServerStorageVersion

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

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

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

api_server_id

apiServerID is the ID of the reporting API server.

Source
api_server_id=(api_server_id : String | Nil)

apiServerID is the ID of the reporting API server.

Source
decodable_versions

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.

Source
decodable_versions=(decodable_versions : Array(String) | Nil)

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.

Source
encoding_version

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

Source
encoding_version=(encoding_version : String | Nil)

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

Source
served_versions

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

Source
served_versions=(served_versions : Array(String) | Nil)

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

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source