utils

package
v0.0.0-...-9afe088 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BRANCH string

BRANCH should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.BRANCH=${BRANCH} with for example BRANCH=$(shell git rev-parse --abbrev-ref HEAD)

View Source
var BUILDTIME string

BUILDTIME should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.BUILDTIME=${DATE} with for example DATE=$(shell date +%Y-%m-%d/%H:%M:%S ) (pay attention not to use space!)

View Source
var COMMIT string

COMMIT should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.COMMIT=${COMMIT} with for example COMMIT=$(shell git rev-parse HEAD)

TAG should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.TAG=${TAG} with for example TAG=$(shell git tag|tail -1)

Functions

func BuildInfos

func BuildInfos()

BuildInfos returns binary build information

Types

This section is empty.

Jump to

Keyboard shortcuts

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