Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *gorm.DB) repository_intf.DeploymentConfigRepository
Types ¶
type DeploymentConfigModel ¶
type DeploymentConfigModel struct { Id int `gorm:"column:id"` Project string `gorm:"column:project"` Env string `gorm:"column:env"` Name string `gorm:"column:name"` Config []byte `gorm:"column:config"` CreatedBy int `gorm:"column:created_by"` CreatedAt *time.Time `gorm:"column:created_at"` UpdatedAt *time.Time `gorm:"column:updated_at"` }
func (DeploymentConfigModel) FromDeploymentConfigEntity ¶
func (DeploymentConfigModel) FromDeploymentConfigEntity(a entity.DeploymentConfig) *DeploymentConfigModel
func (*DeploymentConfigModel) ToDeploymentConfigEntity ¶
func (am *DeploymentConfigModel) ToDeploymentConfigEntity() *entity.DeploymentConfig
Click to show internal directories.
Click to hide internal directories.