Documentation ¶
Overview ¶
Package customize implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFromName ¶ added in v0.1.0
func ConfigFromName(cc *configv1.Customize, name string) *configv1.Customize_Config
ConfigFromName returns the config with the given name.
func ConfigsFromType ¶ added in v0.1.0
ConfigsFromType returns all configs with the given type.
Types ¶
type OptionSetting ¶ added in v0.1.0
type OptionSetting = func(config *Option)
OptionSetting is a function that sets a value on a Setting.
func WithCustomize ¶
func WithCustomize(customize *configv1.Customize) OptionSetting
WithCustomize sets the customize config.
Click to show internal directories.
Click to hide internal directories.