Documentation ¶ Index ¶ func NewProvider(db *gorm.DB, log *zap.Logger) (provider.Interface, error) type Config type NewResourceFunc type Provider func (p *Provider) Run(config interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewProvider ¶ func NewProvider(db *gorm.DB, log *zap.Logger) (provider.Interface, error) Types ¶ type Config ¶ type Config struct { Region string `mapstructure:"region"` ProjectID string `mapstructure:"project_id"` Resources []struct { Name string Other map[string]interface{} `mapstructure:",remain"` } } type NewResourceFunc ¶ type NewResourceFunc func(db *gorm.DB, log *zap.Logger, projectID string, region string) (resource.ClientInterface, error) type Provider ¶ type Provider struct { // contains filtered or unexported fields } func (*Provider) Run ¶ func (p *Provider) Run(config interface{}) error Source Files ¶ View all Source files provider.go Directories ¶ Show internal Expand all Path Synopsis compute iam resource storage Click to show internal directories. Click to hide internal directories.