inventory

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Providers = map[string][]string{
	"aws":          aws.Services,
	"do":           digitalocean.Services,
	"digitalocean": digitalocean.Services,
	"gcp":          gcp.Services,
	"scw":          scaleway.Services,
	"azure":        azure.Services,
	"cloudflare":   cloudflare.Services,
	"heroku":       heroku.Services,
	"linode":       linode.Services,
	"fastly":       fastly.Services,
	"alibaba":      alibaba.Services,
	"namecheap":    namecheap.Services,
	"terraform":    terraform.Services,
	"consul":       consul.Services,
	"nomad":        nomad.Services,
	"hetzner":      hetzner.Services,
	"openstack":    openstack.Services,
	"kubernetes":   k8s.Services,
}

Functions

func GetProviders added in v1.0.9

func GetProviders() []string

func GetServices added in v1.0.9

func GetServices() []string

func ParseOptions

func ParseOptions(path string) (schema.Options, error)

ParseOptions parses the options returning option structure

Types

type Inventory

type Inventory struct {
	Providers []schema.Provider
}

Inventory is an inventory of providers

func New

func New(optionBlocks schema.Options) (*Inventory, error)

New creates a new inventory of providers

Jump to

Keyboard shortcuts

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