application

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal added in v1.3.0

func Unmarshal(bytes []byte) (map[int]Application, error)

Types

type Application

type Application struct {
	Board        board.Interface        `json:"-"`
	BoardType    board.Type             `json:"-"`
	Name         string                 `json:"name"`
	ResinUUID    int                    `json:"id"`
	Commit       string                 `json:"-"`      // Ignore this when unmarshalling from the supervisor as we want to set the target commit
	TargetCommit string                 `json:"commit"` // Set json tag to commit as the supervisor has no concept of target commit
	Config       map[string]interface{} `json:"config"`
}

func (Application) String

func (a Application) String() string

Jump to

Keyboard shortcuts

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