mtls

package
v0.0.0-...-c55d01b Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const TLSCAKey = "ca.crt"

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, kubeClient client.Client, secretName types.NamespacedName) (*http.Client, error)

Types

type HttpClientRegistry

type HttpClientRegistry interface {
	Create(ctx context.Context, kubeClient client.Client, ns string) (*http.Client, error)
	Get(ns string) (*http.Client, bool)
	Delete(ns string)
}

func NewHttpClientRegistry

func NewHttpClientRegistry() HttpClientRegistry

Jump to

Keyboard shortcuts

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