version

package
v0.0.0-...-ff647d5 Latest Latest
Warning

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

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

Documentation

Overview

Package version exposes version information about the attestation operator. This includes a version number, of course, but potentially any other version specific information as required. All the information in here must be declared as variables and not as constants, as they are being set in release builds through the Golang linker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version      string     `json:"version,omitempty"`
	GitCommit    string     `json:"git_commit,omitempty"`
	GitTreeState string     `json:"git_tree_state,omitempty"`
	BuildDate    *time.Time `json:"build_date,omitempty"`
	GoVersion    string     `json:"go_version,omitempty"`
	GoArch       string     `json:"go_arch,omitempty"`
	GoOS         string     `json:"go_os,omitempty"`
}

func Get

func Get() *Info

Get returns all the details about the version information of the attestation operator.

Jump to

Keyboard shortcuts

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