configuration

package
v0.0.0-...-db3a1d9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonConfiguration

type CommonConfiguration struct {
	// The collection of external urls, for example: metrics, edge, service catalog and so on
	ExternalURLs []ExternalUrl `json:"externalUrls"`
}

type Configuration

type Configuration struct {
	// Common secretion of configuration
	CommonConfiguration CommonConfiguration `json:"common"`
	// Configuration describe training process
	TrainingConfiguration TrainingConfiguration `json:"training"`
}

For now it is very limited configuration. The main future to expose external links to Legion resources. But it will represent the full legion services configuration in the future. TODO: support all legion configuration

type ExternalUrl

type ExternalUrl struct {
	// Human readable name
	Name string `json:"name"`
	// Link to a resource
	URL string `json:"url"`
}

type TrainingConfiguration

type TrainingConfiguration struct {
	MetricURL string `json:"metricUrl"`
}

Jump to

Keyboard shortcuts

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