DockerCLI/cli/command/plugin
Sebastiaan van Stijn e2949a1333
cli/command/plugin: fakeClient: remove name for unused arg (revive)
cli/command/plugin/client_test.go:23:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginCreate(ctx context.Context, createContext io.Reader, createOptions types.PluginCreateOptions) error {
                                      ^
    cli/command/plugin/client_test.go:30:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginEnable(ctx context.Context, name string, enableOptions types.PluginEnableOptions) error {
                                      ^
    cli/command/plugin/client_test.go:37:36: unused-parameter: parameter 'context' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginDisable(context context.Context, name string, disableOptions types.PluginDisableOptions) error {
                                       ^
    cli/command/plugin/client_test.go:44:35: unused-parameter: parameter 'context' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginRemove(context context.Context, name string, removeOptions types.PluginRemoveOptions) error {
                                      ^
    cli/command/plugin/client_test.go:51:36: unused-parameter: parameter 'context' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginInstall(context context.Context, name string, installOptions types.PluginInstallOptions) (io.ReadCloser, error) {
                                       ^
    cli/command/plugin/client_test.go:58:33: unused-parameter: parameter 'context' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginList(context context.Context, filter filters.Args) (types.PluginsListResponse, error) {
                                    ^
    cli/command/plugin/client_test.go:66:43: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error) {
                                              ^
    cli/command/plugin/client_test.go:74:27: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) Info(ctx context.Context) (types.Info, error) {
                              ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit da3416c023)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-07-15 15:23:34 +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/plugin: fakeClient: remove name for unused arg (revive) 2023-07-15 15:23:34 +02:00
cmd.go Update gometalinter 2017-10-26 12:21:02 -04:00
create.go completion v2: some small follow-ups 2022-05-12 13:25:15 +02:00
create_test.go cli/command/plugin: remove deprecated io/ioutil 2022-02-25 15:42:07 +01:00
disable.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
disable_test.go cli/command/plugin: remove deprecated io/ioutil 2022-02-25 15:42:07 +01:00
enable.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
enable_test.go cli/command/plugin: remove deprecated io/ioutil 2022-02-25 15:42:07 +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 Output compact JSON by default for --format=json 2022-03-15 15:42:35 +01:00
inspect_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
install.go Update docker/docker to 827cb09f87964ed38b46502f22a585f2ed4a78e1 2019-03-19 22:21:51 +01:00
install_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
list.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
list_test.go linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
push.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
remove.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
remove_test.go format code with gofumpt 2022-09-30 11:59:11 +02:00
set.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
upgrade.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00