Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema = config.Schema{
"core.https_address": {},
"core.https_allowed_headers": {},
"core.https_allowed_methods": {},
"core.https_allowed_origin": {},
"core.https_allowed_credentials": {},
"core.proxy_http": {},
"core.proxy_https": {},
"core.proxy_ignore_hosts": {},
"core.trust_password": {},
"images.auto_update_cached": {},
"images.auto_update_interval": {},
"images.compression_algorithm": {},
"images.remote_cache_expiry": {},
"maas.api.key": {},
"maas.api.url": {},
"maas.machine": {},
"storage.lvm_fstype": {},
"storage.lvm_mount_options": {},
"storage.lvm_thinpool_name": {},
"storage.lvm_vg_name": {},
"storage.lvm_volume_size": {},
"storage.zfs_pool_name": {},
"storage.zfs_remove_snapshots": {},
"storage.zfs_use_refquota": {},
}
ConfigSchema defines available server configuration keys.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds node-local configuration values for a certain LXD instance.
func ConfigLoad ¶
ConfigLoad loads a new Config object with the current node-local configuration values fetched from the database. An optional list of config value triggers can be passed, each config key must have at most one trigger.
func (*Config) Dump ¶
Dump current configuration keys and their values. Keys with values matching their defaults are omitted.
func (*Config) HTTPSAddress ¶
HTTPSAddress returns the address and port this LXD node should expose its API to, if any.
Click to show internal directories.
Click to hide internal directories.