Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExtraEnvVarExternalCiArtifactKey = "externalCiArtifact" ExtraEnvVarImageDigestKey = "imageDigest" )
View Source
const DefaultPipelineType = CI_BUILD
default PipelineType
View Source
const Main = "main"
View Source
const PIPELINE_NAME_ALREADY_EXISTS_ERROR = "pipeline name already exist"
View Source
const PIPELINE_TYPE_IS_NOT_VALID = "PipelineType is not valid for pipeline %s"
View Source
const UniquePlaceHolderForAppName = "$etron"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildPackConfig ¶
type CiBuildConfigBean ¶
type CiBuildConfigBean struct { Id int `json:"id"` GitMaterialId int `json:"gitMaterialId,omitempty" validate:"required"` BuildContextGitMaterialId int `json:"buildContextGitMaterialId,omitempty" validate:"required"` UseRootBuildContext bool `json:"useRootBuildContext"` CiBuildType CiBuildType `json:"ciBuildType"` DockerBuildConfig *DockerBuildConfig `json:"dockerBuildConfig,omitempty"` BuildPackConfig *BuildPackConfig `json:"buildPackConfig"` PipelineType string `json:"pipelineType"` }
type CiBuildType ¶
type CiBuildType string
const ( SELF_DOCKERFILE_BUILD_TYPE CiBuildType = "self-dockerfile-build" MANAGED_DOCKERFILE_BUILD_TYPE CiBuildType = "managed-dockerfile-build" SKIP_BUILD_TYPE CiBuildType = "skip-build" BUILDPACK_BUILD_TYPE CiBuildType = "buildpack-build" )
type DockerBuildConfig ¶
type DockerBuildConfig struct { DockerfilePath string `json:"dockerfileRelativePath,omitempty"` DockerfileContent string `json:"dockerfileContent"` Args map[string]string `json:"args,omitempty"` TargetPlatform string `json:"targetPlatform,omitempty"` Language string `json:"language,omitempty"` LanguageFramework string `json:"languageFramework,omitempty"` DockerBuildOptions map[string]string `json:"dockerBuildOptions,omitempty"` BuildContext string `json:"buildContext,omitempty"` UseBuildx bool `json:"useBuildx"` BuildxProvenanceMode string `json:"buildxProvenanceMode"` BuildxK8sDriverOptions []map[string]string `json:"buildxK8SDriverOptions,omitempty"` }
type PipelineType ¶
type PipelineType string
const ( CI_BUILD PipelineType = "CI_BUILD" LINKED PipelineType = "LINKED" EXTERNAL PipelineType = "EXTERNAL" CI_JOB PipelineType = "CI_JOB" LINKED_CD PipelineType = "LINKED_CD" )
func (PipelineType) IsValidPipelineType ¶
func (pType PipelineType) IsValidPipelineType() bool
type SourceCiDownStreamEnv ¶
type SourceCiDownStreamEnv struct {
EnvNames []string `json:"envNames"`
}
type SourceCiDownStreamFilters ¶
type SourceCiDownStreamFilters struct { pagination.QueryParams EnvName string `json:"envName"` }
Click to show internal directories.
Click to hide internal directories.