version

package
v0.1.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version           = "unknown"
	GitVersion        = "unknown"
	GitCommit         = "unknown"
	KubernetesVersion = "unknown"
	ImageVersion      = "unknown"
	BuildDate         = "unknown"

	ServerVersion = semver.Version{Major: 0, Minor: 0, Patch: 0}
	//PIPY Operator requires k8s 1.19+
	MinK8sVersion           = semver.Version{Major: 1, Minor: 19, Patch: 0}
	MinEndpointSliceVersion = semver.Version{Major: 1, Minor: 21, Patch: 0}
)

var needs to be used instead of const for ldflags

Functions

func IsEndpointSliceEnabled

func IsEndpointSliceEnabled(api *kube.K8sAPI) bool

func IsSupportedK8sVersion

func IsSupportedK8sVersion(api *kube.K8sAPI) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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