NacosService

class NacosService(serviceName: String, locator: ResourceLocator, waitAfterSuspend: Duration? = null) : IngressEntrance

nacos 的一个服务

Author

CJ

Constructors

Link copied to clipboard
constructor(serviceName: String, locator: ResourceLocator, waitAfterSuspend: Duration? = null)

Properties

Link copied to clipboard
open override val ingressName: String

流量名称

Functions

Link copied to clipboard
open override fun checkWorkStatus(node: ServiceNode): Boolean

检查工作状态

Link copied to clipboard
open override fun discoverNodes(service: Service): List<ServiceNode>
Link copied to clipboard
open override fun resumedNode(serviceNode: ServiceNode)

恢复流量

Link copied to clipboard
open override fun suspendNode(serviceNode: ServiceNode)

暂停将流量进入这个节点

Link copied to clipboard