开发者社区 问答 正文

Predicate(过滤器)是什么?

已解决

Predicate(过滤器)是什么?

展开
收起
与时俱进的探索者 2022-04-11 23:19:19 1664 分享 版权
1 条回答
写回答
取消 提交回答
  • 推荐回答

    Predicate(过滤器)是 Controller.Watch 的可选参数,用于过滤事件。其接口与部分实现在 pkg/predicate/predicate.go 下。

    以上摘自《云原生应用开发:Operator原理与实践》,下载地址:https://developer.aliyun.com/ebook/download/7464

    2022-04-12 16:10:25
    赞同 展开评论