k8s-client-examples:使用 Kubernetes API 构建东西-源码

上传者: 42097508 | 上传时间: 2021-09-04 17:17:19 | 文件大小: 15.56MB | 文件类型: ZIP
k8s-client-examples 使用 Kubernetes API 构建东西 Kubernetes 是一个强大的平台,您可以在上面(并与之一起)创建各种工具和客户端。 幸运的是,在针对 Kubernetes API 进行编程时有很多选择。 不幸的是,这些选项可能会被大量 API 淹没,这可能会让潜在的开发人员没有明确的方向。 这个 repo 突出了 Kubernetes 作为平台的可扩展性。 它提供了不同选项的不同示例和演练,从构建简单的客户端到 Kubernetes 本身的更复杂的扩展。 虽然这里介绍的概念可以应用于任何可以访问 Kubernetes API 的语言,但讨论和代码示例侧重于 Go 编程语言。 例子 在此 repo 中,您将找到一个人为的 PVC 观察器示例,它监视已安装 PVC 的声称大小: 去 - 使用Watcher简单实现 - 使用控制器的 Go 实

文件下载

资源详情

[{"title":"( 36 个子文件 15.56MB ) k8s-client-examples:使用 Kubernetes API 构建东西-源码","children":[{"title":"k8s-client-examples-master","children":[{"title":"Gopkg.toml <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"go","children":[{"title":"pvcwatch-ctl","children":[{"title":"go.mod <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 39.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"pvcwatch","children":[{"title":"go.mod <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 39.12KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"podlist","children":[{"title":"go.mod <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 39.12KB </span>","children":null,"spread":false},{"title":"maing.go <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Gopkg.lock <span style='color:#111;'> 11.28KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"python","children":[{"title":"pvc_watch.py <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"PVCWatch.java <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"bcprov-ext-jdk15on-1.59.jar <span style='color:#111;'> 3.97MB </span>","children":null,"spread":false},{"title":"gson-2.6.2.jar <span style='color:#111;'> 224.27KB </span>","children":null,"spread":false},{"title":"commons-codec-1.10.jar <span style='color:#111;'> 277.52KB </span>","children":null,"spread":false},{"title":"logging-interceptor-2.7.5.jar <span style='color:#111;'> 7.57KB </span>","children":null,"spread":false},{"title":"junit-4.12.jar <span style='color:#111;'> 307.55KB </span>","children":null,"spread":false},{"title":"client-java-proto-1.0.0-beta3-SNAPSHOT.jar <span style='color:#111;'> 6.31MB </span>","children":null,"spread":false},{"title":"client-java-util-1.0.0-beta3.jar <span style='color:#111;'> 48.64KB </span>","children":null,"spread":false},{"title":"joda-time-2.9.3.jar <span style='color:#111;'> 613.10KB </span>","children":null,"spread":false},{"title":"okio-1.6.0.jar <span style='color:#111;'> 64.38KB </span>","children":null,"spread":false},{"title":"okhttp-2.7.5.jar <span style='color:#111;'> 323.28KB </span>","children":null,"spread":false},{"title":"hamcrest-core-1.3.jar <span style='color:#111;'> 43.97KB </span>","children":null,"spread":false},{"title":"slf4j-api-1.7.7.jar <span style='color:#111;'> 28.57KB </span>","children":null,"spread":false},{"title":"commons-lang3-3.7.jar <span style='color:#111;'> 487.92KB </span>","children":null,"spread":false},{"title":"swagger-annotations-1.5.12.jar <span style='color:#111;'> 20.12KB </span>","children":null,"spread":false},{"title":"commons-compress-1.11.jar <span style='color:#111;'> 415.67KB </span>","children":null,"spread":false},{"title":"client-java-api-1.0.0-beta3-SNAPSHOT.jar <span style='color:#111;'> 4.06MB </span>","children":null,"spread":false},{"title":"snakeyaml-1.18.jar <span style='color:#111;'> 277.67KB </span>","children":null,"spread":false}],"spread":false},{"title":"PVCList.java <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明