Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { VMLeaserClient api.VMLeaserServiceClient Email string // contains filtered or unexported fields }
Client is a VM Leaser client.
type Config ¶
type Config struct { // Authentication options AuthOpts auth.Options // contains filtered or unexported fields }
Config stores options needed for the VM Leaser service.
func LocalConfig ¶
func LocalConfig() *Config
LocalConfig returns the local configuration for the VM Leaser client.
func ProdConfig ¶
func ProdConfig() *Config
ProdConfig returns the production configuration for the VM Leaser client.
The prod instance of the VM Leaser service is a GCP cloud project.
func StagingConfig ¶
func StagingConfig() *Config
StagingConfig returns the staging configuration for the VM Leaser client.
The staging instance of the VM Leaser service is a GCP cloud project.
Click to show internal directories.
Click to hide internal directories.