Mirantis/virtlet

View on GitHub

Showing 52 of 52 total issues

type name will be used as fake.FakeStorageVolume by other packages, and that stutters; consider calling this StorageVolume
Open

type FakeStorageVolume struct {
Severity: Minor
Found in pkg/virt/fake/fake_storage.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/diskimage/diskimage_linux.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !linux
Severity: Minor
Found in pkg/fs/fsstat_unsupported.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !linux
Severity: Minor
Found in pkg/nettools/tap_unsupported.go by gofmt

type name will be used as fake.FakeFileSystem by other packages, and that stutters; consider calling this FileSystem
Open

type FakeFileSystem struct {
Severity: Minor
Found in pkg/fs/fake/fakefs.go by golint

exported function EncodePEMCert should have comment or be unexported
Open

func EncodePEMCert(cert *x509.Certificate) string {
Severity: Minor
Found in pkg/utils/testing/https.go by golint

2: cannot find package "github.com/Mirantis/virtlet/pkg/flexvolume" in any of:
Open

    "github.com/Mirantis/virtlet/pkg/flexvolume"

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in cmd/virtlet/pdeathsig_linux.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

/*

don't use ALL_CAPS in Go names; use CamelCase
Open

    SCOPE_UNIVERSE = netlink.SCOPE_UNIVERSE
Severity: Minor
Found in pkg/nettools/nettools_linux.go by golint

exported function EncodePEMKey should have comment or be unexported
Open

func EncodePEMKey(key *rsa.PrivateKey) string {
Severity: Minor
Found in pkg/utils/testing/https.go by golint

struct field domainsByUuid should be domainsByUUID
Open

    domainsByUuid           map[string]*FakeDomain
Severity: Minor
Found in pkg/virt/fake/fake_domain.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !ignore_autogenerated

don't use ALL_CAPS in Go names; use CamelCase
Open

    SCOPE_LINK     = 0
Severity: Minor
Found in pkg/nettools/nettools_unsupported.go by golint

don't use ALL_CAPS in Go names; use CamelCase
Open

    SCOPE_LINK     = netlink.SCOPE_LINK
Severity: Minor
Found in pkg/nettools/nettools_linux.go by golint

exported method TestCommand.Stop should have comment or be unexported
Open

func (tc *TestCommand) Stop() {
Severity: Minor
Found in pkg/utils/testing/runprocess.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/fs/fsstat_linux.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/nettools/tap_linux.go by gofmt

don't use ALL_CAPS in Go names; use CamelCase
Open

    FAMILY_V4      = 0
Severity: Minor
Found in pkg/nettools/nettools_unsupported.go by golint

don't use ALL_CAPS in Go names; use CamelCase
Open

    SCOPE_UNIVERSE = 0
Severity: Minor
Found in pkg/nettools/nettools_unsupported.go by golint
Severity
Category
Status
Source
Language