router

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const BearerPrefix = "Bearer "
View Source
const JWTTokenCacheDuration = time.Minute * 30
View Source
const JWTTokenCacheSize = 20000

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignHostPortRouter added in v1.33.4

type AssignHostPortRouter struct {
	// contains filtered or unexported fields
}

func NewAssignHostPortRouter added in v1.33.4

func NewAssignHostPortRouter(ctx context.Context, allocator *portallocator.PortAllocator) (*AssignHostPortRouter, error)

func (*AssignHostPortRouter) AssignHostPort added in v1.33.4

func (r *AssignHostPortRouter) AssignHostPort(ctx *gin.Context)

type ConnectionRouter

type ConnectionRouter struct {
	// contains filtered or unexported fields
}

func NewConnectionRouter

func NewConnectionRouter(ctx context.Context, client client.WithWatch) (*ConnectionRouter, error)

func (*ConnectionRouter) Get

func (cr *ConnectionRouter) Get(ctx *gin.Context)

Jump to

Keyboard shortcuts

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