vault: github.com/hashicorp/vault/sdk/version Index | Files

package version

import "github.com/hashicorp/vault/sdk/version"

Index

Package Files

cgo.go version.go version_base.go

Variables

var (
    // The git commit that was compiled. This will be filled in by the compiler.
    GitCommit   string
    GitDescribe string

    // Whether cgo is enabled or not; set at build time
    CgoEnabled bool

    Version           = "1.3.0"
    VersionPrerelease = "dev"
    VersionMetadata   = ""
)

type VersionInfo Uses

type VersionInfo struct {
    Revision          string
    Version           string
    VersionPrerelease string
    VersionMetadata   string
}

VersionInfo

func GetVersion Uses

func GetVersion() *VersionInfo

func (*VersionInfo) FullVersionNumber Uses

func (c *VersionInfo) FullVersionNumber(rev bool) string

func (*VersionInfo) VersionNumber Uses

func (c *VersionInfo) VersionNumber() string

Package version imports 2 packages (graph) and is imported by 6 packages. Updated 2019-09-18. Refresh now. Tools for package owners.