Versions in this module Expand all Collapse all v1 v1.0.56 Feb 29, 2024 v1.0.55 Feb 28, 2024 Changes in this version + type BackupData struct + ServerID int64 + func (s *BackupData) TableName() string + type BaseModel struct + CreatedAt ztime.Time + CreatedBy int64 + DeletedAt gorm.DeletedAt + DeletedBy int64 + ID int64 + LogComments string + UpdatedAt ztime.Time + UpdatedBy int64 + func (b *BaseModel) New() + type ComponentBinds struct + Components map[string][]*component.ComponentParameters + func (c *ComponentBinds) Add(code string, parameters []*component.ComponentParameters) + func (c *ComponentBinds) Remove(code string) + func (m *ComponentBinds) Has(code string) bool + func (m *ComponentBinds) Marshal() ([]byte, error) + func (m *ComponentBinds) Scan(v interface{}) error + func (m *ComponentBinds) UnMarshal(value []byte) error + func (m ComponentBinds) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (m ComponentBinds) Value() (driver.Value, error) + type Parameters struct + Paras []*component.ComponentParameters + func (m *Parameters) Scan(v interface{}) error + func (m Parameters) Value() (driver.Value, error) + type Server struct + Desc string + IP string + Password string + Port int + ProductCode string + ProductDepend *component.ProductDepends + SystemComponentBinds ComponentBinds + UserName string + func (s *Server) SSHConnect() (*ssh.SSHClient, error) + func (s *Server) TableName() string + type ServerServiceBind struct + HasInit models.EnableStatus + HasInstalled models.EnableStatus + Parameters *Parameters + Server *Server + ServerID int64 + ServiceCode string + VersionID int64 + func (s *ServerServiceBind) TableName() string + type ServiceVersion struct + Path string + ServerID int64 + ServiceCode string + ServiceID int64 + Version string + func (s *ServiceVersion) TableName() string