-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathconfig.schema.yaml
More file actions
46 lines (46 loc) · 3.36 KB
/
Copy pathconfig.schema.yaml
File metadata and controls
46 lines (46 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$defs:
addr_config:
description: AddrConfig represents a network endpoint address.
type: object
properties:
dialer:
description: DialerConfig contains options for connecting to an address.
$ref: dialer_config
npipe:
description: NpipeConfig contains options specific to the "npipe" transport (Windows named pipes). Settings in this section are ignored for all other transport types.
$ref: npipe_config
endpoint:
description: Endpoint configures the address for this network connection. For TCP and UDP networks, the address has the form "host:port". The host must be a literal IP address, or a host name that can be resolved to IP addresses. The port must be a literal port number or a service name. If the host is a literal IPv6 address it must be enclosed in square brackets, as in "[2001:db8::1]:80" or "[fe80::1%zone]:80". The zone specifies the scope of the literal IPv6 address as defined in RFC 4007.
type: string
transport:
description: Transport to use. Allowed protocols are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only), "udp", "udp4" (IPv4-only), "udp6" (IPv6-only), "ip", "ip4" (IPv4-only), "ip6" (IPv6-only), "unix", "unixgram", "unixpacket" and "npipe" (Windows named pipes, Windows-only).
$ref: transport_type
dialer_config:
description: DialerConfig contains options for connecting to an address.
type: object
properties:
timeout:
description: Timeout is the maximum amount of time a dial will wait for a connect to complete. The default is no timeout.
type: string
x-customType: time.Duration
format: duration
npipe_config:
description: NpipeConfig contains options specific to Windows named pipe transport. Settings in this section are ignored for all other transport types.
type: object
properties:
security_descriptor:
description: SecurityDescriptor is a Security Descriptor Definition Language (SDDL) string applied to the named pipe when a listener is created. When empty, Windows applies its default named pipe DACL, which is roughly equivalent to "D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;0x12019b;;;WD)(A;;0x12019b;;;AN)" — full control for LocalSystem (SY) and Administrators (BA), and read plus limited write for Everyone (WD) and Anonymous Logon (AN). See https://learn.microsoft.com/en-us/windows/win32/ipc/named-pipe-security-and-access-rights and https://learn.microsoft.com/en-us/windows/win32/secauthz/security-descriptor-definition-language
type: string
tcp_addr_config:
description: TCPAddrConfig represents a TCP endpoint address.
type: object
properties:
dialer:
description: DialerConfig contains options for connecting to an address.
$ref: dialer_config
endpoint:
description: Endpoint configures the address for this network connection. The address has the form "host:port". The host must be a literal IP address, or a host name that can be resolved to IP addresses. The port must be a literal port number or a service name. If the host is a literal IPv6 address it must be enclosed in square brackets, as in "[2001:db8::1]:80" or "[fe80::1%zone]:80". The zone specifies the scope of the literal IPv6 address as defined in RFC 4007.
type: string
transport_type:
description: TransportType represents a type of network transport protocol
type: string