open-consul/agent/rpc/peering
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
..
health_snapshot.go
health_snapshot_test.go
replication.go
service.go Revise possible states for a peering. (#13661) 2022-07-04 10:47:58 -04:00
service_oss_test.go
service_test.go Revise possible states for a peering. (#13661) 2022-07-04 10:47:58 -04:00
stream_test.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
stream_tracker.go
stream_tracker_test.go
subscription_blocking.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
subscription_manager.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
subscription_manager_test.go proxycfg: server-local config entry data sources 2022-07-04 10:48:36 +01:00
subscription_state.go peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
subscription_state_test.go
subscription_view.go proxycfg: server-local config entry data sources 2022-07-04 10:48:36 +01:00
subscription_view_test.go proxycfg: server-local config entry data sources 2022-07-04 10:48:36 +01:00
testing.go
testutil_oss_test.go
validate.go
validate_test.go