httpdefaults

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package httpdefaults provides default HTTP client settings for Talos.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchTransport

func PatchTransport(transport *http.Transport) *http.Transport

PatchTransport updates *http.Transport with Talos-specific settings.

Settings applied here only make sense when running in Talos root filesystem.

func RootCAs

func RootCAs() *x509.CertPool

RootCAs provides a cached, but refreshed, list of root CAs.

If loading certificates fails for any reason, function returns nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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