version

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Controller string `json:"k8s-policy-controller"`
	BuildDate  string `json:"build-date"`
	Go         string `json:"go-version"`
}

Version holds this Controller's version as well as the version of some of the components it uses.

func Get

func Get() Version

Get returns the Version object with the relevant information.

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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