Class ServiceDeployer
-
- All Implemented Interfaces:
public final class ServiceDeployer负责在阿里云上部署或者升级服务
CJ
-
-
Constructor Summary
Constructors Constructor Description ServiceDeployer(Set<KeyPair> keyPair, String proxyJump, Function3<ClientSession, ServiceNode, Service, Unit> sshPrepareWork, Duration sleepAfterSuspend, Function2<SshClient, ServiceNode, ClientSession> clientSessionFetcher)
-
Method Summary
Modifier and Type Method Description final Unitdeploy(Service service, Collection<IngressEntrance> entrances, Deployment deployment, LoggingApi logForService, Function4<ServiceNode, LogLevel, String, Throwable, Unit> logForNode, Function1<List<ServiceNode>, Unit> nodesAware, Function2<ServiceNode, NodeDeployStage, Unit> nodeStageChanger, Boolean restart)流量下线
检查流量
更新服务
health check
流量上线
-
-
Constructor Detail
-
ServiceDeployer
ServiceDeployer(Set<KeyPair> keyPair, String proxyJump, Function3<ClientSession, ServiceNode, Service, Unit> sshPrepareWork, Duration sleepAfterSuspend, Function2<SshClient, ServiceNode, ClientSession> clientSessionFetcher)
-
-
Method Detail
-
deploy
final Unit deploy(Service service, Collection<IngressEntrance> entrances, Deployment deployment, LoggingApi logForService, Function4<ServiceNode, LogLevel, String, Throwable, Unit> logForNode, Function1<List<ServiceNode>, Unit> nodesAware, Function2<ServiceNode, NodeDeployStage, Unit> nodeStageChanger, Boolean restart)
流量下线
检查流量
更新服务
health check
流量上线
-
-
-