rauc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rauc

type Rauc struct {
	// contains filtered or unexported fields
}

func NewRauc

func NewRauc(broadcast chan string) *Rauc

func (*Rauc) GetStatus

func (r *Rauc) GetStatus() RaucStatus

func (*Rauc) GetStatusJson

func (r *Rauc) GetStatusJson() string

func (*Rauc) RunRauc

func (r *Rauc) RunRauc(updateFile string) error

type RaucStatus

type RaucStatus struct {
	Installing bool   `json:"installing"`
	Percent    int    `json:"percent"`
	Message    string `json:"message"`
	LastError  string `json:"last_error"`
	Log        string `json:"log"`
}

Jump to

Keyboard shortcuts

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