client-gok8s.io/client-go/tools/clientcmd/api/latest Index | Files

package latest

import "k8s.io/client-go/tools/clientcmd/api/latest"

Index

Constants

const OldestVersion = "v1"

OldestVersion is the string that represents the oldest server version supported, for client code that wants to hardcode the lowest common denominator.

const Version = "v1"

Version is the string that represents the current external default version.

Variables

var (
	Codec  runtime.Codec
	Scheme *runtime.Scheme
)
var ExternalVersion = schema.GroupVersion{Group: "", Version: "v1"}
var Versions = []string{"v1"}

Versions is the list of versions that are recognized in code. The order provided may be assumed to be least feature rich to most feature rich, and clients may choose to prefer the latter items in the list over the former items when presented with a set of versions to choose.

Source Files

latest.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
3 hours ago

Tools for package owners.