diff options
author | gjoranv <gjoranv@gmail.com> | 2022-11-17 11:35:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 11:35:41 +0100 |
commit | 684b47c7f1f32d92d4d909fe0596c312219afd89 (patch) | |
tree | c7d34e6327de10eaa97beef13809a2f38ed38c8e /controller-api | |
parent | e6309e8836b834016b565797840c21595b322c35 (diff) | |
parent | 1a5a45828f609e59b6aa247e8f61d3f271f6fc8d (diff) |
Merge pull request #24902 from vespa-engine/enclaves-api
Enclaves api
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java index 1a1d283d6eb..e8cd4c72044 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/noderepository/NodeRepositoryNode.java @@ -109,6 +109,8 @@ public class NodeRepositoryNode { private String switchHostname; @JsonProperty("cloudAccount") private String cloudAccount; + @JsonProperty("wireguardPubKey") + private String wireguardPubKey; public String getUrl() { return url; @@ -448,6 +450,10 @@ public class NodeRepositoryNode { this.cloudAccount = cloudAccount; } + public String getWireguardPubKey() { return wireguardPubKey; } + + public void setWireguardPubKey(String wireguardPubKey) { this.wireguardPubKey = wireguardPubKey; } + // --- Helper methods for code that (wrongly) consume this directly public boolean hasType(NodeType type) { @@ -507,6 +513,7 @@ public class NodeRepositoryNode { ", exclusiveTo='" + exclusiveTo + '\'' + ", switchHostname='" + switchHostname + '\'' + ", cloudAccount='" + cloudAccount + '\'' + + ", wireguardPubKey='" + wireguardPubKey + '\'' + '}'; } |