gatewayauth

package
v0.0.0-...-2e7c69a Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotNegotiatedByUs   = errors.New("connection was not negotiated by us (wrong AuthInfo)")
	ErrUnableToGetPeer     = errors.New("unable to get peer from context")
	ErrUnableToGetAuthInfo = errors.New("unable to get authinfo from peer")
)
View Source
var ErrAuthenticationFailed = errors.New("authentication failed")

Functions

func NewFactory

func NewFactory() extension.Factory

Types

type Config

type Config struct {
	// Configures the protocol to use TLS.
	// The default value is nil, which will cause the protocol to not use TLS.
	TLS configoptional.Optional[configtls.ServerConfig] `mapstructure:"tls,omitempty"`

	ChangefeedBatchSize configoptional.Optional[int] `mapstructure:"changefeedBatchSize,omitempty"`
	ChangefeedInterval  configoptional.Optional[int] `mapstructure:"changefeedInterval,omitempty"`
}

func (*Config) Validate

func (sc *Config) Validate() error

Directories

Path Synopsis
internal
metadata
Package metadata contains the autogenerated telemetry and build information for the extension/gatewayauth component.
Package metadata contains the autogenerated telemetry and build information for the extension/gatewayauth component.

Jump to

Keyboard shortcuts

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