Skip to content

Commit

Permalink
regen again
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Jan 22, 2025
1 parent 58a4a1b commit e6a0026
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions website/cue/reference/components/sinks/base/socket.cue
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ base: components: sinks: socket: configuration: {
}
framing: {
description: "Framing configuration."
relevant_when: "mode = \"tcp\" or mode = \"unix_stream\""
relevant_when: "mode = \"tcp\" or mode = \"unix_stream\" or mode = \"unix_datagram\""
required: false
type: object: options: {
character_delimited: {
Expand Down Expand Up @@ -455,8 +455,13 @@ base: components: sinks: socket: configuration: {
description: "The type of socket to use."
required: true
type: string: enum: {
tcp: "Send over TCP."
udp: "Send over UDP."
tcp: "Send over TCP."
udp: "Send over UDP."
unix_datagram: """
Send over a Unix domain socket (UDS), in datagram mode.
Unavailable on macOS, due to send(2)'s apparent non-blocking behavior,
resulting in ENOBUFS errors which we currently don't handle.
"""
unix_stream: "Send over a Unix domain socket (UDS), in stream mode."
}
}
Expand All @@ -466,7 +471,7 @@ base: components: sinks: socket: configuration: {
This should be an absolute path.
"""
relevant_when: "mode = \"unix_stream\""
relevant_when: "mode = \"unix_stream\" or mode = \"unix_datagram\""
required: true
type: string: examples: ["/path/to/socket"]
}
Expand Down

0 comments on commit e6a0026

Please sign in to comment.