config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cortex     *CortexConfig
	AWS        *aws.Client
	Kubernetes *k8s.Client
	Telemetry  *telemetry.Client
	Argo       *argo.Client
	Spark      *spark.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"`
	SparkImage          string `json:"spark_image"`
	TFTrainImage        string `json:"tf_train_image"`
	TFServeImage        string `json:"tf_serve_image"`
	TFAPIImage          string `json:"tf_api_image"`
	PythonPackagerImage string `json:"python_packager_image"`
	TFTrainImageGPU     string `json:"tf_train_image_gpu"`
	TFServeImageGPU     string `json:"tf_serve_image_gpu"`
	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