routers

package
v0.0.0-...-d1bc524 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LambdaLabelServiceAccount = "lambda.refunc.io/service-account"
)

Variables

This section is empty.

Functions

func CreateHTTPRouter

func CreateHTTPRouter(sc sharedcfg.Configs, cfg Config, stopC <-chan struct{}) *gin.Engine

func WithAwsSign

func WithAwsSign(sc sharedcfg.Configs, rbac bool) gin.HandlerFunc

func WithClientSet

func WithClientSet(sc sharedcfg.Configs, stopC <-chan struct{}) gin.HandlerFunc

Types

type Config

type Config struct {
	Rbac bool
}

Jump to

Keyboard shortcuts

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