spiegel_podman/pkg/domain/infra/runtime.go
Brent Baude 2cc3be7332
RUN-4539: Change podman module paths
The podman module paths are moving from github.com/containers/podman to
go.podman.io/podman.  This will help with future mobility.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2026-04-22 14:02:25 -05:00

20 lines
572 B
Go

package infra
import (
"context"
"go.podman.io/podman/v6/pkg/bindings"
"go.podman.io/podman/v6/pkg/domain/entities"
)
// For the meaning of "WithoutLock", compare runtime_tunnel.go:newConnection()
func newConnectionWithoutLock(ctx context.Context, facts *entities.PodmanConfig) (context.Context, error) {
return bindings.NewConnectionWithOptions(ctx, bindings.Options{
URI: facts.URI,
Identity: facts.Identity,
TLSCertFile: facts.TLSCertFile,
TLSKeyFile: facts.TLSKeyFile,
TLSCAFile: facts.TLSCAFile,
Machine: facts.MachineMode,
})
}