version

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package version contains everything related to versioning of the credential provider.

Index

Constants

View Source
const Version = "0.1.2"

Version is the version of the build.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version       string   `json:"version,omitempty"`
	GitCommit     string   `json:"gitCommit,omitempty"`
	GitCommitDate string   `json:"gitCommitDate,omitempty"`
	BuildDate     string   `json:"buildDate,omitempty"`
	GoVersion     string   `json:"goVersion,omitempty"`
	Compiler      string   `json:"compiler,omitempty"`
	Platform      string   `json:"platform,omitempty"`
	LDFlags       string   `json:"ldFlags,omitempty"`
	Dependencies  []string `json:"dependencies,omitempty"`
}

Info contains all the version information.

func Get

func Get() (*Info, error)

Get returns a new version info instance.

func (*Info) JSONString

func (i *Info) JSONString() (string, error)

JSONString returns the JSON representation of the version info.

func (*Info) String

func (i *Info) String() string

String returns the string representation of the version info.

Jump to

Keyboard shortcuts

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