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 (*Writer) ScanUpdateDirs ¶
func (av *Writer) ScanUpdateDirs(dir string) ([]parser.UpdateData, error)
func (*Writer) WriteHeader ¶
func (*Writer) WriteKnown ¶
func (av *Writer) WriteKnown(updates []parser.UpdateData, atrifactName string) error
Click to show internal directories.
Click to hide internal directories.