environment

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Paths

type Paths struct {
	// contains filtered or unexported fields
}

Paths contains all important environment paths

func MustGetCmPaths

func MustGetCmPaths() Paths

MustGetCmPaths returns the inferred paths for krew. By default, it assumes $HOME/.cm as the base path, but can be overridden via CM_ROOT environment variable.

func NewPaths

func NewPaths(base string) Paths

func (Paths) BasePath

func (p Paths) BasePath() string

BasePath returns krew base directory.

Jump to

Keyboard shortcuts

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