package
0.55.1
Repository: https://github.com/ovh/cds.git
Documentation: pkg.go.dev

# Functions

DeleteAllApplicationKeys deletes all application keys.
DeleteAllDeploymentStrategies delete all lines in table application_deployment_strategy for one application.
DeleteAllVariables Delete all variables from the given application.
DeleteApplication Delete the given application.
DeleteDeploymentStrategy delete a line in table application_deployment_strategy.
DeleteKey Delete the given key from the given application.
DeleteVariable Delete a variable from the given pipeline.
Exists checks if an application given its name exists.
Export an application.
ExportApplication encrypt and export.
GetVariableAudit Get variable audit for the given application Deprecated.
Import is able to create a new application and all its components.
Insert add an application id database.
InsertKey a new application key in database.
InsertVariable Insert a new variable in the given application.
LoadAll returns all applications.
LoadAllByIDs returns all applications.
LoadAllByIDsWithDecryption returns all applications with clear vcs strategy.
LoadAllDeploymnentForAppsWithDecryption load all deployments for all given applications, with decryption.
LoadAllKeys load all keys for the given application.
LoadAllKeysForAppsWithDecryption load all keys for all given applications, with decryption.
LoadAllKeysWithPrivateContent load all keys for the given application.
LoadAllNames returns all application names.
LoadAllNamesByFromRepository returns all application names for a repository.
No description provided by the author
LoadAllVariablesForAppsWithDecryption load all variables from all given applications, with decryption.
LoadAllVariablesWithDecrytion Get all variable for the given application, it also decrypt all the secure content.
LoadByID load an application from DB.
No description provided by the author
LoadByName load an application from DB.
LoadByNameWithClearVCSStrategyPassword load an application from DB.
LoadByWorkflowID loads applications from database for a given workflow id.
LoadDeploymentStrategies loads the deployment strategies for an application.
LoadIcon return application icon given his application id.
LoadVariable retrieve a specific variable.
LoadVariableAudits Load audits for the given variable.
LoadVariableWithDecryption retrieve a specific variable with decrypted content.
ParseAndImport parse an exportentities.Application and insert or update the application in database.
ResetFromRepository reset fromRepository for all applications using the same fromRepository in a given project.
SetDeploymentStrategy update the application_deployment_strategy table.
Update updates application id database.
UpdateKey a new application key in database.
UpdateVariable Update a variable in the given application.

# Variables

ErrNoVariable when request requires specific variable in the applicatoin.
LoadOptions provides all options on project loads functions.

# Structs

ImportOptions are options to import application.

# Type aliases

LoadOptionFunc is a type for all options in LoadOptions.