utils

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(file string) bool

FileExists checks if file exits

func FindTfGenPath

func FindTfGenPath(tfgenConf string) (string, error)

FindTfGenPath finds the path to the last .tfgen.yml file in the cwd

func GetStackPath

func GetStackPath(pat string, environments []string) (string, error)

GetStackPath returns path relative to last environment dir

func KeyInS3

func KeyInS3(s3Config map[string]string, key string) (bool, error)

KeyInS3 return true if key exits in s3, false if it doesn't

func ReplaceSlash

func ReplaceSlash(path string) string

ReplaceSlash replaces "/" with "_"

Types

This section is empty.

Jump to

Keyboard shortcuts

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