openslo

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL