util

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBasicAuthFromNamespaceScopedSecret

func GetBasicAuthFromNamespaceScopedSecret(ctx context.Context, client kubernetes.Interface, namespace string, ref *corev1.LocalObjectReference) (username, password string)

Types

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

func WithBasicAuth

func WithBasicAuth(username, password string) RequestEditorFn

func WithCurlLogger

func WithCurlLogger(lg *slog.Logger) RequestEditorFn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳