kfile

package
v0.12.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

View Source
const (
	EnvKusionHome = "KUSION_HOME"
	// CachedVersionFile is the name of the file we use to store when we last checked if the CLI was out of date
	CachedVersionFile = ".cached_version"
)

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) (bool, error)

func GetCachedVersionFilePath added in v0.7.2

func GetCachedVersionFilePath() (string, error)

GetCachedVersionFilePath returns the location where the CLI caches information from pulumi.com on the newest available version of the CLI

func KusionDataFolder

func KusionDataFolder() (string, error)

KusionDataFolder gets the kusion data directory of the current user

func Stat

func Stat(filename string) (fileInfo os.FileInfo, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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