blob: 3faa7954a0681d49c1dfd62e3019b2806a1b353f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package remoteclientconfig
const remoteConfigFileName string = "podman-remote.conf"
// RemoteConfig describes the podman remote configuration file
type RemoteConfig struct {
Connections map[string]RemoteConnection
}
// RemoteConnection describes the attributes of a podman-remote endpoint
type RemoteConnection struct {
Destination string `toml:"destination"`
Username string `toml:"username"`
IsDefault bool `toml:"default"`
Port int `toml:"port"`
IdentityFile string `toml:"identity_file"`
IgnoreHosts bool `toml:"ignore_hosts"`
}
// GetConfigFilePath is a simple helper to export the configuration file's
// path based on arch, etc
func GetConfigFilePath() string {
return getConfigFilePath()
}
|