PodTemplateSpec class

PodTemplateSpec describes the data a pod should have when created from a template.

Constructors

PodTemplateSpec({ObjectMeta? metadata, PodSpec? spec})
Default constructor.
const
PodTemplateSpec.fromJson(Map<String, dynamic> json)
Creates a PodTemplateSpec from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata ObjectMeta?
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spec PodSpec?
Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
final

Methods

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

Operators

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