changeset

package
v99.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 6 Imported by: ? 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 changeset provides Knative utilities for fetching GitHub Commit ID from kodata directory. It requires GitHub HEAD file to be linked into Knative component source code via the following command:

ln -s -r .git/HEAD ./cmd/<knative-component-name>/kodata/

Then ko will build this file into $KO_DATA_PATH when building the container for a Knative component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() (string, error)

Get tries to fetch the first 7 digitals of GitHub commit ID from HEAD file in KO_DATA_PATH. If it fails, it returns the error it gets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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