Discover Packages
github.com/hashicorp/waypoint
internal
server
grpcmetadata
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jun 3, 2021
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package grpcmetadata contains functions for reading and writing waypoint specific
metadata to contexts, which is transmitted by RPC calls.
AddRunner adds gRPC metadata to indicate that that RPCs sent with the returned
context having the given runner (specified by id) attached to the sending client,
allow the server to target jobs back to the client that performed an RPC call.
Returns the runner id attached to the context as grpc Metadata.
This would be set by the client to indicate there is a runner attached
directly to it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.