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. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
Constructors
- Service()
- Service.fromJson(Map _json)
Properties
- apiVersion ↔ String
-
The API version for this call such as "serving.knative.dev/v1".
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- kind ↔ String
-
The kind of resource, in this case "Service".
read / write
- metadata ↔ ObjectMeta
-
Metadata associated with this Service, including name, namespace, labels,
and annotations.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- spec ↔ ServiceSpec
-
Spec holds the desired state of the Service (from the client).
read / write
- status ↔ ServiceStatus
-
Status communicates the observed state of the Service (from the
controller).
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited