Documentation ¶
Index ¶
- Constants
- func CheckAction(tx gorp.SqlExecutor, project *sdk.Project, pip *sdk.Pipeline, actionID int64) ([]sdk.Warning, error)
- func CheckPipeline(db *sql.DB, project *sdk.Project, pip *sdk.Pipeline) error
- func CheckProjectPipelines(db *sql.DB, project *sdk.Project) error
- func InsertActionWarnings(tx gorp.SqlExecutor, projectID, pipelineID int64, actionID int64, ...) error
- func LoadAllWarnings(db *sql.DB, al string) ([]sdk.Warning, error)
- func LoadUserWarnings(db *sql.DB, al string, userID int64) ([]sdk.Warning, error)
Constants ¶
View Source
const ( MultipleWorkerModelWarning NoWorkerModelMatchRequirement InvalidVariableFormat ProjectVariableDoesNotExist ApplicationVariableDoesNotExist EnvironmentVariableDoesNotExist CannotUseEnvironmentVariable MultipleHostnameRequirement IncompatibleBinaryAndModelRequirements IncompatibleServiceAndModelRequirements IncompatibleMemoryAndModelRequirements )
Warning unique identifiers
Variables ¶
This section is empty.
Functions ¶
func CheckAction ¶
func CheckAction(tx gorp.SqlExecutor, project *sdk.Project, pip *sdk.Pipeline, actionID int64) ([]sdk.Warning, error)
CheckAction checks for configuration errors like: - incompatible requirements - inexisting variable usage
func CheckPipeline ¶
CheckPipeline loads all PipelineAction and checks them all
func CheckProjectPipelines ¶
CheckProjectPipelines checks all pipelines in project
func InsertActionWarnings ¶
func InsertActionWarnings(tx gorp.SqlExecutor, projectID, pipelineID int64, actionID int64, warnings []sdk.Warning) error
InsertActionWarnings in database
func LoadAllWarnings ¶
LoadAllWarnings loads all warnings existing in CDS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.