Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAndParse ¶ added in v0.2.11
func ValidateAndParse(stokenv string) (namespace string, workspace string, err error)
func WriteEnvFile ¶ added in v0.2.11
func WriteEnvFile(path, content string) error
Types ¶
type StokEnv ¶
type StokEnv string
A string identifying a namespaced workspace, according to the format $namespace/$workspace, with helper functions to read and write the string to the file .terraform/environment
func NewStokEnv ¶
func NewStokEnv(namespace, workspace string) StokEnv
func ReadStokEnv ¶
func ReadStokEnv(path string) (StokEnv, error)
func WithOptionalNamespace ¶ added in v0.2.11
func WithOptionalNamespace(stokenv string) StokEnv
Click to show internal directories.
Click to hide internal directories.