meta

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BackingImageManagerAPIVersion used to communicate with the user
	// \e.g. longhorn-manager
	BackingImageManagerAPIVersion    = 3
	BackingImageManagerAPIMinVersion = 3
)

Variables

View Source
var (
	Version   string
	GitCommit string
	BuildDate string
)

Following variables are filled in by main.go

Functions

This section is empty.

Types

type VersionOutput

type VersionOutput struct {
	Version   string `json:"version"`
	GitCommit string `json:"gitCommit"`
	BuildDate string `json:"buildDate"`

	BackingImageManagerAPIVersion    int `json:"backingImageManagerAPIVersion"`
	BackingImageManagerAPIMinVersion int `json:"backingImageManagerAPIMinVersion"`
}

func GetVersion

func GetVersion() VersionOutput

Jump to

Keyboard shortcuts

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