Versions in this module Expand all Collapse all v0 v0.11.0 Jun 3, 2022 Changes in this version + type YAMLSpecLoader struct + func NewYAMLSpecLoader(windowPeriod time.Duration) YAMLSpecLoader + func (y YAMLSpecLoader) IsSpecType(ctx context.Context, data []byte) bool + func (y YAMLSpecLoader) LoadSpec(ctx context.Context, data []byte) (*prometheus.SLOGroup, error)