package
0.11.4
Repository: https://github.com/hashicorp/waypoint.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CookieFromRequest returns the server cookie value provided during the request, or blank if none (or a blank cookie) is provided.
DecodedTokenWithContext inserts the decrypted token t into the context.
New returns a Waypoint server implementation that uses BotlDB plus in-memory locks to operate safely.
TestApp creates the app in the DB.
No description provided by the author
No description provided by the author
TestImpl returns the waypoint server implementation.
TestRunnerAdopted registers a runner using the adoption process and returns a client that uses the token for this specific runner.
TestServer starts a singleprocess server and returns the connected client.
TestWithURLService is an Option for testing only that creates an in-memory URL service server.
TestWithURLServiceGuestAccount sets the API token to empty to force getting a guest account with the URL service.
UserWithContext inserts the user value u into the context.
WithAcceptURLTerms will set the config to either accept or reject the terms of service for using the URL service.
WithActiveAuthKeyId sets an identifier representing the key that will be used for authentication (i.e.
WithConfig sets the server config in use with this server.
WithDB return a server option with a boltdb state provider.
WithFeatures adds features that the server will advertise on the GetVersionInfo rpc, that clients can use to ensure compatibility before attempting to exercise features.
WithIdDecoder provides the server with an optional function that takes a string that contains an ID (likely created with EncodeId), and returns only the waypoint-relevant ID.
WithIdEncoder provides the server with an optional function that takes a waypoint ID (user id, runner id, etc.), uses the provided context to encode additional metadata (if present), and returns an ID that can be decoded by DecodeId.
WithLogger sets the logger for use with the server.
WithLogStreamProvider gives the server a custom log stream provider, which is invoked to transport logs from waypoint runners to any listening clients and to persist them.
WithOidcDisabled disables all OIDC related background jobs.
WithPollingDisabled disables polling background jobs.
No description provided by the author
WithServerConfigSkipInit skips initial server config initialization which may be desired if server config is initialized some other way.
WithServerId starts this server with a given id, rather than a randomly generated id.
WithState sets the server to use the given state package.
WithStateProvider sets the server to use the state provided by the given function.
WithSuperuser forces all API actions to behave as if a superuser made them.
WithTokenProcessor installs a function that will be called just before a new token is encoded.

# Constants

DefaultKeyId is the identifier for the default key to use to generating tokens.
DefaultUser is the username of the initial user created during bootstrapping.
DefaultUserId is the ID of the initial user created during bootstrapping.

# Variables

No description provided by the author

# Structs

Service implements the gRPC service for the server.

# Type aliases

No description provided by the author