package
0.0.0-20210814123035-46d4edc967b5
Repository: https://github.com/afxcn/linuxkit.git
Documentation: pkg.go.dev

# Functions

FindCIs goes through all known devices.
ListCDROMs lists all the cdroms in the system.
NewAWS returns a new ProviderAWS.
NewCDROM returns a new ProviderCDROM.
NewDigitalOcean returns a new ProviderDigitalOcean.
NewGCP returns a new ProviderGCP.
NewHetzner returns a new ProviderHetzner.
NewMetalData returns a new ProviderMetaldata.
NewOpenstack returns a new ProviderOpenstack.
NewPacket returns a new ProviderPacket.
NewScaleway returns a new ProviderScaleway.
NewVultr returns a new ProviderVultr.

# Constants

ConfigPath is where the data is extracted to.
Hostname is the filename in configPath where the hostname is stored.
SSH is the path where sshd configuration from the provider is stored.

# Structs

Entry
Entry represents either a directory or a file.
ProviderAWS is the type implementing the Provider interface for AWS.
ProviderCDROM is the type implementing the Provider interface for CDROMs It looks for file called 'meta-data', 'user-data' or 'config' in the root.
ProviderDigitalOcean is the type implementing the Provider interface for DigitalOcean.
ProviderGCP is the type implementing the Provider interface for GCP.
ProviderHetzner is the type implementing the Provider interface for Hetzner.
ProviderMetaldata is the type implementing the Provider interface for Metaldata.
ProviderOpenstack is the type implementing the Provider interface for OpenStack.
ProviderPacket is the type implementing the Provider interface for Packet.net.
ProviderScaleway is the type implementing the Provider interface for Scaleway.
ProviderVultr is the type implementing the Provider interface for Vultr.

# Interfaces

Provider is a generic interface for metadata/userdata providers.

# Type aliases

ConfigFile represents the configuration file.