Documentation ¶
Index ¶
- Variables
- func GenerateAndWriteDiff(proj *project.Project, script *buildscript.BuildScript, ...) error
- func Initialize(proj projecter, auth *authentication.Auth, svcm *model.SvcModel) error
- func ScriptFromFile(path string) (*buildscript.BuildScript, error)
- func ScriptFromProject(proj projecter) (*buildscript.BuildScript, error)
- func Update(proj projecter, newScript *buildscript.BuildScript) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBuildscriptNotExist = errors.New("Build script does not exist")
Functions ¶
func GenerateAndWriteDiff ¶
func GenerateAndWriteDiff(proj *project.Project, script *buildscript.BuildScript, otherScript *buildscript.BuildScript) error
func Initialize ¶
func Initialize(proj projecter, auth *authentication.Auth, svcm *model.SvcModel) error
Initialize creates a new build script for the local project. It will overwrite an existing one so commands like `state reset` will work.
func ScriptFromFile ¶
func ScriptFromFile(path string) (*buildscript.BuildScript, error)
func ScriptFromProject ¶
func ScriptFromProject(proj projecter) (*buildscript.BuildScript, error)
func Update ¶
func Update(proj projecter, newScript *buildscript.BuildScript) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.