Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecommendedOptions ¶
type RecommendedOptions struct { *genericoptions.RecommendedOptions // Custom options for onex project. ExternalAdmissionInitializers func(c *genericapiserver.RecommendedConfig) ([]admission.PluginInitializer, error) }
RecommendedOptions contains the recommended options for running an API server. If you add something to this list, it should be in a logical grouping. Each of them can be nil to leave the feature unconfigured on ApplyTo.
func NewRecommendedOptions ¶
func NewRecommendedOptions(prefix string, codec runtime.Codec) *RecommendedOptions
func (*RecommendedOptions) ApplyTo ¶
func (o *RecommendedOptions) ApplyTo(config *genericapiserver.RecommendedConfig) error
ApplyTo adds RecommendedOptions to the server configuration. pluginInitializers can be empty, it is only need for additional initializers.
Click to show internal directories.
Click to hide internal directories.