Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ACL ¶
type ACL struct { ID int64 `gorm:"primaryKey;column:id;autoIncrement;"` ActionName string `gorm:"column:action_name;type:varchar(500);uniqueIndex:acls_u1"` ActionValue string `gorm:"column:action_value;type:varchar(500)"` RoleID int `gorm:"column:role_id;default:-1;uniqueIndex:acls_u1"` WorkspaceID int `gorm:"column:workspace_id; default:-1;uniqueIndex:acls_u1"` NodeID int `gorm:"column:node_id; default:-1;uniqueIndex:acls_u1"` Role Role `gorm:"foreignKey:RoleID"` Workspace Workspace `gorm:"foreignKey:WorkspaceID"` Node Node `gorm:"foreignKey:NodeID"` Creation time.Time `gorm:"column:created_at;type:timestamp;default:current_timestamp;"` Expiry *time.Time `gorm:"column:expires_at;type:TIMESTAMP NULL DEFAULT NULL"` }
type Node ¶
Click to show internal directories.
Click to hide internal directories.