Package io.fabric8.kubernetes.api.model
Class PodOS
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PodOS
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PodOSBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodOS extends Object implements io.fabric8.kubernetes.api.builder.Editable<PodOSBuilder>, KubernetesResource
PodOS defines the OS parameters of a pod.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodOSBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getName()
Name is the name of the operating system.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setName(String name)
Name is the name of the operating system.PodOSBuilder
toBuilder()
-
-
-
Constructor Detail
-
PodOS
public PodOS()
No args constructor for use in serialization
-
PodOS
public PodOS(String name)
-
-
Method Detail
-
getName
public String getName()
Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null
-
setName
public void setName(String name)
Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null
-
edit
public PodOSBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<PodOSBuilder>
-
toBuilder
public PodOSBuilder toBuilder()
-
-