plugin

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultJobCollector

func NewDefaultJobCollector(metrics *container.Metrics) plugin.JobCollector

NewDefaultJobCollector - Creates a new instance of the default job information collector

Types

type DefaultJobCollector

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

DefaultJobCollector - A default job information collector

func (*DefaultJobCollector) JSON added in v0.1.3

func (d *DefaultJobCollector) JSON() *encoding.JSON

JSON - Retrieves metrics in JSON format

func (*DefaultJobCollector) JSONByKey added in v0.1.3

func (d *DefaultJobCollector) JSONByKey(key string) *encoding.JSON

JSONByKey - Retrieves metrics in JSON format based on the given key

Jump to

Keyboard shortcuts

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