| Package | Description |
|---|---|
| io.fabric8.api |
| Modifier and Type | Method and Description |
|---|---|
Container[] |
Profile.getAssociatedContainers() |
Container[] |
Container.getChildren() |
Container |
CreateContainerBasicMetadata.getContainer() |
Container |
CreateContainerMetadata.getContainer() |
Container |
FabricService.getContainer(String name)
Finds the
Container with the specified name. |
Container[] |
FabricService.getContainers()
Gets the existing
Containers. |
Container |
FabricService.getCurrentContainer()
Returns the
Container on which the method is executed. |
Container |
Container.getParent() |
| Modifier and Type | Method and Description |
|---|---|
static List<Container> |
Containers.containersForProfile(Container[] containers,
String profileId) |
static List<Container> |
Containers.containersForProfile(Container[] containers,
String profileId,
String versionId) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Containers.containerHasProfile(Container container,
Profile profile)
Returns true if the given container has the given profile
|
static boolean |
Containers.containerHasProfile(Container container,
String profileId)
Returns true if the given container has the given profile directly (rather than inheritence)
|
static List<Container> |
Containers.containersForProfile(Container[] containers,
String profileId) |
static List<Container> |
Containers.containersForProfile(Container[] containers,
String profileId,
String versionId) |
static String |
Containers.createContainerName(Container[] containers,
String profile,
String scheme,
NameValidator nameValidator)
Creates a name for a new container given the current list of containers and the profile name.
|
static NameValidator |
Containers.createNameValidator(Container[] containers)
Creates a name validator that excludes any container names that already exist
|
void |
ContainerProvider.destroy(Container container)
Destroy the container
|
void |
FabricService.destroyContainer(Container container) |
void |
FabricService.destroyContainer(Container container,
boolean force) |
Set<Integer> |
PortService.findUsedPortByContainer(Container container)
Returns all the registered ports of the
Container. |
Set<Integer> |
PortService.findUsedPortByHost(Container container)
Returns all the registered ports for the address of the
Container. |
int |
PortService.lookupPort(Container container,
String pid,
String key)
Looks up the registry and returns a registered port.
|
static List<Profile> |
Containers.overlayProfiles(Container container)
Returns the effective list of profile ids for the current container;
that is the list of all profiles and descendant profiles in order in which their values
are to be applied.
|
void |
PortService.registerPort(Container container,
String pid,
String key,
int port)
Registers a port to the registry.
|
int |
PortService.registerPort(Container container,
String pid,
String key,
int fromPort,
int toPort,
Set<Integer> excludes)
Registers a port from the specified range to the registry.
|
void |
CreateContainerBasicMetadata.setContainer(Container container) |
void |
CreateContainerMetadata.setContainer(Container container) |
void |
ContainerProvider.start(Container container)
Start the container
|
void |
FabricService.startContainer(Container container) |
void |
FabricService.startContainer(Container container,
boolean force) |
void |
ContainerProvider.stop(Container container)
Stop the container
|
void |
FabricService.stopContainer(Container container) |
void |
FabricService.stopContainer(Container container,
boolean force) |
void |
PortService.unregisterPort(Container container)
Un-register the ports bound to the container.
|
void |
PortService.unregisterPort(Container container,
String pid)
Un-register the ports bound to the specific pid.
|
void |
PortService.unregisterPort(Container container,
String pid,
String key)
Un-register the port bound to the specified pid and key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerAutoScaler.destroyContainers(String profile,
int count,
List<Container> containers)
Destroy a number of containers from the given list of containers
|
Copyright © 2011–2014 Red Hat. All rights reserved.