JobTemplateSpec class

JobTemplateSpec describes the data a Job should have when created from a template.

Constructors

JobTemplateSpec({ObjectMeta? metadata, JobSpec? spec})
The main constructor.
const
JobTemplateSpec.fromJson(Map<String, dynamic> json)
Creates a JobTemplateSpec from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata ObjectMeta?
Standard object's metadata of the jobs created from this template. 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 JobSpec?
Specification of the desired behavior of the job. 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 JobTemplateSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<JobTemplateSpec>
Creates a list of JobTemplateSpec from JSON data.