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

# Functions

DeleteAllEnvironment Delete all environment attached to the given project.
DeleteAllEnvironmentKeys Delete all environment keys for the given env.
DeleteAllVariables Delete all variables from the given environment.
DeleteEnvironment Delete the given environment.
DeleteEnvironmentKey Delete the given key from the given project.
DeleteVariable Delete a variable from the given pipeline.
Exists checks if an environment already exists on the project.
Export an environment.
ExportEnvironment encrypt and export.
Import import or reuser the provided environment.
ImportInto import variables and groups on an existing environment.
InsertEnvironment Insert new environment.
InsertKey a new environment key in database.
InsertVariable Insert a new variable in the given environment.
LoadAllByIDs load all environment.
LoadAllKeys load all keys for the given environment.
LoadAllKeysForEnvsWithDecryption load all keys for all given environments, with description.
LoadAllKeysWithPrivateContent load all keys for the given environment.
LoadAllNames returns all environment names.
LoadAllNamesByFromRepository returns all environment names for a repository.
LoadAllVariables Get all variable for the given environment.
LoadAllVariablesForEnvsWithDecryption load all variables for all given environments.
LoadAllVariablesWithDecrytion Get all variable for the given environment, it also decrypt all the secure content.
LoadByWorkflowID loads environments from database for a given workflow id.
LoadEnvironmentByID load the given environment.
LoadEnvironmentByName load the given environment.
LoadEnvironments load all environment from the given project.
No description provided by the author
LoadVariable retrieve a specific variable.
LoadVariableAudits Load audits for the given variable.
LoadVariableWithDecryption retrieve a specific variable with decrypted content.
Lock locks an environment given its ID.
ParseAndImport parse an exportentities.Environment and insert or update the environment in database.
ResetFromRepository reset fromRepository for all environments using the same fromRepository in a given project.
UpdateEnvironment Update an environment.
UpdateVariable Update a variable in the given environment.

# Structs

ImportOptions are options to import environment.