v1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiGroup     = "cicdapi.tmax.io"
	ApiVersion   = "v1"
	ApprovalKind = "approvals"
)
View Source
const (
	UserHeader   = "X-Remote-User"
	GroupHeader  = "X-Remote-Group"
	ExtrasHeader = "X-Remote-Extra-"
)

Variables

This section is empty.

Functions

func AddApprovalApis

func AddApprovalApis(parent *wrapper.RouterWrapper, cli client.Client) error

func AddApproveApis

func AddApproveApis(parent *wrapper.RouterWrapper, cli client.Client) error

func AddRejectApis

func AddRejectApis(parent *wrapper.RouterWrapper, cli client.Client) error

func AddV1Apis

func AddV1Apis(parent *wrapper.RouterWrapper, cli client.Client) error

func Authorize

func Authorize(h http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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