Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
add doc comments and server gen
Browse files Browse the repository at this point in the history
  • Loading branch information
krantzinator committed Mar 28, 2022
1 parent 37ec042 commit 9e820e6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion pkg/server/gen/server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pkg/server/gen/server.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8594,7 +8594,8 @@
"type": "object",
"properties": {
"sensitive": {
"type": "string"
"type": "string",
"title": "'sensitive' values are hashed as SHA256 values for\nthe purposes of output and logging"
},
"str": {
"type": "string"
Expand Down Expand Up @@ -8628,7 +8629,7 @@
"DYNAMIC"
],
"default": "UNKNOWN",
"title": "- UNKNOWN: TODO: comments"
"description": " - UNKNOWN: This is the final used value's source\nthat is supplied to the user in outputs."
},
"hashicorp.waypoint.Variable.HclPos": {
"type": "object",
Expand Down
5 changes: 4 additions & 1 deletion pkg/server/proto/server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,8 @@ message Variable {
// value stores one of three simple types (string, number, bool) as their
// matching protobuf format, or any complex hcl type as a raw string.
oneof value {
// 'sensitive' values are hashed as SHA256 values for
// the purposes of output and logging
string sensitive = 1;
string str = 2;
bool bool = 3;
Expand All @@ -638,7 +640,8 @@ message Variable {

Source source = 6;
enum Source {
// TODO: comments
// This is the final used value's source
// that is supplied to the user in outputs.
UNKNOWN = 0;
DEFAULT = 1;
FILE = 2;
Expand Down

0 comments on commit 9e820e6

Please sign in to comment.