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
Open
type FakeStorageVolume struct {
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build linux
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build !linux
- Exclude checks
exported function EncodePEMCert should have comment or be unexported Open
Open
func EncodePEMCert(cert *x509.Certificate) string {
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build linux
- Exclude checks
should replace nextToUseHostdevNo += 1 with nextToUseHostdevNo++ Open
Open
nextToUseHostdevNo += 1
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
FAMILY_V4 = 0
- Exclude checks
exported function GenerateCert should have comment or be unexported Open
Open
func GenerateCert(t *testing.T, isCA bool, host string, signer *x509.Certificate, key *rsa.PrivateKey) (*x509.Certificate, *rsa.PrivateKey) {
- Exclude checks
type name will be used as fake.FakeDomain by other packages, and that stutters; consider calling this Domain Open
Open
type FakeDomain struct {
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
/*
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build !linux
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build linux
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
SCOPE_UNIVERSE = 0
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build !linux
- Exclude checks
exported func NewClient returns unexported type *cni.client, which can be annoying to use Open
Open
func NewClient(pluginsDir, configsDir string) (*client, error) {
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
SCOPE_LINK = netlink.SCOPE_LINK
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
// +build !linux
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
FAMILY_ALL = 0
- Exclude checks
type name will be used as fake.FakeStoragePool by other packages, and that stutters; consider calling this StoragePool Open
Open
type FakeStoragePool struct {
- Exclude checks
2: cannot find package "github.com/Mirantis/virtlet/pkg/flexvolume" in any of: Open
Open
"github.com/Mirantis/virtlet/pkg/flexvolume"
- Exclude checks