changeset

package
v0.0.0-...-5dfa7fa Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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