![JAR search and dependency download from the Maven repository](/logo.png)
io.k8s.api.apiserverinternal.v1alpha1.ServerStorageVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.apiserverinternal.v1alpha1;
import java.lang.String;
import java.util.List;
/**
* An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
*/
public class ServerStorageVersion {
public String apiServerID;
public List decodableVersions;
public String encodingVersion;
public List servedVersions;
/**
* The ID of the reporting API server.
*/
public ServerStorageVersion apiServerID(String apiServerID) {
this.apiServerID = apiServerID;
return this;
}
/**
* The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.
*/
public ServerStorageVersion decodableVersions(List decodableVersions) {
this.decodableVersions = decodableVersions;
return this;
}
/**
* The API server encodes the object to this version when persisting it in the backend (e.g., etcd).
*/
public ServerStorageVersion encodingVersion(String encodingVersion) {
this.encodingVersion = encodingVersion;
return this;
}
/**
* The API server can serve these versions. DecodableVersions must include all ServedVersions.
*/
public ServerStorageVersion servedVersions(List servedVersions) {
this.servedVersions = servedVersions;
return this;
}
public static ServerStorageVersion serverStorageVersion() {
return new ServerStorageVersion();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy