Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mock bool
Functions ¶
func SetContext ¶
func SetContext(context Context)
Types ¶
type Context ¶
type Context struct {
Policies []Policy `json:"policies"`
}
var ContextVar Context
func GetContext ¶
func GetContext() Context
type Policy ¶
func GetPolicyFromContext ¶
Click to show internal directories.
Click to hide internal directories.