You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: auth/auth.go
+4-2
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@ type Config struct {
54
54
// ClientID is the client id you are using
55
55
ClientIDstring
56
56
57
-
// RedirectURI is the redirectURI where the oauth process will redirect. It's only required since the oauth system checks for it, but we intercept the redirect before hitting it
57
+
// RedirectURI is the redirectURI where the oauth process will redirect.
58
+
// It's only required since the oauth system checks for it, but we intercept the redirect before hitting it
58
59
RedirectURIstring
59
60
60
61
// Scopes is a space-separated list of scopes to require
// cookies keeps track of the cookies for each request
158
159
typecookiesmap[string][]*http.Cookie
159
160
160
-
// requestAuth calls hydra and follows the redirects until it reaches the authentication page. It saves the cookie it finds so it can apply them to subsequent requests
161
+
// requestAuth calls hydra and follows the redirects until it reaches the authentication page.
162
+
// It saves the cookie it finds so it can apply them to subsequent requests
// Start a compilation for the given user and saves the request (but not the generated files) on the database. requires authentication. Can return PreconditionFailed if the user has reached their maximum number of compilations per day. If the compilation failed it returns UnprocessableEntity
33
+
// Start a compilation for the given user and saves the request (but not the generated files) on the database.
34
+
// requires authentication.
35
+
// Can return PreconditionFailed if the user has reached their maximum number of compilations per day.
36
+
// If the compilation failed it returns UnprocessableEntity
// ShowLibraries provides the library identified by the :id and :pid param. Doesn't require authentication. Also contains a list of other versions of the library
75
+
// ShowLibraries provides the library identified by the :id and :pid param. Doesn't require authentication.
76
+
// Also contains a list of other versions of the library
Copy file name to clipboardExpand all lines: builder_client_helpers/media_types.go
+30-10
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,11 @@ import (
24
24
"github.com/goadesign/goa"
25
25
)
26
26
27
-
// ArduinoBuilderBoard is a physical board belonging to a certain architecture in a package. The most obvious package is arduino, which contains architectures avr, sam and samd. It can contain multiple versions of the upload commands and options. If there is a default version it means that it's the only version officially supported. Of course if there is only one version it will be called default (default view)
27
+
// ArduinoBuilderBoard is a physical board belonging to a certain architecture in a package.
28
+
// The most obvious package is arduino, which contains architectures avr, sam and samd.
29
+
// It can contain multiple versions of the upload commands and options.
30
+
// If there is a default version it means that it's the only version officially supported.
31
+
// Of course if there is only one version it will be called default (default view)
// ArduinoBuilderBoardv2 is a physical board belonging to a certain architecture in a package. The most obvious package is arduino, which contains architectures avr, sam and samd. It can contain multiple versions of the upload commands and options. If there is a default version it means that it's the only version officially supported. Of course if there is only one version it will be called default (default view)
167
+
// ArduinoBuilderBoardv2 is a physical board belonging to a certain architecture in a package.
168
+
// The most obvious package is arduino, which contains architectures avr, sam and samd.
169
+
// It can contain multiple versions of the upload commands and options.
170
+
// If there is a default version it means that it's the only version officially supported.
171
+
// Of course if there is only one version it will be called default (default view)
// ArduinoBuilderBoardv2Full is a physical board belonging to a certain architecture in a package. The most obvious package is arduino, which contains architectures avr, sam and samd. It can contain multiple versions of the upload commands and options. If there is a default version it means that it's the only version officially supported. Of course if there is only one version it will be called default (full view)
188
+
// ArduinoBuilderBoardv2Full is a physical board belonging to a certain architecture in a package.
189
+
// The most obvious package is arduino, which contains architectures avr, sam and samd.
190
+
// It can contain multiple versions of the upload commands and options.
191
+
// If there is a default version it means that it's the only version officially supported.
192
+
// Of course if there is only one version it will be called default (full view)
// ArduinoBuilderCompilationResult is the result of a compilation. It contains the output and the eventual errors. If successful it contains the generated files. (default view)
358
+
// ArduinoBuilderCompilationResult is the result of a compilation.
359
+
// It contains the output and the eventual errors.
360
+
// If successful it contains the generated files. (default view)
// ArduinoBuilderLibrary is a collection of header files containing arduino reusable code and functions. It typically contains its info in a library.properties files. The examples property contains a list of examples that use that library. (default view)
488
+
// ArduinoBuilderLibrary is a collection of header files containing arduino reusable code and functions.
489
+
// It typically contains its info in a library.properties files.
490
+
// The examples property contains a list of examples that use that library. (default view)
// ArduinoBuilderLibraryLink is a collection of header files containing arduino reusable code and functions. It typically contains its info in a library.properties files. The examples property contains a list of examples that use that library. (link view)
527
+
// ArduinoBuilderLibraryLink is a collection of header files containing arduino reusable code and functions.
528
+
// It typically contains its info in a library.properties files.
529
+
// The examples property contains a list of examples that use that library. (link view)
Copy file name to clipboardExpand all lines: builder_client_helpers/user_types.go
+19-7
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,9 @@ import (
21
21
"github.com/goadesign/goa"
22
22
)
23
23
24
-
// A compilation is made up of a sketch (or a path to a sketch) and an fqbn. Eventual libraries are automatically determined and linked. NOTE: swagger will force you to define the files inside the sketch because of a bug. But they are not mandatory.
24
+
// A compilation is made up of a sketch (or a path to a sketch) and an fqbn.
25
+
// Eventual libraries are automatically determined and linked.
26
+
// NOTE: swagger will force you to define the files inside the sketch because of a bug. But they are not mandatory.
@@ -72,7 +74,9 @@ func (ut *compilation) Publicize() *Compilation {
72
74
return&pub
73
75
}
74
76
75
-
// A Compilation is made up of a sketch (or a path to a sketch) and an fqbn. Eventual libraries are automatically determined and linked. NOTE: swagger will force you to define the files inside the sketch because of a bug. But they are not mandatory.
77
+
// A Compilation is made up of a sketch (or a path to a sketch) and an fqbn.
78
+
// Eventual libraries are automatically determined and linked.
79
+
// NOTE: swagger will force you to define the files inside the sketch because of a bug. But they are not mandatory.
76
80
typeCompilationstruct {
77
81
// The fully qualified board name
78
82
Fqbnstring`form:"fqbn" json:"fqbn" xml:"fqbn"`
@@ -275,7 +279,8 @@ func (ut *filemeta) Publicize() *Filemeta {
275
279
return&pub
276
280
}
277
281
278
-
// FileMeta represent a file in the filesystem, belonging to a sketch, a library or an example. Can contain a data property with the content of the file.
282
+
// FileMeta represent a file in the filesystem, belonging to a sketch, a library or an example.
283
+
// Can contain a data property with the content of the file.
// Library is a collection of header files containing arduino reusable code and functions. It typically contains its info in a library.properties files. The examples property contains a list of examples that use that library.
299
+
// Library is a collection of header files containing arduino reusable code and functions.
300
+
// It typically contains its info in a library.properties files.
301
+
// The examples property contains a list of examples that use that library.
@@ -391,7 +398,9 @@ func (ut *library) Publicize() *Library {
391
398
return&pub
392
399
}
393
400
394
-
// Library is a collection of header files containing arduino reusable code and functions. It typically contains its info in a library.properties files. The examples property contains a list of examples that use that library.
401
+
// Library is a collection of header files containing arduino reusable code and functions.
402
+
// It typically contains its info in a library.properties files.
403
+
// The examples property contains a list of examples that use that library.
// A sketch is a program intended to run on an arduino board. It's composed by a main .ino file and optional other files. You should upload only .ino and .h files.
480
+
// A sketch is a program intended to run on an arduino board.
481
+
// It's composed by a main .ino file and optional other files.
@@ -527,7 +538,8 @@ func (ut *sketch) Publicize() *Sketch {
527
538
return&pub
528
539
}
529
540
530
-
// A sketch is a program intended to run on an arduino board. It's composed by a main .ino file and optional other files. You should upload only .ino and .h files.
541
+
// A sketch is a program intended to run on an arduino board.
542
+
// It's composed by a main .ino file and optional other files. You should upload only .ino and .h files.
attachCommand.Flags().StringVar(&attachFlags.boardFlavour, "flavour", "default", "The Name of the CPU flavour, it is required for some boards (e.g. Arduino Nano).")
50
-
attachCommand.Flags().StringVar(&attachFlags.searchTimeout, "timeout", "5s", "The timeout of the search of connected devices, try to high it if your board is not found (e.g. to 10s).")
listCommand.Flags().StringVar(&listFlags.timeout, "timeout", "5s", "The timeout of the search of connected devices, try to high it if your board is not found (e.g. to 10s).")
42
+
usage:="The timeout of the search of connected devices, try to high it if your board is not found (e.g. to 10s)."
0 commit comments