Add some target fields and move some things around (#3879)

In preparation for putting proxy code in the api package this creates some necessary fields in the target output and it pre-moves credential parsing and proxy handshake code to their new places. This will make the diff for the actual proxy code move quite a bit smaller.

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
This commit is contained in:
Jeff MitchellandJohan Brandhorst-Satzkorn authored and GitHub committed 2023-10-22 20:48:54 -04:00
1 parent 82b3f202c0
commit fb4a5a98dc
27 files changed
+733 -444

No files matched your search

@@ -0,0 +1,8 @@
schema_version = 1
project {
license = "MPL-2.0"
copyright_year = 2020
header_ignore = []
}
+2 -2
View File
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0
syntax = "proto3";
@@ -7,7 +7,7 @@ package worker.proxy.v1;
import "google/protobuf/timestamp.proto";
option go_package = "github.com/hashicorp/boundary/internal/proxy;proxy";
option go_package = "github.com/hashicorp/boundary/sdk/pbs/proxy;proxy";
enum HANDSHAKECOMMAND {
// Note: Unspecified is the desired zero value based on protolint, but for