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

# Functions

DecryptWithBuiltinKey decrypt a base64-ed, gzipped, content.
Delete delete one or more projects given the key.
DeleteAllVariables Delete all variables from the given project.
DeleteByID removes given project from database (project and project_group table) DeleteByID also removes all pipelines inside project (pipeline and pipeline_group table).
No description provided by the author
DeleteLabel delete a label given a label ID.
DeleteProjectKey Delete the given key from the given project.
DeleteVariable Delete a variable from the given pipeline.
No description provided by the author
No description provided by the author
No description provided by the author
DisableProjectKey Disable the given key from the given project.
EnableProjectKey Enable the given key from the given project.
EncryptWithBuiltinKey encrypt a content with the builtin gpg key encode, compress it and encode with base64.
Exist checks whether a project exists or not.
GetVariableAudit Get variable audit for the given project.
Insert a new project in database.
InsertKey a new project key in database.
InsertLabel insert a label.
InsertVariable Insert a new variable in the given project.
No description provided by the author
No description provided by the author
No description provided by the author
LabelByName return a label given his name and project id.
Labels return list of labels given a project ID.
No description provided by the author
Load returns a project with all its variables and applications given a user.
LoadAll returns all projects.
LoadAllByGroupIDs returns all projects given groups.
No description provided by the author
LoadAllByRepo returns all projects with an application linked to the repo.
LoadAllByRepoAndGroupIDs returns all projects with an application linked to the repo against the groups.
LoadAllKeys load all keys for the given project.
No description provided by the author
No description provided by the author
LoadAllKeysWithPrivateContent load all keys for the given project.
LoadAllProjectKeys returns all project keys.
LoadAllVariables Get all variable for the given project.
LoadAllVariablesForProjectsWithDecryption loads all variables for all givent projects.
LoadAllVariablesWithDecrytion Get all variable for the given project, it also decrypt all the secure content.
LoadByID returns a project with all its variables and applications given a user.
No description provided by the author
No description provided by the author
LoadPermissions loads all projects where group has access.
LoadProjectByNodeJobRunID return a project from node job run id.
LoadProjectByWorkflowID loads a project from workflow iD.
LoadVariable retrieve a specific variable.
LoadVariableAudits Load audits for the given variable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LoadVariableWithDecryption retrieve a specific variable with decrypted content.
Update a new project in database.
UpdateFavorite add or delete project from user favorites.
No description provided by the author
UpdateLabel update a label.
UpdateVariable Update a variable in the given project.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

BuiltinGPGKey is a const.

# Variables

LoadOptions provides all options on project loads functions.

# Type aliases

LoadOptionFunc is used as options to loadProject functions.