Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCache ¶
NewCache initialize a custom cache used to auto convert labelSelector to fieldSelector when call List func. Use this func with NewManager the same time, otherwise it will not take effect.
func NewManager ¶
func NewManager(config *rest.Config, options manager.Options, objects []client.Object) (manager.Manager, error)
NewManager initialize a custom controller runtime manager with specified options to add index for specified objects which convert labelSelector to fieldSelector because of controller runtime NOT support add index for labelSelector. Be care of only single fieldSelector is supported for now when to call List func which is limited by client-go's implementation. Refer to: https://github.com/kubernetes/kubernetes/pull/109334
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.