azure

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewProvider

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

Types

type Config

type Config struct {
	Subscriptions []string `mapstructure:"subscriptions"`
	Resources     []struct {
		Name  string
		Other map[string]interface{} `mapstructure:",remain"`
	}
}

type Provider

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

func (*Provider) Run

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

type ResourceFunc

type ResourceFunc func(subscriptionID string, auth autorest.Authorizer, db *database.Database, log *zap.Logger, gConfig interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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