file

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitIgnore

func GitIgnore()

Types

type DockerCompose

type DockerCompose struct {
	File fileparser.File
	Data compose.DockerCompose
}

DockerCompose has a file pointer and a structured data

func GetDockerCompose

func GetDockerCompose() (DockerCompose, error)

GetDockerCompose load a docker-compose.yml file and your data inside data field

func (*DockerCompose) Save

func (dc *DockerCompose) Save() error

Save convert data to byte and trigger save file

type PurrgilFile

type PurrgilFile struct {
	File fileparser.File
	Data purrgil.Purrgil
}

PurrgilFile has a file pointer and a structured data

func GetPurrgilFile

func GetPurrgilFile() (PurrgilFile, error)

GetPurrgilFile load a purrgil.yml file and your data inside data field

func (*PurrgilFile) Save

func (dc *PurrgilFile) Save() error

Save convert data to byte and trigger save file

Jump to

Keyboard shortcuts

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