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