mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-28 08:00:26 +08:00
TUN-2260: add name/group to CapnpConnectParameters, remove Scope
This commit is contained in:
@@ -57,17 +57,10 @@ struct CapnpConnectParameters {
|
||||
tags @3 :List(Tag);
|
||||
# release version of cloudflared
|
||||
cloudflaredVersion @4 :Text;
|
||||
# identifier for this cloudflared instance
|
||||
scope @5 :Scope;
|
||||
}
|
||||
|
||||
struct Scope {
|
||||
value :union {
|
||||
# Standalone instance
|
||||
systemName @0 :Text;
|
||||
# Associated with a group of identical cloudflared instances
|
||||
group @1 :Text;
|
||||
}
|
||||
# friendly name for this cloudflared instance
|
||||
name @5 :Text;
|
||||
# group whose behavior this cloudflared instance will adopt
|
||||
group @6 :Text;
|
||||
}
|
||||
|
||||
struct ConnectResult {
|
||||
|
||||
Reference in New Issue
Block a user