file

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DockerKey               = "docker"
	DockerBuildDirectoryKey = "buildDirectory"
	DockerComposeKey        = "dockerCompose"
	DockerOrganizationKey   = "organization"
	DockerImageNameKey      = "imageName"
	DockerTagPrefixKey      = "tagPrefix"
	ModuleKey               = "module"
	ModuleVersionKey        = "version"
)

Variables

This section is empty.

Functions

func CreateInitialFile

func CreateInitialFile(path string) (*os.File, error)

func GetAbsolutePath

func GetAbsolutePath() string

func GetTemplatesPath added in v0.2.1

func GetTemplatesPath() string

func GetVersionFromTomlFile

func GetVersionFromTomlFile(tomlFile *toml.Tree) string

func LoadTomlFile

func LoadTomlFile(path string) *toml.Tree

func OpenFile

func OpenFile(path string) *os.File

func WriteFile

func WriteFile(path, content string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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