mirror of
https://github.com/containers/podman.git
synced 2025-10-20 20:54:45 +08:00

add the ability for the podman remote client to use a configuration file which describes its connections. users can now define a connection the configuration and then call it by name like: podman-remote -c connection1 and the destination and user will be derived from the configuration file. if no -c is provided, we look for a connection in the configuration file designated as 'default'. If the configuration file has only one connection, it will be deemed the 'default'. Signed-off-by: baude <bbaude@redhat.com>
16 lines
515 B
Go
16 lines
515 B
Go
// +build remoteclient
|
|
|
|
package adapter
|
|
|
|
import (
|
|
"github.com/containers/libpod/cmd/podman/remoteclientconfig"
|
|
"github.com/containers/libpod/libpod"
|
|
)
|
|
|
|
func newBridgeConnection(formattedBridge string, remoteConn *remoteclientconfig.RemoteConnection, logLevel string) (*Endpoint, error) {
|
|
// TODO
|
|
// Unix and Windows appear to quote their ssh implementations differently therefore once we figure out what
|
|
// windows ssh is doing here, we can then get the format correct.
|
|
return nil, libpod.ErrNotImplemented
|
|
}
|