git

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package git implements the bundle contract from a source git repository.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bundle

func Bundle(ctx context.Context, opts Options, tag name.Tag) (name.Digest, error)

Bundle packages up the given git repo as a self-extracting container image based on BaseImage and publishes it to tag.

Types

type Options

type Options struct {
	// URL contains the url from which to clone the git repository.
	URL string
	// Ref contains the ref to check out for bundling.
	Ref plumbing.ReferenceName
}

Options contains a collection of options for configuring how things are bundled from git.

Jump to

Keyboard shortcuts

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