Skip to content

new: driver command #570

new: driver command

new: driver command #570

Triggered via pull request November 3, 2023 15:24
Status Failure
Total duration 1m 1s
Artifacts

lint.yaml

on: pull_request
Lint golang files
52s
Lint golang files
Enforce go.mod tidiness
44s
Enforce go.mod tidiness
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint golang files: pkg/driver/kernel/kernel.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/kernel/kernel.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/kernel/kernel.go#L1
Missed header for check (goheader)
Lint golang files: pkg/driver/kernel/kernel.go#L9
exported: exported type Info should have comment or be unexported (revive)
Lint golang files: pkg/driver/kernel/kernel.go#L16
exported: exported function FetchKernelInfo should have comment or be unexported (revive)
Lint golang files: internal/config/config.go#L21
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/ubuntu.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/ubuntu.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/amzn.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/distro/amzn.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/falcosecurity/falcoctl) (gci)
Lint golang files: pkg/driver/type/type.go#L7
exported: exported type DriverType should have comment or be unexported (revive)
Lint golang files: pkg/driver/type/type.go#L14
exported: exported function Parse should have comment or be unexported (revive)
Lint golang files: internal/config/config.go#L529
exported: exported function SelectDriver should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L15
exported: exported var UnsupportedErr should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L17
exported: exported type Distro should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/distro.go#L30
exported: exported function DiscoverDistro should have comment or be unexported (revive)
Lint golang files: pkg/driver/distro/ubuntu.go#L17
var-naming: var ubuntuTargetIdRegex should be ubuntuTargetIDRegex (revive)
Lint golang files: internal/cmd/cmd.go#L9
exported: exported type Commander should have comment or be unexported (revive)
Lint golang files: internal/cmd/cmd.go#L13
exported: exported var CmdMap should have comment or be unexported (revive)
Lint golang files: cmd/driver/select/doc.go#L17
var-naming: don't use an underscore in package name (revive)