package
0.1.1-rc
Repository: https://github.com/ibm/ffdl.git
Documentation: pkg.go.dev

# Functions

CurrentTimestampAsString returns the current time as milliseconds since the Unix epoch (e.g., "1519135679722").
GetStatus converts between a string and proper DLaaS type of job status updates.
NewTrainer create a new load-balanced client to talk to the Trainer service.
NewTrainerClient ...
NewTrainerWithAddress create a new load-balanced client to talk to the Trainer service.

# Constants

ErrCodeEtcdConnection indicates a etcd connection error.
ErrCodeFailDequeue indicates an error where a job was incorrectly dequeued.
ErrCodeFailedDeploy indicates a general deployment error.
ErrCodeFailedPS ...
ErrCodeFailEnqueue indicates an error while adding the job to the queue in mongo.
ErrCodeFailLoadData indicates an error while loading the training data.
ErrCodeFailLoadModel indicates an error while loading the model code.
ErrCodeFailStoreResults indicates an error while storing the trained model and logs.
ErrCodeFailStoreResultsOnFail indicates an error while storing the logs on job error.
ErrCodeFailStoreResultsOnHalt indicates an error while storing the logs on job halt.
ErrCodeImagePull indicates an image pull error.
ErrCodeInsufficientResources indicates a scheduling error due to resource constraints.
ErrCodeK8SConnection indicates a kubernetes connection error.
ErrCodeNormal indicates a normal non-error situation.
ErrFailedPodReasonUnknown indicates an unknown pod error.
ErrInvalidCredentials indicates an invalid set of credentials.
ErrInvalidManifestFile indicates an invalid manifest file.
ErrInvalidResourceSpecs indicates invalid resouce specifications.
ErrInvalidZipFile indicates an invalid ZIP file.
ErrLearnerProcessCrash indicates a crash of the process in the learner container.
TrainerV2LocalAddress exposes the local address that is used if we run with DNS disabled.

# Structs

TrainingStatusUpdate captures the details for training status update events.

# Interfaces

JobStatusClient is a client interface for updating the status of training jobs.
TrainerClient is a client interface for interacting with the trainer service.