Documentation ¶
Index ¶
- Variables
- func AllObjects(c *gin.Context)
- func AssociateObjects(c *gin.Context)
- func AssociatedObjects(c *gin.Context)
- func CreateObject(c *gin.Context)
- func CreateObjectRole(c *gin.Context)
- func Definitions(c *gin.Context)
- func DeleteObject(c *gin.Context)
- func DeleteObjectRole(c *gin.Context)
- func DissociateObjects(c *gin.Context)
- func GetObj(c *gin.Context, key string) kodex.Model
- func GetObject(c *gin.Context) kodex.Model
- func GetObjs(c *gin.Context) []kodex.Model
- func ObjectDetails(c *gin.Context)
- func ObjectRoles(c *gin.Context)
- func Objects(c *gin.Context)
- func SayHello(c *gin.Context)
- func Submit(c *gin.Context)
- func TransformActionConfigEndpoint(meter kodex.Meter) func(*gin.Context)
- func TransformConfigEndpoint(meter kodex.Meter) func(*gin.Context)
- func TransformEndpoint(meter kodex.Meter) func(c *gin.Context)
- func UpdateObject(c *gin.Context)
- func User(c *gin.Context)
- type JSONDataObject
Constants ¶
This section is empty.
Variables ¶
View Source
var TransformActionConfigForm = forms.Form{ ErrorMsg: "invalid data encountered in the transform action config form", Fields: []forms.Field{ { Name: "items", Validators: []forms.Validator{ forms.IsList{ Validators: []forms.Validator{ kodex.IsItem{}, }, }, kodex.IsItems{}, }, }, }, }
View Source
var TransformConfigForm = forms.Form{ ErrorMsg: "invalid data encountered in the transform config form", Fields: []forms.Field{ { Name: "items", Validators: []forms.Validator{ forms.IsList{ Validators: []forms.Validator{ forms.IsStringMap{}, kodex.IsItem{}, }, }, }, }, }, }
View Source
var TransformForm = forms.Form{ ErrorMsg: "invalid data encountered in the transform form", Fields: []forms.Field{ { Name: "undo", Validators: []forms.Validator{ forms.IsOptional{Default: false}, forms.IsBoolean{}, }, }, { Name: "key", Validators: []forms.Validator{ forms.IsOptional{}, forms.IsBytes{ Encoding: "base64", }, }, }, { Name: "salt", Validators: []forms.Validator{ forms.IsOptional{}, forms.IsBytes{ Encoding: "base64", }, }, }, { Name: "items", Validators: []forms.Validator{ forms.IsList{ Validators: []forms.Validator{ kodex.IsItem{}, }, }, kodex.IsItems{}, }, }, { Name: "actions", Validators: []forms.Validator{ forms.IsOptional{Default: []map[string]interface{}{}}, forms.IsList{ Validators: []forms.Validator{ kodex.IsActionSpecification{}, }, }, kodex.IsActionSpecifications{}, }, }, }, }
Functions ¶
func AssociateObjects ¶
func AssociatedObjects ¶
func CreateObject ¶
func DissociateObjects ¶
func ObjectDetails ¶
Types ¶
type JSONDataObject ¶
type JSONDataObject interface {
ListJSONData() map[string]interface{}
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.