Package-level declarations

Types

Link copied to clipboard
data class AuthData(val username: String, val password: String)
Link copied to clipboard
data class JsonNodeAsServiceNode(val root: JsonNode, val ip: String = root["ip"].textValue(), val port: Int = root["port"].intValue(), val weight: Double = root["weight"].doubleValue(), val healthy: Boolean = root["healthy"].booleanValue(), val enabled: Boolean = root["enabled"].booleanValue(), val ephemeral: Boolean = root["ephemeral"].booleanValue(), val ingressLess: Boolean = !healthy || weight <= 0) : ServiceNode
Link copied to clipboard

https://nacos.io/docs/v1/open-api/?spm=5238cd80.461cdc5b.0.0.3121e37eYvAJeg#2.10

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

nacos 的一个服务

Link copied to clipboard
Link copied to clipboard
data class ResourceLocator(val serverAddr: String, val auth: AuthData? = null, val accessToken: String? = null, val namespaceId: String? = null, val groupName: String? = null, val clusterName: String? = null, val api: NacosApiVersion = NacosApiVersion.V23)