build

package
v1.10.16 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {

	// Core represents the core version (eg: 1.9.0).
	Core string
	// Revision is the software revision, typically a Git commit SHA.
	Revision string
	// contains filtered or unexported fields
}

Version defines a detailed Hubble component version.

var (
	// ServerVersion reports version information for Hubble server.
	ServerVersion Version
	// RelayVersion reports version information for Hubble Relay.
	RelayVersion Version
)

func (Version) SemVer

func (v Version) SemVer() string

SemVer returns the version as a Semantic Versioning 2.0.0 compatible string (see semver.org).

func (Version) String

func (v Version) String() string

String returns the full version string with a leading v in the version string itself. E.g. "hubble-relay v1.9.0+g63aa1b8".

Jump to

Keyboard shortcuts

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