host

package
v0.0.0-...-01a409d Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MetricErrNotFound string = "metric not found"

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	// contains filtered or unexported fields
}

func NewHost

func NewHost(conf config.Config, params ...interface{}) (*Host, error)

func (*Host) GetAllMetricNames

func (h *Host) GetAllMetricNames(namespace string) ([]string, error)

func (*Host) QueryMetric

func (h *Host) QueryMetric(key string, selector labels.Selector) (int, *time.Time, map[string][]string, *config.GithubWorkflowConfig, bool, error)

TODO: Wrap all of these returned vars up in ot a struct

Jump to

Keyboard shortcuts

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