cloudmetadata

package
v0.0.185 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ProviderAWS          = "aws"
	ProviderGCP          = "gcp"
	ProviderAzure        = "azure"
	ProviderDigitalOcean = "digitalocean"
	ProviderOpenStack    = "openstack"
	ProviderVMware       = "vmware"
	ProviderAlibaba      = "alibaba"
	ProviderIBM          = "ibm"
	ProviderOracle       = "oracle"
	ProviderLinode       = "linode"
	ProviderScaleway     = "scaleway"
	ProviderVultr        = "vultr"
	ProviderHetzner      = "hetzner"
	ProviderEquinixMetal = "equinixmetal" // formerly Packet
	ProviderExoscale     = "exoscale"
	ProviderUnknown      = "unknown"
)

Variables

This section is empty.

Functions

func EnrichCloudMetadataFromAWSAuthConfigMap added in v0.0.183

func EnrichCloudMetadataFromAWSAuthConfigMap(metadata *apitypes.CloudMetadata, cm *corev1.ConfigMap) error

EnrichCloudMetadataFromAWSAuthConfigMap enriches cloud metadata account ID from aws-auth ConfigMap

func GetCloudMetadata

func GetCloudMetadata(ctx context.Context, node *corev1.Node, nodeName string) (*apitypes.CloudMetadata, error)

GetCloudMetadata retrieves cloud metadata for a given node

Types

This section is empty.

Jump to

Keyboard shortcuts

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