Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RuntimeConfigHandler ¶
func RuntimeConfigHandler(s *Service, defaultLimits config.Limits) func(w http.ResponseWriter, r *http.Request)
path:/runtime_config Current Runtime Config (incl. Overrides) path:/runtime_config?mode=diff Current Runtime Config (show only values that differ from the defaults)
func YAMLMarshalUnmarshal ¶
YAMLMarshalUnmarshal utility function that converts a YAML interface in a map doing marshal and unmarshal of the parameter note: yaml.v2 default map model like map[interface{}]interface{} upgrade to v3, map model breaking change to map[string]interface{}
Types ¶
type Service ¶
include Shard retention polices and Index retention polices
func NewService ¶
func NewService(config config.RuntimeConfig, logger *logger.Logger) *Service
Click to show internal directories.
Click to hide internal directories.