middleware

package
v0.1.313 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCheck added in v0.1.70

func AuthCheck(c *gin.Context)

func CopyToWritablePath added in v0.1.278

func CopyToWritablePath(c *gin.Context)

CopyToWritablePath copies the binaries to a writeable, temporary location. This service relies on a number of binary files like OPA and terraform providers. When running in Azure functions, the file system is read-only. Copying files to the temp dir allows us to set the executable flag on the files.

func JwtCheckMiddleware

func JwtCheckMiddleware(skipValidation bool) gin.HandlerFunc

func MakeExecutable added in v0.1.41

func MakeExecutable(c *gin.Context)

MakeExecutable is a middleware function that sets the executable permissions for the specified files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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