version

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdVersion

func NewCmdVersion() *cobra.Command

NewCmdVersion creates a new version command

Types

type Version

type Version struct {
	KK *version.Info `json:"kk"`
}

type VersionOptions

type VersionOptions struct {
	Output                      string
	ShowSupportedK8sVersionList bool
}

func NewVersionOptions

func NewVersionOptions() *VersionOptions

func (*VersionOptions) AddFlags

func (o *VersionOptions) AddFlags(cmd *cobra.Command)

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

Jump to

Keyboard shortcuts

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