Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance test for keyring #3176

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ require (
github.com/suzuki-shunsuke/logrus-error v0.1.4
github.com/urfave/cli/v2 v2.27.4
github.com/wk8/go-ordered-map/v2 v2.1.8
github.com/zalando/go-keyring v0.2.5
golang.org/x/oauth2 v0.23.0
golang.org/x/sys v0.26.0
gopkg.in/yaml.v2 v2.4.0
Expand All @@ -36,16 +37,19 @@ require (
dario.cat/mergo v1.0.1 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.3.0 // indirect
github.com/alessio/shellescape v1.4.1 // indirect
github.com/andybalholm/brotli v1.0.1 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/danieljoos/wincred v1.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/gdamore/encoding v1.0.0 // indirect
github.com/gdamore/tcell/v2 v2.6.0 // indirect
github.com/go-playground/validator/v10 v10.11.1 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
Expand Down
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe
github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0=
github.com/adrg/xdg v0.5.0 h1:dDaZvhMXatArP1NPHhnfaQUqWBLBsmx1h1HXQdMoFCY=
github.com/adrg/xdg v0.5.0/go.mod h1:dDdY4M4DF9Rjy4kHPeNL+ilVF+p2lK8IdM9/rTSGcI4=
github.com/alessio/shellescape v1.4.1 h1:V7yhSDDn8LP4lc4jS8pFkt0zCnzVJlG5JXy9BVKJUX0=
github.com/alessio/shellescape v1.4.1/go.mod h1:PZAiSCk0LJaZkiCSkPv8qIobYglO3FPpyFjDCtHLS30=
github.com/andybalholm/brotli v1.0.1 h1:KqhlKozYbRtJvsPrrEeXcO+N2l6NYT5A2QAFmSULpEc=
github.com/andybalholm/brotli v1.0.1/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk=
Expand All @@ -17,6 +19,8 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2
github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/danieljoos/wincred v1.2.0 h1:ozqKHaLK0W/ii4KVbbvluM91W2H3Sh0BncbUNPS7jLE=
github.com/danieljoos/wincred v1.2.0/go.mod h1:FzQLLMKBFdvu+osBrnFODiv32YGwCfx0SkRa/eYHgec=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -45,6 +49,8 @@ github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJ
github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU=
github.com/goccy/go-yaml v1.12.0 h1:/1WHjnMsI1dlIBQutrvSMGZRQufVO3asrHfTwfACoPM=
github.com/goccy/go-yaml v1.12.0/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/golang/snappy v0.0.2/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
Expand Down Expand Up @@ -155,6 +161,8 @@ github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNo
github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w=
github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
Expand Down Expand Up @@ -189,6 +197,8 @@ github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMx
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zalando/go-keyring v0.2.5 h1:Bc2HHpjALryKD62ppdEzaFG6VxL6Bc+5v0LYpN8Lba8=
github.com/zalando/go-keyring v0.2.5/go.mod h1:HL4k+OXQfJUWaMnqyuSOc0drfGPX2b51Du6K+MRgZMk=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/cp/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (i *command) action(c *cli.Context) error {
return fmt.Errorf("parse the command line arguments: %w", err)
}
param.SkipLink = true
ctrl, err := controller.InitializeCopyCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl, err := controller.InitializeCopyCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
if err != nil {
return fmt.Errorf("initialize a CopyController: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/exec/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "exec", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl, err := controller.InitializeExecCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl, err := controller.InitializeExecCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
if err != nil {
return fmt.Errorf("initialize a ExecController: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/generate/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "generate", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeGenerateCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl := controller.InitializeGenerateCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
return ctrl.Generate(c.Context, i.r.LogE, param, c.Args().Slice()...) //nolint:wrapcheck
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/genr/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "generate-registry", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeGenerateRegistryCommandController(c.Context, param, http.DefaultClient, os.Stdout)
ctrl := controller.InitializeGenerateRegistryCommandController(c.Context, i.r.LogE, param, http.DefaultClient, os.Stdout)
return ctrl.GenerateRegistry(c.Context, param, i.r.LogE, c.Args().Slice()...) //nolint:wrapcheck
}
2 changes: 1 addition & 1 deletion pkg/cli/initcmd/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ func (ic *initCommand) action(c *cli.Context) error {
if err := util.SetParam(c, ic.r.LogE, "init", param, ic.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeInitCommandController(c.Context, param)
ctrl := controller.InitializeInitCommandController(c.Context, ic.r.LogE, param)
return ctrl.Init(c.Context, ic.r.LogE, c.Args().First()) //nolint:wrapcheck
}
2 changes: 1 addition & 1 deletion pkg/cli/install/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "install", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl, err := controller.InitializeInstallCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl, err := controller.InitializeInstallCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
if err != nil {
return fmt.Errorf("initialize a InstallController: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/list/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "list", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeListCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl := controller.InitializeListCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
return ctrl.List(c.Context, i.r.LogE, param) //nolint:wrapcheck
}
2 changes: 1 addition & 1 deletion pkg/cli/remove/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (i *command) action(c *cli.Context) error {
return fmt.Errorf("parse the command line arguments: %w", err)
}
param.SkipLink = true
ctrl := controller.InitializeRemoveCommandController(c.Context, param, http.DefaultClient, i.r.Runtime, mode)
ctrl := controller.InitializeRemoveCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime, mode)
if err := ctrl.Remove(c.Context, i.r.LogE, param); err != nil {
return err //nolint:wrapcheck
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/upc/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "update-checksum", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeUpdateChecksumCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl := controller.InitializeUpdateChecksumCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
return ctrl.UpdateChecksum(c.Context, i.r.LogE, param) //nolint:wrapcheck
}
2 changes: 1 addition & 1 deletion pkg/cli/update/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "update", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeUpdateCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl := controller.InitializeUpdateCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
return ctrl.Update(c.Context, i.r.LogE, param) //nolint:wrapcheck
}
2 changes: 1 addition & 1 deletion pkg/cli/updateaqua/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (ua *updateAquaCommand) action(c *cli.Context) error {
if err := util.SetParam(c, ua.r.LogE, "update-aqua", param, ua.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl, err := controller.InitializeUpdateAquaCommandController(c.Context, param, http.DefaultClient, ua.r.Runtime)
ctrl, err := controller.InitializeUpdateAquaCommandController(c.Context, ua.r.LogE, param, http.DefaultClient, ua.r.Runtime)
if err != nil {
return fmt.Errorf("initialize a UpdateAquaController: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/which/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (i *command) action(c *cli.Context) error {
if err := util.SetParam(c, i.r.LogE, "which", param, i.r.LDFlags); err != nil {
return fmt.Errorf("parse the command line arguments: %w", err)
}
ctrl := controller.InitializeWhichCommandController(c.Context, param, http.DefaultClient, i.r.Runtime)
ctrl := controller.InitializeWhichCommandController(c.Context, i.r.LogE, param, http.DefaultClient, i.r.Runtime)
exeName, _, err := ParseExecArgs(c.Args().Slice())
if err != nil {
return err
Expand Down
25 changes: 13 additions & 12 deletions pkg/controller/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ import (
"github.com/aquaproj/aqua/v2/pkg/slsa"
"github.com/aquaproj/aqua/v2/pkg/unarchive"
"github.com/aquaproj/aqua/v2/pkg/versiongetter"
"github.com/sirupsen/logrus"

"github.com/google/wire"
"github.com/spf13/afero"
"github.com/suzuki-shunsuke/go-osenv/osenv"
)

func InitializeListCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *list.Controller {
func InitializeListCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *list.Controller {
wire.Build(
list.NewController,
wire.NewSet(
Expand Down Expand Up @@ -105,7 +106,7 @@ func InitializeListCommandController(ctx context.Context, param *config.Param, h
return &list.Controller{}
}

func InitializeGenerateRegistryCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, stdout io.Writer) *genrgst.Controller {
func InitializeGenerateRegistryCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, stdout io.Writer) *genrgst.Controller {
wire.Build(
genrgst.NewController,
wire.NewSet(
Expand All @@ -125,7 +126,7 @@ func InitializeGenerateRegistryCommandController(ctx context.Context, param *con
return &genrgst.Controller{}
}

func InitializeInitCommandController(ctx context.Context, param *config.Param) *initcmd.Controller {
func InitializeInitCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param) *initcmd.Controller {
wire.Build(
initcmd.New,
wire.NewSet(
Expand All @@ -145,7 +146,7 @@ func InitializeInitPolicyCommandController(ctx context.Context) *initpolicy.Cont
return &initpolicy.Controller{}
}

func InitializeGenerateCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *generate.Controller {
func InitializeGenerateCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *generate.Controller {
wire.Build(
generate.New,
wire.NewSet(
Expand Down Expand Up @@ -222,7 +223,7 @@ func InitializeGenerateCommandController(ctx context.Context, param *config.Para
return &generate.Controller{}
}

func InitializeInstallCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*install.Controller, error) {
func InitializeInstallCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*install.Controller, error) {
wire.Build(
install.New,
wire.NewSet(
Expand Down Expand Up @@ -346,7 +347,7 @@ func InitializeInstallCommandController(ctx context.Context, param *config.Param
return &install.Controller{}, nil
}

func InitializeWhichCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *which.Controller {
func InitializeWhichCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *which.Controller {
wire.Build(
which.New,
wire.NewSet(
Expand Down Expand Up @@ -405,7 +406,7 @@ func InitializeWhichCommandController(ctx context.Context, param *config.Param,
return nil
}

func InitializeExecCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*cexec.Controller, error) {
func InitializeExecCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*cexec.Controller, error) {
wire.Build(
cexec.New,
wire.NewSet(
Expand Down Expand Up @@ -536,7 +537,7 @@ func InitializeExecCommandController(ctx context.Context, param *config.Param, h
return &cexec.Controller{}, nil
}

func InitializeUpdateAquaCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*updateaqua.Controller, error) {
func InitializeUpdateAquaCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*updateaqua.Controller, error) {
wire.Build(
updateaqua.New,
wire.NewSet(
Expand Down Expand Up @@ -628,7 +629,7 @@ func InitializeUpdateAquaCommandController(ctx context.Context, param *config.Pa
return &updateaqua.Controller{}, nil
}

func InitializeCopyCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*cp.Controller, error) {
func InitializeCopyCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*cp.Controller, error) {
wire.Build(
cp.New,
wire.NewSet(
Expand Down Expand Up @@ -768,7 +769,7 @@ func InitializeCopyCommandController(ctx context.Context, param *config.Param, h
return &cp.Controller{}, nil
}

func InitializeUpdateChecksumCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *updatechecksum.Controller {
func InitializeUpdateChecksumCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *updatechecksum.Controller {
wire.Build(
updatechecksum.New,
wire.NewSet(
Expand Down Expand Up @@ -827,7 +828,7 @@ func InitializeUpdateChecksumCommandController(ctx context.Context, param *confi
return &updatechecksum.Controller{}
}

func InitializeUpdateCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *update.Controller {
func InitializeUpdateCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *update.Controller {
wire.Build(
update.New,
wire.NewSet(
Expand Down Expand Up @@ -960,7 +961,7 @@ func InitializeInfoCommandController(ctx context.Context, param *config.Param, r
return &info.Controller{}
}

func InitializeRemoveCommandController(ctx context.Context, param *config.Param, httpClient *http.Client, rt *runtime.Runtime, target *config.RemoveMode) *remove.Controller {
func InitializeRemoveCommandController(ctx context.Context, logE *logrus.Entry, param *config.Param, httpClient *http.Client, rt *runtime.Runtime, target *config.RemoveMode) *remove.Controller {
wire.Build(
remove.New,
wire.NewSet(
Expand Down
Loading