package
0.0.0-20240926022726-3e0a52fcaaed
Repository: https://github.com/huaweicloud/huaweicloud-csi-driver.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Clear clears the metadata cache.
Get retrieves metadata from either config drive or metadata service.
No description provided by the author
GetMetadataProvider retrieves instance of IMetadata.
Set sets the value of metadata cache.

# Constants

ConfigDriveID is used as an identifier on the metadata search order configuration.
MetadataID is used as an identifier on the metadata search order configuration.

# Variables

ErrBadMetadata is used to indicate a problem parsing data from metadata server.
MetadataService instance of IMetadata.

# Structs

DeviceMetadata is a single/simplified data structure for all kinds of device metadata types.
Metadata has the information fetched from OpenStack metadata service or config drives.
MetadataOpts is used for configuring how to talk to metadata service or config drive.
MyDuration is the encoding.TextUnmarshaler interface for time.Duration.

# Interfaces

IMetadata implements GetInstanceID & GetAvailabilityZone.