arduino
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- type CantCreateSketchError
- type CantOpenSketchError
- type CantUpdateSketchError
- type CommandError
- type CompileFailedError
- type FailedDebugError
- type FailedDownloadError
- type FailedInstallError
- type FailedLibraryInstallError
- type FailedMonitorError
- type FailedUninstallError
- type FailedUploadError
- type InitFailedError
- type InvalidArgumentError
- type InvalidFQBNError
- type InvalidInstanceError
- type InvalidLibraryError
- type InvalidPlatformPropertyError
- type InvalidProfileError
- type InvalidURLError
- type InvalidVersionError
- type LibraryDependenciesResolutionFailedError
- type LibraryNotFoundError
- type MissingFQBNError
- type MissingPlatformPropertyError
- type MissingPortAddressError
- type MissingPortError
- type MissingPortProtocolError
- type MissingProgrammerError
- type MissingSketchPathError
- type MonitorNotFoundError
- type MultipleBoardsDetectedError
- type MultipleLibraryInstallDetected
- type MultiplePlatformsError
- type NoBoardsDetectedError
- type NoMonitorAvailableForProtocolError
- type NotFoundError
- type PermissionDeniedError
- type PlatformAlreadyAtTheLatestVersionError
- type PlatformLoadingError
- type PlatformNotFoundError
- type ProgrammerNotFoundError
- type ProgrammerRequiredForUploadError
- type SignatureVerificationFailedError
- type TempDirCreationFailedError
- type TempFileCreationFailedError
- type UnavailableError
- type UnknownFQBNError
- type UnknownProfileError
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeCantCreateSketchError¶
type CantCreateSketchError struct {Causeerror}CantCreateSketchError is returned when the sketch cannot be created
func (*CantCreateSketchError)Error¶
func (e *CantCreateSketchError) Error()string
func (*CantCreateSketchError)Unwrap¶
func (e *CantCreateSketchError) Unwrap()error
typeCantOpenSketchError¶
type CantOpenSketchError struct {Causeerror}CantOpenSketchError is returned when the sketch is not found or cannot be opened
func (*CantOpenSketchError)Error¶
func (e *CantOpenSketchError) Error()string
func (*CantOpenSketchError)ToRPCStatus¶
func (e *CantOpenSketchError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*CantOpenSketchError)Unwrap¶
func (e *CantOpenSketchError) Unwrap()error
typeCantUpdateSketchError¶
type CantUpdateSketchError struct {Causeerror}CantUpdateSketchError is returned when the sketch cannot be updated
func (*CantUpdateSketchError)Error¶
func (e *CantUpdateSketchError) Error()string
func (*CantUpdateSketchError)Unwrap¶
func (e *CantUpdateSketchError) Unwrap()error
typeCommandError¶
type CommandError interface {// ToRPCStatus convertes the error into a *status.StatusToRPCStatus() *status.Status}CommandError is an error that may be converted into a gRPC status.
typeCompileFailedError¶
CompileFailedError is returned when the compile fails
func (*CompileFailedError)Error¶
func (e *CompileFailedError) Error()string
func (*CompileFailedError)ToRPCStatus¶
func (e *CompileFailedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*CompileFailedError)Unwrap¶
func (e *CompileFailedError) Unwrap()error
typeFailedDebugError¶
FailedDebugError is returned when the debug fails
func (*FailedDebugError)Error¶
func (e *FailedDebugError) Error()string
func (*FailedDebugError)ToRPCStatus¶
func (e *FailedDebugError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedDebugError)Unwrap¶
func (e *FailedDebugError) Unwrap()error
typeFailedDownloadError¶
FailedDownloadError is returned when a network download fails
func (*FailedDownloadError)Error¶
func (e *FailedDownloadError) Error()string
func (*FailedDownloadError)ToRPCStatus¶
func (e *FailedDownloadError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedDownloadError)Unwrap¶
func (e *FailedDownloadError) Unwrap()error
typeFailedInstallError¶
FailedInstallError is returned if an install operation fails
func (*FailedInstallError)Error¶
func (e *FailedInstallError) Error()string
func (*FailedInstallError)ToRPCStatus¶
func (e *FailedInstallError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedInstallError)Unwrap¶
func (e *FailedInstallError) Unwrap()error
typeFailedLibraryInstallError¶
type FailedLibraryInstallError struct {Causeerror}FailedLibraryInstallError is returned if a library install operation fails
func (*FailedLibraryInstallError)Error¶
func (e *FailedLibraryInstallError) Error()string
func (*FailedLibraryInstallError)ToRPCStatus¶
func (e *FailedLibraryInstallError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedLibraryInstallError)Unwrap¶
func (e *FailedLibraryInstallError) Unwrap()error
typeFailedMonitorError¶
type FailedMonitorError struct {Causeerror}FailedMonitorError is returned when opening the monitor port of a board fails
func (*FailedMonitorError)Error¶
func (e *FailedMonitorError) Error()string
func (*FailedMonitorError)ToRPCStatus¶
func (e *FailedMonitorError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedMonitorError)Unwrap¶
func (e *FailedMonitorError) Unwrap()error
typeFailedUninstallError¶
FailedUninstallError is returned if an uninstall operation fails
func (*FailedUninstallError)Error¶
func (e *FailedUninstallError) Error()string
func (*FailedUninstallError)ToRPCStatus¶
func (e *FailedUninstallError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedUninstallError)Unwrap¶
func (e *FailedUninstallError) Unwrap()error
typeFailedUploadError¶
FailedUploadError is returned when the upload fails
func (*FailedUploadError)Error¶
func (e *FailedUploadError) Error()string
func (*FailedUploadError)ToRPCStatus¶
func (e *FailedUploadError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*FailedUploadError)Unwrap¶
func (e *FailedUploadError) Unwrap()error
typeInitFailedError¶
type InitFailedError struct {Codecodes.CodeCauseerrorReasonrpc.FailedInstanceInitReason}InitFailedError is returned when the instance initialization fails
func (*InitFailedError)Error¶
func (ife *InitFailedError) Error()string
func (*InitFailedError)ToRPCStatus¶
func (ife *InitFailedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeInvalidArgumentError¶
InvalidArgumentError is returned when an invalid argument is passed to the command
func (*InvalidArgumentError)Error¶
func (e *InvalidArgumentError) Error()string
func (*InvalidArgumentError)ToRPCStatus¶
func (e *InvalidArgumentError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*InvalidArgumentError)Unwrap¶
func (e *InvalidArgumentError) Unwrap()error
typeInvalidFQBNError¶
type InvalidFQBNError struct {Causeerror}InvalidFQBNError is returned when the FQBN has syntax errors
func (*InvalidFQBNError)Error¶
func (e *InvalidFQBNError) Error()string
func (*InvalidFQBNError)ToRPCStatus¶
func (e *InvalidFQBNError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*InvalidFQBNError)Unwrap¶
func (e *InvalidFQBNError) Unwrap()error
typeInvalidInstanceError¶
type InvalidInstanceError struct{}InvalidInstanceError is returned if the instance used in the command is not valid.
func (*InvalidInstanceError)Error¶
func (e *InvalidInstanceError) Error()string
func (*InvalidInstanceError)ToRPCStatus¶
func (e *InvalidInstanceError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeInvalidLibraryError¶
type InvalidLibraryError struct {Causeerror}InvalidLibraryError is returned when the library has syntax errors
func (*InvalidLibraryError)Error¶
func (e *InvalidLibraryError) Error()string
func (*InvalidLibraryError)ToRPCStatus¶
func (e *InvalidLibraryError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*InvalidLibraryError)Unwrap¶
func (e *InvalidLibraryError) Unwrap()error
typeInvalidPlatformPropertyError¶
InvalidPlatformPropertyError is returned when a property in the platform is not valid
func (*InvalidPlatformPropertyError)Error¶
func (e *InvalidPlatformPropertyError) Error()string
func (*InvalidPlatformPropertyError)ToRPCStatus¶
func (e *InvalidPlatformPropertyError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeInvalidProfileError¶
type InvalidProfileError struct {Causeerror}InvalidProfileError is returned when the profile has errors
func (*InvalidProfileError)Error¶
func (e *InvalidProfileError) Error()string
func (*InvalidProfileError)ToRPCStatus¶
func (e *InvalidProfileError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*InvalidProfileError)Unwrap¶
func (e *InvalidProfileError) Unwrap()error
typeInvalidURLError¶
type InvalidURLError struct {Causeerror}InvalidURLError is returned when the URL has syntax errors
func (*InvalidURLError)Error¶
func (e *InvalidURLError) Error()string
func (*InvalidURLError)ToRPCStatus¶
func (e *InvalidURLError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*InvalidURLError)Unwrap¶
func (e *InvalidURLError) Unwrap()error
typeInvalidVersionError¶
type InvalidVersionError struct {Causeerror}InvalidVersionError is returned when the version has syntax errors
func (*InvalidVersionError)Error¶
func (e *InvalidVersionError) Error()string
func (*InvalidVersionError)ToRPCStatus¶
func (e *InvalidVersionError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*InvalidVersionError)Unwrap¶
func (e *InvalidVersionError) Unwrap()error
typeLibraryDependenciesResolutionFailedError¶
type LibraryDependenciesResolutionFailedError struct {Causeerror}LibraryDependenciesResolutionFailedError is returned when an inconsistency is found in library dependenciesor a solution cannot be found.
func (*LibraryDependenciesResolutionFailedError)Error¶
func (e *LibraryDependenciesResolutionFailedError) Error()string
func (*LibraryDependenciesResolutionFailedError)ToRPCStatus¶
func (e *LibraryDependenciesResolutionFailedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*LibraryDependenciesResolutionFailedError)Unwrap¶
func (e *LibraryDependenciesResolutionFailedError) Unwrap()error
typeLibraryNotFoundError¶
LibraryNotFoundError is returned when a platform is not found
func (*LibraryNotFoundError)Error¶
func (e *LibraryNotFoundError) Error()string
func (*LibraryNotFoundError)ToRPCStatus¶
func (e *LibraryNotFoundError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*LibraryNotFoundError)Unwrap¶
func (e *LibraryNotFoundError) Unwrap()error
typeMissingFQBNError¶
type MissingFQBNError struct{}MissingFQBNError is returned when the FQBN is mandatory and not specified
func (*MissingFQBNError)Error¶
func (e *MissingFQBNError) Error()string
func (*MissingFQBNError)ToRPCStatus¶
func (e *MissingFQBNError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMissingPlatformPropertyError¶
type MissingPlatformPropertyError struct {Propertystring}MissingPlatformPropertyError is returned when a property in the platform is not found
func (*MissingPlatformPropertyError)Error¶
func (e *MissingPlatformPropertyError) Error()string
func (*MissingPlatformPropertyError)ToRPCStatus¶
func (e *MissingPlatformPropertyError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMissingPortAddressError¶
type MissingPortAddressError struct{}MissingPortAddressError is returned when the port protocol is mandatory and not specified
func (*MissingPortAddressError)Error¶
func (e *MissingPortAddressError) Error()string
func (*MissingPortAddressError)ToRPCStatus¶
func (e *MissingPortAddressError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMissingPortError¶
type MissingPortError struct{}MissingPortError is returned when the port is mandatory and not specified
func (*MissingPortError)Error¶
func (e *MissingPortError) Error()string
func (*MissingPortError)ToRPCStatus¶
func (e *MissingPortError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMissingPortProtocolError¶
type MissingPortProtocolError struct{}MissingPortProtocolError is returned when the port protocol is mandatory and not specified
func (*MissingPortProtocolError)Error¶
func (e *MissingPortProtocolError) Error()string
func (*MissingPortProtocolError)ToRPCStatus¶
func (e *MissingPortProtocolError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMissingProgrammerError¶
type MissingProgrammerError struct{}MissingProgrammerError is returned when the programmer is mandatory and not specified
func (*MissingProgrammerError)Error¶
func (e *MissingProgrammerError) Error()string
func (*MissingProgrammerError)ToRPCStatus¶
func (e *MissingProgrammerError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMissingSketchPathError¶
type MissingSketchPathError struct{}MissingSketchPathError is returned when the sketch path is mandatory and not specified
func (*MissingSketchPathError)Error¶
func (e *MissingSketchPathError) Error()string
func (*MissingSketchPathError)ToRPCStatus¶
func (e *MissingSketchPathError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMonitorNotFoundError¶
MonitorNotFoundError is returned when the pluggable monitor is not found
func (*MonitorNotFoundError)Error¶
func (e *MonitorNotFoundError) Error()string
func (*MonitorNotFoundError)ToRPCStatus¶
func (e *MonitorNotFoundError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*MonitorNotFoundError)Unwrap¶
func (e *MonitorNotFoundError) Unwrap()error
typeMultipleBoardsDetectedError¶
MultipleBoardsDetectedError is returned when trying to detectthe FQBN of a board connected to a port fails because thatare multiple possible boards detected.
func (*MultipleBoardsDetectedError)Error¶
func (e *MultipleBoardsDetectedError) Error()string
func (*MultipleBoardsDetectedError)ToRPCStatus¶
func (e *MultipleBoardsDetectedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMultipleLibraryInstallDetected¶
MultipleLibraryInstallDetected is returned when the user request anoperation on a library but multiple libraries with the same name(in library.properties) are detected.
func (*MultipleLibraryInstallDetected)Error¶
func (e *MultipleLibraryInstallDetected) Error()string
func (*MultipleLibraryInstallDetected)ToRPCStatus¶
func (e *MultipleLibraryInstallDetected) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeMultiplePlatformsError¶
MultiplePlatformsError is returned when trying to detectthe Platform the user is trying to interact with andmultiple results are found.
func (*MultiplePlatformsError)Error¶
func (e *MultiplePlatformsError) Error()string
func (*MultiplePlatformsError)ToRPCStatus¶
func (e *MultiplePlatformsError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeNoBoardsDetectedError¶
NoBoardsDetectedError is returned when detecting the FQBN of a boarddoes not produce any result.
func (*NoBoardsDetectedError)Error¶
func (e *NoBoardsDetectedError) Error()string
func (*NoBoardsDetectedError)ToRPCStatus¶
func (e *NoBoardsDetectedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeNoMonitorAvailableForProtocolError¶
type NoMonitorAvailableForProtocolError struct {Protocolstring}NoMonitorAvailableForProtocolError is returned when a monitor for the specified port protocol is not available
func (*NoMonitorAvailableForProtocolError)Error¶
func (e *NoMonitorAvailableForProtocolError) Error()string
func (*NoMonitorAvailableForProtocolError)ToRPCStatus¶
func (e *NoMonitorAvailableForProtocolError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeNotFoundError¶
NotFoundError is returned when a resource is not found
func (*NotFoundError)Error¶
func (e *NotFoundError) Error()string
func (*NotFoundError)ToRPCStatus¶
func (e *NotFoundError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*NotFoundError)Unwrap¶
func (e *NotFoundError) Unwrap()error
typePermissionDeniedError¶
PermissionDeniedError is returned when a resource cannot be accessed or modified
func (*PermissionDeniedError)Error¶
func (e *PermissionDeniedError) Error()string
func (*PermissionDeniedError)ToRPCStatus¶
func (e *PermissionDeniedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*PermissionDeniedError)Unwrap¶
func (e *PermissionDeniedError) Unwrap()error
typePlatformAlreadyAtTheLatestVersionError¶
type PlatformAlreadyAtTheLatestVersionError struct {Platformstring}PlatformAlreadyAtTheLatestVersionError is returned when a platform is up to date
func (*PlatformAlreadyAtTheLatestVersionError)Error¶
func (e *PlatformAlreadyAtTheLatestVersionError) Error()string
func (*PlatformAlreadyAtTheLatestVersionError)ToRPCStatus¶
func (e *PlatformAlreadyAtTheLatestVersionError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typePlatformLoadingError¶
type PlatformLoadingError struct {Causeerror}PlatformLoadingError is returned when a platform has fatal errors that prevents loading
func (*PlatformLoadingError)Error¶
func (e *PlatformLoadingError) Error()string
func (*PlatformLoadingError)ToRPCStatus¶
func (e *PlatformLoadingError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*PlatformLoadingError)Unwrap¶
func (e *PlatformLoadingError) Unwrap()error
typePlatformNotFoundError¶
PlatformNotFoundError is returned when a platform is not found
func (*PlatformNotFoundError)Error¶
func (e *PlatformNotFoundError) Error()string
func (*PlatformNotFoundError)ToRPCStatus¶
func (e *PlatformNotFoundError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*PlatformNotFoundError)Unwrap¶
func (e *PlatformNotFoundError) Unwrap()error
typeProgrammerNotFoundError¶
ProgrammerNotFoundError is returned when the programmer is not found
func (*ProgrammerNotFoundError)Error¶
func (e *ProgrammerNotFoundError) Error()string
func (*ProgrammerNotFoundError)ToRPCStatus¶
func (e *ProgrammerNotFoundError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*ProgrammerNotFoundError)Unwrap¶
func (e *ProgrammerNotFoundError) Unwrap()error
typeProgrammerRequiredForUploadError¶
type ProgrammerRequiredForUploadError struct{}ProgrammerRequiredForUploadError is returned when the upload can be done only using a programmer
func (*ProgrammerRequiredForUploadError)Error¶
func (e *ProgrammerRequiredForUploadError) Error()string
func (*ProgrammerRequiredForUploadError)ToRPCStatus¶
func (e *ProgrammerRequiredForUploadError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
typeSignatureVerificationFailedError¶
SignatureVerificationFailedError is returned if a signature verification fails
func (*SignatureVerificationFailedError)Error¶
func (e *SignatureVerificationFailedError) Error()string
func (*SignatureVerificationFailedError)ToRPCStatus¶
func (e *SignatureVerificationFailedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*SignatureVerificationFailedError)Unwrap¶
func (e *SignatureVerificationFailedError) Unwrap()error
typeTempDirCreationFailedError¶
type TempDirCreationFailedError struct {Causeerror}TempDirCreationFailedError is returned if a temp dir could not be created
func (*TempDirCreationFailedError)Error¶
func (e *TempDirCreationFailedError) Error()string
func (*TempDirCreationFailedError)ToRPCStatus¶
func (e *TempDirCreationFailedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*TempDirCreationFailedError)Unwrap¶
func (e *TempDirCreationFailedError) Unwrap()error
typeTempFileCreationFailedError¶
type TempFileCreationFailedError struct {Causeerror}TempFileCreationFailedError is returned if a temp file could not be created
func (*TempFileCreationFailedError)Error¶
func (e *TempFileCreationFailedError) Error()string
func (*TempFileCreationFailedError)ToRPCStatus¶
func (e *TempFileCreationFailedError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*TempFileCreationFailedError)Unwrap¶
func (e *TempFileCreationFailedError) Unwrap()error
typeUnavailableError¶
UnavailableError is returned when a resource is temporarily not available
func (*UnavailableError)Error¶
func (e *UnavailableError) Error()string
func (*UnavailableError)ToRPCStatus¶
func (e *UnavailableError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*UnavailableError)Unwrap¶
func (e *UnavailableError) Unwrap()error
typeUnknownFQBNError¶
type UnknownFQBNError struct {Causeerror}UnknownFQBNError is returned when the FQBN is not found
func (*UnknownFQBNError)Error¶
func (e *UnknownFQBNError) Error()string
func (*UnknownFQBNError)ToRPCStatus¶
func (e *UnknownFQBNError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*UnknownFQBNError)Unwrap¶
func (e *UnknownFQBNError) Unwrap()error
typeUnknownProfileError¶
UnknownProfileError is returned when the profile is not found
func (*UnknownProfileError)Error¶
func (e *UnknownProfileError) Error()string
func (*UnknownProfileError)ToRPCStatus¶
func (e *UnknownProfileError) ToRPCStatus() *status.Status
ToRPCStatus converts the error into a *status.Status
func (*UnknownProfileError)Unwrap¶
func (e *UnknownProfileError) Unwrap()error
Directories¶
| Path | Synopsis |
|---|---|
discovery_clientcommand discovery_client is a command line UI client to test pluggable discoveries. | discovery_client is a command line UI client to test pluggable discoveries. |
Package monitor provides a client for Pluggable Monitors. | Package monitor provides a client for Pluggable Monitors. |