Renaming RealisClient to Client to avoid stuttering. Moving monitors under Client. Making configuration object private. Deleted legacy code to generate configuration object.

This commit is contained in:
Renan DelValle 2018-12-08 08:57:15 -08:00
parent c1be2fe62b
commit 76300782ba
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
7 changed files with 253 additions and 256 deletions

4
job.go
View file

@ -32,7 +32,7 @@ func NewJob() *AuroraJob {
jobKey := &aurora.JobKey{}
// Task Config
// Task clientConfig
taskConfig := &aurora.TaskConfig{
Job: jobKey,
MesosFetcherUris: make([]*aurora.MesosFetcherURI, 0),
@ -42,7 +42,7 @@ func NewJob() *AuroraJob {
Container: NewMesosContainer().Build(),
}
// AuroraJob Config
// AuroraJob clientConfig
jobConfig := &aurora.JobConfiguration{
Key: jobKey,
TaskConfig: taskConfig,