Documentation ¶
Index ¶
- Constants
- func AddSSHConnectionsToPodmanSocket(uid, port int, identityPath, name, remoteUsername string, ...) error
- func ChangeConnectionURI(name string, uri fmt.Stringer) error
- func RemoveConnections(names ...string) error
- func RemoveFilesAndConnections(files []string, names ...string)
- func UpdateConnectionIfDefault(rootful bool, name, rootfulName string) error
Constants ¶
View Source
const LocalhostIP = "127.0.0.1"
Variables ¶
This section is empty.
Functions ¶
func AddSSHConnectionsToPodmanSocket ¶
func AddSSHConnectionsToPodmanSocket(uid, port int, identityPath, name, remoteUsername string, opts define.InitOptions) error
AddSSHConnectionsToPodmanSocket adds SSH connections to the podman socket if no ignition path is provided
func RemoveConnections ¶
func RemoveFilesAndConnections ¶
removeFilesAndConnections removes any files and connections with the given names
func UpdateConnectionIfDefault ¶
UpdateConnectionIfDefault updates the default connection to the rootful/rootless when depending on the bool but only if other rootful/less connection was already the default. Returns true if it modified the default
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.