diff options
author | Jhon Honce <jhonce@redhat.com> | 2019-05-16 10:01:37 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2019-05-16 11:03:22 -0700 |
commit | a1c654de94738802b850edfad9502fca5dd26a59 (patch) | |
tree | fa7bfd26406edb8192e57d91f43ed98e5aceb8a8 /pkg/adapter/runtime.go | |
parent | a261b60cc8851c04efd191be6f6e2e4598439822 (diff) | |
download | podman-a1c654de94738802b850edfad9502fca5dd26a59.tar.gz podman-a1c654de94738802b850edfad9502fca5dd26a59.tar.bz2 podman-a1c654de94738802b850edfad9502fca5dd26a59.zip |
Add connection information to podman-remote info
Refactor client code to break out building connection string from
making the connection.
Example:
client:
Connection: unix:/run/podman/io.podman
Connection Type: DirectConnection
.
:
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/adapter/runtime.go')
-rw-r--r-- | pkg/adapter/runtime.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/adapter/runtime.go b/pkg/adapter/runtime.go index 21613c425..37ee1b737 100644 --- a/pkg/adapter/runtime.go +++ b/pkg/adapter/runtime.go @@ -398,3 +398,8 @@ func (r *LocalRuntime) GetPodsByStatus(statuses []string) ([]*libpod.Pod, error) func (r *LocalRuntime) GetVersion() (libpod.Version, error) { return libpod.GetVersion() } + +// RemoteEndpoint resolve interface requirement +func (r *LocalRuntime) RemoteEndpoint() (*Endpoint, error) { + return nil, errors.New("RemoteEndpoint() not implemented for local connection") +} |