kfile

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

View Source
const (
	EnvKusionPath = "KUSION_PATH"
)

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) (bool, error)

func GetCredentials

func GetCredentials() (map[string]interface{}, error)

Get the kusion credentials data

func GetCredentialsToken

func GetCredentialsToken() string

GetCredentialsToken returns the token from credentials file

func KusionCredentialsFilename

func KusionCredentialsFilename() string

Get the file name of the kusion credentials file

func KusionDataFolder

func KusionDataFolder() (string, error)

Get 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