version

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package version contains all identifiable versioning info for describing the openshift provider cert project.

Index

Constants

This section is empty.

Variables

View Source
var Version = VersionContext{
	Name:    projectName,
	Version: version,
	Commit:  commit,
}

Functions

func NewCmdVersion

func NewCmdVersion() *cobra.Command

Types

type ClusterVersion added in v0.6.2

type ClusterVersion struct {
	OpenShift  string `json:"openshift"`
	Kubernetes string `json:"kubernetes"`
}

func GetClusterVersion added in v0.6.2

func GetClusterVersion() (*ClusterVersion, error)

type VersionContext

type VersionContext struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Commit  string `json:"commit"`
}

func (*VersionContext) String

func (vc *VersionContext) String() string

Jump to

Keyboard shortcuts

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