native

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package native provides the ability for Vela to render a templated yaml configuration into an executable pipeline.

Usage:

import "github.com/go-vela/server/compiler/template/native"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render added in v0.13.0

func Render(tmpl string, name string, tName string, environment raw.StringSliceMap, variables map[string]interface{}) (*types.Build, error)

Render combines the template with the step in the yaml pipeline.

func RenderBuild

func RenderBuild(tmpl string, b string, envs map[string]string, variables map[string]interface{}) (*types.Build, error)

RenderBuild renders the templated build.

Types

This section is empty.

Jump to

Keyboard shortcuts

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