Documentation
¶
Index ¶
Constants ¶
View Source
const ( NetworkingMethodProvider = NetworkingMethod("provider") NetworkingMethodLocal = NetworkingMethod("local") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ImageMetadataURL string ImageStream string LXDSnapChannel string MetadataDefaultsDisabled bool ModelID model.UUID NetworkingMethod NetworkingMethod }
Config stores the configuration for a container manager
type NetworkingMethod ¶
type NetworkingMethod string
NetworkingMethod represents a networking method for a container. The options are:
- provider: the container's networking is handled by the provider;
- local: the container's networking is provided by the host machine.
func (NetworkingMethod) String ¶
func (n NetworkingMethod) String() string
String returns the underlying string representation of a networking method.
Click to show internal directories.
Click to hide internal directories.