Skip to content

Commit a37fe74

Browse files
committed
update to node ops
1 parent 53e3420 commit a37fe74

File tree

8 files changed

+980
-589
lines changed

8 files changed

+980
-589
lines changed

docs/generated-api.md

+455-305
Large diffs are not rendered by default.

template/sdk.tmpl

+6-6
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
{{.Description}}
2828

2929
{{range .Methods -}}
30-
## {{.Name}}
30+
## {{.Name}}
3131

3232
> **rpc** {{.Name}}([{{.RequestLongType}}](#{{.RequestLongType | lower | replace "." ""}}))
33-
**returns** [{{.ResponseLongType}}](#{{.ResponseLongType | lower | replace "." ""}})
34-
33+
[{{.ResponseLongType}}](#{{.ResponseLongType | lower | replace "." ""}})
34+
3535
{{ .Description}}
3636
{{end}} <!-- end methods -->
3737
{{end}} <!-- end services -->
@@ -46,7 +46,7 @@
4646
| Field | Type | Description |
4747
| ----- | ---- | ----------- |
4848
{{range .Fields -}}
49-
| {{.Name}} | {{.Label}} [{{.LongType}}](#{{.LongType | lower | replace "." ""}}) | {{if .Description}}{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}}{{else}}none{{end}} |
49+
| {{.Name}} | [{{if .IsMap}}map {{else}}{{.Label}} {{end}}{{.LongType}}](#{{.LongType | lower | replace "." ""}}) | {{if .Description}}{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}}{{else}}none{{end}} |
5050
{{end}} <!-- end Fields -->
5151
{{end}} <!-- end HasFields -->
5252
{{end}} <!-- end messages -->
@@ -60,7 +60,7 @@
6060
| Name | Number | Description |
6161
| ---- | ------ | ----------- |
6262
{{range .Values -}}
63-
| {{.Name}} | {{.Number}} | {{nobr .Description}} |
63+
| {{.Name}} | {{.Number}} | {{if .Description}}{{nobr .Description}}{{else}}none{{end}} |
6464
{{end}}
6565

6666
{{end}} <!-- end Enums -->
@@ -72,4 +72,4 @@
7272
| ----------- | ----- | -------- | --------- | ----------- |
7373
{{range .Scalars -}}
7474
| <div><h4 id="{{.ProtoType | lower | replace "." ""}}" /></div><a name="{{.ProtoType}}" /> {{.ProtoType}} | {{.Notes}} | {{.CppType}} | {{.JavaType}} | {{.PythonType}} |
75-
{{end}}
75+
{{end}}

w/arch.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
283283
<script>
284284
var gitbook = gitbook || [];
285285
gitbook.push(function() {
286-
gitbook.page.hasChanged({"page":{"title":"Architecture","level":"1.3","depth":1,"next":{"title":"Installing","level":"1.4","depth":1,"path":"installing.md","ref":"installing.md","articles":[]},"previous":{"title":"Status","level":"1.2","depth":1,"path":"status.md","ref":"status.md","articles":[]},"dir":"ltr"},"config":{"plugins":["codetabs","toggle-chapters","toggle-headers","edit-link","prism","github","page-toc","-highlight","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{},"github":{"url":"https://github.com/libopenstorage/openstorage/"},"search":{},"page-toc":{"position":"top","selector":".markdown-section h1, .markdown-section h2","showByDefault":false},"codetabs":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"toggle-headers":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"Edit this page","base":"https://github.com/libopenstorage/libopenstorage.github.io/tree/master/docs"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"toggle-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"OpenStorage API","gitbook":">=3.2.1"},"file":{"path":"arch.md","mtime":"2018-04-30T19:44:09.808Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-05-04T08:48:29.495Z"},"basePath":".","book":{"language":""}});
286+
gitbook.page.hasChanged({"page":{"title":"Architecture","level":"1.3","depth":1,"next":{"title":"Installing","level":"1.4","depth":1,"path":"installing.md","ref":"installing.md","articles":[]},"previous":{"title":"Status","level":"1.2","depth":1,"path":"status.md","ref":"status.md","articles":[]},"dir":"ltr"},"config":{"plugins":["codetabs","toggle-chapters","toggle-headers","edit-link","prism","github","page-toc","-highlight","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{},"github":{"url":"https://github.com/libopenstorage/openstorage/"},"search":{},"page-toc":{"position":"top","selector":".markdown-section h1, .markdown-section h2","showByDefault":false},"codetabs":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"toggle-headers":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"Edit this page","base":"https://github.com/libopenstorage/libopenstorage.github.io/tree/master/docs"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"toggle-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"OpenStorage API","gitbook":">=3.2.1"},"file":{"path":"arch.md","mtime":"2018-04-30T19:44:09.808Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-05-07T20:00:55.138Z"},"basePath":".","book":{"language":""}});
287287
});
288288
</script>
289289
</div>

0 commit comments

Comments
 (0)