awriter

package
v0.0.0-...-310e069 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	*parser.ParseManager
	// contains filtered or unexported fields
}

Writer provides on the fly writing of artifacts metadata file used by Mender client and server. Call Write to start writing artifacts file.

func NewWriter

func NewWriter(format string, version int, devices []string, name string) *Writer

func (*Writer) ScanUpdateDirs

func (av *Writer) ScanUpdateDirs(dir string) ([]parser.UpdateData, error)

func (*Writer) Write

func (av *Writer) Write(updateDir, atrifactName string) error

func (*Writer) WriteData

func (av *Writer) WriteData() error

func (*Writer) WriteHeader

func (av *Writer) WriteHeader() error

func (*Writer) WriteKnown

func (av *Writer) WriteKnown(updates []parser.UpdateData, atrifactName string) error

Jump to

Keyboard shortcuts

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