internal

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenerateCloudDataCmd = &cobra.Command{
	Use:   "generate-cloud-data",
	Short: "Generate multi-cloud data for AWS, Azure, and GCP",
	Run: func(cmd *cobra.Command, args []string) {
		GenerateCloudData()
	},
}

GenerateCloudDataCmd is the cobra command for generating multi-cloud data.

Functions

func GenerateCloudData added in v0.0.10

func GenerateCloudData()

GenerateCloudData generates the multi-cloud data for AWS, Azure, and GCP.

func GetGenerateCloudDataCmd added in v0.0.10

func GetGenerateCloudDataCmd() *cobra.Command

func IsValidBacalhauKey

func IsValidBacalhauKey(key string) bool

Types

type CloudData added in v0.0.10

type CloudData struct {
	Locations    map[string][]string `yaml:"locations"`
	DiskImages   []DiskImage         `yaml:"diskImages,omitempty"`
	RemovedZones []string            `yaml:"removedZones"`
	UbuntuAMIs   map[string]string   `yaml:"ubuntu_amis,omitempty"`
}

type DiskImage added in v0.0.10

type DiskImage struct {
	Name         string   `json:"name"         yaml:"name"`
	Family       string   `json:"family"       yaml:"family"`
	Description  string   `json:"description"  yaml:"description"`
	DiskSizeGb   string   `json:"diskSizeGb"   yaml:"diskSizeGb"`
	Licenses     []string `json:"licenses"     yaml:"licenses"`
	Architecture string   `json:"architecture" yaml:"architecture"`
}

Directories

Path Synopsis
clouds
aws
gcp

Jump to

Keyboard shortcuts

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