Documentation ¶
Overview ¶
Generated by protoc-ddl. protoc-gen-entity: v0.1
Index ¶
Constants ¶
View Source
const SchemaHash = "6bbc319829fc90e78fa6547d799da627e0e118769e0db3befc648cec3dc7f2fc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { Id int32 Name string Value string UserId int32 IssuerId int32 CreatedAt time.Time UpdatedAt *time.Time User *User Issuer *User // contains filtered or unexported fields }
func (*AccessToken) ChangedColumn ¶
func (e *AccessToken) ChangedColumn() []ddl.Column
func (*AccessToken) Copy ¶
func (e *AccessToken) Copy() *AccessToken
func (*AccessToken) IsChanged ¶
func (e *AccessToken) IsChanged() bool
func (*AccessToken) ResetMark ¶
func (e *AccessToken) ResetMark()
type Code ¶
type Code struct { Id int32 Code string Challenge string ChallengeMethod string UserId int32 IssuedAt time.Time User *User // contains filtered or unexported fields }
func (*Code) ChangedColumn ¶
func (e *Code) ChangedColumn() []ddl.Column
type GPGKey ¶ added in v0.9.0
type GPGKey struct { UserId int32 Key string CreatedAt time.Time UpdatedAt *time.Time User *User // contains filtered or unexported fields }
func (*GPGKey) ChangedColumn ¶ added in v0.9.0
func (e *GPGKey) ChangedColumn() []ddl.Column
type Node ¶
type Node struct { Id int32 Hostname string CreatedAt time.Time UpdatedAt *time.Time // contains filtered or unexported fields }
func (*Node) ChangedColumn ¶
func (e *Node) ChangedColumn() []ddl.Column
type Relay ¶
type Relay struct { Id int32 Name string Addr string FromAddr string ConnectedAt time.Time CreatedAt time.Time UpdatedAt *time.Time // contains filtered or unexported fields }
func (*Relay) ChangedColumn ¶
func (e *Relay) ChangedColumn() []ddl.Column
type RevokedCertificate ¶
type RevokedCertificate struct { Id int32 CommonName string SerialNumber []byte Agent bool Comment string RevokedAt time.Time IssuedAt time.Time CreatedAt time.Time UpdatedAt *time.Time // contains filtered or unexported fields }
func (*RevokedCertificate) ChangedColumn ¶
func (e *RevokedCertificate) ChangedColumn() []ddl.Column
func (*RevokedCertificate) Copy ¶
func (e *RevokedCertificate) Copy() *RevokedCertificate
func (*RevokedCertificate) IsChanged ¶
func (e *RevokedCertificate) IsChanged() bool
func (*RevokedCertificate) ResetMark ¶
func (e *RevokedCertificate) ResetMark()
type RoleBinding ¶
type RoleBinding struct { Id int32 UserId int32 Role string Maintainer bool CreatedAt time.Time UpdatedAt *time.Time User *User // contains filtered or unexported fields }
func (*RoleBinding) ChangedColumn ¶
func (e *RoleBinding) ChangedColumn() []ddl.Column
func (*RoleBinding) Copy ¶
func (e *RoleBinding) Copy() *RoleBinding
func (*RoleBinding) IsChanged ¶
func (e *RoleBinding) IsChanged() bool
func (*RoleBinding) ResetMark ¶
func (e *RoleBinding) ResetMark()
type SSHKey ¶
type SSHKey struct { UserId int32 Key string CreatedAt time.Time UpdatedAt *time.Time User *User // contains filtered or unexported fields }
func (*SSHKey) ChangedColumn ¶
func (e *SSHKey) ChangedColumn() []ddl.Column
type SerialNumber ¶
func (*SerialNumber) ChangedColumn ¶
func (e *SerialNumber) ChangedColumn() []ddl.Column
func (*SerialNumber) Copy ¶
func (e *SerialNumber) Copy() *SerialNumber
func (*SerialNumber) IsChanged ¶
func (e *SerialNumber) IsChanged() bool
func (*SerialNumber) ResetMark ¶
func (e *SerialNumber) ResetMark()
type SignedCertificate ¶
type SignedCertificate struct { Id int32 Certificate []byte SerialNumberId int64 P12 []byte Agent bool Comment string IssuedAt time.Time SerialNumber *SerialNumber // contains filtered or unexported fields }
func (*SignedCertificate) ChangedColumn ¶
func (e *SignedCertificate) ChangedColumn() []ddl.Column
func (*SignedCertificate) Copy ¶
func (e *SignedCertificate) Copy() *SignedCertificate
func (*SignedCertificate) IsChanged ¶
func (e *SignedCertificate) IsChanged() bool
func (*SignedCertificate) ResetMark ¶
func (e *SignedCertificate) ResetMark()
type Token ¶
type Token struct { Id int32 Token string UserId int32 IssuedAt time.Time User *User // contains filtered or unexported fields }
func (*Token) ChangedColumn ¶
func (e *Token) ChangedColumn() []ddl.Column
type User ¶
type User struct { Id int32 Identity string LoginName string Admin bool Type string Comment string LastLogin time.Time CreatedAt time.Time UpdatedAt *time.Time // contains filtered or unexported fields }
func (*User) ChangedColumn ¶
func (e *User) ChangedColumn() []ddl.Column
Click to show internal directories.
Click to hide internal directories.