package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 18, 2022
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package server provides a dummy metadata server providing tokens to access Google Cloud Platform
type Config struct {
Host string
Port int
Scopes []string
Project string
CloudSDKConfig string `mapstructure:"cloudsdk-config"`
GoogleApplicationCredentials string `mapstructure:"google-application-credentials"`
}
Config is a configuration to the server to launch
Server is an instance of gtokenserver
NewServer creates a Server
Serve launches an instance of gtokenserver
Source Files
¶
Click to show internal directories.
Click to hide internal directories.