open-consul/agent/consul/state
Chris S. Kim 0910c41d95
Revise possible states for a peering. (#13661)
These changes are primarily for Consul's UI, where we want to be more
specific about the state a peering is in.

- The "initial" state was renamed to pending, and no longer applies to
  peerings being established from a peering token.

- Upon request to establish a peering from a peering token, peerings
  will be set as "establishing". This will help distinguish between the
  two roles: the cluster that generates the peering token and the
  cluster that establishes the peering.

- When marked for deletion, peering state will be set to "deleting".
  This way the UI determines the deletion via the state rather than the
  "DeletedAt" field.

Co-authored-by: freddygv <freddy@hashicorp.com>
2022-07-04 10:47:58 -04:00
..
acl.go
acl_events.go
acl_events_test.go
acl_oss.go
acl_oss_test.go
acl_schema.go
acl_test.go
autopilot.go
autopilot_test.go
catalog.go
catalog_events.go
catalog_events_oss.go
catalog_events_oss_test.go
catalog_events_test.go
catalog_oss.go
catalog_oss_test.go
catalog_schema.go
catalog_test.go
config_entry.go
config_entry_events.go
config_entry_events_test.go
config_entry_intention.go
config_entry_intention_oss.go
config_entry_oss.go
config_entry_oss_test.go
config_entry_schema.go
config_entry_test.go
connect_ca.go
connect_ca_events.go
connect_ca_events_test.go
connect_ca_test.go
coordinate.go
coordinate_oss.go
coordinate_oss_test.go
coordinate_test.go
delay_oss.go
delay_test.go
events.go
federation_state.go
graveyard.go
graveyard_oss.go
graveyard_test.go
index_connect_test.go
indexer.go
intention.go
intention_oss.go
intention_test.go
kvs.go
kvs_oss.go
kvs_oss_test.go
kvs_test.go
memdb.go
operations_oss.go
peering.go
peering_oss.go
peering_oss_test.go
peering_test.go
prepared_query.go
prepared_query_index.go
prepared_query_index_test.go
prepared_query_test.go
query.go
query_oss.go
schema.go
schema_oss.go
schema_oss_test.go
schema_test.go
session.go
session_oss.go
session_test.go
state_store.go
state_store_oss_test.go
state_store_test.go
store_integration_test.go
system_metadata.go
system_metadata_test.go
tombstone_gc.go
tombstone_gc_test.go
txn.go
txn_test.go
usage.go
usage_oss.go
usage_test.go