Service class

Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service.

Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets). The Service's controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own.

Constructors

Service({String? apiVersion, String? kind, ObjectMeta? metadata, ServiceSpec? spec, ServiceStatus? status})
Service.fromJson(Map json_)

Properties

apiVersion String?
The API version for this call.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
The kind of resource.
getter/setter pair
metadata ObjectMeta?
Metadata associated with this Service, including name, namespace, labels, and annotations.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spec ServiceSpec?
Holds the desired state of the Service (from the client).
getter/setter pair
status ServiceStatus?
Communicates the system-controlled state of the Service.
getter/setter pair

Methods

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

Operators

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