Introduce support for Catalogs that enable specifying KRMFunctions #6464
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
go.yml
on: pull_request
Lint
3m 28s
Test Linux
5m 21s
Test MacOS
5m 40s
Test Windows
2m 25s
Annotations
12 errors and 4 warnings
Lint:
api/internal/target/kusttarget.go#L263
Consider pre-allocating `catalogs` (prealloc)
|
Lint:
api/internal/plugins/fnplugin/fnplugin_test.go#L17
factory is a global variable (gochecknoglobals)
|
Lint:
api/internal/plugins/fnplugin/fnplugin.go#L66
S1009: should omit nil check; len() for []sigs.k8s.io/kustomize/kyaml/fn/framework.Catalog is defined as zero (gosimple)
|
Lint:
api/internal/target/kusttarget.go#L272
error returned from interface method should be wrapped: sig: func (sigs.k8s.io/kustomize/api/ifc.Loader).Load(location string) ([]byte, error) (wrapcheck)
|
Lint:
api/internal/target/kusttarget.go#L285
error returned from external package is unwrapped: sig: func (*encoding/json.Decoder).Decode(v any) error (wrapcheck)
|
Lint:
api/internal/target/kusttarget.go#L413
error returned from external package is unwrapped: sig: func (*sigs.k8s.io/kustomize/api/internal/plugins/loader.Loader).LoadTransformers(ldr sigs.k8s.io/kustomize/api/ifc.Loader, v sigs.k8s.io/kustomize/api/ifc.Validator, rm sigs.k8s.io/kustomize/api/resmap.ResMap, catalogs []sigs.k8s.io/kustomize/kyaml/fn/framework.Catalog) ([]*sigs.k8s.io/kustomize/api/resmap.TransformerWithProperties, error) (wrapcheck)
|
Lint:
api/internal/plugins/fnplugin/fnplugin.go#L69
error returned from external package is unwrapped: sig: func sigs.k8s.io/kustomize/kyaml/fn/framework.FindMatchingFunctionSpec(res *sigs.k8s.io/kustomize/kyaml/yaml.RNode, catalogs []sigs.k8s.io/kustomize/kyaml/fn/framework.Catalog) (*sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil.FunctionSpec, error) (wrapcheck)
|
Lint
Process completed with exit code 2.
|
Test Linux
syntax error: unexpected var after top level declaration
|
Test Linux
Process completed with exit code 2.
|
Test MacOS
syntax error: unexpected var after top level declaration
|
Test MacOS
Process completed with exit code 2.
|
Test Windows
Restore cache failed: Dependencies file is not found in D:\a\kustomize\kustomize. Supported file pattern: go.sum
|
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum
|
Test Linux
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum
|
Test MacOS
Restore cache failed: Dependencies file is not found in /Users/runner/work/kustomize/kustomize. Supported file pattern: go.sum
|