Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExperimentStatusReady = string(iota + 1) ExperimentStatusRunning ExperimentStatusStarted ExperimentStatusStopped ExperimentStatusPaused ExperimentStatusWaiting ExperimentStatusFailed )
View Source
const ( JobStatusSubmitted = string(iota + 1) JobStatusRunning JobStatusStopped JobStatusPaused JobStatusFinished JobStatusFailed JobStatusCancelled )
View Source
const ( ModuleStateConnected = string(iota + 1) ModuleStateDisconnected ModuleStateFaulted ModuleStateRunning ModuleStatePaused ModuleStateStopped ModuleStateReady )
Variables ¶
View Source
var ( ExperimentStatus = map[string]string{ ExperimentStatusReady: "READY", ExperimentStatusRunning: "RUNNING", ExperimentStatusStarted: "STARTED", ExperimentStatusStopped: "STOPPED", ExperimentStatusPaused: "PAUSED", ExperimentStatusWaiting: "WAITING", ExperimentStatusFailed: "FAILED", } )
View Source
var ( JobStatus = map[string]string{ JobStatusSubmitted: "SUBMITTED", JobStatusRunning: "RUNNING", JobStatusStopped: "STOPPED", JobStatusPaused: "PAUSED", JobStatusFinished: "FINISHED", JobStatusFailed: "FAILED", JobStatusCancelled: "CANCELLED", } )
View Source
var ( ModuleState = map[string]string{ ModuleStateConnected: "CONNECTED", ModuleStateDisconnected: "DISCONNECTED", ModuleStateFaulted: "FAULTED", ModuleStateRunning: "RUNNING", ModuleStatePaused: "PAUSED", ModuleStateStopped: "STOPPED", ModuleStateReady: "READY", } )
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ID string Name string Namespace string Objects []*Object Properties []*Property }
func (*Configuration) FromProtobuf ¶
func (c *Configuration) FromProtobuf(in *pb.Configuration) error
type Experiment ¶ added in v0.1.2
type Experiment struct { ID string Status string Name string StartTime float64 EstimatedDuration float64 TimeElapsed float64 Modules []*Module Properties []*Property }
Experiment links modules with runtimes and results
type Job ¶ added in v0.1.2
type Job struct { ID string Status string StartTime float64 FinishTime float64 Module *Module Properties []*Property }
Job links modules with runtimes and results
type LoginResponse ¶
type Permission ¶
type User ¶
type User struct { ID string Email string Password string IPAddress string `db:"ip_address"` CreatedAt string `db:"created_at"` Roles []*Role }
func (*User) ComparePassword ¶
func (*User) HashedPassword ¶
type UserCredentials ¶
Click to show internal directories.
Click to hide internal directories.