open-nomad/helper/raftutil
Luiz Aoqui 389212bfda
node pool: initial base work (#17163)
Implementation of the base work for the new node pools feature. It includes a new `NodePool` struct and its corresponding state store table.

Upon start the state store is populated with two built-in node pools that cannot be modified nor deleted:

  * `all` is a node pool that always includes all nodes in the cluster.
  * `default` is the node pool where nodes that don't specify a node pool in their configuration are placed.
2023-05-15 10:49:08 -04:00
..
fsm.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fsm_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
generate.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
generate_msgtypes.sh
msgpack.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
msgpack_test.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
msgtypes.go node pool: initial base work (#17163) 2023-05-15 10:49:08 -04:00
sample_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
snapshot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
state.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
state_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00