socket

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

go-podman/internal/socket/socket_client.go

go-podman/internal/socket/socket_interface.go

go-podman/internal/socket/socket_types.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketClient

type SocketClient struct {
	Serializer        network.PayloadSerializer
	RequestBuilder    network.HTTPRequestBuilder
	ResponseReader    network.ResponseReader
	ResponseValidator network.ResponseValidator
	NetworkTransport  network.TransportCreator
}

func (*SocketClient) Send

func (SC *SocketClient) Send(method, url string, body io.Reader, socket SocketPath) ([]byte, error)

type SocketClientInterface

type SocketClientInterface interface {
	Send(method, url string, body io.Reader, socket SocketPath) ([]byte, error)
}

type SocketPath

type SocketPath string
var (
	Rootfull SocketPath = "/run/podman/io.podman/podman.sock"
	Rootless SocketPath = GetRootlessPath()
)

func GetRootlessPath

func GetRootlessPath() SocketPath

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL