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

# Packages

# Functions

DownloadTemplate returns a new tar.
GetFormat return a format.
GetFormatFromContentType return a format.
GetFormatFromPath return a format.
Marshal supports JSON, YAML.
NewAction returns a ready to export action.
NewApplication instanciance an exportable application from an sdk.Application.
NewEnvironment returns an Environment from an sdk.Environment pointer.
NewGRPCPlugin returns a ready to export action.
NewPipelineV1 creates an exportable pipeline from a sdk.Pipeline.
NewTemplate creates a new exportable workflow template.
NewWorkerModel creates an exportentities WorkerModel from a struct sdk.Model.
OpenFile opens a file.
OpenPath opens an URL or a file.
OpenURL opens an URL.
ParsePipeline returns a pipeliner from given data.
ReadFromTar returns a workflow template from given tar reader.
TarWorkflowComponents returns a tar containing all files for a workflow.
Unmarshal supports JSON, YAML.
UnmarshalStrict supports JSON, YAML.

# Constants

There are the supported versions.
There are the supported versions.
All the consts.
All the consts.
There are the supported versions.
Name pattern for pull files.
Name pattern for pull files.
Name pattern for pull files.
Name pattern for pull files.
Name pattern for template files.
Name pattern for template files.
Name pattern for template files.
Name pattern for template files.
All the consts.

# Variables

# Structs

Action represents exported sdk.Action.
Application represents exported sdk.Application.
EncryptedKey represents an encrypted secret.
Environment is a struct to export sdk.Environment.
GRPCPlugin represents exported sdk.GRPCPlugin.
Job represents exported sdk.Job.
PipelineV1 represents exported sdk.Pipeline.
Requirement represents an exported sdk.Requirement.
ServiceRequirement represents an exported sdk.Requirement of type ServiceRequirement.
Stage represents exported sdk.Stage.
Step represents exported step used in a job.
StepArtifactDownload represents exported artifact download step.
StepArtifactUpload represents exported artifact upload step.
StepCoverage represents exported coverage step.
StepGitClone represents exported git clone step.
StepGitTag represents exported git tag step.
StepPromote represents exported promote step.
StepRelease represents exported release step.
StepReleaseVCS represents exported release step.
Template is the "as code" representation of a sdk.WorkflowTemplate.
TemplateParameter is the "as code" representation of a sdk.TemplateParameter.
WorkerModel is the as code format of a worker model.
WorkflowPulled contains all the yaml base64 that are needed to generate a workflow tar file.
WorkflowPulledItem contains data for a workflow item.

# Interfaces

Pipeliner interface, depending on the version we will use different struct.
StepInstallKey represents exported installKey step.

# Type aliases

ActionVersion is a version.
ApplicationVersion is a version.
PipelineVersion is a version.
StepCheckout represents exported checkout step.
StepCustom represents exported custom step.
StepDeploy represents exported push build info step.
StepJUnitReport represents exported junit report step.
StepParameters represents exported custom step parameters.