parse_update_script

package
v0.0.0-...-ee5d75e Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2015 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(update_script_file *UpdateScriptFile) error

Types

type UpdateScript

type UpdateScript struct {
	ScriptType           string
	ScriptOrder          string
	ScriptRequired       string
	ScriptExitMax        string
	ScriptDescription    string
	ScriptDocs           string
	ScriptExitCodeReboot string
	FilePath             string
}

func (*UpdateScript) ParseScript

func (us *UpdateScript) ParseScript(uf *UpdateScriptFile)

type UpdateScriptFile

type UpdateScriptFile struct {
	FilePath    string
	FileContent []byte
}

Jump to

Keyboard shortcuts

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