gcp

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(db *database.Database, log *zap.Logger) (provider.Interface, error)

Types

type Config

type Config struct {
	ProjectFilter string   `mapstructure:"project_filter"`
	ProjectIDs    []string `mapstructure:"project_ids"`
	Resources     []struct {
		Name  string
		Other map[string]interface{} `mapstructure:",remain"`
	}
}

type NewResourceFunc

type NewResourceFunc func(db *database.Database, log *zap.Logger,
	projectID string) (resource.ClientInterface, error)

type Provider

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

func (*Provider) Run

func (p *Provider) Run(config interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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