kubectl

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BinPath = "/usr/local/bin/kubectl"

BinPath is the path to the kubectl binary.

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, tracker *tracker.Tracker, src Source) error

Install installs kubectl at BinPath.

func Uninstall

func Uninstall() error

Types

type Source

type Source interface {
	GetKubectl(context.Context) (artifact.Source, error)
}

Source represents a source that serves a kubectl binary.

Jump to

Keyboard shortcuts

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