DockerCLI/cli/command/node
Sebastiaan van Stijn 625988c3aa
cli/command/node: fakeClient: remove name for unused arg (revive)
cli/command/node/client_test.go:23:43: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) NodeInspectWithRaw(ctx context.Context, ref string) (swarm.Node, []byte, error) {
                                              ^
    cli/command/node/client_test.go:30:33: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error) {
                                    ^
    cli/command/node/client_test.go:37:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error {
                                      ^
    cli/command/node/client_test.go:44:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error {
                                      ^
    cli/command/node/client_test.go:51:29: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) Info(ctx context.Context) (types.Info, error) {
                                ^
    cli/command/node/client_test.go:58:43: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error) {
                                              ^
    cli/command/node/client_test.go:65:33: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (cli *fakeClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error) {
                                    ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-03-30 17:22:07 +02:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
client_test.go cli/command/node: fakeClient: remove name for unused arg (revive) 2023-03-30 17:22:07 +02:00
cmd.go hide swarm-related commands based on the current swarm status and role 2022-05-02 14:57:59 +02:00
demote.go Update imports. 2017-04-17 18:07:56 -04:00
demote_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00
formatter.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
formatter_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
inspect.go linting: ST1005: error strings should not be capitalized (stylecheck) 2022-09-03 21:25:42 +02:00
inspect_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00
list.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
list_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00
opts.go Add unused linter. 2017-06-14 16:54:27 -07:00
promote.go Update imports. 2017-04-17 18:07:56 -04:00
promote_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00
ps.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
ps_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00
remove.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
remove_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00
update.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
update_test.go cli/command/node: remove deprecated io/ioutil 2022-02-25 15:42:06 +01:00