Move release testdata file to operations
sub-package (#7952)
#24619
Annotations
10 errors and 10 warnings
golangci-lint:
internal/pkg/s3/upload.go#L14
exported: exported type UploadOpt should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/upload.go#L16
exported: exported function WithPublicRead should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/bucket.go#L9
exported: exported function GetBucketPublicURL should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/delete.go#L14
exported: exported function CleanUpS3Bucket should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/object.go#L12
exported: exported function ObjectPresent should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/upload.go#L22
exported: exported function UploadFile should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/upload.go#L31
exported: exported function Upload should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/download.go#L14
exported: exported function Download should have comment or be unexported (revive)
|
golangci-lint:
internal/pkg/s3/download.go#L36
exported: exported function DownloadToDisk should have comment or be unexported (revive)
|
golangci-lint:
pkg/logger/init.go#L18
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/clients/kubernetes/kubeconfig.go#L14
exported: exported function NewKubeconfigClient should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/catalogue_secret.go#L55
exported: exported const SecretNameIndex should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/catalogue_bmc.go#L56
exported: exported const BMCNameIndex should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/catalogue_hardware.go#L30
exported: exported method ErrDiskNotFound.Is should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/catalogue_hardware.go#L106
exported: exported const HardwareIDIndex should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/catalogue_hardware.go#L119
exported: exported const HardwareBMCRefIndex should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/index.go#L114
exported: exported type ErrUnknownIndex should have comment or be unexported (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/machine.go#L129
exported: comment on exported const LabelsSeparator should be of the form "LabelsSeparator ..." (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/catalogue_hardware.go#L133
exported: type name will be used as hardware.HardwareCatalogueWriter by other packages, and that stutters; consider calling this CatalogueWriter (revive)
|
golangci-lint:
pkg/providers/tinkerbell/hardware/machine.go#L135
exported: comment on exported method Labels.Has should be of the form "Has ..." (revive)
|
Loading