Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Client *client.Client
Client is the default client that can be easily used
var ComponentConfig *api.Configuration
var IDPrefix string
IDPrefix is used for vm, container, and snapshot file/device names It's set by the ComponentConfig and Flag override logic and should default to `constants.IGNITE_PREFIX`
var NetworkPlugin network.Plugin
NetworkPlugin provides the chosen network plugin that should be used This should be set after parsing user input on what network plugin to use
var NetworkPluginName network.PluginName
NetworkPluginName binds to the global flag to select the network plugin The default network plugin is "cni"
var RegistryConfigDir string
RegistryConfigDir is the container runtime registry configuration directory. This is used during operations like image import for loading registry configurations.
var Runtime runtime.Interface
Runtime provides the chosen container runtime for retrieving OCI images and running VM containers This should be set after parsing user input on what runtime to use
var RuntimeName runtime.Name
RuntimeName binds to the global flag to select the container runtime The default runtime is "containerd"
var Storage storage.Storage
Storage is the default storage implementation
Functions ¶
func Populate ¶
func Populate(providers []ProviderInitFunc) error
Populate initializes all given providers
Types ¶
type ProviderInitFunc ¶
type ProviderInitFunc func() error