Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WithStop (0.38 sec)

  1. pkg/kube/krt/collection.go

    func WithObjectAugmentation(fn func(o any) any) CollectionOption {
    	return func(c *collectionOptions) {
    		c.augmentation = fn
    	}
    }
    
    // WithStop sets a custom stop channel so a collection can be terminated when the channel is closed
    func WithStop(stop <-chan struct{}) CollectionOption {
    	return func(c *collectionOptions) {
    		c.stop = stop
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top