-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
在此更改中,将context.Context参数添加到多个函数中,以便于取消操作和传递请求特定值。主要修改包括: - 在ApplyYAML和DeleteYAML函数中添加context参数- 更新CRD相关函数以使用context参数 - 修改资源操作函数如CreateResource、UpdateResource和DeleteResource以支持context - 在控制器和处理器函数中传递context参数这些更改提高了系统的灵活性和响应能力,特别是在处理长时间运行的操作和需要传递用户特定信息的场景中。
- Loading branch information
Showing
23 changed files
with
223 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.