DockerCLI/cli/command/config
Sebastiaan van Stijn 66c66bdce7
cli/command/config: fakeClient: include context in fake client (revive)
I could either remove the name for these contexts, or make the fake functions
more accurately reflect the actual implementation (decided to go for the latter
one)

.   cli/command/config/client_test.go:19:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) ConfigCreate(ctx context.Context, spec swarm.ConfigSpec) (types.ConfigCreateResponse, error) {
                                      ^
    cli/command/config/client_test.go:26:43: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) ConfigInspectWithRaw(ctx context.Context, id string) (swarm.Config, []byte, error) {
                                              ^
    cli/command/config/client_test.go:33:33: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error) {
                                    ^
    cli/command/config/client_test.go:40:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
    func (c *fakeClient) ConfigRemove(ctx context.Context, name string) error {
                                      ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-03-30 17:05:32 +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/config: fakeClient: include context in fake client (revive) 2023-03-30 17:05:32 +02:00
cmd.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
create.go replace pkg/system Sequential funcs with moby/sys/sequential 2022-08-29 13:27:26 +02:00
create_test.go cli/command/config: fakeClient: include context in fake client (revive) 2023-03-30 17:05:32 +02: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 format code with gofumpt 2022-09-30 11:59:11 +02:00
inspect_test.go cli/command/config: fakeClient: include context in fake client (revive) 2023-03-30 17:05:32 +02:00
ls.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
ls_test.go cli/command/config: fakeClient: include context in fake client (revive) 2023-03-30 17:05:32 +02:00
remove.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
remove_test.go cli/command/config: remove deprecated io/ioutil 2022-02-25 15:36:08 +01:00