cloud

package
v0.0.0-...-5f02759 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWS     = "aws"
	Azure   = "azure"
	GCP     = "gcp"
	Unknown = "unknown"
)

Variables

This section is empty.

Functions

func AzureBlobContainerFromURL

func AzureBlobContainerFromURL(url *url.URL) string

Azure does not allow "." in container names

func AzureBlobObjectPrefixFromURL

func AzureBlobObjectPrefixFromURL(url *url.URL) string

func AzureStorageAccountFromURL

func AzureStorageAccountFromURL(url *url.URL) string

func MetaFetch

func MetaFetch() cty.Value

func MetaIsPresent

func MetaIsPresent() bool

Types

type AzureMeta

type AzureMeta struct {
	Compute *AzureMetaCompute `json:"compute"`
}

type AzureMetaCompute

type AzureMetaCompute struct {
	Tags string `json:"tags"`
}

Jump to

Keyboard shortcuts

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