initial commit
This commit is contained in:
15
internal/metal/config.go
Normal file
15
internal/metal/config.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package metal
|
||||
|
||||
import (
|
||||
"go.equinixmetal.net/infra9-metal-bridge/internal/metal/providers/emapi"
|
||||
"go.equinixmetal.net/infra9-metal-bridge/internal/metal/providers/emgql"
|
||||
)
|
||||
|
||||
// Config provides configuration for connecting to the metal provider.
|
||||
type Config struct {
|
||||
// EMGQL sets the provider to Equinix Metal GraphQL.
|
||||
EMGQL emgql.Config
|
||||
|
||||
// EMAPI sets the provider to Equinix Metal API.
|
||||
EMAPI emapi.Config
|
||||
}
|
||||
Reference in New Issue
Block a user