version

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package version provides information about the current version of BindPlane

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Commit string `json:"commit"`
	Tag    string `json:"tag"`
}

Version contains BindPlane version information

func NewVersion

func NewVersion() Version

NewVersion returns a populated version

func (Version) FullString

func (v Version) FullString() string

FullString is like String, but it returns both the commit and tag, if they both exist

func (Version) String

func (v Version) String() string

String returns the version

Jump to

Keyboard shortcuts

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