update doc #84
Annotations
8 errors
|
[golangci] internal/kubeops/container_test.go#L40:
internal/kubeops/container_test.go#L40
SA1019: fake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
[golangci] internal/kubeops/container_test.go#L71:
internal/kubeops/container_test.go#L71
QF1008: could remove embedded field "EphemeralContainerCommon" from selector (staticcheck)
|
|
[golangci] internal/kubeops/containers.go#L15:
internal/kubeops/containers.go#L15
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
|
[golangci] internal/kubeops/daemonset_test.go#L206:
internal/kubeops/daemonset_test.go#L206
SA1019: fake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
[golangci] internal/kubeops/deployment_test.go#L14:
internal/kubeops/deployment_test.go#L14
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
|
[golangci] internal/kubeops/deployment_test.go#L114:
internal/kubeops/deployment_test.go#L114
SA1019: fake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
[golangci] internal/kubeops/statefulset_test.go#L16:
internal/kubeops/statefulset_test.go#L16
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
|
[golangci] internal/kubeops/statefulset_test.go#L99:
internal/kubeops/statefulset_test.go#L99
QF1008: could remove embedded field "ObjectMeta" from selector (staticcheck)
|