v1

package
v0.0.2-0...-22ffb4e Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiGroup   = "tup.tmax.io"
	ApiVersion = "v1"
	TupDbKind  = "tupdbs"
	TupWasKind = "tupwas"
)
View Source
const (
	UserHeader   = "X-Remote-User"
	GroupHeader  = "X-Remote-Group"
	ExtrasHeader = "X-Remote-Extra-"
)
View Source
const (
	TupDBApiTypeAnalyze = ApiType("analyze")
	TupDBApiTypeMigrate = ApiType("migrate")
)
View Source
const (
	ApiTypeAnalyze = ApiType("analyze")
	ApiTypeRun     = ApiType("run")
)

Variables

This section is empty.

Functions

func AddTupDBApis

func AddTupDBApis(parent *wrapper.RouterWrapper) error

func AddTupWasApis

func AddTupWasApis(parent *wrapper.RouterWrapper) error

func AddV1Apis

func AddV1Apis(parent *wrapper.RouterWrapper) error

func Authorize

func Authorize(h http.Handler) http.Handler

Types

type ApiType

type ApiType string

Jump to

Keyboard shortcuts

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