-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcloudemu.go
More file actions
34 lines (28 loc) · 1003 Bytes
/
Copy pathcloudemu.go
File metadata and controls
34 lines (28 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package cloudemu
// Regenerate the capability coverage docs (docs/coverage/) from the driver
// interfaces and provider factories after changing a driver interface or wiring
// a new service into a provider.
//go:generate go run ./internal/coveragegen
import (
"github.com/stackshy/cloudemu/v2/config"
"github.com/stackshy/cloudemu/v2/providers/aws"
"github.com/stackshy/cloudemu/v2/providers/azure"
"github.com/stackshy/cloudemu/v2/providers/gcp"
"github.com/stackshy/cloudemu/v2/providers/oci"
)
// NewAWS creates a new AWS mock provider.
func NewAWS(opts ...config.Option) *aws.Provider {
return aws.New(opts...)
}
// NewAzure creates a new Azure mock provider.
func NewAzure(opts ...config.Option) *azure.Provider {
return azure.New(opts...)
}
// NewGCP creates a new GCP mock provider.
func NewGCP(opts ...config.Option) *gcp.Provider {
return gcp.New(opts...)
}
// NewOCI creates a new OCI mock provider.
func NewOCI(opts ...config.Option) *oci.Provider {
return oci.New(opts...)
}