assets

package
v0.0.0-...-e67fd50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
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

View Source
var DefaultEvaluationCIYaml []byte

DefaultEvaluationCIYaml contains the default GitLab CI configuration for evaluation repositories.

View Source
var DefaultMainCIYaml []byte

DefaultMainCIYaml contains the default GitLab CI configuration for work repositories.

View Source
var DefaultSetupEvaluationSh []byte

DefaultSetupEvaluationSh contains the default setup script for evaluation environments.

View Source
var DefaultVariationTemplate []byte

DefaultVariationTemplate contains the default JSON template for project variations.

View Source
var HelloExampleJS []byte

HelloExampleJS contains a "Hello World" example in JavaScript.

View Source
var HelloExampleJava []byte

HelloExampleJava contains a "Hello World" example in Java.

View Source
var HelloExampleKotlin []byte

HelloExampleKotlin contains a "Hello World" example in Kotlin.

View Source
var HelloExampleLua []byte

HelloExampleLua contains a "Hello World" example in Lua.

View Source
var HelloExamplePython []byte

HelloExamplePython contains a "Hello World" example in Python.

View Source
var HelloExampleShell []byte

HelloExampleShell contains a "Hello World" example in Shell script.

View Source
var HelloExampleTS []byte

HelloExampleTS contains a "Hello World" example in TypeScript.

View Source
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

func RenderEvaluationPipelineAsset(content []byte) []byte

RenderEvaluationPipelineAsset replaces runtime placeholders in embedded evaluation pipeline assets before they are written into projects.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL