version

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package version reports the Kubernetes server version from each cluster and detects fleet-wide skew.

Index

Constants

View Source
const Name = "version"

Name is the registry key for this scanner.

Variables

This section is empty.

Functions

func NewScanner

func NewScanner() scanner.Scanner

NewScanner returns a scanner that retrieves the Kubernetes server version.

Types

type Data

type Data struct {
	// Major is the major version number.
	Major string `json:"major"`
	// Minor is the minor version number.
	Minor string `json:"minor"`
	// GitVersion is the full version string (e.g. v1.28.3).
	GitVersion string `json:"git_version"`
	// Platform is the server platform (e.g. linux/amd64).
	Platform string `json:"platform"`
}

Data holds Kubernetes server version information for one cluster.

Jump to

Keyboard shortcuts

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