sts

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GRPCAddress   string `mapstructure:"grpc_address"`
	LookupAddress string `mapstructure:"lookup_address"`
}

func (Config) GRPCAddr

func (c Config) GRPCAddr() string

func (Config) Validate

func (c Config) Validate() error

type STS

type STS struct {
	*STSService
	// contains filtered or unexported fields
}

func NewSTS

func NewSTS(ctx context.Context, cfg config.RuntimeConfig[Config]) (*STS, error)

func (*STS) Address

func (sts *STS) Address() string

func (*STS) Logger

func (sts *STS) Logger() *logrus.Entry

func (*STS) Name

func (sts *STS) Name() string

func (*STS) Serve

func (sts *STS) Serve() error

func (*STS) Shutdown

func (sts *STS) Shutdown(ctx context.Context) error

type STSService

Service is the implementation of the STS service.

func NewSTSService

func NewSTSService(cfg Config) (*STSService, error)

NewService creates a new STS service.

func (*STSService) Check

Check performs authorization check for Envoy ext_authz filter.

func (*STSService) Health

Health checks the health of the STS service and its dependencies.

Jump to

Keyboard shortcuts

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