🌱 Remove helmchartstatus after hook is finished #213
Annotations
10 errors and 11 warnings
Lint Golang Code:
extension/handlers/hooks.go#L37
importShadow: shadow of imported from 'sigs.k8s.io/controller-runtime/pkg/client' package 'client' (gocritic)
|
Lint Golang Code:
pkg/kube/kube.go#L84
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint Golang Code:
pkg/kube/kube.go#L136
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint Golang Code:
pkg/kube/kube.go#L146
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint Golang Code:
internal/controller/clusteraddon_controller.go#L720
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint Golang Code:
internal/controller/clusteraddon_controller.go#L727
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint Golang Code:
internal/controller/clusteraddon_controller.go#L741
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint Golang Code:
internal/controller/clusteraddon_controller.go#L479
hugeParam: in is heavy (144 bytes); consider passing it by pointer (gocritic)
|
Lint Golang Code:
internal/controller/clusteraddon_controller.go#L504
hugeParam: stage is heavy (112 bytes); consider passing it by pointer (gocritic)
|
Lint Golang Code:
internal/controller/clusteraddon_controller.go#L686
hugeParam: in is heavy (144 bytes); consider passing it by pointer (gocritic)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L33
error-naming: error var ConditionNotMatchError should have name of the form ErrFoo (revive)
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L43
exported: exported type Object should have comment or be unexported (revive)
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L51
exported: exported type WaitForCondition should have comment or be unexported (revive)
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L56
exported: exported type Stage should have comment or be unexported (revive)
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L63
exported: exported type ClusterAddonConfig should have comment or be unexported (revive)
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L69
exported: exported function ParseClusterAddonConfig should have comment or be unexported (revive)
|
Lint Golang Code:
pkg/clusteraddon/clusteraddon.go#L17
package-comments: package comment should be of the form "Package clusteraddon ..." (revive)
|
Lint Golang Code:
api/v1alpha1/clusteraddon_types.go#L34
exported: exported var None should have comment or be unexported (revive)
|
Lint Golang Code:
api/v1alpha1/conditions_const.go#L63
exported: comment on exported const FailedToDeleteObjectsReason should be of the form "FailedToDeleteObjectsReason ..." (revive)
|
Lint Golang Code:
extension/handlers/hooks.go#L77
unnecessary-stmt: omit unnecessary return statement (revive)
|
Loading