# Functions
ActionInfoMarkdown returns string formatted with markdown.
ActionsFilterNotTypes returns a list of actions filtered by types.
ActionsToGroupIDs returns group ids for given actions list.
ActionsToIDs returns ids for given actions list.
AddParameter append a parameter in a parameter array.
AddRequirement append a requirement in a requirement array.
AllDownloadableResourcesWithAvailability set flag Available on downloads list.
AuthConsumersToAuthentifiedUserIDs returns ids of given auth consumers.
AuthConsumersToIDs returns ids of given auth consumers.
AuthentifiedUsersToIDs returns ids for given authentified user list.
BinaryFilename returns artifact name cds-name-os-arch-variant this name is used on Github Releases.
Cause returns recursively the root error from given error.
CheckContentTypeBinary returns an error if Content-Type is not application/octet-stream.
ComputeWorkerModelPath returns path for a worker model with given group name and model name.
CreateTarFromPaths returns a tar formatted reader of a tar made of several path.
DecodeError return an Error struct from json.
DefaultIfEmptyStorage return sdk.DefaultStorageIntegrationName if integrationName is empty.
DeleteEmptyValueFromArray deletes empty value from an array of string.
DeleteFromArray deletes value from an array of string.
DeleteFromArray deletes value from an array of int64.
DirectoryExists checks if the directory exists.
ErrorIs returns true if error match the target error.
ErrorIsUnknown returns true the error is unknown (sdk.ErrUnknownError or lib error).
ErrorToMessage returns message from an error if possible.
ErrorWithFallback returns the current error if it's not a ErrUnknownError else it returns a new ErrorWithStack.
Exit func display an error message on stderr and exit 1.
ExtractHTTPError tries to recognize given error and return http error with message in a language matching Accepted-Language.
FileMd5sum returns the md5sum of a file.
FileSHA512sum returns the sha512sum of a file.
FormatDateRFC5322 format an RFC 5322 date string.
GetArchName returns 386 for "386", "i386", "i686" amd64 for "amd64", "x86_64" (uname -m).
GetBuiltinHookModelByName retrieve the hook model.
GetBuiltinOutgoingHookModelByName retrieve the outgoing hook model.
GetContentType returns the content-type header from a http.Response.
GetDefaultBranch return the default branch.
GetDefaultHookModel return the workflow hook model by its name.
GroupPointersToIDs returns ids of given groups.
InterfaceSlice cast a untyped slice into a slice of untypes things.
IntMapToSlice converts a map struct to a slice for int64 keys.
IPinRange returns a slice of all IP in given IP range i.e 10.35.11.240/28.
IPinRanges returns a slice of all IP in all given IP ranges i.e 72.44.1.240/28,72.42.1.23/27.
IsDownloadedBinary returns true if the binary is already downloaded, false otherwise.
IsErrorWithStack returns true if given error is an errorWithStack.
IsGz returns true if the content is gzipped.
IsInArray checks if the element is in the array.
IsInInt64Array checks if the element is in the array (int64).
IsTar returns true if the content is a tar.
IsURL returns if given path is a url according to the URL regex.
IsValidEmail Check if user email address is ok.
IsValidPermissionValue checks that given permission int value match an exiting level.
JSONWithoutHTMLEncode return byte array of a struct into json without HTML encode.
LookPath searches for an executable named file in the directories named by the PATH environment variable.
MessagesToError returns a translated slices of messages as an error.
ModelsToGroupIDs returns group ids of given worker models.
NeedPlaceholder returns true if variable type is either secret or key.
NewAction instantiate a new Action.
NewConsumerWarningGroupInvalid returns a new warning for given group info.
NewConsumerWarningGroupRemoved returns a new warning for given group info.
NewConsumerWarningLastGroupRemoved returns a new warning.
NewEnvironment instantiate a new Environment.
NewError returns a merge of given err with new http error.
NewErrorFrom returns the given error with given from details.
NewErrorWithStack wraps given root error and override its http error with given error.
NewGoRoutines instanciates a new GoRoutineManager.
NewMessage instanciantes a new message.
NewStage instantiate a new Stage.
NewStringParameter creates a Parameter from a string with <name>=<value> format.
ParameterAddOrSetValue add a new parameter or update a value.
ParameterFind return a parameter given its name if it exists in array.
ParametersFromApplicationVariables returns a map from application key.
ParametersFromApplicationVariables returns a map from a slice of parameters.
ParametersFromEnvironmentKeys returns a map from environment key.
ParametersFromEnvironmentVariables returns a map from a slice of parameters.
ParametersFromIntegration returns a map of variables from a ProjectIntegration.
ParametersFromMap returns an array of parameters from a map.
ParametersFromPipelineParameters returns a map from a slice of parameters.
ParametersFromProjectVariables returns a map from a slice of parameters.
ParametersMapMerge merges two maps of parameters.
ParametersMerge merges two slices of parameters.
ParametersToMap returns a map from a slice of parameters.
ParameterValue return a parameter value given its name if it exists in array, else it returns empty string.
ParseDateRFC5322 parses an RFC 5322 date string.
ProjectsToIDs returns ids of given projects.
RandomString generate random string containing a-zA-Z0-9.
ReflectFieldByTag returns a pointer to a value corresponding to a tag For instance:
sdk.ReflectFieldByTag(&Configuration{}, "toml", "api.database.name")
Search for a field tagged 'toml:api' that is a struct.
RequirementListDeduplicate returns requirements list without duplicate values.
Round rounds a duration, see original source here: https://play.golang.org/p/WjfKwhhjL5 round("1h23m45.6789s", time.Second} will returns want: "1h23m46s".
StatusIsTerminated returns if status is terminated (nothing related to building or waiting, ...).
StatusValidate returns if given strings are valid status.
Untar takes a destination path and a reader; a tar reader loops over the tarfile creating the file structure at 'dst' along the way, and writing any files.
UntarGz takes a destination path and a reader; a tar.gz reader loops over the tarfile creating the file structure at 'dst' along the way, and writing any files.
UUID returns a UUID v4.
VariableFind return a variable given its name if it exists in array.
VariablesFilter return a slice of variables filtered by type.
VariablesPrefix add a prefix on all the variable in the slice.
VCSCommitStatusContextV1 return a node formated status Context for workflow V1.
VersionCurrent returns the current version.
VersionString returns a string contains all about current version.
WithData returns an error with data from given error.
WithStack returns an error with stack from given error.
WorkerModelValidate returns if given strings are valid worker model type.
WorkflowCheckConditions checks conditions given a list of parameters.
WorkflowTemplateInstancesToIDs returns ids of given workflow template instances.
WorkflowTemplateInstancesToWorkflowIDs returns workflow ids of given workflow template instances.
WorkflowTemplateInstancesToWorkflowTemplateIDs returns workflow template ids of given workflow template instances.
WorkflowTemplatesToGroupIDs returns group ids of given workflow templates.
WorkflowTemplatesToIDs returns ids of given workflow templates.
WorkflowToIDs returns ids of given workflows.
WrapError returns an error with stack and message.
# Constants
ApplicationLastModificationType represent key for last update event about application.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
This is the buitin integration model.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Builtin artifact manipulation actions.
Action type.
Different type of Audit event.
Different type of Audit event.
Different type of Audit event.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
Available auth consumer scopes.
This is the buitin integration model.
BinaryRequirement refers to the need to a specific binary on host running the action.
Those are icon for hooks.
Different type of Parameter.
Different type of Variable.
Action type.
v2.
Builtin Action.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Consumer types.
Builtin Action.
Action type.
Builtin Action.
DefaultHistoryLength is the default history length.
This is the buitin integration model.
Builtin Action.
Existing worker model type.
const.
const.
FlavorRequirement set flavor for a virtual machine.
These are constants about hooks.
Those are icon for hooks.
Builtin Action.
Those are icon for hooks.
Those are icon for hooks.
These are constants about hooks.
Builtin Action.
Global Role.
These are type of plugins.
These are type of plugins.
These are type of plugins.
These are type of plugins.
These are type of plugins.
These are type of plugins.
These are type of plugins.
Hatchery Role.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
HookConfigTypeHook type hook.
HookConfigTypeIntegration type integration.
HookConfigTypeMultiChoice type multiple.
HookConfigTypeProject type project.
HookConfigTypeString type string.
HookConfigTypeWorkflow type workflow.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
HostnameRequirement checks the hostname of the worker.
Existing worker model type.
IconFormat is the format prefix accepted for icon.
Builtin Action.
IntegrationConfigTypeBoolean represents a password configuration value.
IntegrationConfigTypePassword represents a password configuration value.
IntegrationConfigTypeRegion represents a region requirement.
IntegrationConfigTypeString represents a string configuration value.
IntegrationConfigTypeText represents a text configuration value.
Action type.
Builtin Action.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
This is the buitin integration model.
Different type of Parameter.
Different type of Parameter.
Those are types if key managed in CDS.
Those are types if key managed in CDS.
Different type of Variable.
Different type of Parameter.
MaxIconSize is the maximum size of the icon in octet.
MemoryRequirement set memory limit on a container.
MigrationStatusCanceled is the constant to indicate that the migration is "canceled".
MigrationStatusDone is the constant to indicate that the migration is "done".
MigrationStatusInProgress is the constant to indicate that the migration is "in progress".
MigrationStatusNotExecuted is the constant to indicate that the migration is "not executed".
MigrationStatusTodo is the constant to indicate that the migration is "to do".
ModelRequirement refers to the need fo a specific model.
This constants deals with Monitoring statuses.
This constants deals with Monitoring statuses.
This constants deals with Monitoring statuses.
NamePattern Pattern for project/application/pipeline/group name.
NamePatternSpace Pattern for stage name.
Different type of Parameter.
Different type of Variable.
Existing worker model type.
This is the buitin integration model.
There are the different OperationStatus values.
There are the different OperationStatus values.
There are the different OperationStatus values.
There are the different OperationStatus values.
Different types of warning for PipelineBuild.
OSArchRequirement checks the 'dist' of a worker eg {GOOS}/{GOARCH}.
Parameter types.
Parameter types.
Parameter types.
Parameter types.
Parameter types.
Parameter types.
Value of passwords when leaving the API.
These are constants about hooks.
PermissionRead read permission on the resource.
PermissionReadExecute read & execute permission on the resource.
PermissionReadWriteExecute read/execute/write permission on the resource.
Different type of Variable.
PipelineLastModificationType represent key for last update event about pipeline.
Action type.
PluginRequirement installs & checks plugins of the worker.
ProjectApplicationLastModificationType represent key for last update event about project.application (rename, delete or add an application).
ProjectEnvironmentLastModificationType represent key for last update event about project.environment (rename, delete or add an environment).
ProjectIntegrationsLastModificationType represent key for last update event about project.integrations (add, update, delete a integration).
ProjectKeyPattern pattern for project key.
ProjectKeysLastModificationType represent key for last update event about project.keys (add, delete a key).
ProjectLastModificationType represent key for last update event about project.
ProjectPipelineLastModificationType represent key for last update event about project.pipeline (rename, delete or add a pipeline).
Project Role.
ProjectVariableLastModificationType represent key for last update event about project.variable (rename, delete or add a variable).
ProjectWorkflowLastModificationType represent key for last update event about project.workflow (rename, delete or add a workflow).
Builtin Action.
Builtin Action.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
This is the buitin integration model.
RegionRequirement lets a use to force a job running in a hatchery's region.
Region Role.
Builtin Action.
Builtin Action.
Different type of Variable.
These are constants about hooks.
These are constants about hooks.
ResponseTemplateGroupNameHeader is used as HTTP header.
ResponseTemplateSlugHeader is used as HTTP header.
ResponseWorkflowIDHeader is used as HTTP header.
ResponseWorkflowNameHeader is used as HTTP header.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
These are constants about hooks.
Builtin Action.
SecretMinLength is the minimal size of a secret variable to be considered as a secret a secret variable displayed, with less then 6, will displayed, instead of appears as **cds.app.my-password**.
SecretRequirement is needed to ask for a project's secret when it's not automatically injected (ex: when using SkipProjectSecretsOnRegion).
Different type of Variable.
ServiceRequirement links a service to a worker.
SharedInfraGroupName is the name of the builtin group used to share infrastructure between projects.
Different type of Variable.
Action status in queue.
DEPRECATED, to remove when removing pipelineBuild.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Action status in queue.
Different type of Parameter.
Different type of Variable.
Different type of Parameter.
Different type of Variable.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
Those are constant for services types.
URLGithubIssues contains a link to CDS Issues.
URLGithubReleases contains a link to CDS Official Releases.
const.
const.
const.
User rings.
User rings.
User rings.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
HTTP Headers.
const.
Existing worker model type.
Consumer warning types.
Consumer warning types.
Consumer warning types.
These are constants about hooks.
These are constants about hooks.
WorkflowAsCodeHeader is used as HTTP header.
WorkflowData conditions operator.
WorkflowData conditions operator.
WorkflowData conditions operator.
WorkflowData conditions operator.
WorkflowData conditions operator.
WorkflowData conditions operator.
WorkflowData conditions operator.
WorkflowHookModelBuiltin is a constant for the builtin hook models.
WorkflowLastModificationType represent key for last update event about workflow.
These are constants about hooks.
# Variables
ArtifactoryIntegration represent integration with artifactory.
AuthConsumerScopes list.
AvailableParameterType list all existing parameters type in CDS.
AvailableRequirementsType List of all requirements.
AvailableVariableType list all existing variable type in CDS.
AvailableWorkerModelType List of all worker model type.
AWSIntegration represents an aws integration.
BINARY is set with -ldflags "-X github.com/ovh/cds/sdk.BINARY=$(BINARY)".
BUILDTIME is set with -ldflags "-X github.com/ovh/cds/sdk.BUILDTIME=$(BUILDTIME)".
Here are the default hooks.
Here are the default plateform models.
Here are the default hooks.
ColorRegexp represent the regexp for a format to hexadecimal color.
DBMIGRATE is set with -ldflags "-X github.com/ovh/cds/sdk.DBMIGRATE=$(DBMIGRATE)" this flag contains the number of sql files to migrate for this version.
Supported API language.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
ErrExecutableNotFound is the error resulting if a path search failed to find an executable file.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
Existing CDS errors Note: the error id is useless except to ensure objects are different in map.
True of false.
True of false.
Supported API language.
Here are the default hooks.
GITHASH is set with -ldflags "-X github.com/ovh/cds/sdk.GITHASH=$(GITHASH)".
Here are the default hooks.
GOARCH is set with -ldflags "-X github.com/ovh/cds/sdk.GOARCH=$(GOARCH)".
GOOS is set with -ldflags "-X github.com/ovh/cds/sdk.GOOS=$(GOOS)".
Here are the default hooks.
KafkaIntegration represents a kafka integration.
MapMergeOptions options for mapMerge functions.
Messages contains all sdk Messages.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
Message list.
NamePatternRegex Pattern regexp.
NamePatternSpaceRegex Pattern regexp.
OpenstackIntegration represents an openstack integration.
OSArchRequirementValues comes from go tool dist list.
Here are the default hooks.
Here are the default hooks.
Here are the default hooks.
RabbitMQIntegration represents a kafka integration.
Here are the default hooks.
Here are the default hooks.
SupportedLanguages on API errors.
True of false.
True of false.
Default template values.
Default template values.
VERSION is set with -ldflags "-X github.com/ovh/cds/sdk.VERSION=$(VERSION)".
Here are the default hooks.
WorkflowData conditions operator.
Here are the default hooks.
# Structs
Action is the base element of CDS pipeline.
ActionSummary is the light representation of an action for CDS event.
ActionUsages for action.
Application represent an application in a project.
ApplicationKey represent a key attach to an application.
ApplicationOverview represents the overview of an application.
ApplicationOverviewGraph represents data pushed by CDS for metrics.
ApplicationTemplate struct.
ApplicationVariableAudit represents an audit on an application variable.
ArtifactsStore represents.
AuditAction represents an audit data on a action.
AuditCommon contains basic stuff for audits.
AuditWorkflow represents an audit data on a workflow.
AuditWorkflowTemplate represents an audit data on a workflow template.
AuditWorkflowTemplateInstance represents an audit data on a workflow template instance.
AuthConsumerCreateResponse response for a auth consumer creation.
AuthConsumerRegenRequest struct.
AuthConsumerScopeDetail contains all endpoints for a scope.
AuthConsumerSigninResponse response for a auth consumer signin.
AuthConsumerWarning contains info about a warning.
AuthCurrentConsumerResponse describe the current consumer and the current session.
AuthDriverManifest struct describe a auth driver.
AuthDriverResponse struct contains drivers manifest and some info about auth config.
AuthDriverUserInfo struct discribed a user returns by a auth driver.
AuthentifiedUser struct contains all information about a cds user.
AuthHatcheryConsumer issues session linked to an authentified user.
Author struct contains info about model author.
AuthSession struct.
AuthSessionJWTClaims is the specific claims format for JWT session.
AuthSigninConsumerToken discribes the payload for a signin state token.
AuthUserConsumer issues session linked to an authentified user.
AuthUserConsumerData issues session linked to an authentified user.
Bookmark represents the type for a bookmark with his icon and description.
BuildNumberAndHash represents BuildNumber, Commit Hash and Branch for a Pipeline Build or Node Run.
Cache define a file needed to be save for cache.
ConfigUser struct.
CreateUser is used by cdsctl admin user create command.
DatabaseMigrationStatus represents on migration script status.
DefaultValues contains default user values for init DB.
Environment represent a deployment environment.
EnvironmentKey represent a key attach to an environment.
EnvironmentTemplate struct.
EnvironmentVariableAudit represents an audit on an environment variable.
Error type.
Event represents a event from API Event is "create", "update", "delete" Status is "Waiting" "Building" "Success" "Fail" "Unknown", optional DateEvent is a date (timestamp format).
EventActionAdd represents the event when adding an action.
EventActionUpdate represents the event when updating an action.
EventApplicationAdd represents the event when adding an application.
EventApplicationDelete represents the event when deleting an application.
EventApplicationKeyAdd represents the event when adding an application key.
EventApplicationKeyDelete represents the event when deleting an application key.
EventApplicationPermissionAdd represents the event when adding an application permission.
EventApplicationPermissionDelete represents the event when deleting an application permission.
EventApplicationPermissionUpdate represents the event when updating an application permission.
EventApplicationRepositoryAdd represents the event when adding a repository to an application.
EventApplicationRepositoryDelete represents the event when deleting a repository to an application.
EventApplicationUpdate represents the event when updating an application.
EventApplicationVariableAdd represents the event when adding an application variable.
EventApplicationVariableDelete represents the event when deleting an application variable.
EventApplicationVariableUpdate represents the event when updating an application variable.
EventAsCodeEvent represents the event when add/update a workflow event.
EventEngine contains event data for engine.
EventEnvironmentAdd represents the event when adding an environment.
EventEnvironmentDelete represents the event when deleting an environment.
EventEnvironmentKeyAdd represents the event when adding an environment key.
EventEnvironmentKeyDelete represents the event when deleting an environment key.
EventEnvironmentPermissionAdd represents the event when adding an environment permission.
EventEnvironmentPermissionDelete represents the event when deleting an environment permission.
EventEnvironmentPermissionUpdate represents the event when updating an environment permission.
EventEnvironmentUpdate represents the event when updating an environment.
EventEnvironmentVariableAdd represents the event when adding an environment variable.
EventEnvironmentVariableDelete represents the event when deleting an environment variable.
EventEnvironmentVariableUpdate represents the event when updating an environment variable.
EventFake is used for test purpose.
EventFilter represents filters when getting events.
EventMaintenance contains event data for maintenance event.
EventNotif contains event data for a job.
EventPipelineAdd represents the event when adding a pipeline.
EventPipelineDelete represents the event when deleting a pipeline.
EventPipelineJobAdd represents the event when adding a job.
EventPipelineJobDelete represents the event when deleting a job.
EventPipelineJobUpdate represents the event when updating a job.
EventPipelineParameterAdd represents the event when adding a pipeline parameter.
EventPipelineParameterDelete represents the event when deleting a pipeline parameter.
EventPipelineParameterUpdate represents the event when updating a pipeline parameter.
EventPipelinePermissionAdd represents the event when adding a pipeline permission.
EventPipelinePermissionDelete represents the event when deleting a pipeline permission.
EventPipelinePermissionUpdate represents the event when updating a pipeline permission.
EventPipelineStageAdd represents the event when adding a stage.
EventPipelineStageDelete represents the event when deleting a stage.
EventPipelineStageMove represent the event when moving a stage.
EventPipelineStageUpdate represents the event when updating a stage.
EventPipelineUpdate represents the event when updating a pipeline.
EventProjectAdd represents the event when adding a project.
EventProjectDelete represents the event when deleting a project.
EventProjectIntegrationAdd represents the event when adding a project integration.
EventProjectIntegrationDelete represents the event when deleting a project integration.
EventProjectIntegrationUpdate represents the event when updating a project integration.
EventProjectKeyAdd represents the event when adding a project key.
EventProjectKeyDelete represents the event when deleting a project key.
EventProjectPermissionAdd represents the event when adding a project permission.
EventProjectPermissionDelete represents the event when deleting a project permission.
EventProjectPermissionUpdate represents the event when updating a project permission.
EventProjectUpdate represents the event when updating a project.
EventProjectVariableAdd represents the event when adding a project variable.
EventProjectVariableDelete represents the event when deleting a project variable.
EventProjectVariableUpdate represents the event when updating a project variable.
EventProjectVCSServerAdd represents the event when adding a project vcs server.
EventProjectVCSServerDelete represents the event when deleting a project vcs server.
EventRetentionWorkflowDryRun represents the vent when execution dry run on workflow retention.
EventRunWorkflow contains event data for a workflow run.
EventRunWorkflowJob contains event data for a workflow job node run.
EventRunWorkflowNode contains event data for a workflow node run.
EventRunWorkflowOutgoingHook contains event data for a workflow outgoing hook run.
EventSubscription data send to api to subscribe to an event.
EventWarningAdd represents the event when adding a warning.
EventWarningDelete represents the event when deleting a warning.
EventWarningUpdate represents the event when updating a warning.
EventWorkflowAdd represents the event when adding a workflow.
EventWorkflowDelete represents the event when deleting a workflow.
EventWorkflowPermissionAdd represents the event when adding a workflow permission.
EventWorkflowPermissionDelete represents the event when deleting a workflow permission.
EventWorkflowPermissionUpdate represents the event when updating a workflow permission.
EventWorkflowTemplateAdd represents the event when adding a workflow template.
EventWorkflowTemplateInstanceAdd represents the event when adding a workflow template instance.
EventWorkflowTemplateInstanceUpdate represents the event when updating a workflow template instance.
EventWorkflowTemplateUpdate represents the event when updating a workflow template.
EventWorkflowUpdate represents the event when updating a workflow.
ExecutedJob represents a running job.
ExecutedJobSummary is a light representation of ExecutedJob for CDS event.
Favorite represent the favorites workflow or project of the user.
FavoriteParams represents a project or workflow user's bookmark.
FullEventV2 uses to process event.
GerritChangeEvent Gerrit information that are needed on event.
GerritEventExecution contains specific data for a gerrit event execution.
GoRoutines contains list of routines that have to stay up.
Group represent a group of user.
GroupMember struct.
GroupPermission represent a group and his role in the project.
GRPCPlugin is the type representing a plugin over GRPC.
GRPCPluginBinary represents a binary file (for a specific os and arch) serving a GRPCPlugin.
HookConfigValue represents the value of a node hook config.
Request that will be sent to sub-workflow.
IDName is generally used when you want to get basic informations from db.
IntegrationConfigValue represent a configuration value for a integration.
IntegrationModel represent a integration model with its default configuration.
Job is the element of a stage.
KafkaTaskExecution contains specific data for a kafka hook.
Key represent a key of type SSH or GPG.
Label represent a label linked to a workflow.
LastModification is stored in cache and used for ProjectLastUpdates computing.
Message represent a struc format translated messages.
Metric represent a CDS metric.
MetricRequest represents the request to retrieve metrics.
Migration represent a CDS migration.
Model represents a worker model (ex: Go 1.5.1 Docker Images) with specified capabilities (ex: go, golint and go2xunit binaries).
ModelCmds is the struct to represent a pattern.
ModelDocker for swarm and kubernetes.
ModelPattern represent patterns for users and admin when creating a worker model.
ModelVirtualMachine for openstack or vsphere.
MonDBMigrate is used by /mon/db/migrate.
MonitoringStatus contains status of CDS Component.
MonitoringStatusLine represents a CDS Component Status.
NavbarProjectData is the sub struct returned by getNavbarHandler.
Node represents a node in a workflow.
NodeContext represents a node linked to a pipeline.
NodeHook represents a hook which cann trigger the workflow from a given node.
NodeJoin represents a join type node.
NodeOutGoingHook represents the link between a node a its outgoings hooks.
DEPRECATED - Only use on old workflow.
NodeTrigger represents the link between 2 nodes.
Operation is the main business object use in repositories service.
OperationCheckout represents a smart git checkout.
OperationLoadFiles represents files loading from a globbing pattern.
OperationPush represents information about push operation.
OperationRepo is an operation.
OperationRepositoryInfo represents global information about the repository.
OperationSetup is the setup for an operation basically its a checkout.
Parameter can be a String/Date/Script/URL...
Pipeline represents the complete behavior of CDS for each projects.
PipelineAction represents an action in a pipeline.
PipelineAudit represents pipeline audit.
PipelineBuildWarning Struct for display warnings about build.
PipelineTemplate struct.
Prerequisite defines a expected value to one triggering pipeline parameter.
Project represent a team with group of users and pipelines.
ProjectFilter represents filter on a project.
ProjectGroup represent a link with a project.
ProjectIntegration is an instanciation of a integration model.
ProjectKey represent a key attach to a project.
ProjectLastUpdates update times of project, application and pipelines Deprecated.
ProjectVariableAudit represents an audit on a project variable.
RabbitMQTaskExecution contains specific data for a kafka hook.
ReleaseAsset represents a GitHub release asset in a repository.
Repository structs contains all needed information about a single repository.
RepositoryEvents group all repository events.
RepositoryPollerExecution is a polling execution.
RepositoryRelease represents a GitHub release in a repository.
RepositoryStrategy represents the way to use the repository.
Requirement can be : - a binary "which /usr/bin/docker".
ScheduledTaskExecution contains specific data for a scheduled task execution.
SchemaResponse contains all json schema for a user.
Service is a µService registered on CDS API.
ServiceConfiguration is the configuration of service.
ServiceStatus contains the status for a service.
SpawnErrorForm represents the arguments needed to add error registration on worker model.
SpawnInfo contains an information about spawning.
SpawnMsg represents a msg for spawnInfo.
Stage Pipeline step that parallelize actions by order.
StageSummary is a light representation of stage for CDS event.
StepStatus Represent a step and his status.
StepStatusSummary Represent a step and his status for CDS event.
TarOptions useful to indicate some options when we want to tar directory or files.
Task is a generic hook tasks such as webhook, scheduler,..
TaskExecution represents an execution instance of a task.
TimelineFilter represents a user filter for the cds timeline.
Timestamp represents a time that can be unmarshalled from a JSON string formatted as either an RFC3339 or Unix timestamp.
Token describes tokens used by worker to access the API on behalf of a group.
Usage is type to represent usage of each type.
UsageAction represent a action using an action.
UsagePipeline represent a pipeline using an action.
UserContact struct.
UserLoginRequest login request.
UserNotification is a settings on application_pipeline/env to trigger notification on pipeline event.
UserNotificationSettings --> email settings.
UserNotificationTemplate is the notification content.
UserTimelineFilter represents user_timeline table.
V2Worker represents instances of CDS workers living to serve.
Variable represent a variable for a project or pipeline.
VariableAudit represent audit for a variable.
VCSAuth contains tokens (oauth2 tokens or personalAccessToken).
VCSAuthor represents the auhor for every commit.
VCSBranch represents branches known by the repositories manager.
VCSCommit represents the commit in the repository.
VCSCommitStatus represents a status on a VCS repository.
VCSConfiguration represent a small vcs configuration.
VCSDeleteEvent represents a push events for polling.
VCSHook represents a hook on a VCS repository.
VCSPullRequest represents a pull request.
VCSPullRequestEvent represents a push events for polling.
VCSPushEvent represents a push events for polling.
VCSRelease represents data about release on github, etc..
VCSRemote represents remotes known by the repositories manager.
VCSRepo represents data about repository even on stash, or github, etc...
VCSTag represents branches known by the repositories manager.
Version is used by /mon/version.
Warning Represents warning database structure.
WebHookExecution contains specific data for a webhook execution.
Worker represents instances of CDS workers living to serve.
WorkerRegistrationForm represents the arguments needed to register a worker.
Workflow represents a pipeline based workflow.
WorkflowGroup represents the permission to a workflow.
WorkflowHookModel represents a hook which can be used in workflows.
WorkflowNodeCondition represents a condition to trigger ot not a pipeline in a workflow.
WorkflowNodeConditions is either an array of WorkflowNodeCondition or a lua script.
WorkflowNodeContextDefaultPayloadVCS represents a default payload when a workflow is attached to a repository Webhook.
WorkflowNodeHookConfigValue represents the value of a node hook config.
WorkflowNodeJobRun represents an job to be run.
WorkflowNodeJobRunCount return nb workflow run job since 'since'.
WorkflowNodeJobRunData is returned to worker in answer to postTakeWorkflowJobHandler.
WorkflowNodeJobRunInfo represents info on a job.
WorkflowNodeJobRunSummary is a light representation of WorkflowNodeJobRun for CDS event.
WorkflowNodeOutgoingHookRunCallback is the callback coming from hooks uservice avec an outgoing hook execution.
WorkflowNodeRun is as execution instance of a node.
WorkflowNodeRunCoverage represents the code coverage report.
WorkflowNodeRunCoverageTrends represents code coverage trend with current branch and default branch.
WorkflowNodeRunHookEvent is an instanc of event received on a hook.
WorkflowNodeRunManual is an instanc of event received on a hook.
WorkflowNodeRunRelease represents the request struct use by release builtin action for workflow.
WorkflowNodeRunVulnerability content of the workflow node run vulnerability report.
WorkflowNodeTriggerRun Represent the state of a trigger.
WorkflowNotification represents notifications on a workflow.
WorkflowRun is an execution instance of a run.
WorkflowRunInfo is an info on workflow run.
WorkflowRunNumber contains a workflow run number.
WorkflowRunPostHandlerOption contains the body content for launch a workflow.
WorkflowRunTag is a tag on workflow run.
WorkflowRunVersion contains a workflow run version.
WorkflowTemplate struct.
WorkflowTemplateBulk contains info about a template bulk task.
WorkflowTemplateBulkOperation contains one operation of a template bulk task.
WorkflowTemplateError contains info about template parsing error.
WorkflowTemplateInstance struct.
WorkflowTemplateParameter struct.
WorkflowTemplateParsed struct.
WorkflowTemplateRequest struct use for execution request.
# Interfaces
Audit represents audit interface.
AuthDriver interface.
VCSAuthorizedClientCommon is an interface for a connected client on a VCS Server.
VCSServer is an interface for a OAuth VCS Server.
# Type aliases
ApplicationTemplates struct.
AuthConsumerData contains specific information from the auth driver.
AuthConsumerScope alias type for string.
AuthConsumerScopeDetails type used for database json storage.
AuthConsumerScopeSlice type used for database json storage.
AuthConsumerSigninRequest struct for auth consumer signin request.
AuthConsumerType constant to identify what is the driver used to create a consumer.
AuthConsumerWarnings contains specific information from the auth driver.
AuthConsumerWarningType constant for consumer warnings.
AuthDriverManifests gives functions on driver manifest slice.
AuthentifiedUsers provides func for authentified user list.
AuthSessions gives functions for auth session slice.
AuthUserConsumers gives functions for auth consumer slice.
CheckFunc is a function to check key of a map for map merge.
EncryptFunc is a common type.
EnvironmentTemplates struct.
Expiration defines how worker key should expire.
Groups type provides useful func on group list.
Int64Slice type used for database json storage.
IntegrationConfig represent the configuration of an integration.
IntegrationType represents all different type of integrations.
Labels slice.
Metadata represents metadata.
MultiError is just an array of error.
OperationStatus is the status of an operation.
PipelineTemplates struct.
RequirementList is a list of requirement.
Schema is the string representation of the JSON schema.
StringSlice type used for database json storage.
TemplateParameterType used for template parameter.
VCSCreateEvent represents a push events for polling.
WorkflowNodeHookConfig represents the configguration for a WorkflowNodeHook.
WorkflowTemplateBulkOperations struct.
WorkflowTemplateParameters struct.