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 PodOSBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()Name is the name of the operating system.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)Name is the name of the operating system.PodOSBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PodOSBuilder>
-
toBuilder
public PodOSBuilder toBuilder()
-
-