Files
bridge/internal/metal/providers/emgql/config.go
2023-07-17 19:02:55 +00:00

13 lines
337 B
Go

package emgql
// Config provides configuration for connecting to the Equinix Metal API provider.
type Config struct {
// BaseURL is the baseurl to use when connecting to the Equinix Metal API Provider.
BaseURL string
}
// Populated checks if any field has been populated.
func (c Config) Populated() bool {
return c.BaseURL != ""
}