jobmonitor

package
v0.0.0-...-8225f2e Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(trainingID string, userID string) *log.Entry

InitLogger ... initializes new logger with trainingID and userID

func KillDeployedJob

func KillDeployedJob(trainingID string, userID string, jobName string, logr *logger.LocLoggingEntry) error

KillDeployedJob ... Contact the LCM and kill training job

Types

type JobMonitor

type JobMonitor struct {
	UseNativeDistribution bool
	TrainingID            string
	UserID                string
	JobName               string
	NumLearners           int

	EtcdClient coord.Coordinator
	// contains filtered or unexported fields
}

JobMonitor ...

func NewJobMonitor

func NewJobMonitor(trainingID string, userID string, numLearners int, jobName string, useNativeDistribution bool, statsdClient *statsd.Statsd, logr *logger.LocLoggingEntry) (*JobMonitor, error)

NewJobMonitor ...

func (*JobMonitor) ManageDistributedJob

func (jm *JobMonitor) ManageDistributedJob(logr *logger.LocLoggingEntry)

ManageDistributedJob ...manages a DLaaS training job

Jump to

Keyboard shortcuts

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