mtls

package
v0.0.0-...-0bf2ab5 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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)
	GetOrCreate(ctx context.Context, kubeClient client.Client, ns string) (*http.Client, error)
	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