Skip to content

golangci-lint

golangci-lint #20171

Triggered via push September 12, 2023 16:55
Status Failure
Total duration 3m 3s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: pkg/crypto/validator.go#L11
var-naming: type DefaultTlsValidator should be DefaultTLSValidator (revive)
lint: pkg/crypto/validator.go#L13
var-naming: type TlsValidator should be TLSValidator (revive)
lint: pkg/crypto/validator.go#L18
var-naming: func NewTlsValidator should be NewTLSValidator (revive)
lint: pkg/crypto/certificategen.go#L17
exported: exported type CertificateGenerator should have comment or be unexported (revive)
lint: pkg/crypto/ssh.go#L18
var-naming: const SshKeySize should be SSHKeySize (revive)
lint: pkg/crypto/tls.go#L14
exported: exported function SecureCipherSuitesString should have comment or be unexported (revive)
lint: pkg/crypto/certificategen.go#L21
exported: exported function NewCertificateGenerator should have comment or be unexported (revive)
lint: pkg/crypto/ssh.go#L24
var-naming: func NewSshKeyPair should be NewSSHKeyPair (revive)
lint: pkg/crypto/ssh.go#L57
var-naming: func NewSshKeyPairUsingFileWriter should be NewSSHKeyPairUsingFileWriter (revive)
lint: pkg/crypto/ssh.go#L17
exported: comment on exported const SshKeySize should be of the form "SshKeySize ..." (revive)
lint: pkg/retrier/retrier.go#L10
exported: exported type Retrier should have comment or be unexported (revive)
lint: pkg/retrier/retrier.go#L20
exported: exported type RetrierOpt should have comment or be unexported (revive)
lint: pkg/retrier/retrier.go#L56
exported: exported function WithBackoffFactor should have comment or be unexported (revive)
lint: pkg/retrier/retrier.go#L62
exported: exported function WithRetryPolicy should have comment or be unexported (revive)
lint: pkg/retrier/retrier.go#L85
increment-decrement: should replace retries += 1 with retries++ (revive)
lint: pkg/features/features.go#L15
exported: exported function FeedGates should have comment or be unexported (revive)
lint: pkg/features/features.go#L19
exported: exported type Feature should have comment or be unexported (revive)
lint: pkg/features/features.go#L24
exported: exported function IsActive should have comment or be unexported (revive)
lint: pkg/features/features.go#L33
exported: exported function FullLifecycleAPI should have comment or be unexported (revive)
lint: pkg/features/features.go#L51
exported: exported function CloudStackKubeVipDisabled should have comment or be unexported (revive)