Add missing Go doc comments to the exported option and result types
in config_remove.go, config_update.go, secret_remove.go,
secret_update.go, node_inspect.go, node_list.go, node_remove.go,
and node_update.go.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Poyraz Küçükarslan <83272398+PoyrazK@users.noreply.github.com>
| ... | ... |
@@ -2,10 +2,12 @@ package client |
| 2 | 2 |
|
| 3 | 3 |
import "context" |
| 4 | 4 |
|
| 5 |
+// ConfigRemoveOptions holds options for [Client.ConfigRemove]. |
|
| 5 | 6 |
type ConfigRemoveOptions struct {
|
| 6 | 7 |
// Add future optional parameters here |
| 7 | 8 |
} |
| 8 | 9 |
|
| 10 |
+// ConfigRemoveResult holds the result of [Client.ConfigRemove]. |
|
| 9 | 11 |
type ConfigRemoveResult struct {
|
| 10 | 12 |
// Add future fields here |
| 11 | 13 |
} |
| ... | ... |
@@ -12,6 +12,7 @@ import ( |
| 12 | 12 |
// NodeInspectOptions holds parameters to inspect nodes with. |
| 13 | 13 |
type NodeInspectOptions struct{}
|
| 14 | 14 |
|
| 15 |
+// NodeInspectResult holds the result of [Client.NodeInspect]. |
|
| 15 | 16 |
type NodeInspectResult struct {
|
| 16 | 17 |
Node swarm.Node |
| 17 | 18 |
Raw json.RawMessage |
| ... | ... |
@@ -2,10 +2,12 @@ package client |
| 2 | 2 |
|
| 3 | 3 |
import "context" |
| 4 | 4 |
|
| 5 |
+// SecretRemoveOptions holds options for [Client.SecretRemove]. |
|
| 5 | 6 |
type SecretRemoveOptions struct {
|
| 6 | 7 |
// Add future optional parameters here |
| 7 | 8 |
} |
| 8 | 9 |
|
| 10 |
+// SecretRemoveResult holds the result of [Client.SecretRemove]. |
|
| 9 | 11 |
type SecretRemoveResult struct {
|
| 10 | 12 |
// Add future fields here |
| 11 | 13 |
} |
| ... | ... |
@@ -2,10 +2,12 @@ package client |
| 2 | 2 |
|
| 3 | 3 |
import "context" |
| 4 | 4 |
|
| 5 |
+// ConfigRemoveOptions holds options for [Client.ConfigRemove]. |
|
| 5 | 6 |
type ConfigRemoveOptions struct {
|
| 6 | 7 |
// Add future optional parameters here |
| 7 | 8 |
} |
| 8 | 9 |
|
| 10 |
+// ConfigRemoveResult holds the result of [Client.ConfigRemove]. |
|
| 9 | 11 |
type ConfigRemoveResult struct {
|
| 10 | 12 |
// Add future fields here |
| 11 | 13 |
} |
| ... | ... |
@@ -12,6 +12,7 @@ import ( |
| 12 | 12 |
// NodeInspectOptions holds parameters to inspect nodes with. |
| 13 | 13 |
type NodeInspectOptions struct{}
|
| 14 | 14 |
|
| 15 |
+// NodeInspectResult holds the result of [Client.NodeInspect]. |
|
| 15 | 16 |
type NodeInspectResult struct {
|
| 16 | 17 |
Node swarm.Node |
| 17 | 18 |
Raw json.RawMessage |
| ... | ... |
@@ -2,10 +2,12 @@ package client |
| 2 | 2 |
|
| 3 | 3 |
import "context" |
| 4 | 4 |
|
| 5 |
+// SecretRemoveOptions holds options for [Client.SecretRemove]. |
|
| 5 | 6 |
type SecretRemoveOptions struct {
|
| 6 | 7 |
// Add future optional parameters here |
| 7 | 8 |
} |
| 8 | 9 |
|
| 10 |
+// SecretRemoveResult holds the result of [Client.SecretRemove]. |
|
| 9 | 11 |
type SecretRemoveResult struct {
|
| 10 | 12 |
// Add future fields here |
| 11 | 13 |
} |