2017-09-19 14:47:10 +00:00
|
|
|
// +build !ent
|
|
|
|
|
|
|
|
package nomad
|
|
|
|
|
|
|
|
import "github.com/hashicorp/nomad/nomad/structs"
|
|
|
|
|
|
|
|
// enforceSubmitJob is used to check any Sentinel policies for the submit-job scope
|
|
|
|
func (j *Job) enforceSubmitJob(override bool, job *structs.Job) (error, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
2020-06-15 20:18:14 +00:00
|
|
|
|
|
|
|
// multiregionRegister is used to send a job across multiple regions
|
2020-07-03 14:44:41 +00:00
|
|
|
func (j *Job) multiregionRegister(args *structs.JobRegisterRequest, reply *structs.JobRegisterResponse,
|
|
|
|
existingVersion uint64) error {
|
|
|
|
|
2020-06-15 20:18:14 +00:00
|
|
|
return nil
|
|
|
|
}
|
2020-06-24 17:24:55 +00:00
|
|
|
|
|
|
|
// interpolateMultiregionFields interpolates a job for a specific region
|
|
|
|
func (j *Job) interpolateMultiregionFields(args *structs.JobPlanRequest) error {
|
|
|
|
return nil
|
|
|
|
}
|