setup

package
v3.63.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package setup shares local pipeline setup between bk init and pipeline create.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(root, template string, interactive bool, out io.Writer) error

Ensure preserves existing files and otherwise writes a reviewed starter. An empty template selects the recommendation, optionally offering alternatives.

func Find

func Find(root string) (string, error)

Find checks the standard upload locations in buildkite-agent's search order.

func Recommended(root string) string

Recommended uses project evidence, not just a language filename.

func Root

func Root(repo *git.Repository) (string, error)

Root returns the worktree root, or the current directory outside Git.

Types

This section is empty.

Jump to

Keyboard shortcuts

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