| Modifier and Type | Method and Description |
|---|---|
static Snapshot |
Snapshot.create(Iterable<Cds.Cluster> clusters,
Iterable<Eds.ClusterLoadAssignment> endpoints,
Iterable<Lds.Listener> listeners,
Iterable<Rds.RouteConfiguration> routes,
Iterable<Cert.Secret> secrets,
String version)
Returns a new
Snapshot instance that is versioned uniformly across all resources. |
static Snapshot |
Snapshot.create(Iterable<Cds.Cluster> clusters,
String clustersVersion,
Iterable<Eds.ClusterLoadAssignment> endpoints,
String endpointsVersion,
Iterable<Lds.Listener> listeners,
String listenersVersion,
Iterable<Rds.RouteConfiguration> routes,
String routesVersion,
Iterable<Cert.Secret> secrets,
String secretsVersion)
Returns a new
Snapshot instance that has separate versions for each resource type. |
static Snapshot |
Snapshot.createEmpty(String version)
Creates an empty snapshot with the given version.
|
Snapshot |
SimpleCache.getSnapshot(T group)
Returns the most recently set
Snapshot for the given node group. |
Snapshot |
SnapshotCache.getSnapshot(T group)
Returns the most recently set
Snapshot for the given node group. |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleCache.setSnapshot(T group,
Snapshot snapshot)
Set the
Snapshot for the given node group. |
void |
SnapshotCache.setSnapshot(T group,
Snapshot snapshot)
Set the
Snapshot for the given node group. |
Copyright © 2018 The Envoy Project. All rights reserved.