api

package
v0.0.0-...-f373e18 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Location      string         `yaml:"location"`
	SampleConfigs []ConfigSample `yaml:"sampleConfigs"`
}

func (*Config) SetDefaults

func (c *Config) SetDefaults()

type ConfigSample

type ConfigSample struct {
	// default jarvis config for sample
	EntityType contractsv1.EntityType `yaml:"entityType"`
	EntityName string                 `yaml:"entityName"`
	SampleType contractsv1.SampleType `yaml:"sampleType"`
	SampleName string                 `yaml:"sampleName"`
	MetricType contractsv1.MetricType `yaml:"metricType"`

	// alpha innotec specific config for sample
	ValueMultiplier float64 `yaml:"valueMultiplier"`
	Navigation      string  `yaml:"navigation"`
	Item            string  `yaml:"item"`
}

func (*ConfigSample) SetDefaults

func (sc *ConfigSample) SetDefaults()

Jump to

Keyboard shortcuts

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