config

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cortex          *CortexConfig
	AWS             *aws.Client
	Kubernetes      *k8s.Client
	IstioKubernetes *k8s.Client
	Telemetry       *telemetry.Client
)

Functions

func Init

func Init() error

Types

type CortexConfig

type CortexConfig struct {
	ID                string `json:"id"`
	APIVersion        string `json:"api_version"`
	Bucket            string `json:"bucket"`
	LogGroup          string `json:"log_group"`
	Region            string `json:"region"`
	Namespace         string `json:"namespace"`
	OperatorImage     string `json:"operator_image"`
	TFServeImage      string `json:"tf_serve_image"`
	TFAPIImage        string `json:"tf_api_image"`
	DownloaderImage   string `json:"downloader_image"`
	TFServeImageGPU   string `json:"tf_serve_image_gpu"`
	ONNXServeImage    string `json:"onnx_serve_image"`
	ONNXServeImageGPU string `json:"onnx_serve_gpu_image"`

	TelemetryURL      string `json:"telemetry_url"`
	EnableTelemetry   bool   `json:"enable_telemetry"`
	OperatorInCluster bool   `json:"operator_in_cluster"`
}

Jump to

Keyboard shortcuts

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