http

package
v0.14.7 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgentHeader = "User-Agent"

Variables

This section is empty.

Functions

func ProvideHTTPClient

func ProvideHTTPClient(dockerCommand command.Command) (*http.Client, error)

func UserAgent

func UserAgent() string

Types

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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