public class AppViewSnapshot extends Object
Constructor and Description |
---|
AppViewSnapshot(Map<String,ServiceSchema> servicesMap,
Map<String,ReplicationControllerSchema> controllerMap,
Map<String,PodSchema> podMap) |
Modifier and Type | Method and Description |
---|---|
Map<NamespaceAndAppPath,AppViewDetails> |
getApps() |
Map<String,ReplicationControllerSchema> |
getControllerMap() |
AppViewDetails |
getOrCreateAppView(String appPath,
String namespace) |
Map<String,PodSchema> |
getPodMap() |
Map<String,ServiceSchema> |
getServicesMap() |
List<PodSchema> |
podsForReplicationController(ReplicationControllerSchema controller) |
public AppViewSnapshot(Map<String,ServiceSchema> servicesMap, Map<String,ReplicationControllerSchema> controllerMap, Map<String,PodSchema> podMap)
public AppViewDetails getOrCreateAppView(String appPath, String namespace)
public Map<NamespaceAndAppPath,AppViewDetails> getApps()
public Map<String,ReplicationControllerSchema> getControllerMap()
public Map<String,ServiceSchema> getServicesMap()
public List<PodSchema> podsForReplicationController(ReplicationControllerSchema controller)
Copyright © 2011–2014 Red Hat. All rights reserved.