ServiceTemplateSpec class

Constructors

ServiceTemplateSpec({String version = 'v1', String kind = 'ServiceTemplate', List<ServiceTemplateVariable>? variables, required ServiceTemplateMetadata metadata, List<PortSpec>? ports, ContainerTemplateSpec? container, ExternalServiceTemplateSpec? external, List<AgentSpec>? agents})
ServiceTemplateSpec.fromJson(Map<String, dynamic> json)
factory

Properties

agents List<AgentSpec>
final
container ContainerTemplateSpec?
final
external ExternalServiceTemplateSpec?
final
hashCode int
The hash code for this object.
no setterinherited
kind String
final
metadata ServiceTemplateMetadata
final
ports List<PortSpec>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables List<ServiceTemplateVariable>?
final
version String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toServiceSpec({required Map<String, String> values}) ServiceSpec
toString() String
A string representation of this object.
inherited

Operators

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