public interface StreamDeployer
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo |
environmentInfo() |
org.springframework.cloud.deployer.spi.app.AppStatus |
getAppStatus(String appDeploymentId)
Gets runtime application status
|
org.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> |
getAppStatuses(org.springframework.data.domain.Pageable pageable)
Returns application statuses of all deployed applications
|
org.springframework.cloud.skipper.domain.LogInfo |
getLog(String streamName)
Returns the logs of all the applications of the stream identified by the stream name.
|
org.springframework.cloud.skipper.domain.LogInfo |
getLog(String streamName,
String appName)
Returns the logs of a specific application in the stream identified by the stream name.
|
StreamDeployment |
getStreamInfo(String streamName)
Get stream information (including the deployment properties) for the given stream name.
|
List<org.springframework.cloud.deployer.spi.app.AppStatus> |
getStreamStatuses(String streamName)
Returns the deployed application statuses part for the streamName stream.
|
void |
scale(String streamName,
String appName,
int count,
Map<String,String> properties)
For a selected stream scales the number of appName instances to count.
|
Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> |
streamsStates(List<StreamDefinition> streamDefinitions)
Get the deployment states for a list of stream definitions
|
org.springframework.cloud.deployer.spi.app.DeploymentState |
streamState(String streamName)
Get the deployment state of a stream.
|
org.springframework.cloud.deployer.spi.app.DeploymentState streamState(String streamName)
streamName
- stream nameMap<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> streamsStates(List<StreamDefinition> streamDefinitions)
streamDefinitions
- list of stream definitionsorg.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> getAppStatuses(org.springframework.data.domain.Pageable pageable)
pageable
- Pagination informationorg.springframework.cloud.deployer.spi.app.AppStatus getAppStatus(String appDeploymentId)
appDeploymentId
- the id of the application instance running in the target runtime environmentList<org.springframework.cloud.deployer.spi.app.AppStatus> getStreamStatuses(String streamName)
streamName
- Stream name to retrieve the runtime application statues fororg.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo environmentInfo()
StreamDeployment getStreamInfo(String streamName)
streamName
- the name of the streamorg.springframework.cloud.skipper.domain.LogInfo getLog(String streamName)
streamName
- the stream nameorg.springframework.cloud.skipper.domain.LogInfo getLog(String streamName, String appName)
streamName
- the stream nameappName
- specific application name inside the streamCopyright © 2020 Pivotal Software, Inc.. All rights reserved.