Skip to content

Setting custom cache options when using MultiNamespacedCacheBuilder? #2273

@tsaarni

Description

@tsaarni

There are two different forms of builders:

  • cache.BuilderWithOptions() allows setting custom cache.Options like TransformByObject
  • cache.MultiNamespacedCacheBuilder() allows namespace-limited watches

Is it possible to create NewCacheFunc that combines both of these features, e.g. by composing the builders?

I see that in main branch MultiNamespacedCacheBuilder is deprecated, and namespacing will be achieved via cache.Options so the conflict seems to be removed. Do you have initial release plans for the new API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions