Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YAMLSpecLoader ¶
type YAMLSpecLoader struct {
// contains filtered or unexported fields
}
func NewYAMLSpecLoader ¶
func NewYAMLSpecLoader(windowPeriod time.Duration) YAMLSpecLoader
YAMLSpecLoader knows how to load YAML specs and converts them to a model.
func (YAMLSpecLoader) IsSpecType ¶
func (y YAMLSpecLoader) IsSpecType(ctx context.Context, data []byte) bool
func (YAMLSpecLoader) LoadSpec ¶
func (y YAMLSpecLoader) LoadSpec(ctx context.Context, data []byte) (*prometheus.SLOGroup, error)
Click to show internal directories.
Click to hide internal directories.