feat(proto): define storage bucket state in worker status

This commit is contained in:
Damian Debkowski authored and Elim Tsiagbey committed 2024-07-17 14:23:11 -04:00
1 parent dc21e714a5
commit 88c67e4eea
12 files changed
+1133 -216

No files matched your search

@@ -5,6 +5,8 @@ syntax = "proto3";
package controller.servers.v1;
import "plugin/v1/storage_plugin_service.proto";
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/servers;servers";
// TagPair matches a key to a value.
@@ -48,4 +50,8 @@ message ServerWorkerStatus {
// - not configured: The worker does not have a local storage path configured
// - unknown: The default local storage state of a worker. Used when the local storage state of a worker is not yet known
string local_storage_state = 80 [json_name = "local_storage_state"]; // @gotags: `class:"public" eventstream:"observation"
// StorageBucketCredentialStates is a map where the key is a storage bucket id
// and the value contains the current state of the storage bucket.
map<string, plugin.v1.StorageBucketCredentialState> storage_bucket_credential_states = 90; // @gotags: `class:"public" eventstream:"observation"`
}