Help us shape the future of Go! Take the 2026 Go Developer Survey

httputil

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHTTPClient

func BuildHTTPClient(cpw *CertPoolWatcher) (*http.Client, error)

func NewCertPool added in v0.13.0

func NewCertPool(caDir string, log logr.Logger) (*x509.CertPool, error)

Types

type CertPoolWatcher added in v0.13.0

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

func NewCertPoolWatcher added in v0.13.0

func NewCertPoolWatcher(caDir string, log logr.Logger) (*CertPoolWatcher, error)

func (*CertPoolWatcher) Done added in v0.13.0

func (cpw *CertPoolWatcher) Done()

func (*CertPoolWatcher) Get added in v0.13.0

func (cpw *CertPoolWatcher) Get() (*x509.CertPool, int, error)

Returns the current CertPool and the generation number

Jump to

Keyboard shortcuts

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