Skip to content

Commit

Permalink
Remove DefaultCobraToViper variable
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Abramov <[email protected]>
  • Loading branch information
uncleDecart committed Oct 19, 2023
1 parent 44f8608 commit 3bb4736
Showing 1 changed file with 0 additions and 90 deletions.
90 changes: 0 additions & 90 deletions pkg/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,94 +205,4 @@ const (
var (
//DefaultQemuHostFwd represents port forward for ssh
DefaultQemuHostFwd = map[string]string{strconv.Itoa(DefaultSSHPort): "22"}
//DefaultCobraToViper represents mapping values between cobra (cli) and viper (yml)
DefaultCobraToViper = map[string]string{
"redis.dist": "redis-dist",
"redis.tag": "redis-tag",
"redis.port": "redis-port",
"redis.force": "redis-force",

"adam.dist": "adam-dist",
"adam.tag": "adam-tag",
"adam.port": "adam-port",
"adam.domain": "domain",
"adam.ip": "ip",
"adam.eve-ip": "eve-ip",
"adam.force": "adam-force",
"adam.v1": "api-v1",
"adam.redis.adam": "adam-redis-url",
"adam.remote.redis": "adam-redis",

"registry.tag": "registry-tag",
"registry.port": "registry-port",
"registry.dist": "registry-dist",

"eve.arch": "eve-arch",
"eve.platform": "eve-platform",
"eve.os": "eve-os",
"eve.accel": "eve-accel",
"eve.hv": "eve-hv",
"eve.serial": "eve-serial",
"eve.pid": "eve-pid",
"eve.log": "eve-log",
"eve.firmware": "eve-firmware",
"eve.repo": "eve-repo",
"eve.registry": "eve-registry",
"eve.tag": "eve-tag",
"eve.hostfwd": "eve-hostfwd",
"eve.dist": "eve-dist",
"eve.base-dist": "eve-base-dist",
"eve.qemu-config": "qemu-config",
"eve.uuid": "uuid",
"eve.image-file": "image-file",
"eve.dtb-part": "dtb-part",
"eve.config-part": "config-part",
"eve.base-version": "os-version",
"eve.devmodel": "devmodel",
"eve.devmodelfile": "devmodel-file",
"eve.telnet-port": "eve-telnet-port",
"eve.cpu": "cpus",
"eve.ram": "memory",
"eve.tpm": "tpm",
"eve.disks": "eve-disks",

"eve.custom-installer.path": "custom-installer-path",
"eve.custom-installer.format": "custom-installer-format",

"eve.bootstrap-file": "eve-bootstrap-file",
"eve.usbnetconf-file": "eve-usbnetconf-file",

"eve.qemu.monitor-port": "qemu-monitor-port",
"eve.qemu.netdev-socket-port": "qemu-netdev-socket-port",

"eden.images.dist": "image-dist",
"eden.images.docker": "docker-yml",
"eden.images.vm": "vm-yml",
"eden.download": "download",
"eden.eserver.ip": "eserver-ip",
"eden.eserver.port": "eserver-port",
"eden.eserver.tag": "eserver-tag",
"eden.eserver.force": "eserver-force",
"eden.certs-dist": "certs-dist",
"eden.bin-dist": "bin-dist",
"eden.ssh-key": "ssh-key",
"eden.test-bin": "prog",
"eden.test-scenario": "scenario",

"config": "config",

"sdn.disable": "sdn-disable",
"sdn.source-dir": "sdn-source-dir",
"sdn.config-dir": "sdn-config-dir",
"sdn.image-file": "sdn-image-file",
"sdn.linuxkit-bin": "sdn-linuxkit-bin",
"sdn.cpu": "sdn-cpu",
"sdn.ram": "sdn-ram",
"sdn.pid": "sdn-pid",
"sdn.console-log": "sdn-console-log",
"sdn.telnet-port": "sdn-telnet-port",
"sdn.ssh-port": "sdn-ssh-port",
"sdn.mgmt-port": "sdn-mgmt-port",
"sdn.network-model": "sdn-network-model",
}
)

0 comments on commit 3bb4736

Please sign in to comment.