paths

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoPath

func GoPath() (string, error)

func NewNitricLogFile

func NewNitricLogFile(stackPath string) (string, error)

NewNitricLogFile returns a path to a unique log file that does not exist.

func NitricConfigDir

func NitricConfigDir() string

NitricConfigDir returns the directory to find configuration.

func NitricHistoryFile

func NitricHistoryFile(stackPath string, historyType string) (string, error)

NitricHistoryFile returns a path to a request history file, making one if it doesn't exist

func NitricHomeDir

func NitricHomeDir() string

NitricHomeDir gets the nitric home directory

func NitricLocalPassphrasePath

func NitricLocalPassphrasePath() string

func NitricProviderDir

func NitricProviderDir() string

NitricProviderDir returns the directory to place provider deployment binaries.

func NitricStacksDir

func NitricStacksDir() (string, error)

func NitricTemplatesDir

func NitricTemplatesDir() string

NitricTemplatesDir returns the directory to place template related data.

func NitricTlsCertFile added in v1.47.0

func NitricTlsCertFile(stackPath string) string

func NitricTlsCredentialsPath added in v1.47.0

func NitricTlsCredentialsPath(stackPath string) string

func NitricTlsKeyFile added in v1.47.0

func NitricTlsKeyFile(stackPath string) string

func NitricTmpDir added in v1.47.0

func NitricTmpDir(stackPath string) string

NitricTmpDir returns the directory to find temporary files for a project.

func SplitPath

func SplitPath(p string) []string

SplitPath - splits a path into its component parts, ignoring leading or trailing slashes. e.g - SplitPath("/one/two/three/") == SplitPath("/one/two/three") == SplitPath("one/two/three") == ["one" "two" "three"]

Types

This section is empty.

Jump to

Keyboard shortcuts

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