buildinfo

package
v0.0.0-...-949823d Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const PtrSize = 32 << uintptr(^uintptr(0)>>63) //nolint:unconvert

PtrSize returns the size of the pointer type for this system This will be 64 on 64-bit environments, and 32 on 32-bit ones See: https://stackoverflow.com/a/25741986/192024

Variables

This section is empty.

Functions

func AddFeature

func AddFeature(feature string)

AddFeature adds a new feature to the featuresSlice. It's primarily meant for testing purposes. This should only be called as part of an init() method.

func Commit

func Commit() string

Commit returns the git commit SHA for the code that Dapr was built from.

func Features

func Features() []string

Features returns the list of features enabled for this build.

func GitVersion

func GitVersion() string

GitVersion returns the git version for the code that Dapr was built from.

func Version

func Version() string

Version returns the Dapr version. This is either a semantic version number or else, in the case of unreleased code, the string "edge".

Types

This section is empty.

Jump to

Keyboard shortcuts

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