krew

package
Version: v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKrewIndexRepoName

func GetKrewIndexRepoName() string

GetKrewIndexRepoName returns the krew-index repo name

func GetKrewIndexRepoOwner

func GetKrewIndexRepoOwner() string

GetKrewIndexRepoOwner returns the krew-index repo owner

func GetPluginName

func GetPluginName(spec []byte) (string, error)

GetPluginName gets the plugin name from template .krew.yaml file

func PluginFileName

func PluginFileName(name string) string

PluginFileName returns the plugin file with extension

func ValidatePlugin

func ValidatePlugin(name, file string) error

ValidatePlugin validates the plugin spec

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL