Skip to content

actionConfigGetter: allow custom mapping from object to rest.Config #763

actionConfigGetter: allow custom mapping from object to rest.Config

actionConfigGetter: allow custom mapping from object to rest.Config #763

Triggered via pull request April 10, 2024 18:42
Status Failure
Total duration 13m 50s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
go-apidiff
Process completed with exit code 1.
Test: pkg/reconciler/reconciler.go#L577
not enough arguments in call to r.actionClientGetter.ActionClientFor
Test: pkg/reconciler/reconciler.go#L921
cannot use r.log (variable of type logr.Logger) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionConfigGetterOption value in argument to helmclient.NewActionConfigGetter)
Test: pkg/reconciler/reconciler.go#L577
not enough arguments in call to r.actionClientGetter.ActionClientFor
Test: pkg/reconciler/reconciler.go#L921
cannot use r.log (variable of type logr.Logger) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionConfigGetterOption value in argument to helmclient.NewActionConfigGetter)
Test: pkg/reconciler/internal/fake/actionclient.go#L30
cannot use &fakeActionClientGetter{…} (value of type *fakeActionClientGetter) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter value in return statement: *fakeActionClientGetter does not implement "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter (wrong type for method ActionClientFor)
Test: pkg/reconciler/internal/fake/actionclient.go#L41
cannot use &fakeActionClientGetter{} (value of type *fakeActionClientGetter) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter value in variable declaration: *fakeActionClientGetter does not implement "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter (wrong type for method ActionClientFor)
Test: pkg/client/actionclient_test.go#L74
cannot use logr.Discard() (value of type logr.Logger) as ActionConfigGetterOption value in argument to NewActionConfigGetter
Test: pkg/client/actionclient_test.go#L91
cannot use logr.Discard() (value of type logr.Logger) as ActionConfigGetterOption value in argument to NewActionConfigGetter
Test: pkg/client/actionclient_test.go#L93
not enough arguments in call to newRESTClientGetter
Test: pkg/client/actionclient_test.go#L113
not enough arguments in call to acg.ActionClientFor
Lint: internal/cmd/hybrid-operator/run/cmd.go#L40
could not import github.com/operator-framework/helm-operator-plugins/pkg/reconciler (-: # github.com/operator-framework/helm-operator-plugins/pkg/reconciler
Lint: pkg/reconciler/reconciler.go#L577
not enough arguments in call to r.actionClientGetter.ActionClientFor
Lint: pkg/reconciler/reconciler.go#L921
cannot use r.log (variable of type logr.Logger) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionConfigGetterOption value in argument to helmclient.NewActionConfigGetter) (typecheck)
Lint: internal/cmd/helm-operator/run/cmd.go#L41
could not import github.com/operator-framework/helm-operator-plugins/pkg/reconciler (-: # github.com/operator-framework/helm-operator-plugins/pkg/reconciler
Lint: pkg/reconciler/reconciler.go#L577
not enough arguments in call to r.actionClientGetter.ActionClientFor
Lint: pkg/reconciler/reconciler.go#L921
cannot use r.log (variable of type logr.Logger) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionConfigGetterOption value in argument to helmclient.NewActionConfigGetter) (typecheck)
Lint: pkg/reconciler/internal/fake/actionclient.go#L1
: # github.com/operator-framework/helm-operator-plugins/pkg/reconciler/internal/fake
Lint: pkg/reconciler/internal/fake/actionclient.go#L30
cannot use &fakeActionClientGetter{…} (value of type *fakeActionClientGetter) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter value in return statement: *fakeActionClientGetter does not implement "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter (wrong type for method ActionClientFor)
Lint: pkg/reconciler/internal/fake/actionclient.go#L41
cannot use &fakeActionClientGetter{} (value of type *fakeActionClientGetter) as "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter value in variable declaration: *fakeActionClientGetter does not implement "github.com/operator-framework/helm-operator-plugins/pkg/client".ActionClientGetter (wrong type for method ActionClientFor)
Lint: pkg/client/actionclient.go#L1
: # github.com/operator-framework/helm-operator-plugins/pkg/client [github.com/operator-framework/helm-operator-plugins/pkg/client.test]