This change updates the gardener tracker interface in a way that preserves external compatibility with the JobsAPI and the Saver output format. This change eliminates the use of the Job type as a go map key throughout the tracker package. Now the tracker maintains two private maps (jobStatus and jobState) which use a new Key type as the map key. Also, the tracker methods now accept Key parameters. This change will enable additional configuration information to be placed in the Job or JobWithTarget object without breaking compatibility with the parser.
With the gardener tracker no longer using the Job as key, next we can:
Add /v2/job/* resources and client functions to operate on Job Keys (instead of the complete serialized Job)
Update the ETL parser to use this new client library (removing the parser's dependency on complete serialized Job types)
Coverage increased (+0.7%) to 71.324% when pulling 790960bbbfdedab35173cb8ceac422fbee115821 on sandbox-soltesz-jobkey into 7400130672b1cfaf9d4411664dda2c31c0fac031 on master.
This change updates the gardener tracker interface in a way that preserves external compatibility with the JobsAPI and the Saver output format. This change eliminates the use of the
Job
type as a go map key throughout the tracker package. Now the tracker maintains two private maps (jobStatus
andjobState
) which use a newKey
type as the map key. Also, the tracker methods now acceptKey
parameters. This change will enable additional configuration information to be placed in the Job or JobWithTarget object without breaking compatibility with the parser.With the gardener tracker no longer using the Job as key, next we can:
/v2/job/*
resources and client functions to operate on JobKey
s (instead of the complete serialized Job)This change is![Reviewable](https://reviewable.io/review_button.svg)