Documentation ¶
Index ¶
Constants ¶
View Source
const ( HealthStatusSuspended string = "Suspended" HealthStatusHibernatingFilter string = "HIBERNATING" HealthStatusHibernating string = "Hibernated" HealthStatusPartiallyHibernated string = "Partially Hibernated" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatusRequestResponseDto ¶
type AppStatusRequestResponseDto struct { AppId int `json:"appId"` InstalledAppId int `json:"installedAppId"` EnvironmentStatusContainers []EnvironmentStatusContainer `json:"environmentStatusContainers"` }
type AppStatusService ¶
type AppStatusServiceImpl ¶
type AppStatusServiceImpl struct {
// contains filtered or unexported fields
}
func NewAppStatusServiceImpl ¶
func NewAppStatusServiceImpl(appStatusRepository appStatus.AppStatusRepository, logger *zap.SugaredLogger, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil) *AppStatusServiceImpl
func (*AppStatusServiceImpl) DeleteWithAppIdEnvId ¶
func (impl *AppStatusServiceImpl) DeleteWithAppIdEnvId(tx *pg.Tx, appId, envId int) error
func (*AppStatusServiceImpl) UpdateStatusWithAppIdEnvId ¶
func (impl *AppStatusServiceImpl) UpdateStatusWithAppIdEnvId(appId, envId int, status string) error
Click to show internal directories.
Click to hide internal directories.