types

package
Version: v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArdiBuild

type ArdiBuild struct {
	Directory string            `json:"directory"`
	Sketch    string            `json:"sketch"`
	Baud      int               `json:"baud"`
	FQBN      string            `json:"fqbn"`
	Props     map[string]string `json:"props"`
}

ArdiBuild represents the build properties in ardi.json

type ArdiConfig

type ArdiConfig struct {
	Platforms map[string]string    `json:"platforms"`
	BoardURLS []string             `json:"boardUrls"`
	Libraries map[string]string    `json:"libraries"`
	Builds    map[string]ArdiBuild `json:"builds"`
}

ArdiConfig represents the ardi.json file

type ArduinoCliSettings

type ArduinoCliSettings struct {
	BoardManager BoardManager `yaml:"board_manager"`
	Daemon       Daemon       `yaml:"daemon"`
	Directories  Directories  `yaml:"directories"`
	Installation Installation `yaml:"installation"`
	Library      Library      `yaml:"library"`
	Logging      Logging      `yaml:"logging"`
	Metrics      Metrics      `yaml:"metrics"`
}

ArduinoCliSettings represents yaml config for arduino-cli daemon

type BoardManager

type BoardManager struct {
	AdditionalUrls []string `yaml:"additional_urls"`
}

BoardManager board_manager config for arduino-cli grpc server

type Daemon

type Daemon struct {
	Port string `yaml:"port"`
}

Daemon daemon configuration

type Directories

type Directories struct {
	Data      string `yaml:"data"`
	Downloads string `yaml:"downloads"`
	User      string `yaml:"user"`
}

Directories paths where arduino-cli grpc server can find data

type Installation added in v2.1.0

type Installation struct {
	ID     string `yaml:"id"`
	Secret string `yaml:"secret"`
}

Installation ID

type Library added in v2.1.0

type Library struct {
	EnableUnsafeInstall bool `yaml:"enable_unsafe_install"`
}

Library key for arduino-cli

type Logging

type Logging struct {
	File   string `yaml:"file"`
	Format string `yaml:"format"`
	Level  string `yaml:"level"`
}

Logging logging configuration

type Metrics added in v2.1.0

type Metrics struct {
	Addr    string `yaml:"addr"`
	Enabled bool   `yaml:"enabled"`
}

Metrics enable/disable flag for arduino-cli grpc server

type Project

type Project struct {
	Directory string
	Sketch    string
	Baud      int
}

Project represents and arduino project

Source Files

Jump to

Keyboard shortcuts

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