config

package
v0.0.0-...-0a2ba2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProjectId        string `toml:"project_id"`
	Zone             string `toml:"zone"`
	CredentialsFile  string `toml:"credentials_file"`
	NetworkID        string `toml:"network_id"`
	SubnetworkID     string `toml:"subnetwork_id"`
	ExternalIPAccess bool   `toml:"external_ip_access"`
}

func NewConfig

func NewConfig(cfgFile string) (*Config, error)

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL