model

package
v1.7.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 0 Imported by: 3

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL