PodOS class

PodOS defines the OS parameters of a pod.

Constructors

PodOS({required String name})
Default constructor.
const
PodOS.fromJson(Map<String, dynamic> json)
Creates a PodOS from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a PodOS instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited