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(java.lang.String name)
Finds the
Container with the specified name. |
Container[] |
FabricService.getContainers()
Gets the existing
Container s. |
Container |
FabricService.getCurrentContainer()
Returns the
Container on which the method is executed. |
Container |
Container.getParent() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Container> |
Containers.containersForProfile(Container[] containers,
java.lang.String profileId) |
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,
java.lang.String profileId)
Returns true if the given container has the given profile directly (rather than inheritence)
|
static java.util.List<Container> |
Containers.containersForProfile(Container[] containers,
java.lang.String profileId) |
static java.lang.String |
Containers.createContainerName(Container[] containers,
java.lang.String profile,
java.lang.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) |
java.util.Set<java.lang.Integer> |
PortService.findUsedPortByContainer(Container container)
Returns all the registered ports of the
Container . |
java.util.Set<java.lang.Integer> |
PortService.findUsedPortByHost(Container container)
Returns all the registered ports for the address of the
Container . |
java.util.Set<java.lang.Integer> |
PortService.findUsedPortByHost(Container container,
PortService.Lock lock)
Returns all the registered ports for the address of the
Container . |
int |
PortService.lookupPort(Container container,
java.lang.String pid,
java.lang.String key)
Looks up the registry and returns a registered port.
|
static java.util.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,
java.lang.String pid,
java.lang.String key,
int port)
Registers a port to the registry.
|
int |
PortService.registerPort(Container container,
java.lang.String pid,
java.lang.String key,
int fromPort,
int toPort,
java.util.Set<java.lang.Integer> excludes)
Registers a port from the specified range to the registry.
|
void |
PortService.registerPort(Container container,
java.lang.String pid,
java.lang.String key,
int port,
PortService.Lock lock)
Registers a port 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,
java.lang.String pid)
Un-register the ports bound to the specific pid.
|
void |
PortService.unregisterPort(Container container,
java.lang.String pid,
java.lang.String key)
Un-register the port bound to the specified pid and key.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerAutoScaler.destroyContainers(java.lang.String profile,
int count,
java.util.List<Container> containers)
Destroy a number of containers from the given list of containers
|
Copyright © 2016 Red Hat. All Rights Reserved.