Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
func (*Config) ApplyDefaults ¶
func (c *Config) ApplyDefaults()
type Label ¶
type Label struct {
// We don't use gorm.Model since we want to add an index on DeletedAt
//gorm.Model
ID uint `gorm:"primarykey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"uniqueIndex:u_label;index"`
Inode string `gorm:"size:32;uniqueIndex:u_label;index"`
Instance string `gorm:"size:32;uniqueIndex:u_label;index"`
UserId string `gorm:"size:64;uniqueIndex:u_label;index"`
Label string `gorm:"size:64;uniqueIndex:u_label;index"`
}
Click to show internal directories.
Click to hide internal directories.