Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *gorm.DB) repository_intf.DeploymentRepository
Types ¶
type DeploymentModel ¶
type DeploymentModel struct { Id int `gorm:"column:id"` Project string `gorm:"column:project"` Env string `gorm:"column:env"` Name string `gorm:"column:name"` ImageDigest string `gorm:"column:image_digest"` Variables []byte `gorm:"column:variables"` Ports []byte `gorm:"column:ports"` CreatedBy int `gorm:"column:created_by"` CreatedAt *time.Time `gorm:"column:created_at"` UpdatedAt *time.Time `gorm:"column:updated_at"` }
func (*DeploymentModel) ToDeploymentEntity ¶
func (dm *DeploymentModel) ToDeploymentEntity() *entity.Deployment
Click to show internal directories.
Click to hide internal directories.