Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface { // Set this option on the provided Options Set(*Options) }
Option is a strategy for updating Options.
var CleanupConditionally Option = OptionFunc(func(opts *Options) { opts.Cleanup = cleanup.Conditionally })
CleanupConditionally is an Option that sets Cleanup = cleanup.Conditionally.
var NoCleanup Option = OptionFunc(func(opts *Options) { opts.Cleanup = cleanup.None })
NoCleanup is an Option that disables config cleanup.
var Wait Option = OptionFunc(func(opts *Options) {
})
Wait configures the Options to wait for configuration to propagate. This method currently does nothing, due to https://github.com/istio/istio/issues/37148
type OptionFunc ¶
type OptionFunc func(*Options)
OptionFunc is a function-based Option.
func (OptionFunc) Set ¶
func (f OptionFunc) Set(opts *Options)
Set just invokes this function to update the Options.
Click to show internal directories.
Click to hide internal directories.