kubectl

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryForClusterVersion

func BinaryForClusterVersion(version *semver.Semver) (string, error)

BinaryForClusterVersion returns the full path to a kubectl binary that shall be used to communicate with a usercluster. An error is returned if no suitable kubectl can be determined. We take advantage of version skew policy for kubectl, v1.1.1 would support v1.2.x and v1.0.x, to ship only mandatory variants for kubectl. See https://kubernetes.io/releases/version-skew-policy/#kubectl for more information.

func VerifyVersionSkew added in v2.21.0

func VerifyVersionSkew(clusterVersion, kubectlVersion semver.Semver) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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