Documentation
¶
Index ¶
- Variables
- func GetAppConfigByEnvId(appId *string, envId *string, db *gorm.DB) (*pb.AppConfigORM, error)
- func GetAppConfigByLifecycleId(appId *string, lifecycleId *string, db *gorm.DB) (*pb.AppConfigORM, error)
- func GetAppInstanceById(id *atlasresource.Identifier, db *gorm.DB) (*pb.ApplicationInstanceORM, error)
- func GetChartVersionById(id *string, db *gorm.DB) (*pb.ChartVersionORM, error)
- func GetEnvrionmentById(id *string, db *gorm.DB) (*pb.EnvironmentORM, error)
- func GetLifecycleById(id *string, db *gorm.DB) (*pb.LifecycleORM, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAppConfigNotFound = errors.New("appConfig instance not found")
View Source
var ErrChartVersionNotFound = errors.New("chart version not found")
View Source
var ErrEnvironmentNotFound = errors.New("environment instance not found")
View Source
var ErrLifecycleNotFound = errors.New("lifecycle instance not found")
View Source
var ErrUserNotFound = errors.New("app instance not found")
Functions ¶
func GetAppConfigByEnvId ¶
GetAppConfigByEnvId fetches an appConfig instance from the database by environment id.
func GetAppConfigByLifecycleId ¶
func GetAppConfigByLifecycleId(appId *string, lifecycleId *string, db *gorm.DB) (*pb.AppConfigORM, error)
GetAppConfigByLifecycleId fetches an appConfig instance from the database by lifecycle id.
func GetAppInstanceById ¶
func GetAppInstanceById(id *atlasresource.Identifier, db *gorm.DB) (*pb.ApplicationInstanceORM, error)
GetAppInstanceById fetches an app instance from the database by id.
func GetChartVersionById ¶
GetChartVersionById fetches a chart version from the database by id.
func GetEnvrionmentById ¶
GetEnvrionmentById fetches an environment instance from the database by id.
func GetLifecycleById ¶
GetLifecycleById fetches a lifecycle instance from the database by id.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.