package
2.4.1+incompatible
Repository: https://github.com/hashicorp/vagrant.git
Documentation: pkg.go.dev
# Functions
Auth specifies that this server should require auth and therefore a token should be sourced from the environment and sent.
Connect connects to the Vagrant server.
ContextConfig will return the context configuration for the given connection options.
FromContext loads the context.
FromContextConfig loads a specific context config.
FromEnv sources the connection information from the environment using standard environment variables.
No description provided by the author
Optional specifies that getting server connection information is optional.
No description provided by the author
Timeout specifies a connection timeout.
No description provided by the author
No description provided by the author
# Constants
EnvContext specifies a named context to load.
ServerAddr is the address for the Vagrant server.
ServerTls should be any value that strconv.ParseBool parses as true to connect to the server with TLS.
Common environment variables.
EnvServerToken is the token for authenticated with the server.
# Structs
No description provided by the author
This is the implementation of plugin.GRPCPlugin so we can serve/consume this.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
ConnectOption is used to configure how Vagrant server connection configuration is sourced.
This is a weird type that only exists to satisify the interface required by grpc.WithPerRPCCredentials.