cloudqueryclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderMap = map[string]func(*gorm.DB, *zap.Logger) (provider.Interface, error){
	"aws": aws.NewProvider,
	"gcp": gcp.NewProvider,
}

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(driver string, dsn string) (*Client, error)

func (*Client) Run

func (c *Client) Run(path string) error

type Config

type Config struct {
	Providers []struct {
		Name string
		Rest map[string]interface{} `yaml:",inline"`
	}
}

Jump to

Keyboard shortcuts

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