Kubernetes 异常配置检测框架
检测代码在膨胀 检测能力迭代需要加速 检测框架 Ver.2 { 动态定制 动态扩展 Ver.2 DSL DSL (Domain-Specific Language) • 领域特定语言指专注于某个应用程序领域的计算机语言 • 目标受众为非程序员、业务员或最终客户 典型的 DSL • 正则表达式 Ver.2 动态化 Dynamic Engine Command Policy 升级 1.12 1.16 后置检查 检测通过 检测未通过 修复 Demo 1 Kubernetes 典型异常 2 检测框架演进 3 生产实践 4 总结 Summary • 基于 DSL 的 Kubernetes 集群异常检测框架支撑了阿里云上万集群常态运行和关键运维动作执行 • 框架具有强通用性和扩展性,适用于多种集群版本、类型、场景 • 框架可实现零代码定制集群检查报告 •0 码力 | 31 页 | 9.57 MB | 1 年前3Spring Framwork Language Support v6.0.0-M2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.6. Bean Definition DSL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.7.1. Router DSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.7.2. MockMvc DSL. . . . . . . . or @get:Size(min=5, max=15), as described in this Stack Overflow response. 1.6. Bean Definition DSL Spring Framework supports registering beans in a functional way by using lambdas as an alternative0 码力 | 42 页 | 602.76 KB | 1 年前3Spring Framwork Language Support v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.6. Bean Definition DSL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.7.1. Router DSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.7.2. MockMvc DSL. . . . . . . . or @get:Size(min=5, max=15), as described in this Stack Overflow response. 1.6. Bean Definition DSL Spring Framework supports registering beans in a functional way by using lambdas as an alternative0 码力 | 42 页 | 603.79 KB | 1 年前3Kotlin Language Documentation 1.9.20
Compilation for Android Compilation of the source set hierarchy Build final native binaries (Experimental DSL) Declare binaries Configure binaries Build final native binaries Declare binaries Access binaries it works Show the value Offer proof Prepare for questions Be supportive Multiplatform Gradle DSL reference Id and version Top-level blocks Targets Source sets Compilations Dependencies Language next? Introduction Cognitive complexity What's next? Readability API consistency Use a builder DSL Use constructor-like functions where applicable Use member and extension functions appropriately0 码力 | 1299 页 | 32.44 MB | 1 年前3Kotlin 官方文档中文版 v1.9
Android 源代码集布局 添加依赖项 添加依赖项 添加 Android 依赖项 添加 iOS 依赖项 运行测试 构件编译项 配置编译项 构建最终原生二进制文件 多平台 Gradle DSL 参考 范例 FAQ 向团队介绍跨平台移动端开发 Kotlin 多平台兼容性指南 Kotlin 多平台移动端插件版本发布 平台 JVM Kotlin/JVM 入门 与 Java 比较 CocoaPods 集成 CocoaPods 概述 添加对 Pod 库的依赖 使用 Kotlin Gradle 项目作为 CocoaPods 依赖项 CocoaPods Gradle 插件 DSL 参考 Kotlin/Native 库 平台库 Kotlin/Native 开发动态库——教程 内存管理器 Kotlin/Native 内存管理 iOS 集成 迁移到新版内存管理器 旧版内存管理器 JavaScript 代码 动态类型 使用来自 npm 的依赖 在 JavaScript 中使用 Kotlin 代码 JavaScript 模块 Kotlin/JS 反射 类型安全的 HTML DSL 脚本 Kotlin 自定义脚本入门——教程 标准库 集合 集合概述 构造集合 迭代器 区间与数列 序列 集合操作概述 集合转换操作 过滤集合 加减操作符 分组 取集合的一部分0 码力 | 2049 页 | 45.06 MB | 1 年前3Kotlin 1.9.10 官方文档 中文版
Android 源代码集布局 添加依赖项 添加依赖项 添加 Android 依赖项 添加 iOS 依赖项 运行测试 构件编译项 配置编译项 构建最终原生二进制文件 多平台 Gradle DSL 参考 范例 FAQ 向团队介绍跨平台移动端开发 Kotlin 多平台兼容性指南 Kotlin 多平台移动端插件版本发布 平台 JVM Kotlin/JVM 入门 与 Java 比较 CocoaPods 集成 CocoaPods 概述 添加对 Pod 库的依赖 使用 Kotlin Gradle 项目作为 CocoaPods 依赖项 CocoaPods Gradle 插件 DSL 参考 Kotlin/Native 库 平台库 Kotlin/Native 开发动态库——教程 内存管理器 Kotlin/Native 内存管理 iOS 集成 迁移到新版内存管理器 旧版内存管理器 1.14 1.11.1.15 1.11.1.16 1.11.1.17 1.11.1.18 1.11.2 1.11.3 1.11.4 1.12 1.12.1 类型安全的 HTML DSL 脚本 Kotlin 自定义脚本入门——教程 标准库 集合 集合概述 构造集合 迭代器 区间与数列 序列 集合操作概述 集合转换操作 过滤集合 加减操作符 分组 取集合的一部分0 码力 | 3753 页 | 29.69 MB | 1 年前32019-2021 美团技术年货 前端篇
目前,业内主流的代码生成方案有两种,一种是通过训练神经网络,从图片或草图直 接生成代码,以微软 sketch2json 为代表;另一种是基于 Sketch 源文件,从中解析 出图层信息转化成 DSL 并生成代码,以 imgCook 为代表。经过实践,我们发现第 一种方案基于神经网络的代码生成算法虽然简单粗暴,但复杂层布局的准确率较低、 可解释程度不高导致后续无法持续优化。方案二中 Sketch 2. 方案介绍 如图所示,配置平台主要分成三块包括:设计稿转视图树(UI2DSL)、视图树转代码 (DSL2Code)、以及业务信息绑定,下面简单介绍一下每一块的作用。 ● 设计稿转 DSL 视图树(UI2DSL):将设计稿转化成平台无关的 DSL 视图树。 ● 视图树转代码(DSL2Code):将 DSL 视图树转化成基于 Flex 布局的 MTFlex- Box 静态代码。 ● 业务信息绑定:提供可视化配置工具,支持 MTFlexBox 静态代码绑定后台数 据、业务逻辑、以及曝光 / 点击等埋点逻辑。 2.1 设计稿转视图树(UI2DSL) UI2DSL 主要经历以下四个步骤: 前端 < 59 2.1.1 设计稿导入 在日常开发过程中,我们接触比较多的组件有按钮、标题、进度条、评分组件等,但 是 Sketch 数据源中并没有这些组件只有图层信息,图层是设计师在设计0 码力 | 738 页 | 50.29 MB | 1 年前3Kotlin 1.2 Language Documentation
coroutines for high scalability and offering an easy-to-use and idiomatic API. kotlinx.html is a DSL that can be used to build HTML in a Web application. It serves as an alternative to traditional templating Anko is a library providing a set of Kotlin-friendly wrappers around the Android APIs, as well as a DSL that lets you replace your layout .xml files with Kotlin code. Download and install Android Studio ERROR -> console.error(message) } } In 1.3 we reworked the entire multiplatform model. The new DSL we have for describing multiplatform Gradle projects is much more flexible, and we'll keep working0 码力 | 333 页 | 2.22 MB | 1 年前3Expressive Compile-time Parsers
png"; std::filesystem::path p = "C:"; return concat(concat(concat(p, "files"),"images"), "cat.png");DSL - Domain Specific Language A programming language tailored to solve problems within a specific domain context. Examples: • SQL • CSS • Regular Expressions (PCRE) • Make (makefile)DSL Example – Boost Spirit Boost Spirit library has a DSL for creating parsers. Example code from XML parser: text %= lexeme[+(char_ expressive DSL • Supports unicode strings • Can parse at runtime and compile-time More information available at this Meeting C++ talk: https://www.youtube.com/watch?v=Cb0j6DVmwzYLexy - DSL Create parsers0 码力 | 134 页 | 1.73 MB | 5 月前3Kotlin Language Documentation 1.3
coroutines for high scalability and o�ering an easy-to-use and idiomatic API. kotlinx.html is a DSL that can be used to build HTML in a Web application. It serves as an alternative to traditional templating ERROR -> console.error(message) } } In 1.3 we reworked the entire multiplatform model. The new DSL we have for describing multiplatform Gradle projects is much more �exible, and we'll keep working name }) } The @DslMarker annotation allows to restrict the use of receivers from outer scopes in a DSL context. Consider the canonical HTML builder example: table { tr { td { + "Text" }0 码力 | 597 页 | 3.61 MB | 1 年前3
共 524 条
- 1
- 2
- 3
- 4
- 5
- 6
- 53