github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/nomad/state/state_store_oss.go (about) 1 //go:build !ent 2 // +build !ent 3 4 package state 5 6 import ( 7 "github.com/hashicorp/nomad/nomad/structs" 8 ) 9 10 // quotaSpecExists on returns whether the quota exists 11 func (s *StateStore) quotaSpecExists(txn *txn, name string) (bool, error) { 12 return false, nil 13 } 14 15 func (s *StateStore) quotaReconcile(index uint64, txn *txn, newQuota, oldQuota string) error { 16 return nil 17 } 18 19 // updateEntWithAlloc is used to update Nomad Enterprise objects when an allocation is 20 // added/modified/deleted 21 func (s *StateStore) updateEntWithAlloc(index uint64, new, existing *structs.Allocation, txn *txn) error { 22 return nil 23 } 24 25 // deleteRecommendationsByJob deletes all recommendations for the specified job 26 func (s *StateStore) deleteRecommendationsByJob(index uint64, txn Txn, job *structs.Job) error { 27 return nil 28 } 29 30 // updateJobRecommendations updates/deletes job recommendations as necessary for a job update 31 func (s *StateStore) updateJobRecommendations(index uint64, txn Txn, prevJob, newJob *structs.Job) error { 32 return nil 33 }