blob: 383c242c9309754cd58717929697b5d7618aca68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// +build remoteclient
package adapter
import (
"github.com/varlink/go/varlink"
)
// Connect provides a varlink connection
func (r RemoteRuntime) Connect() (*varlink.Connection, error) {
connection, err := varlink.NewConnection("unix:/run/podman/io.podman")
if err != nil {
return nil, err
}
return connection, nil
}
|