bootstrap

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package bootstrap prepares an empty customer repo from a kubriX release tag. install-platform.sh pushes `${KUBRIX_UPSTREAM_BRANCH}:main`, which for a tag drops the bootstrap commit, so the CLI bootstraps releases itself and runs the installer with KUBRIX_BOOTSTRAP=false.

Index

Constants

View Source
const (
	CommitMessage = "add customer specific modifications during bootstrap"
)

Same identity and message as install-platform.sh's bootstrap_clone_from_upstream / bootstrap_push_to_downstream.

Variables

This section is empty.

Functions

func FromRelease

func FromRelease(ctx context.Context, o Options) error

Types

type Options

type Options struct {
	UpstreamURL string
	Tag         string
	CustomerURL string
	Token       string
	Config      platformrepo.ConfigInput
	TargetType  string
	Exclude     []string
}

Jump to

Keyboard shortcuts

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