mirror of
https://github.com/containers/podman.git
synced 2025-09-25 07:44:24 +08:00

* EngineOptions obtained in command via `opt, err := registry.Options(cmd)` Signed-off-by: Jhon Honce <jhonce@redhat.com>
10 lines
163 B
Go
10 lines
163 B
Go
package registry
|
|
|
|
import (
|
|
"github.com/containers/libpod/pkg/domain/entities"
|
|
)
|
|
|
|
func IsRemote() bool {
|
|
return EngineOptions.EngineMode == entities.TunnelMode
|
|
}
|