Documentation
¶
Overview ¶
Package assets provides embedded resources for the divekit CLI including CI templates, scripts, and example files used for project initialization and distribution.
Index ¶
Constants ¶
const ( // DefaultDivekitCLIVersion is the safe fallback when the running CLI has no // released semver attached, for example local dev builds with version "dev". DefaultDivekitCLIVersion = "2.4.0" )
Variables ¶
var DefaultEvaluationCIYaml []byte
DefaultEvaluationCIYaml contains the default GitLab CI configuration for evaluation repositories.
var DefaultMainCIYaml []byte
DefaultMainCIYaml contains the default GitLab CI configuration for work repositories.
var DefaultSetupEvaluationSh []byte
DefaultSetupEvaluationSh contains the default setup script for evaluation environments.
var DefaultVariationTemplate []byte
DefaultVariationTemplate contains the default JSON template for project variations.
var HelloExampleJS []byte
HelloExampleJS contains a "Hello World" example in JavaScript.
var HelloExampleJava []byte
HelloExampleJava contains a "Hello World" example in Java.
var HelloExampleKotlin []byte
HelloExampleKotlin contains a "Hello World" example in Kotlin.
var HelloExampleLua []byte
HelloExampleLua contains a "Hello World" example in Lua.
var HelloExamplePython []byte
HelloExamplePython contains a "Hello World" example in Python.
var HelloExampleShell []byte
HelloExampleShell contains a "Hello World" example in Shell script.
var HelloExampleTS []byte
HelloExampleTS contains a "Hello World" example in TypeScript.
var JavaTransformers []byte
JavaTransformers contains Lua transformation scripts for Java projects.
Functions ¶
func EffectiveDivekitCLIVersion ¶
func EffectiveDivekitCLIVersion() string
EffectiveDivekitCLIVersion returns the version that embedded evaluation pipeline assets should use to download the report generator CLI.
func RenderEvaluationPipelineAsset ¶
RenderEvaluationPipelineAsset replaces runtime placeholders in embedded evaluation pipeline assets before they are written into projects.
Types ¶
This section is empty.