network

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: 2 Imported by: 0

Documentation

Overview

go-podman/internal/structures/network/payload_serializer_interface.go

go-podman/internal/structures/network/request_builder_interface.go

go-podman/internal/structures/network/response_reader_interface.go

go-podman/internal/structures/network/response_validator_interface.go

go-podman/internal/structures/network/transport_interface.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPRequestBuilder

type HTTPRequestBuilder interface {
	NewRequest(method, url string, body io.Reader) (*http.Request, error)
}

type PayloadSerializer

type PayloadSerializer interface {
	SerializePayload(payload any) (io.Reader, error)
}

type ResponseReader

type ResponseReader interface {
	ReadBody(req *http.Response) ([]byte, error)
}

type ResponseValidator

type ResponseValidator interface {
	ValidateStatus(resp *http.Response, body []byte) error
}

type TransportCreator

type TransportCreator interface {
	NewUnixTransport(socketPath string) http.RoundTripper
}

Jump to

Keyboard shortcuts

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