azure

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureHandler

func NewAzureHandler(ctx context.Context, config HandlerConfig) (http.Handler, error)

NewAzureHandler creates a new instance of a http.Handler for Azure requests.

Types

type HandlerConfig

type HandlerConfig struct {
	// RoundTripper is the underlying transport given to an oxy Forwarder.
	RoundTripper http.RoundTripper
	// Log is the Logger.
	Log logrus.FieldLogger
	// Clock is used to override time in tests.
	Clock clockwork.Clock
	// contains filtered or unexported fields
}

HandlerConfig is the configuration for an Azure app-access handler.

func (*HandlerConfig) CheckAndSetDefaults

func (s *HandlerConfig) CheckAndSetDefaults() error

CheckAndSetDefaults validates the HandlerConfig.

Jump to

Keyboard shortcuts

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