Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshallMessage ¶
func MarshallMessage(data interface{}) []byte
Types ¶
type ActionType ¶
type ActionType string
const ( ActionTypeRead ActionType = "read" ActionTypeWrite ActionType = "write" ActionTypeAdmin ActionType = "admin" ActionTypeUse ActionType = "use" )
type Credentials ¶
type JobMessage ¶
type ObjectType ¶
type ObjectType string
const ( ObjectTypeInventory ObjectType = "inventories" ObjectTypeSshKey ObjectType = "ssh-keys" ObjectTypeTemplate ObjectType = "templates" ObjectTypeApplications ObjectType = "applications" ObjectTypeTeams ObjectType = "teams" ObjectTypeUsers ObjectType = "users" ObjectTypeJobs ObjectType = "jobs" ObjectTypeRepositories ObjectType = "repositories" )
type Permission ¶
type Permission struct { SubjectType SubjectType SubjectID uint SubjectName string ObjectType ObjectType ObjectID uint ObjectName string Action ActionType }
type PushSubscriptionDTO ¶
type SubjectType ¶
type SubjectType string
const ( SubjectTypeTeam SubjectType = "teams" SubjectTypeUser SubjectType = "users" )
Click to show internal directories.
Click to hide internal directories.