- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for OptionFunc (0.09 sec)
-
pkg/test/framework/resource/config/apply/option.go
// Set this option on the provided Options Set(*Options) } // OptionFunc is a function-based Option. type OptionFunc func(*Options) // Set just invokes this function to update the Options. func (f OptionFunc) Set(opts *Options) { f(opts) } // NoCleanup is an Option that disables config cleanup. var NoCleanup Option = OptionFunc(func(opts *Options) { opts.Cleanup = cleanup.None })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 17 02:49:07 UTC 2022 - 1.5K bytes - Viewed (0)