metadata

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionMetadataKey = "action-metadata"

	TaskID       = "task_id"
	TemplateName = "template_name"
	ResolutionID = "resolution_id"
	StepName     = "step_name"
	OldState     = "old_state"
	NewState     = "new_state"
	FunctionName = "function_name"
	CommentID    = "comment_id"
	BatchID      = "batch_id"
)

Variables

This section is empty.

Functions

func AddActionMetadata

func AddActionMetadata(c *gin.Context, name string, value interface{})

func GetActionMetadata

func GetActionMetadata(c *gin.Context) map[string]interface{}

func IsSUDO

func IsSUDO(c *gin.Context) bool

func SetSUDO

func SetSUDO(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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