globvar

package
v0.0.0-...-e8da0a6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SLICE_CAPACITY = 10
)

Variables

View Source
var (
	ClusterTokenExpirationTime        = clusterTokenExpirationTime{Duration: 365 * 24 * time.Hour}
	ClientSessionSignatureSecret      = clientSessionSignatureSecret{Bytes: []byte{}}
	ClientSessionExpirationTime       = clientSessionExpirationTime{Duration: 60 * time.Second}
	ClientConfigServiceValidityPeriod = clientConfigServiceValidityPeriod{Duration: 10 * time.Minute}
)

Functions

func ToModel

func ToModel(gv GlobVar, t time.Time) *model.GlobalVariable

Types

type GlobVar

type GlobVar interface {
	UUID() string
	Name() string
	Summary() string
	GetValue() string
	SetValue(s string) error
	Clone() GlobVar
}

type GlobalVariantUpdate

type GlobalVariantUpdate struct {
	*sql.DB
	// contains filtered or unexported fields
}

func NewGlobalVariablesUpdate

func NewGlobalVariablesUpdate(db *sql.DB, dialect excute.SqlExcutor) *GlobalVariantUpdate

func (*GlobalVariantUpdate) Merge

func (worker *GlobalVariantUpdate) Merge() (err error)

func (*GlobalVariantUpdate) Update

func (worker *GlobalVariantUpdate) Update() error

Update

Update = read db -> global_variables

func (*GlobalVariantUpdate) WhiteListCheck

func (worker *GlobalVariantUpdate) WhiteListCheck() (err error)

WhiteListCheck 리스트 체크

Jump to

Keyboard shortcuts

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