@RestController @RequestMapping(value="/streams/logs") public class StreamLogsController extends Object
Constructor and Description |
---|
StreamLogsController(StreamDeployer streamDeployer)
Construct Stream logs controller.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.skipper.domain.LogInfo |
getLog(String streamName) |
org.springframework.cloud.skipper.domain.LogInfo |
getLog(String streamName,
String appName) |
public StreamLogsController(StreamDeployer streamDeployer)
streamDeployer
- the deployer this controller uses to get the logs of
deployed stream apps@RequestMapping(value="{streamName}") public org.springframework.cloud.skipper.domain.LogInfo getLog(@PathVariable String streamName)
@RequestMapping(value="{streamName}/{appName}") public org.springframework.cloud.skipper.domain.LogInfo getLog(@PathVariable String streamName, @PathVariable String appName)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.