cloudprovider

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudInstance

type CloudInstance struct {
	Name                string
	Type                string
	Provider            CloudProvider
	AcceleratorProtocol string
	Interfaces          []NetworkInterface
	Topology            string
}

type CloudProvider added in v0.5.0

type CloudProvider string

CloudProvider represents the type of cloud provider.

const (
	CloudProviderGCE   CloudProvider = "GCE"
	CloudProviderAWS   CloudProvider = "AWS"
	CloudProviderAzure CloudProvider = "Azure"
)

type NetworkInterface

type NetworkInterface struct {
	IPv4      string   `json:"ip,omitempty"`
	IPv6      []string `json:"ipv6,omitempty"`
	Mac       string   `json:"mac,omitempty"`
	MTU       int      `json:"mtu,omitempty"`
	Network   string   `json:"network,omitempty"`
	IPAliases []string `json:"ipAliases,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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