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
|
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 |
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 forCopyright © 2019 Pivotal Software, Inc.. All rights reserved.