v1

package
v0.5.50 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutionFromExecutionOptions

func NewExecutionFromExecutionOptions(options client.ExecuteOptions) testkube.Execution

func NewServer

func NewServer(repository result.Repository, scriptsClient *scriptscr.ScriptsClient, executorsClient *executorscr.ExecutorsClient) testkubeAPI

Types

type Metrics

type Metrics struct {
	Executions *prometheus.CounterVec
	Creations  *prometheus.CounterVec
	Abort      *prometheus.CounterVec
}

func NewMetrics

func NewMetrics() Metrics

func (Metrics) IncAbortScript

func (m Metrics) IncAbortScript(scriptType string, err error)

func (Metrics) IncCreateScript

func (m Metrics) IncCreateScript(scriptType string, err error)

func (Metrics) IncExecution

func (m Metrics) IncExecution(execution testkube.Execution)

Jump to

Keyboard shortcuts

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