public interface ReleaseManager
Modifier and Type | Method and Description |
---|---|
ReleaseAnalysisReport |
createReport(org.springframework.cloud.skipper.domain.Release existingRelease,
org.springframework.cloud.skipper.domain.Release replacingRelease,
boolean initial,
boolean isForceUpdate,
List<String> appNamesToUpgrade)
Create a report of what apps should be updated and deleted upon upgrade.
|
org.springframework.cloud.skipper.domain.Release |
delete(org.springframework.cloud.skipper.domain.Release release)
Delete the release
|
org.springframework.cloud.skipper.domain.LogInfo |
getLog(org.springframework.cloud.skipper.domain.Release release)
Get the logs of the applications inside the release.
|
org.springframework.cloud.skipper.domain.LogInfo |
getLog(org.springframework.cloud.skipper.domain.Release release,
String appName)
Get the logs of a specific application inside the release.
|
Collection<String> |
getSupportedKinds()
Return a supported application kinds.
|
org.springframework.cloud.skipper.domain.Release |
install(org.springframework.cloud.skipper.domain.Release release)
Install the requested release.
|
org.springframework.cloud.skipper.domain.Release |
scale(org.springframework.cloud.skipper.domain.Release release,
org.springframework.cloud.skipper.domain.ScaleRequest scaleRequest)
Scale a release and return an original release.
|
org.springframework.cloud.skipper.domain.Release |
status(org.springframework.cloud.skipper.domain.Release release)
Get the status of the release, by querying the database.
|
Collection<String> getSupportedKinds()
org.springframework.cloud.skipper.domain.Release install(org.springframework.cloud.skipper.domain.Release release)
release
- the requested releaseReleaseAnalysisReport createReport(org.springframework.cloud.skipper.domain.Release existingRelease, org.springframework.cloud.skipper.domain.Release replacingRelease, boolean initial, boolean isForceUpdate, List<String> appNamesToUpgrade)
existingRelease
- the existing release that is deployedreplacingRelease
- the release that is to be deployed in place of the existing
releaseinitial
- the flag indicating this is initial report creationisForceUpdate
- the flag indicating the upgrade is by forceappNamesToUpgrade
- the application names to force upgradeorg.springframework.cloud.skipper.domain.Release delete(org.springframework.cloud.skipper.domain.Release release)
release
- the release to deleteorg.springframework.cloud.skipper.domain.Release status(org.springframework.cloud.skipper.domain.Release release)
ReleaseStateUpdateService
is
scheduled ot update the state in the database periodically.release
- the release to update state fororg.springframework.cloud.skipper.domain.LogInfo getLog(org.springframework.cloud.skipper.domain.Release release)
release
- the releaseorg.springframework.cloud.skipper.domain.LogInfo getLog(org.springframework.cloud.skipper.domain.Release release, String appName)
release
- the releaseappName
- the application nameorg.springframework.cloud.skipper.domain.Release scale(org.springframework.cloud.skipper.domain.Release release, org.springframework.cloud.skipper.domain.ScaleRequest scaleRequest)
release
- scaleRequest
- Copyright © 2019 Pivotal Software, Inc.. All rights reserved.