gopkg.in/hashicorp/nomad.v0@v0.11.8/nomad/fsm_registry_oss.go (about)

     1  // +build !ent
     2  
     3  package nomad
     4  
     5  import (
     6  	"github.com/hashicorp/go-msgpack/codec"
     7  	"github.com/hashicorp/raft"
     8  )
     9  
    10  // registerLogAppliers is a no-op for open-source only FSMs.
    11  func (n *nomadFSM) registerLogAppliers() {}
    12  
    13  // registerSnapshotRestorers is a no-op for open-source only FSMs.
    14  func (n *nomadFSM) registerSnapshotRestorers() {}
    15  
    16  // persistEnterpriseTables is a no-op for open-source only FSMs.
    17  func (s *nomadSnapshot) persistEnterpriseTables(sink raft.SnapshotSink, encoder *codec.Encoder) error {
    18  	return nil
    19  }