Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExecutionCacheTablePrimaryKeyColumn ¶
func GetExecutionCacheTablePrimaryKeyColumn() string
GetExecutionCacheTablePrimaryKeyColumn returns the primary key column of ExecutionCache.
Types ¶
type ExecutionCache ¶
type ExecutionCache struct { ID int64 `gorm:"column:ID; not null; primary_key; AUTO_INCREMENT"` ExecutionCacheKey string `gorm:"column:ExecutionCacheKey; not null; index:idx_cache_key"` ExecutionTemplate string `gorm:"column:ExecutionTemplate; not null"` ExecutionOutput string `gorm:"column:ExecutionOutput; not null"` MaxCacheStaleness int64 `gorm:"column:MaxCacheStaleness; not null"` StartedAtInSec int64 `gorm:"column:StartedAtInSec; not null"` EndedAtInSec int64 `gorm:"column:EndedAtInSec; not null"` }
func (*ExecutionCache) GetModelName ¶
func (e *ExecutionCache) GetModelName() string
GetModelName returns the name of ExecutionCache.
func (ExecutionCache) GetValueOfPrimaryKey ¶
func (e ExecutionCache) GetValueOfPrimaryKey() int64
GetValueOfPrimaryKey returns the value of ExecutionCacheKey.
func (*ExecutionCache) PrimaryKeyColumnName ¶
func (e *ExecutionCache) PrimaryKeyColumnName() string
PrimaryKeyColumnName returns the primary key for ExecutionCache.
Click to show internal directories.
Click to hide internal directories.