Preparing report...

Report for github.com/vmware/vic

A+    Excellent!    Found 349 issues across 638 files

Tweet

gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo88%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • vic/pkg/vsphere/disk/disk_manager_test.go
    • Line 105: warning: cyclomatic complexity 24 of function TestCreateAndDetach() is high (> 15) (gocyclo)
    • Line 566: warning: cyclomatic complexity 22 of function TestInUse() is high (> 15) (gocyclo)
    • Line 258: warning: cyclomatic complexity 19 of function TestRefCounting() is high (> 15) (gocyclo)
    • Line 449: warning: cyclomatic complexity 18 of function TestRefCountingParallel() is high (> 15) (gocyclo)
    • vic/lib/install/management/delete.go
    • Line 233: warning: cyclomatic complexity 22 of function (*Dispatcher).DeleteVCHInstances() is high (> 15) (gocyclo)
    • Line 47: warning: cyclomatic complexity 18 of function (*Dispatcher).DeleteVCH() is high (> 15) (gocyclo)
    • vic/lib/portlayer/exec/container.go
    • Line 738: warning: cyclomatic complexity 25 of function (*Container).onEvent() is high (> 15) (gocyclo)
    • Line 509: warning: cyclomatic complexity 17 of function (*Container).LogReader() is high (> 15) (gocyclo)
    • Line 592: warning: cyclomatic complexity 17 of function (*Container).Remove() is high (> 15) (gocyclo)
    • vic/lib/tether/ops_linux.go
    • Line 624: warning: cyclomatic complexity 28 of function ApplyEndpoint() is high (> 15) (gocyclo)
    • Line 833: warning: cyclomatic complexity 16 of function (*BaseOperations).MountLabel() is high (> 15) (gocyclo)
    • Line 503: warning: cyclomatic complexity 16 of function updateDefaultRoute() is high (> 15) (gocyclo)
    • vic/lib/portlayer/network/context.go
    • Line 671: warning: cyclomatic complexity 35 of function (*Context).bindContainer() is high (> 15) (gocyclo)
    • Line 1085: warning: cyclomatic complexity 34 of function (*Context).AddContainer() is high (> 15) (gocyclo)
    • Line 71: warning: cyclomatic complexity 27 of function NewContext() is high (> 15) (gocyclo)
    • Line 243: warning: cyclomatic complexity 17 of function (*Context).addScope() is high (> 15) (gocyclo)
    • Line 1341: warning: cyclomatic complexity 16 of function (*Context).DeleteScope() is high (> 15) (gocyclo)
    • vic/lib/dns/dns.go
    • Line 413: warning: cyclomatic complexity 20 of function (*Server).HandleVIC() is high (> 15) (gocyclo)
    • Line 270: warning: cyclomatic complexity 16 of function (*Server).HandleForwarding() is high (> 15) (gocyclo)
    • vic/lib/apiservers/engine/backends/container.go
    • Line 1044: warning: cyclomatic complexity 28 of function (*ContainerBackend).containerStart() is high (> 15) (gocyclo)
    • Line 1960: warning: cyclomatic complexity 25 of function validateCreateConfig() is high (> 15) (gocyclo)
    • Line 504: warning: cyclomatic complexity 17 of function (*ContainerBackend).ContainerExecStart() is high (> 15) (gocyclo)
    • Line 1557: warning: cyclomatic complexity 17 of function (*ContainerBackend).Containers() is high (> 15) (gocyclo)
    • vic/lib/tether/tether.go
    • Line 427: warning: cyclomatic complexity 16 of function (*tether).processSessions() is high (> 15) (gocyclo)
    • Line 810: warning: cyclomatic complexity 16 of function (*tether).launch() is high (> 15) (gocyclo)
    • vic/cmd/vic-machine/common/certificate.go
    • Line 113: warning: cyclomatic complexity 30 of function (*CertFactory).ProcessCertificates() is high (> 15) (gocyclo)
    • Line 325: warning: cyclomatic complexity 28 of function (*CertFactory).generateCertificates() is high (> 15) (gocyclo)
    • Line 207: warning: cyclomatic complexity 21 of function (*CertFactory).loadCertificates() is high (> 15) (gocyclo)
    • vic/cmd/vic-machine/create/create.go
    • Line 524: warning: cyclomatic complexity 26 of function (*Create).logArguments() is high (> 15) (gocyclo)
    • Line 301: warning: cyclomatic complexity 18 of function (*Create).ProcessParams() is high (> 15) (gocyclo)
    • Line 641: warning: cyclomatic complexity 18 of function (*Create).Run() is high (> 15) (gocyclo)
    • vic/lib/portlayer/network/context_test.go
    • Line 715: warning: cyclomatic complexity 38 of function TestContextBindUnbindContainer() is high (> 15) (gocyclo)
    • Line 533: warning: cyclomatic complexity 33 of function TestContextAddContainer() is high (> 15) (gocyclo)
    • Line 257: warning: cyclomatic complexity 29 of function TestContextNewScope() is high (> 15) (gocyclo)
    • Line 193: warning: cyclomatic complexity 22 of function TestMapExternalNetworks() is high (> 15) (gocyclo)
    • Line 930: warning: cyclomatic complexity 20 of function TestContextRemoveContainer() is high (> 15) (gocyclo)
    • vic/cmd/tether/attach.go
    • Line 615: warning: cyclomatic complexity 18 of function (*attachServerSSH).channelMux() is high (> 15) (gocyclo)
    • Line 388: warning: cyclomatic complexity 17 of function (*attachServerSSH).run() is high (> 15) (gocyclo)
    • vic/lib/install/management/appliance.go
    • Line 901: warning: cyclomatic complexity 30 of function (*Dispatcher).CheckDockerAPI() is high (> 15) (gocyclo)
    • Line 540: warning: cyclomatic complexity 23 of function (*Dispatcher).createAppliance() is high (> 15) (gocyclo)
    • Line 190: warning: cyclomatic complexity 18 of function (*Dispatcher).deleteVM() is high (> 15) (gocyclo)

golint53%

Golint is a linter for Go source code.

    • vic/lib/install/management/configure.go
    • Line 43: warning: comment on exported const UpgradePrefix should be of the form "UpgradePrefix ..." (golint)
    • Line 45: warning: comment on exported const ConfigurePrefix should be of the form "ConfigurePrefix ..." (golint)
    • Line 212: warning: exported method Dispatcher.Rollback should have comment or be unexported (golint)
    • vic/lib/portlayer/network/endpoint.go
    • Line 35: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 108: warning: exported method Endpoint.IP should have comment or be unexported (golint)
    • Line 112: warning: exported method Endpoint.Scope should have comment or be unexported (golint)
    • Line 116: warning: exported method Endpoint.Subnet should have comment or be unexported (golint)
    • Line 124: warning: exported method Endpoint.Container should have comment or be unexported (golint)
    • Line 128: warning: exported method Endpoint.ID should have comment or be unexported (golint)
    • Line 132: warning: exported method Endpoint.Name should have comment or be unexported (golint)
    • Line 136: warning: exported method Endpoint.Gateway should have comment or be unexported (golint)
    • Line 144: warning: exported method Endpoint.Ports should have comment or be unexported (golint)
    • vic/lib/tether/tether.go
    • Line 101: warning: exported function New should have comment or be unexported (golint)
    • Line 539: warning: exported type TetherKey should have comment or be unexported (golint)
    • vic/infra/util/vendor-manifest-parser/types.go
    • Line 31: warning: exported function ParseManifest should have comment or be unexported (golint)
    • Line 43: warning: exported function ParseManifestByRepo should have comment or be unexported (golint)
    • Line 49: warning: exported type SortedManifestByRepo should have comment or be unexported (golint)
    • Line 98: warning: exported function ReadFromStdin should have comment or be unexported (golint)
    • vic/pkg/log/syslog/syslog.go
    • Line 40: warning: comment on exported const Emerg should be of the form "Emerg ..." (golint)
    • Line 43: warning: exported const Alert should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: comment on exported const Kern should be of the form "Kern ..." (golint)
    • Line 58: warning: exported const User should have comment (or a comment on this block) or be unexported (golint)
    • Line 155: warning: exported const RFC3164 should have comment (or a comment on this block) or be unexported (golint)
    • vic/lib/portlayer/util/util.go
    • Line 39: warning: exported var DefaultHost should have comment or be unexported (golint)
    • Line 46: warning: exported function Host should have comment or be unexported (golint)
    • Line 138: warning: comment on exported function DisplayName should be of the form "DisplayName ..." (golint)
    • Line 152: warning: exported function ClientIP should have comment or be unexported (golint)
    • vic/lib/pprof/pprof.go
    • Line 35: warning: exported type PprofPort should have comment or be unexported (golint)
    • Line 40: warning: exported const VCHInitPort should have comment (or a comment on this block) or be unexported (golint)
    • Line 102: warning: exported function StartPprof should have comment or be unexported (golint)
    • vic/lib/install/management/delete.go
    • Line 33: warning: exported type DeleteContainers should have comment or be unexported (golint)
    • Line 36: warning: exported const AllContainers should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported type DeleteVolumeStores should have comment or be unexported (golint)
    • Line 43: warning: exported const AllVolumeStores should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported method Dispatcher.DeleteVCH should have comment or be unexported (golint)
    • vic/pkg/retry/retry.go
    • Line 35: warning: comment on exported type BackoffConfig should be of the form "BackoffConfig ..." (with optional leading article) (golint)
    • Line 46: warning: comment on exported function NewBackoffConfig should be of the form "NewBackoffConfig ..." (golint)
    • vic/lib/dhcp/packet.go
    • Line 27: warning: exported type Options should have comment or be unexported (golint)
    • Line 35: warning: exported function NewPacket should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/plugins.go
    • Line 28: warning: exported type PluginBackend should have comment or be unexported (golint)
    • Line 31: warning: exported function NewPluginBackend should have comment or be unexported (golint)
    • Line 35: warning: exported method PluginBackend.Disable should have comment or be unexported (golint)
    • Line 39: warning: exported method PluginBackend.Enable should have comment or be unexported (golint)
    • Line 43: warning: exported method PluginBackend.List should have comment or be unexported (golint)
    • Line 47: warning: exported method PluginBackend.Inspect should have comment or be unexported (golint)
    • Line 51: warning: exported method PluginBackend.Remove should have comment or be unexported (golint)
    • Line 55: warning: exported method PluginBackend.Set should have comment or be unexported (golint)
    • Line 59: warning: exported method PluginBackend.Privileges should have comment or be unexported (golint)
    • Line 63: warning: exported method PluginBackend.Pull should have comment or be unexported (golint)
    • Line 67: warning: exported method PluginBackend.Push should have comment or be unexported (golint)
    • Line 71: warning: exported method PluginBackend.CreateFromContext should have comment or be unexported (golint)
    • vic/lib/portlayer/network/config.go
    • Line 24: warning: exported type Configuration should have comment or be unexported (golint)
    • Line 41: warning: exported method Configuration.Encode should have comment or be unexported (golint)
    • Line 45: warning: exported method Configuration.Decode should have comment or be unexported (golint)
    • vic/pkg/registry/set.go
    • Line 17: warning: exported type Set should have comment or be unexported (golint)
    • Line 19: warning: exported type Merger should have comment or be unexported (golint)
    • Line 33: warning: exported method Set.Match should have comment or be unexported (golint)
    • Line 43: warning: exported method Set.Merge should have comment or be unexported (golint)
    • Line 74: warning: exported method Set.Strings should have comment or be unexported (golint)
    • vic/lib/portlayer/exec2/remote/server/portlayer_rpc_server.go
    • Line 31: warning: exported type PortLayerRPCServer should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type SparseHandle should be of the form "SparseHandle ..." (with optional leading article) (golint)
    • Line 87: warning: exported method PortLayerRPCServer.CreateContainer should have comment or be unexported (golint)
    • Line 93: warning: exported method PortLayerRPCServer.GetHandle should have comment or be unexported (golint)
    • Line 99: warning: exported method PortLayerRPCServer.CopyTo should have comment or be unexported (golint)
    • Line 105: warning: exported method PortLayerRPCServer.SetEntryPoint should have comment or be unexported (golint)
    • Line 111: warning: exported method PortLayerRPCServer.SetLimits should have comment or be unexported (golint)
    • Line 117: warning: exported method PortLayerRPCServer.SetRunState should have comment or be unexported (golint)
    • Line 123: warning: exported method PortLayerRPCServer.Commit should have comment or be unexported (golint)
    • Line 129: warning: exported method PortLayerRPCServer.DestroyContainer should have comment or be unexported (golint)
    • vic/pkg/vsphere/rbac/rbac_test_util.go
    • Line 27: warning: exported function DoTestRoles should have comment or be unexported (golint)
    • Line 73: warning: exported function VerifyResourcePermissions should have comment or be unexported (golint)
    • Line 94: warning: exported function InitRoles should have comment or be unexported (golint)
    • Line 103: warning: exported function Cleanup should have comment or be unexported (golint)
    • vic/lib/migration/errors/errors.go
    • Line 30: warning: exported type DataTypeError should have comment or be unexported (golint)
    • Line 38: warning: exported type KeyNotFound should have comment or be unexported (golint)
    • Line 47: warning: exported type InvalidMigrationVersion should have comment or be unexported (golint)
    • Line 56: warning: exported type DecodeError should have comment or be unexported (golint)
    • Line 68: warning: exported type ValueFormatError should have comment or be unexported (golint)
    • vic/pkg/registry/entry.go
    • Line 25: warning: exported type Entry should have comment or be unexported (golint)
    • Line 35: warning: exported type URLEntry should have comment or be unexported (golint)
    • Line 40: warning: exported function ParseEntry should have comment or be unexported (golint)
    • vic/lib/migration/plugins/plugin2/commonSpecForContainer.go
    • Line 47: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • Line 51: warning: exported type Common should have comment or be unexported (golint)
    • Line 65: warning: exported type UpdatedExecutorConfig should have comment or be unexported (golint)
    • Line 69: warning: exported type UpdatedCommon should have comment or be unexported (golint)
    • Line 83: warning: exported method AddCommonSpecForContainer.Migrate should have comment or be unexported (golint)
    • vic/lib/install/management/dispatcher.go
    • Line 84: warning: exported type Dispatcher should have comment or be unexported (golint)
    • Line 137: warning: comment on exported method Dispatcher.InitDiagnosticLogsFromConf should be of the form "InitDiagnosticLogsFromConf ..." (golint)
    • Line 218: warning: comment on exported method Dispatcher.InitDiagnosticLogsFromVCH should be of the form "InitDiagnosticLogsFromVCH ..." (golint)
    • Line 267: warning: exported method Dispatcher.CollectDiagnosticLogs should have comment or be unexported (golint)
    • Line 364: warning: exported method Dispatcher.CheckAccessToVCAPI should have comment or be unexported (golint)
    • vic/pkg/log/text_formatter.go
    • Line 33: warning: exported type TextFormatter should have comment or be unexported (golint)
    • Line 54: warning: exported method TextFormatter.Format should have comment or be unexported (golint)
    • vic/pkg/vsphere/rbac/rbac.go
    • Line 33: warning: exported const VCenter should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported type NameToRef should have comment or be unexported (golint)
    • Line 52: warning: exported type AuthzManager should have comment or be unexported (golint)
    • Line 62: warning: exported type Resource should have comment or be unexported (golint)
    • Line 68: warning: exported type Config should have comment or be unexported (golint)
    • Line 72: warning: exported type ResourcePermission should have comment or be unexported (golint)
    • Line 78: warning: exported function NewAuthzManager should have comment or be unexported (golint)
    • Line 87: warning: exported method AuthzManager.InitConfig should have comment or be unexported (golint)
    • Line 95: warning: exported method AuthzManager.CreateRoles should have comment or be unexported (golint)
    • Line 99: warning: exported method AuthzManager.DeleteRoles should have comment or be unexported (golint)
    • Line 103: warning: exported method AuthzManager.RoleList should have comment or be unexported (golint)
    • Line 107: warning: exported method AuthzManager.IsPrincipalAnAdministrator should have comment or be unexported (golint)
    • Line 127: warning: exported method AuthzManager.PrincipalBelongsToGroup should have comment or be unexported (golint)
    • Line 219: warning: exported method AuthzManager.PrincipalHasRole should have comment or be unexported (golint)
    • Line 250: warning: exported method AuthzManager.GetPermissions should have comment or be unexported (golint)
    • Line 256: warning: exported method AuthzManager.AddPermission should have comment or be unexported (golint)
    • vic/lib/etcconf/etcconf.go
    • Line 28: warning: exported type EntryConsumer should have comment or be unexported (golint)
    • Line 32: warning: exported type EntryWalker should have comment or be unexported (golint)
    • Line 37: warning: exported type Conf should have comment or be unexported (golint)
    • vic/pkg/flags/shares_flag.go
    • Line 25: warning: exported type ShareFlag should have comment or be unexported (golint)
    • Line 29: warning: exported method ShareFlag.Set should have comment or be unexported (golint)
    • Line 62: warning: exported function NewSharesFlag should have comment or be unexported (golint)
    • vic/lib/install/opsuser/opsuser.go
    • Line 37: warning: exported type RBACManager should have comment or be unexported (golint)
    • Line 50: warning: exported function NewRBACManager should have comment or be unexported (golint)
    • Line 68: warning: exported function GrantDCReadOnlyPerms should have comment or be unexported (golint)
    • Line 78: warning: exported function GrantOpsUserPerms should have comment or be unexported (golint)
    • Line 101: warning: exported method RBACManager.SetupRolesAndPermissions should have comment or be unexported (golint)
    • Line 118: warning: exported method RBACManager.SetupPermissions should have comment or be unexported (golint)
    • Line 122: warning: exported method RBACManager.SetupDCReadOnlyPermissions should have comment or be unexported (golint)
    • vic/cmd/vicadmin/usersession.go
    • Line 47: warning: exported type UserSessionStorer should have comment or be unexported (golint)
    • Line 69: warning: exported method UserSessionStore.Delete should have comment or be unexported (golint)
    • Line 82: warning: comment on exported method UserSessionStore.UserSession should be of the form "UserSession ..." (golint)
    • Line 89: warning: comment on exported method UserSessionStore.VSphere should be of the form "VSphere ..." (golint)
    • vic/pkg/trace/trace.go
    • Line 31: warning: comment on exported function EnableTracing should be of the form "EnableTracing ..." (golint)
    • Line 36: warning: comment on exported function DisableTracing should be of the form "DisableTracing ..." (golint)
    • Line 41: warning: exported var Logger should have comment or be unexported (golint)
    • Line 50: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 67: warning: comment on exported function InitLogger should be of the form "InitLogger ..." (golint)
    • Line 128: warning: exported function Begin should have comment or be unexported (golint)
    • vic/pkg/vsphere/disk/disk_manager.go
    • Line 38: warning: comment on exported const MaxAttachedDisks should be of the form "MaxAttachedDisks ..." (golint)
    • Line 253: warning: comment on exported method Manager.Get should be of the form "Get ..." (golint)
    • Line 427: warning: exported method Manager.DetachAll should have comment or be unexported (golint)
    • Line 553: warning: exported method Manager.InUse should have comment or be unexported (golint)
    • Line 604: warning: exported method Manager.DiskFinder should have comment or be unexported (golint)
    • Line 657: warning: exported method Manager.Owners should have comment or be unexported (golint)
    • vic/lib/portlayer/network/container.go
    • Line 28: warning: exported type Container should have comment or be unexported (golint)
    • Line 36: warning: exported method Container.Endpoints should have comment or be unexported (golint)
    • Line 45: warning: exported method Container.ID should have comment or be unexported (golint)
    • Line 49: warning: exported method Container.Name should have comment or be unexported (golint)
    • Line 63: warning: exported method Container.Endpoint should have comment or be unexported (golint)
    • Line 70: warning: exported method Container.Scopes should have comment or be unexported (golint)
    • Line 98: warning: exported method Container.Refresh should have comment or be unexported (golint)
    • vic/lib/install/opsuser/opsuser_conf.go
    • Line 24: warning: comment on exported var RoleReadOnly should be of the form "RoleReadOnly ..." (golint)
    • Line 30: warning: exported var RoleVCenter should have comment or be unexported (golint)
    • Line 39: warning: exported var RoleDataCenter should have comment or be unexported (golint)
    • Line 47: warning: exported var RoleCluster should have comment or be unexported (golint)
    • Line 60: warning: exported var RoleDataStore should have comment or be unexported (golint)
    • Line 72: warning: exported var RoleNetwork should have comment or be unexported (golint)
    • Line 79: warning: exported var RoleEndpoint should have comment or be unexported (golint)
    • Line 114: warning: exported var DCReadOnlyConf should have comment or be unexported (golint)
    • Line 180: warning: comment on exported var ClusterConf should be of the form "ClusterConf ..." (golint)
    • vic/lib/portlayer/exec2/handle.go
    • Line 17: warning: comment on exported type Handle should be of the form "Handle ..." (with optional leading article) (golint)
    • Line 20: warning: exported type HandleFactory should have comment or be unexported (golint)
    • Line 25: warning: exported type BasicHandleFactory should have comment or be unexported (golint)
    • vic/pkg/ip/ip.go
    • Line 26: warning: exported type Range should have comment or be unexported (golint)
    • Line 31: warning: exported function NewRange should have comment or be unexported (golint)
    • Line 35: warning: exported method Range.Overlaps should have comment or be unexported (golint)
    • Line 53: warning: exported method Range.Equal should have comment or be unexported (golint)
    • Line 100: warning: exported function ParseRange should have comment or be unexported (golint)
    • Line 159: warning: comment on exported method Range.UnmarshalText should be of the form "UnmarshalText ..." (golint)
    • Line 189: warning: exported function IsUnspecifiedIP should have comment or be unexported (golint)
    • Line 193: warning: exported function IsUnspecifiedSubnet should have comment or be unexported (golint)
    • Line 218: warning: exported function IsRoutableIP should have comment or be unexported (golint)
    • vic/pkg/trace/operation.go
    • Line 30: warning: exported type OperationKey should have comment or be unexported (golint)
    • Line 32: warning: exported const OpTraceKey should have comment or be unexported (golint)
    • Line 39: warning: exported type Operation should have comment or be unexported (golint)
    • Line 130: warning: exported method Operation.ID should have comment or be unexported (golint)
    • Line 134: warning: exported method Operation.Auditf should have comment or be unexported (golint)
    • Line 138: warning: exported method Operation.Infof should have comment or be unexported (golint)
    • Line 142: warning: exported method Operation.Info should have comment or be unexported (golint)
    • Line 152: warning: exported method Operation.Debugf should have comment or be unexported (golint)
    • Line 156: warning: exported method Operation.Debug should have comment or be unexported (golint)
    • Line 166: warning: exported method Operation.Warnf should have comment or be unexported (golint)
    • Line 170: warning: exported method Operation.Warn should have comment or be unexported (golint)
    • Line 180: warning: exported method Operation.Errorf should have comment or be unexported (golint)
    • Line 194: warning: exported method Operation.Panicf should have comment or be unexported (golint)
    • Line 198: warning: exported method Operation.Panic should have comment or be unexported (golint)
    • Line 208: warning: exported method Operation.Fatalf should have comment or be unexported (golint)
    • Line 212: warning: exported method Operation.Fatal should have comment or be unexported (golint)
    • vic/lib/etcconf/hosts.go
    • Line 29: warning: exported type Hosts should have comment or be unexported (golint)
    • Line 98: warning: exported function NewHosts should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/system.go
    • Line 60: warning: exported type SystemBackend should have comment or be unexported (golint)
    • Line 88: warning: exported function NewSystemBackend should have comment or be unexported (golint)
    • Line 97: warning: exported method SystemBackend.SystemInfo should have comment or be unexported (golint)
    • Line 288: warning: exported method SystemBackend.SystemVersion should have comment or be unexported (golint)
    • Line 343: warning: exported method SystemBackend.SystemDiskUsage should have comment or be unexported (golint)
    • Line 350: warning: exported method SystemBackend.SubscribeToEvents should have comment or be unexported (golint)
    • Line 357: warning: exported method SystemBackend.UnsubscribeFromEvents should have comment or be unexported (golint)
    • Line 470: warning: exported function FetchVolumeStores should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/volume/cache/cache.go
    • Line 47: warning: exported function NewVolumeLookupCache should have comment or be unexported (golint)
    • Line 56: warning: exported method VolumeLookupCache.GetVolumeStore should have comment or be unexported (golint)
    • Line 123: warning: exported method VolumeLookupCache.VolumeCreate should have comment or be unexported (golint)
    • Line 148: warning: exported method VolumeLookupCache.VolumeDestroy should have comment or be unexported (golint)
    • Line 177: warning: exported method VolumeLookupCache.VolumeGet should have comment or be unexported (golint)
    • Line 190: warning: exported method VolumeLookupCache.VolumesList should have comment or be unexported (golint)
    • Line 263: warning: exported method VolumeLookupCache.NewDataSink should have comment or be unexported (golint)
    • Line 295: warning: exported method VolumeLookupCache.NewDataSource should have comment or be unexported (golint)
    • vic/pkg/kvstore/backend.go
    • Line 30: warning: exported type Backend should have comment or be unexported (golint)
    • Line 37: warning: exported function NewDatastoreBackend should have comment or be unexported (golint)
    • vic/lib/migration/samples/config/v2/virtual_container_host.go
    • Line 80: warning: comment on exported type Container should be of the form "Container ..." (with optional leading article) (golint)
    • Line 94: warning: comment on exported type Registry should be of the form "Registry ..." (with optional leading article) (golint)
    • Line 104: warning: comment on exported type Network should be of the form "Network ..." (with optional leading article) (golint)
    • Line 116: warning: comment on exported type Storage should be of the form "Storage ..." (with optional leading article) (golint)
    • Line 128: warning: exported type Certificate should have comment or be unexported (golint)
    • Line 157: warning: exported type Contacts should have comment or be unexported (golint)
    • vic/lib/archive/archiver.go
    • Line 118: warning: comment on exported function DecodeFilterSpec should be of the form "DecodeFilterSpec ..." (golint)
    • Line 152: warning: comment on exported function EncodeFilterSpec should be of the form "EncodeFilterSpec ..." (golint)
    • vic/lib/portlayer/storage/volume/mock/store.go
    • Line 29: warning: exported type MockVolumeStore should have comment or be unexported (golint)
    • Line 34: warning: exported function NewMockVolumeStore should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method MockVolumeStore.VolumeCreate should be of the form "VolumeCreate ..." (golint)
    • Line 65: warning: comment on exported method MockVolumeStore.VolumeGet should be of the form "VolumeGet ..." (golint)
    • Line 75: warning: comment on exported method MockVolumeStore.VolumeDestroy should be of the form "VolumeDestroy ..." (golint)
    • Line 86: warning: exported method MockVolumeStore.VolumeStoresList should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method MockVolumeStore.VolumesList should be of the form "VolumesList ..." (golint)
    • Line 103: warning: exported method MockVolumeStore.URL should have comment or be unexported (golint)
    • Line 107: warning: exported method MockVolumeStore.Owners should have comment or be unexported (golint)
    • vic/lib/portlayer/event/events/base_event.go
    • Line 24: warning: exported type EventType should have comment or be unexported (golint)
    • Line 26: warning: exported type BaseEvent should have comment or be unexported (golint)
    • Line 35: warning: exported method BaseEvent.EventID should have comment or be unexported (golint)
    • Line 44: warning: exported method BaseEvent.Message should have comment or be unexported (golint)
    • Line 48: warning: exported method BaseEvent.Reference should have comment or be unexported (golint)
    • Line 52: warning: exported method BaseEvent.Created should have comment or be unexported (golint)
    • Line 66: warning: exported method EventType.Topic should have comment or be unexported (golint)
    • vic/cmd/vic-machine/delete/delete.go
    • Line 33: warning: comment on exported type Uninstall should be of the form "Uninstall ..." (with optional leading article) (golint)
    • Line 40: warning: exported function NewUninstall should have comment or be unexported (golint)
    • Line 86: warning: exported method Uninstall.Run should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/volume/nfs/disk.go
    • Line 22: warning: comment on exported type Volume should be of the form "Volume ..." (with optional leading article) (golint)
    • Line 32: warning: exported function NewVolume should have comment or be unexported (golint)
    • Line 46: warning: exported method Volume.MountPath should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/help.go
    • Line 36: warning: exported type Help should have comment or be unexported (golint)
    • Line 40: warning: exported method Help.HelpFlags should have comment or be unexported (golint)
    • Line 50: warning: exported method Help.Print should have comment or be unexported (golint)
    • vic/lib/config/executor/container_vm.go
    • Line 26: warning: exported type State should have comment or be unexported (golint)
    • Line 29: warning: exported const STARTED should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: comment on exported type TrustLevel should be of the form "TrustLevel ..." (with optional leading article) (golint)
    • Line 49: warning: exported const Unspecified should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: comment on exported type ExecutorConfigCommon should be of the form "ExecutorConfigCommon ..." (with optional leading article) (golint)
    • Line 104: warning: comment on exported type SysLogConfig should be of the form "SysLogConfig ..." (with optional leading article) (golint)
    • Line 286: warning: exported type Detail should have comment or be unexported (golint)
    • Line 313: warning: exported function ParseTrustLevel should have comment or be unexported (golint)
    • vic/lib/install/data/data.go
    • Line 90: warning: exported type SyslogConfig should have comment or be unexported (golint)
    • Line 108: warning: exported method NetworkConfig.IsSet should have comment or be unexported (golint)
    • Line 150: warning: exported function NewData should have comment or be unexported (golint)
    • vic/pkg/certificate/keypair.go
    • Line 25: warning: exported type KeyPair should have comment or be unexported (golint)
    • Line 33: warning: exported function NewKeyPair should have comment or be unexported (golint)
    • Line 42: warning: exported method KeyPair.LoadCertificate should have comment or be unexported (golint)
    • Line 59: warning: exported method KeyPair.SaveCertificate should have comment or be unexported (golint)
    • Line 63: warning: exported method KeyPair.CreateSelfSigned should have comment or be unexported (golint)
    • Line 75: warning: exported method KeyPair.CreateRootCA should have comment or be unexported (golint)
    • Line 87: warning: exported method KeyPair.CreateServerCertificate should have comment or be unexported (golint)
    • Line 99: warning: exported method KeyPair.CreateClientCertificate should have comment or be unexported (golint)
    • vic/pkg/vsphere/disk/vmdk.go
    • Line 38: warning: exported const DiskBackendKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported function LockedVMDKFilter should have comment or be unexported (golint)
    • vic/pkg/log/log.go
    • Line 25: warning: exported type LoggingConfig should have comment or be unexported (golint)
    • Line 31: warning: exported type SyslogConfig should have comment or be unexported (golint)
    • Line 43: warning: exported function NewLoggingConfig should have comment or be unexported (golint)
    • Line 50: warning: exported function Init should have comment or be unexported (golint)
    • Line 82: warning: exported function CreateSyslogHook should have comment or be unexported (golint)
    • vic/pkg/serial/rawconn.go
    • Line 30: warning: exported type NamedReadChannel should have comment or be unexported (golint)
    • Line 36: warning: exported type NamedWriteChannel should have comment or be unexported (golint)
    • Line 42: warning: exported type RawConn should have comment or be unexported (golint)
    • Line 52: warning: exported function NewTypedConn should have comment or be unexported (golint)
    • vic/lib/tether/ops_linux.go
    • Line 93: warning: exported type BaseOperations should have comment or be unexported (golint)
    • Line 104: warning: comment on exported type Netlink should be of the form "Netlink ..." (with optional leading article) (golint)
    • Line 123: warning: exported method BaseOperations.LinkByName should have comment or be unexported (golint)
    • Line 127: warning: exported method BaseOperations.LinkSetName should have comment or be unexported (golint)
    • Line 131: warning: exported method BaseOperations.LinkSetDown should have comment or be unexported (golint)
    • Line 135: warning: exported method BaseOperations.LinkSetUp should have comment or be unexported (golint)
    • Line 139: warning: exported method BaseOperations.LinkSetAlias should have comment or be unexported (golint)
    • Line 143: warning: exported method BaseOperations.AddrList should have comment or be unexported (golint)
    • Line 147: warning: exported method BaseOperations.AddrAdd should have comment or be unexported (golint)
    • Line 151: warning: exported method BaseOperations.AddrDel should have comment or be unexported (golint)
    • Line 155: warning: exported method BaseOperations.RouteAdd should have comment or be unexported (golint)
    • Line 159: warning: exported method BaseOperations.RouteDel should have comment or be unexported (golint)
    • Line 163: warning: exported method BaseOperations.RuleList should have comment or be unexported (golint)
    • Line 167: warning: exported method BaseOperations.LinkBySlot should have comment or be unexported (golint)
    • Line 618: warning: exported method BaseOperations.Apply should have comment or be unexported (golint)
    • Line 624: warning: exported function ApplyEndpoint should have comment or be unexported (golint)
    • Line 1107: warning: exported method BaseOperations.Setup should have comment or be unexported (golint)
    • Line 1155: warning: exported method BaseOperations.Cleanup should have comment or be unexported (golint)
    • Line 1340: warning: exported method BaseOperations.HandleUtilityExit should have comment or be unexported (golint)
    • vic/pkg/vsphere/extraconfig/store.go
    • Line 27: warning: exported type MapStore should have comment or be unexported (golint)
    • Line 33: warning: exported function New should have comment or be unexported (golint)
    • Line 39: warning: exported method MapStore.Get should have comment or be unexported (golint)
    • Line 50: warning: exported method MapStore.Put should have comment or be unexported (golint)
    • vic/lib/install/management/inspect.go
    • Line 39: warning: exported method Dispatcher.InspectVCH should have comment or be unexported (golint)
    • Line 120: warning: exported method Dispatcher.GetTLSFriendlyHostIP should have comment or be unexported (golint)
    • Line 166: warning: exported method Dispatcher.ShowVCH should have comment or be unexported (golint)
    • vic/lib/portlayer/metrics/metrics.go
    • Line 30: warning: exported var Supervisor should have comment or be unexported (golint)
    • Line 44: warning: exported type UnsupportedTypeError should have comment or be unexported (golint)
    • Line 56: warning: exported function Init should have comment or be unexported (golint)
    • Line 72: warning: exported function Finalize should have comment or be unexported (golint)
    • vic/lib/portlayer/exec/container.go
    • Line 50: warning: exported type State should have comment or be unexported (golint)
    • Line 53: warning: exported const StateUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 102: warning: exported function IsNotFoundError should have comment or be unexported (golint)
    • Line 130: warning: exported function IsConcurrentAccessError should have comment or be unexported (golint)
    • Line 135: warning: exported type DevicesInUseError should have comment or be unexported (golint)
    • Line 143: warning: comment on exported type ContainerInfo should be of the form "ContainerInfo ..." (with optional leading article) (golint)
    • Line 220: warning: exported function GetContainer should have comment or be unexported (golint)
    • Line 321: warning: exported method Container.NewHandle should have comment or be unexported (golint)
    • Line 484: warning: exported method Container.Signal should have comment or be unexported (golint)
    • Line 509: warning: exported method Container.LogReader should have comment or be unexported (golint)
    • Line 719: warning: exported method Container.OnEvent should have comment or be unexported (golint)
    • vic/lib/install/management/update.go
    • Line 22: warning: exported type State should have comment or be unexported (golint)
    • Line 24: warning: comment on exported const RulesetID should be of the form "RulesetID ..." (golint)
    • Line 26: warning: exported const VSPCRulesetID should have comment or be unexported (golint)
    • vic/pkg/vsphere/tags/categories.go
    • Line 28: warning: exported const CategoryURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type CategoryCreateSpec should have comment or be unexported (golint)
    • Line 36: warning: exported type CategoryUpdateSpec should have comment or be unexported (golint)
    • Line 40: warning: exported type CategoryCreate should have comment or be unexported (golint)
    • Line 47: warning: exported type CategoryUpdate should have comment or be unexported (golint)
    • Line 54: warning: exported type Category should have comment or be unexported (golint)
    • Line 63: warning: exported method RestClient.CreateCategoryIfNotExist should have comment or be unexported (golint)
    • Line 102: warning: exported method RestClient.CreateCategory should have comment or be unexported (golint)
    • Line 124: warning: exported method RestClient.GetCategory should have comment or be unexported (golint)
    • Line 146: warning: exported method RestClient.UpdateCategory should have comment or be unexported (golint)
    • Line 159: warning: exported method RestClient.DeleteCategory should have comment or be unexported (golint)
    • Line 171: warning: exported method RestClient.ListCategories should have comment or be unexported (golint)
    • Line 193: warning: exported method RestClient.GetCategoriesByName should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/compute.go
    • Line 19: warning: exported type Compute should have comment or be unexported (golint)
    • Line 27: warning: exported method Compute.ComputeFlags should have comment or be unexported (golint)
    • Line 40: warning: exported method Compute.ComputeFlagsNoName should have comment or be unexported (golint)
    • Line 51: warning: exported method Compute.AffinityFlags should have comment or be unexported (golint)
    • vic/pkg/vsphere/compute/rp.go
    • Line 90: warning: exported method ResourcePool.GetCluster should have comment or be unexported (golint)
    • Line 104: warning: exported method ResourcePool.GetDatacenter should have comment or be unexported (golint)
    • vic/pkg/log/syslog/hook.go
    • Line 19: warning: exported type Hook should have comment or be unexported (golint)
    • Line 23: warning: exported function NewHook should have comment or be unexported (golint)
    • Line 44: warning: exported method Hook.Fire should have comment or be unexported (golint)
    • Line 48: warning: exported method Hook.Levels should have comment or be unexported (golint)
    • vic/lib/portlayer/exec2/remote/portlayer_rpc_client.go
    • Line 28: warning: exported type PortLayerRPCClient should have comment or be unexported (golint)
    • Line 32: warning: exported method PortLayerRPCClient.Connect should have comment or be unexported (golint)
    • Line 40: warning: exported type CreateArgs should have comment or be unexported (golint)
    • Line 44: warning: exported method PortLayerRPCClient.CreateContainer should have comment or be unexported (golint)
    • Line 51: warning: exported method PortLayerRPCClient.GetHandle should have comment or be unexported (golint)
    • Line 57: warning: exported type CopyToArgs should have comment or be unexported (golint)
    • Line 65: warning: exported method PortLayerRPCClient.CopyTo should have comment or be unexported (golint)
    • Line 72: warning: exported type SetEntryPointArgs should have comment or be unexported (golint)
    • Line 79: warning: exported method PortLayerRPCClient.SetEntryPoint should have comment or be unexported (golint)
    • Line 86: warning: exported type SetLimitsArgs should have comment or be unexported (golint)
    • Line 92: warning: exported method PortLayerRPCClient.SetLimits should have comment or be unexported (golint)
    • Line 99: warning: exported type SetRunStateArgs should have comment or be unexported (golint)
    • Line 104: warning: exported method PortLayerRPCClient.SetRunState should have comment or be unexported (golint)
    • Line 111: warning: exported type CommitArgs should have comment or be unexported (golint)
    • Line 115: warning: exported method PortLayerRPCClient.Commit should have comment or be unexported (golint)
    • Line 122: warning: exported method PortLayerRPCClient.DestroyContainer should have comment or be unexported (golint)
    • vic/pkg/trace/entry.go
    • Line 30: warning: exported method Operation.WithFields should have comment or be unexported (golint)
    • Line 39: warning: exported method Entry.Debug should have comment or be unexported (golint)
    • vic/lib/guest/linux.go
    • Line 92: warning: exported method LinuxGuestType.NewDisk should have comment or be unexported (golint)
    • Line 117: warning: exported function IsSelf should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/image/image.go
    • Line 123: warning: exported method Image.Copy should have comment or be unexported (golint)
    • Line 162: warning: comment on exported method Image.Self should be of the form "Self ..." (golint)
    • Line 167: warning: comment on exported method Image.Parent should be of the form "Parent ..." (golint)
    • Line 175: warning: exported function Parse should have comment or be unexported (golint)
    • vic/lib/portlayer/util/paths.go
    • Line 29: warning: exported const StorageURLPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported function ImageStoreName should have comment or be unexported (golint)
    • Line 95: warning: exported function VolumeStoreName should have comment or be unexported (golint)
    • Line 119: warning: exported function VolumeURL should have comment or be unexported (golint)
    • Line 128: warning: exported function AppendDir should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/syslog.go
    • Line 23: warning: comment on exported type Syslog should be of the form "Syslog ..." (with optional leading article) (golint)
    • Line 28: warning: exported method Syslog.SyslogFlags should have comment or be unexported (golint)
    • Line 40: warning: exported method Syslog.ProcessSyslog should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/portmap/portmap.go
    • Line 30: warning: exported type Operation should have comment or be unexported (golint)
    • Line 33: warning: exported const Map should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type PortMapper should have comment or be unexported (golint)
    • Line 65: warning: exported function NewPortMapper should have comment or be unexported (golint)
    • vic/lib/tether/netfilter/netfilter_linux.go
    • Line 55: warning: exported type Chain should have comment or be unexported (golint)
    • Line 56: warning: exported type State should have comment or be unexported (golint)
    • Line 57: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 58: warning: exported type Target should have comment or be unexported (golint)
    • Line 59: warning: exported type Table should have comment or be unexported (golint)
    • Line 60: warning: exported type ICMPType should have comment or be unexported (golint)
    • Line 63: warning: exported const Filter should have comment (or a comment on this block) or be unexported (golint)
    • Line 95: warning: exported type Rule should have comment or be unexported (golint)
    • Line 111: warning: exported method Rule.Commit should have comment or be unexported (golint)
    • Line 190: warning: exported function Flush should have comment or be unexported (golint)
    • Line 199: warning: exported function Return should have comment or be unexported (golint)
    • Line 203: warning: exported function Policy should have comment or be unexported (golint)
    • vic/lib/system/system.go
    • Line 31: warning: exported type System should have comment or be unexported (golint)
    • Line 41: warning: exported function New should have comment or be unexported (golint)
    • vic/pkg/vsphere/disk/config.go
    • Line 26: warning: exported type VirtualDiskConfig should have comment or be unexported (golint)
    • Line 42: warning: exported function NewPersistentDisk should have comment or be unexported (golint)
    • Line 50: warning: exported function NewNonPersistentDisk should have comment or be unexported (golint)
    • Line 58: warning: exported method VirtualDiskConfig.WithParent should have comment or be unexported (golint)
    • Line 64: warning: exported method VirtualDiskConfig.WithFilesystem should have comment or be unexported (golint)
    • Line 74: warning: exported method VirtualDiskConfig.WithCapacity should have comment or be unexported (golint)
    • Line 80: warning: exported method VirtualDiskConfig.Hash should have comment or be unexported (golint)
    • Line 89: warning: exported method VirtualDiskConfig.IsPersistent should have comment or be unexported (golint)
    • vic/lib/apiservers/portlayer/restapi/handlers/containers_handlers.go
    • Line 197: warning: exported method ContainersHandlersImpl.GetHandler should have comment or be unexported (golint)
    • Line 209: warning: exported method ContainersHandlersImpl.CommitHandler should have comment or be unexported (golint)
    • Line 233: warning: exported method ContainersHandlersImpl.RemoveContainerHandler should have comment or be unexported (golint)
    • Line 266: warning: exported method ContainersHandlersImpl.GetContainerInfoHandler should have comment or be unexported (golint)
    • Line 292: warning: exported method ContainersHandlersImpl.GetContainerListHandler should have comment or be unexported (golint)
    • Line 325: warning: exported method ContainersHandlersImpl.ContainerSignalHandler should have comment or be unexported (golint)
    • Line 347: warning: exported method ContainersHandlersImpl.GetContainerStatsHandler should have comment or be unexported (golint)
    • Line 402: warning: exported method ContainersHandlersImpl.GetContainerLogsHandler should have comment or be unexported (golint)
    • Line 449: warning: exported method ContainersHandlersImpl.ContainerWaitHandler should have comment or be unexported (golint)
    • Line 485: warning: exported method ContainersHandlersImpl.RenameContainerHandler should have comment or be unexported (golint)
    • vic/lib/apiservers/service/restapi/handlers/encode/resources.go
    • Line 23: warning: exported function AsBytes should have comment or be unexported (golint)
    • Line 36: warning: exported function AsMiB should have comment or be unexported (golint)
    • Line 40: warning: exported function AsBytesMetric should have comment or be unexported (golint)
    • Line 53: warning: exported function AsKB should have comment or be unexported (golint)
    • Line 57: warning: exported function AsMHz should have comment or be unexported (golint)
    • Line 70: warning: exported function AsShares should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/vsphere/toolbox_common.go
    • Line 38: warning: exported const VixEToolsNotRunning should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: comment on exported function BuildArchiveURL should be of the form "BuildArchiveURL ..." (golint)
    • Line 129: warning: comment on exported function IsToolBoxStateChangeErr should be of the form "IsToolBoxStateChangeErr ..." (golint)
    • vic/lib/apiservers/engine/backends/checkpoint.go
    • Line 23: warning: exported type CheckpointBackend should have comment or be unexported (golint)
    • Line 26: warning: exported function NewCheckpointBackend should have comment or be unexported (golint)
    • Line 30: warning: exported method CheckpointBackend.CheckpointCreate should have comment or be unexported (golint)
    • Line 34: warning: exported method CheckpointBackend.CheckpointDelete should have comment or be unexported (golint)
    • Line 38: warning: exported method CheckpointBackend.CheckpointList should have comment or be unexported (golint)
    • vic/lib/install/management/finder.go
    • Line 41: warning: exported method Dispatcher.NewVCHFromID should have comment or be unexported (golint)
    • Line 90: warning: exported method Dispatcher.NewVCHFromComputePath should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/cache/container_cache.go
    • Line 30: warning: comment on exported type CCache should be of the form "CCache ..." (with optional leading article) (golint)
    • Line 61: warning: exported function SetVMScratchSize should have comment or be unexported (golint)
    • Line 97: warning: exported method CCache.GetContainer should have comment or be unexported (golint)
    • Line 104: warning: exported method CCache.AddContainer should have comment or be unexported (golint)
    • Line 117: warning: exported method CCache.DeleteContainer should have comment or be unexported (golint)
    • Line 141: warning: exported method CCache.AddExecToContainer should have comment or be unexported (golint)
    • Line 154: warning: exported method CCache.GetContainerFromExec should have comment or be unexported (golint)
    • Line 214: warning: exported method CCache.VMStorageUsage should have comment or be unexported (golint)
    • Line 218: warning: exported method CCache.AddStorageReservation should have comment or be unexported (golint)
    • Line 225: warning: exported method CCache.RemoveStorageReservation should have comment or be unexported (golint)
    • Line 232: warning: exported method CCache.IncreaseContainersReservation should have comment or be unexported (golint)
    • Line 239: warning: exported method CCache.DecreaseContainersReservation should have comment or be unexported (golint)
    • vic/lib/config/virtual_container_host.go
    • Line 36: warning: comment on exported const VMToken should be of the form "VMToken ..." (golint)
    • Line 38: warning: comment on exported const IDToken should be of the form "IDToken ..." (golint)
    • Line 40: warning: comment on exported const NameToken should be of the form "NameToken ..." (golint)
    • Line 43: warning: comment on exported const DefaultNamePattern should be of the form "DefaultNamePattern ..." (golint)
    • Line 46: warning: comment on exported const CreatingVCH should be of the form "CreatingVCH ..." (golint)
    • Line 49: warning: exported const PublicNetworkName should have comment (or a comment on this block) or be unexported (golint)
    • Line 123: warning: comment on exported type Container should be of the form "Container ..." (with optional leading article) (golint)
    • Line 143: warning: comment on exported type Registry should be of the form "Registry ..." (with optional leading article) (golint)
    • Line 153: warning: comment on exported type Network should be of the form "Network ..." (with optional leading article) (golint)
    • Line 165: warning: comment on exported type Storage should be of the form "Storage ..." (with optional leading article) (golint)
    • Line 179: warning: exported type Certificate should have comment or be unexported (golint)
    • Line 208: warning: exported type Contacts should have comment or be unexported (golint)
    • Line 279: warning: exported method VirtualContainerHostConfigSpec.SetGrantPerms should have comment or be unexported (golint)
    • Line 283: warning: exported method VirtualContainerHostConfigSpec.ClearGrantPerms should have comment or be unexported (golint)
    • Line 287: warning: exported method VirtualContainerHostConfigSpec.ShouldGrantPerms should have comment or be unexported (golint)
    • Line 313: warning: exported method VirtualContainerHostConfigSpec.AddComponent should have comment or be unexported (golint)
    • Line 329: warning: exported method VirtualContainerHostConfigSpec.AddImageStore should have comment or be unexported (golint)
    • Line 335: warning: exported method VirtualContainerHostConfigSpec.AddVolumeLocation should have comment or be unexported (golint)
    • Line 354: warning: exported function CreateSession should have comment or be unexported (golint)
    • Line 369: warning: exported method RawCertificate.Certificate should have comment or be unexported (golint)
    • Line 377: warning: exported method RawCertificate.X509Certificate should have comment or be unexported (golint)
    • Line 385: warning: exported method RawCertificate.IsNil should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/volume/nfs/store.go
    • Line 45: warning: exported const DefaultUID should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported function NewVolumeStore should have comment or be unexported (golint)
    • Line 116: warning: comment on exported method VolumeStore.VolumeCreate should be of the form "VolumeCreate ..." (golint)
    • Line 176: warning: exported method VolumeStore.VolumesList should have comment or be unexported (golint)
    • Line 222: warning: exported method VolumeStore.URL should have comment or be unexported (golint)
    • Line 226: warning: exported method VolumeStore.Owners should have comment or be unexported (golint)
    • vic/pkg/vsphere/datastore/datastore.go
    • Line 54: warning: comment on exported function NewHelper should be of the form "NewHelper ..." (golint)
    • Line 86: warning: exported function NewHelperFromURL should have comment or be unexported (golint)
    • Line 104: warning: exported function NewHelperFromSession should have comment or be unexported (golint)
    • Line 128: warning: exported method Helper.Summary should have comment or be unexported (golint)
    • Line 180: warning: comment on exported method Helper.Ls should be of the form "Ls ..." (golint)
    • Line 215: warning: exported method Helper.LsDirs should have comment or be unexported (golint)
    • Line 219: warning: comment on exported method Helper.LsDirsWithPatterns should be of the form "LsDirsWithPatterns ..." (golint)
    • Line 253: warning: exported method Helper.GetFilesSize should have comment or be unexported (golint)
    • Line 271: warning: exported method Helper.Upload should have comment or be unexported (golint)
    • Line 275: warning: exported method Helper.Download should have comment or be unexported (golint)
    • Line 280: warning: exported method Helper.Stat should have comment or be unexported (golint)
    • Line 294: warning: exported method Helper.Mv should have comment or be unexported (golint)
    • Line 307: warning: exported method Helper.Rm should have comment or be unexported (golint)
    • Line 315: warning: exported method Helper.IsVSAN should have comment or be unexported (golint)
    • Line 384: warning: exported function PathFromString should have comment or be unexported (golint)
    • Line 397: warning: comment on exported function ToURL should be of the form "ToURL ..." (golint)
    • Line 415: warning: comment on exported function URLtoDatastore should be of the form "URLtoDatastore ..." (golint)
    • vic/pkg/vsphere/tags/tag_association.go
    • Line 27: warning: exported const TagAssociationURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type AssociatedObject should have comment or be unexported (golint)
    • Line 35: warning: exported type TagAssociationSpec should have comment or be unexported (golint)
    • Line 60: warning: exported method RestClient.AttachTagToObject should have comment or be unexported (golint)
    • Line 74: warning: exported method RestClient.DetachTagFromObject should have comment or be unexported (golint)
    • Line 88: warning: exported method RestClient.ListAttachedTags should have comment or be unexported (golint)
    • Line 112: warning: exported method RestClient.ListAttachedObjects should have comment or be unexported (golint)
    • vic/lib/apiservers/portlayer/restapi/handlers/stream_handler.go
    • Line 105: warning: exported type FlushingReader should have comment or be unexported (golint)
    • Line 115: warning: exported function NewFlushingReader should have comment or be unexported (golint)
    • Line 119: warning: exported function NewFlushingReaderWithInitBytes should have comment or be unexported (golint)
    • Line 123: warning: exported method FlushingReader.AddFlusher should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/nfs/target.go
    • Line 74: warning: exported function NewMount should have comment or be unexported (golint)
    • Line 83: warning: exported method NfsMount.Mount should have comment or be unexported (golint)
    • Line 109: warning: exported method NfsMount.Unmount should have comment or be unexported (golint)
    • Line 124: warning: exported method NfsMount.URL should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/eventmonitor.go
    • Line 70: warning: exported type PlEventProxy should have comment or be unexported (golint)
    • Line 73: warning: exported type DockerEventPublisher should have comment or be unexported (golint)
    • Line 76: warning: exported type PortlayerEventMonitor should have comment or be unexported (golint)
    • Line 82: warning: comment on exported method PlEventProxy.StreamEvents should be of the form "StreamEvents ..." (golint)
    • Line 113: warning: exported function NewPortlayerEventMonitor should have comment or be unexported (golint)
    • Line 117: warning: comment on exported method PortlayerEventMonitor.Start should be of the form "Start ..." (golint)
    • Line 143: warning: comment on exported method PortlayerEventMonitor.Stop should be of the form "Stop ..." (golint)
    • vic/lib/apiservers/engine/backends/volume.go
    • Line 42: warning: comment on exported type VolumeBackend should be of the form "VolumeBackend ..." (with optional leading article) (golint)
    • Line 58: warning: exported function NewVolumeBackend should have comment or be unexported (golint)
    • Line 172: warning: exported method VolumeBackend.VolumesPrune should have comment or be unexported (golint)
    • Line 183: warning: exported function NewVolumeModel should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/filter/image.go
    • Line 27: warning: exported type ImageListContext should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function ValidateImageFilters should be of the form "ValidateImageFilters ..." (golint)
    • Line 82: warning: comment on exported function IncludeImage should be of the form "IncludeImage ..." (golint)
    • vic/lib/migration/plugins/plugin1/commonSpecForVCH.go
    • Line 47: warning: exported type VirtualContainerHostConfigSpec should have comment or be unexported (golint)
    • Line 51: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • Line 55: warning: exported type Common should have comment or be unexported (golint)
    • Line 69: warning: exported type UpdatedVCHConfigSpec should have comment or be unexported (golint)
    • Line 73: warning: exported type UpdatedExecutorConfig should have comment or be unexported (golint)
    • Line 77: warning: exported type UpdatedCommon should have comment or be unexported (golint)
    • Line 91: warning: exported method AddCommonSpecForVCH.Migrate should have comment or be unexported (golint)
    • vic/pkg/certificate/certificate.go
    • Line 257: warning: exported function ParseCertificate should have comment or be unexported (golint)
    • Line 280: warning: exported function CreateSelfSigned should have comment or be unexported (golint)
    • Line 291: warning: exported function CreateRootCA should have comment or be unexported (golint)
    • Line 302: warning: exported function CreateServerCertificate should have comment or be unexported (golint)
    • Line 320: warning: exported function CreateClientCertificate should have comment or be unexported (golint)
    • vic/lib/apiservers/service/restapi/handlers/encode/networking.go
    • Line 28: warning: exported function AsIPAddress should have comment or be unexported (golint)
    • Line 32: warning: exported function AsIPAddresses should have comment or be unexported (golint)
    • Line 41: warning: exported function AsCIDR should have comment or be unexported (golint)
    • Line 49: warning: exported function AsCIDRs should have comment or be unexported (golint)
    • Line 58: warning: exported function AsIPRange should have comment or be unexported (golint)
    • Line 66: warning: exported function AsIPRanges should have comment or be unexported (golint)
    • Line 75: warning: exported function AsNetwork should have comment or be unexported (golint)
    • Line 97: warning: exported function AsImageFetchProxy should have comment or be unexported (golint)
    • vic/cmd/gandalf/main.go
    • Line 37: warning: exported const GandalfContext should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: comment on exported const DroneFailureMessage should be of the form "DroneFailureMessage ..." (golint)
    • Line 59: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 61: warning: exported type MultipleVar should have comment or be unexported (golint)
    • Line 67: warning: exported method MultipleVar.Set should have comment or be unexported (golint)
    • Line 72: warning: exported type GandalfConfig should have comment or be unexported (golint)
    • Line 83: warning: exported type Gandalf should have comment or be unexported (golint)
    • Line 126: warning: exported method Gandalf.Setup should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/image/cache/cache.go
    • Line 39: warning: exported var ErrCorruptImageStore should have comment or be unexported (golint)
    • Line 58: warning: exported function NewLookupCache should have comment or be unexported (golint)
    • Line 173: warning: exported method NameLookupCache.CreateImageStore should have comment or be unexported (golint)
    • Line 250: warning: exported method NameLookupCache.WriteImage should have comment or be unexported (golint)
    • Line 288: warning: exported method NameLookupCache.UpdateStorageUsage should have comment or be unexported (golint)
    • Line 307: warning: exported method NameLookupCache.Export should have comment or be unexported (golint)
    • Line 311: warning: exported method NameLookupCache.Import should have comment or be unexported (golint)
    • Line 315: warning: exported method NameLookupCache.NewDataSource should have comment or be unexported (golint)
    • Line 319: warning: exported method NameLookupCache.URL should have comment or be unexported (golint)
    • Line 323: warning: exported method NameLookupCache.Owners should have comment or be unexported (golint)
    • Line 557: warning: exported method NameLookupCache.ImageStorageUsage should have comment or be unexported (golint)
    • Line 563: warning: exported method NameLookupCache.SetImageStorageUsage should have comment or be unexported (golint)
    • vic/cmd/vic-init/config.go
    • Line 19: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • Line 24: warning: exported type Diagnostics should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/proxy/container_proxy.go
    • Line 117: warning: exported const ShortIDLen should have comment (or a comment on this block) or be unexported (golint)
    • Line 237: warning: exported method ContainerProxy.CreateExecTask should have comment or be unexported (golint)
    • Line 481: warning: exported method ContainerProxy.InspectTask should have comment or be unexported (golint)
    • Line 516: warning: exported method ContainerProxy.BindTask should have comment or be unexported (golint)
    • Line 557: warning: exported method ContainerProxy.WaitTask should have comment or be unexported (golint)
    • Line 787: warning: exported method ContainerProxy.Wait should have comment or be unexported (golint)
    • Line 835: warning: exported method ContainerProxy.Signal should have comment or be unexported (golint)
    • Line 882: warning: exported method ContainerProxy.Resize should have comment or be unexported (golint)
    • Line 1288: warning: comment on exported function MountsFromContainer should be of the form "MountsFromContainer ..." (golint)
    • Line 1494: warning: exported function ContainerInfoToVicContainer should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/limits.go
    • Line 24: warning: exported type ResourceLimits should have comment or be unexported (golint)
    • Line 40: warning: exported method ResourceLimits.VCHMemoryLimitFlags should have comment or be unexported (golint)
    • Line 62: warning: exported method ResourceLimits.VCHCPULimitFlags should have comment or be unexported (golint)
    • Line 84: warning: exported method ResourceLimits.VCHStorageQuotaFlag should have comment or be unexported (golint)
    • Line 94: warning: exported method ResourceLimits.VCHContainerCountFlag should have comment or be unexported (golint)
    • vic/lib/tether/mocks.go
    • Line 24: warning: exported type MockSyscall should have comment or be unexported (golint)
    • Line 26: warning: exported method MockSyscall.Mount should have comment or be unexported (golint)
    • Line 30: warning: exported method MockSyscall.Sethostname should have comment or be unexported (golint)
    • Line 34: warning: exported method MockSyscall.Symlink should have comment or be unexported (golint)
    • Line 38: warning: exported method MockSyscall.Unmount should have comment or be unexported (golint)
    • Line 42: warning: exported type MockHosts should have comment or be unexported (golint)
    • Line 44: warning: exported method MockHosts.Load should have comment or be unexported (golint)
    • Line 48: warning: exported method MockHosts.Save should have comment or be unexported (golint)
    • Line 52: warning: exported method MockHosts.Copy should have comment or be unexported (golint)
    • Line 56: warning: exported method MockHosts.SetHost should have comment or be unexported (golint)
    • Line 59: warning: exported method MockHosts.RemoveHost should have comment or be unexported (golint)
    • Line 62: warning: exported method MockHosts.RemoveAll should have comment or be unexported (golint)
    • Line 65: warning: exported method MockHosts.HostIP should have comment or be unexported (golint)
    • Line 69: warning: exported method MockHosts.Path should have comment or be unexported (golint)
    • Line 73: warning: exported type MockResolvConf should have comment or be unexported (golint)
    • Line 75: warning: exported method MockResolvConf.Load should have comment or be unexported (golint)
    • Line 79: warning: exported method MockResolvConf.Save should have comment or be unexported (golint)
    • Line 83: warning: exported method MockResolvConf.Copy should have comment or be unexported (golint)
    • Line 87: warning: exported method MockResolvConf.AddNameservers should have comment or be unexported (golint)
    • Line 90: warning: exported method MockResolvConf.RemoveNameservers should have comment or be unexported (golint)
    • Line 93: warning: exported method MockResolvConf.Nameservers should have comment or be unexported (golint)
    • Line 97: warning: exported method MockResolvConf.Attempts should have comment or be unexported (golint)
    • Line 101: warning: exported method MockResolvConf.Timeout should have comment or be unexported (golint)
    • Line 105: warning: exported method MockResolvConf.SetAttempts should have comment or be unexported (golint)
    • Line 108: warning: exported method MockResolvConf.SetTimeout should have comment or be unexported (golint)
    • Line 111: warning: exported method MockResolvConf.Path should have comment or be unexported (golint)
    • vic/tests/concurrent/concurrent.go
    • Line 44: warning: comment on exported const DefaultConcurrency should be of the form "DefaultConcurrency ..." (golint)
    • Line 50: warning: exported const DefaultService should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported type Config should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/images.go
    • Line 31: warning: exported const ApplianceImageKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: comment on exported const ISO9660SectorSize should be of the form "ISO9660SectorSize ..." (golint)
    • Line 49: warning: exported type Images should have comment or be unexported (golint)
    • Line 55: warning: exported method Images.ImageFlags should have comment or be unexported (golint)
    • Line 74: warning: exported method Images.CheckImagesFiles should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/proxy/system_proxy.go
    • Line 51: warning: exported type VicSystemProxy should have comment or be unexported (golint)
    • Line 57: warning: exported type SystemProxy should have comment or be unexported (golint)
    • Line 61: warning: exported function NewSystemProxy should have comment or be unexported (golint)
    • Line 69: warning: exported method SystemProxy.PingPortlayer should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method SystemProxy.ContainerCount should be of the form "ContainerCount ..." (golint)
    • Line 115: warning: exported method SystemProxy.VCHInfo should have comment or be unexported (golint)
    • vic/pkg/flags/url_flag.go
    • Line 25: warning: exported type URLFlag should have comment or be unexported (golint)
    • Line 44: warning: exported method URLFlag.Get should have comment or be unexported (golint)
    • Line 55: warning: exported method URLFlag.IsBoolFlag should have comment or be unexported (golint)
    • vic/lib/migration/plugins/plugin7/vicadminProxyVarRename.go
    • Line 53: warning: exported type VCHConfig should have comment or be unexported (golint)
    • Line 57: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • Line 61: warning: exported type SessionConfig should have comment or be unexported (golint)
    • Line 65: warning: exported type Cmd should have comment or be unexported (golint)
    • Line 69: warning: exported method VicadminProxyVarRename.Migrate should have comment or be unexported (golint)
    • vic/lib/apiservers/portlayer/restapi/handlers/kv_handlers.go
    • Line 32: warning: exported type KvHandlersImpl should have comment or be unexported (golint)
    • Line 36: warning: exported method KvHandlersImpl.Configure should have comment or be unexported (golint)
    • Line 48: warning: exported method KvHandlersImpl.GetValueHandler should have comment or be unexported (golint)
    • Line 67: warning: exported method KvHandlersImpl.PutValueHandler should have comment or be unexported (golint)
    • Line 84: warning: exported method KvHandlersImpl.DeleteValueHandler should have comment or be unexported (golint)
    • vic/lib/portlayer/event/manager.go
    • Line 28: warning: exported type Manager should have comment or be unexported (golint)
    • Line 48: warning: exported function NewEventManager should have comment or be unexported (golint)
    • Line 84: warning: exported method Manager.RegisterCollector should have comment or be unexported (golint)
    • Line 97: warning: exported method Manager.Collectors should have comment or be unexported (golint)
    • Line 132: warning: exported method Manager.Subscribers should have comment or be unexported (golint)
    • Line 149: warning: comment on exported method Manager.Subscribed should be of the form "Subscribed ..." (golint)
    • vic/lib/portlayer/exec/handle.go
    • Line 69: warning: exported type Handle should have comment or be unexported (golint)
    • Line 99: warning: comment on exported function TestHandle should be of the form "TestHandle ..." (golint)
    • Line 131: warning: exported method Handle.TargetState should have comment or be unexported (golint)
    • Line 135: warning: exported method Handle.SetTargetState should have comment or be unexported (golint)
    • Line 139: warning: exported method Handle.Reload should have comment or be unexported (golint)
    • Line 199: warning: exported method Handle.Commit should have comment or be unexported (golint)
    • Line 263: warning: exported method Handle.Close should have comment or be unexported (golint)
    • vic/pkg/vsphere/tasks/waiter.go
    • Line 35: warning: comment on exported type Task should be of the form "Task ..." (with optional leading article) (golint)
    • Line 188: warning: comment on exported function IsRetryError should be of the form "IsRetryError ..." (golint)
    • vic/lib/apiservers/service/restapi/handlers/vch_cert_get.go
    • Line 110: warning: exported function NewGetTargetTargetVchVchIDCertificateOK should have comment or be unexported (golint)
    • Line 114: warning: exported method GetTargetTargetVchVchIDCertificateOK.WriteResponse should have comment or be unexported (golint)
    • Line 118: warning: exported type GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK should have comment or be unexported (golint)
    • Line 122: warning: exported function NewGetTargetTargetDatacenterDatacenterVchVchIDCertificateOK should have comment or be unexported (golint)
    • Line 126: warning: exported method GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK.WriteResponse should have comment or be unexported (golint)
    • vic/lib/apiservers/service/restapi/handlers/decode/resources.go
    • Line 28: warning: exported function FromValueBytesMetric should have comment or be unexported (golint)
    • Line 50: warning: exported function MBFromValueBytes should have comment or be unexported (golint)
    • Line 77: warning: exported function MHzFromValueHertz should have comment or be unexported (golint)
    • Line 100: warning: exported function FromShares should have comment or be unexported (golint)
    • Line 123: warning: exported function FromValueBits should have comment or be unexported (golint)
    • vic/lib/migration/plugins/plugin8/insecure_registries_type_change.go
    • Line 45: warning: comment on exported type InsecureRegistriesTypeChange should be of the form "InsecureRegistriesTypeChange ..." (with optional leading article) (golint)
    • Line 49: warning: exported type OldVCHConfig should have comment or be unexported (golint)
    • Line 53: warning: exported type OldRegistry should have comment or be unexported (golint)
    • Line 57: warning: exported type VCHConfig should have comment or be unexported (golint)
    • Line 61: warning: exported type Registry should have comment or be unexported (golint)
    • Line 65: warning: exported method InsecureRegistriesTypeChange.Migrate should have comment or be unexported (golint)
    • vic/lib/tether/config.go
    • Line 31: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • Line 149: warning: exported type NetworkEndpoint should have comment or be unexported (golint)
    • Line 179: warning: exported type Detail should have comment or be unexported (golint)
    • Line 186: warning: exported method NetworkEndpoint.IsDynamic should have comment or be unexported (golint)
    • Line 190: warning: exported type DHCPInfo should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/network.go
    • Line 47: warning: exported type NetworkBackend should have comment or be unexported (golint)
    • Line 50: warning: exported function NewNetworkBackend should have comment or be unexported (golint)
    • Line 54: warning: exported method NetworkBackend.NetworkControllerEnabled should have comment or be unexported (golint)
    • Line 58: warning: exported method NetworkBackend.FindNetwork should have comment or be unexported (golint)
    • Line 80: warning: exported method NetworkBackend.GetNetworkByName should have comment or be unexported (golint)
    • Line 102: warning: exported method NetworkBackend.GetNetworksByID should have comment or be unexported (golint)
    • Line 120: warning: exported method NetworkBackend.GetNetworks should have comment or be unexported (golint)
    • Line 139: warning: exported method NetworkBackend.CreateNetwork should have comment or be unexported (golint)
    • Line 356: warning: exported method NetworkBackend.DisconnectContainerFromNetwork should have comment or be unexported (golint)
    • Line 367: warning: exported method NetworkBackend.DeleteNetwork should have comment or be unexported (golint)
    • Line 392: warning: exported method NetworkBackend.NetworksPrune should have comment or be unexported (golint)
    • vic/lib/apiservers/service/restapi/handlers/client/client.go
    • Line 46: warning: exported type Executor should have comment or be unexported (golint)
    • Line 60: warning: exported type Finder should have comment or be unexported (golint)
    • Line 71: warning: exported type Validator should have comment or be unexported (golint)
    • Line 85: warning: exported type HandlerClient should have comment or be unexported (golint)
    • Line 92: warning: exported function NewHandlerClient should have comment or be unexported (golint)
    • Line 104: warning: exported method HandlerClient.Executor should have comment or be unexported (golint)
    • Line 108: warning: exported method HandlerClient.Finder should have comment or be unexported (golint)
    • Line 112: warning: exported method HandlerClient.Validator should have comment or be unexported (golint)
    • Line 116: warning: exported method HandlerClient.GetVCH should have comment or be unexported (golint)
    • Line 130: warning: exported method HandlerClient.GetVCHs should have comment or be unexported (golint)
    • Line 139: warning: exported method HandlerClient.GetConfigForVCH should have comment or be unexported (golint)
    • Line 148: warning: exported method HandlerClient.GetVCHConfig should have comment or be unexported (golint)
    • Line 185: warning: exported method HandlerClient.GetAddresses should have comment or be unexported (golint)
    • vic/lib/portlayer/event/events/container_event.go
    • Line 18: warning: exported const ContainerCreated should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type ContainerEvent should have comment or be unexported (golint)
    • Line 38: warning: exported method ContainerEvent.Topic should have comment or be unexported (golint)
    • vic/lib/portlayer/exec2/execution_vsphere.go
    • Line 37: warning: exported method PortLayerVsphere.Init should have comment or be unexported (golint)
    • Line 44: warning: exported method PortLayerVsphere.CreateContainer should have comment or be unexported (golint)
    • Line 52: warning: exported method PortLayerVsphere.GetHandle should have comment or be unexported (golint)
    • Line 60: warning: exported method PortLayerVsphere.SetEntryPoint should have comment or be unexported (golint)
    • Line 66: warning: exported method PortLayerVsphere.Commit should have comment or be unexported (golint)
    • Line 81: warning: exported method PortLayerVsphere.CopyTo should have comment or be unexported (golint)
    • Line 93: warning: exported method PortLayerVsphere.SetLimits should have comment or be unexported (golint)
    • Line 99: warning: exported method PortLayerVsphere.SetRunState should have comment or be unexported (golint)
    • Line 105: warning: exported method PortLayerVsphere.DestroyContainer should have comment or be unexported (golint)
    • vic/lib/migration/samples/plugins/plugin1/stop_signal_rename_sample.go
    • Line 49: warning: exported type OldStopSignal should have comment or be unexported (golint)
    • Line 53: warning: exported type ExecutorConfig should have comment or be unexported (golint)
    • Line 57: warning: exported type SessionConfig should have comment or be unexported (golint)
    • Line 61: warning: exported type NewStopSignal should have comment or be unexported (golint)
    • Line 65: warning: exported type NewExecutorConfig should have comment or be unexported (golint)
    • Line 69: warning: exported type NewSessionConfig should have comment or be unexported (golint)
    • Line 73: warning: exported method ApplianceStopSignalRename.Migrate should have comment or be unexported (golint)
    • vic/lib/migration/samples/config/v1/virtual_container_host.go
    • Line 80: warning: comment on exported type Container should be of the form "Container ..." (with optional leading article) (golint)
    • Line 94: warning: comment on exported type Registry should be of the form "Registry ..." (with optional leading article) (golint)
    • Line 104: warning: comment on exported type Network should be of the form "Network ..." (with optional leading article) (golint)
    • Line 116: warning: comment on exported type Storage should be of the form "Storage ..." (with optional leading article) (golint)
    • Line 128: warning: exported type Certificate should have comment or be unexported (golint)
    • Line 157: warning: exported type Contacts should have comment or be unexported (golint)
    • vic/lib/tether/msgs/messages.go
    • Line 28: warning: exported type Message should have comment or be unexported (golint)
    • Line 39: warning: comment on exported const WindowChangeReq should be of the form "WindowChangeReq ..." (golint)
    • Line 42: warning: exported type WindowChangeMsg should have comment or be unexported (golint)
    • Line 49: warning: exported method WindowChangeMsg.RequestType should have comment or be unexported (golint)
    • Line 53: warning: exported method WindowChangeMsg.Marshal should have comment or be unexported (golint)
    • Line 57: warning: exported method WindowChangeMsg.Unmarshal should have comment or be unexported (golint)
    • Line 62: warning: exported var Signals should have comment or be unexported (golint)
    • Line 79: warning: comment on exported const PingReq should be of the form "PingReq ..." (golint)
    • Line 81: warning: exported const PingMsg should have comment or be unexported (golint)
    • Line 83: warning: exported const UnblockReq should have comment or be unexported (golint)
    • Line 84: warning: exported const UnblockMsg should have comment or be unexported (golint)
    • Line 86: warning: comment on exported const VersionReq should be of the form "VersionReq ..." (golint)
    • Line 89: warning: exported type VersionMsg should have comment or be unexported (golint)
    • Line 93: warning: exported method VersionMsg.RequestType should have comment or be unexported (golint)
    • Line 97: warning: exported method VersionMsg.Marshal should have comment or be unexported (golint)
    • Line 101: warning: exported method VersionMsg.Unmarshal should have comment or be unexported (golint)
    • Line 105: warning: comment on exported const SignalReq should be of the form "SignalReq ..." (golint)
    • Line 108: warning: exported type SignalMsg should have comment or be unexported (golint)
    • Line 112: warning: exported method SignalMsg.RequestType should have comment or be unexported (golint)
    • Line 116: warning: exported method SignalMsg.Marshal should have comment or be unexported (golint)
    • Line 120: warning: exported method SignalMsg.Unmarshal should have comment or be unexported (golint)
    • Line 124: warning: exported method SignalMsg.Signum should have comment or be unexported (golint)
    • Line 128: warning: exported method SignalMsg.FromString should have comment or be unexported (golint)
    • Line 150: warning: comment on exported const CloseStdinReq should be of the form "CloseStdinReq ..." (golint)
    • Line 153: warning: comment on exported const ContainersReq should be of the form "ContainersReq ..." (golint)
    • Line 156: warning: exported type ContainersMsg should have comment or be unexported (golint)
    • Line 160: warning: exported method ContainersMsg.RequestType should have comment or be unexported (golint)
    • Line 164: warning: exported method ContainersMsg.Marshal should have comment or be unexported (golint)
    • Line 168: warning: exported method ContainersMsg.Unmarshal should have comment or be unexported (golint)
    • vic/lib/portlayer/network/context.go
    • Line 42: warning: exported const DefaultBridgeName should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported type AddContainerOptions should have comment or be unexported (golint)
    • Line 71: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 520: warning: exported method Context.NewScope should have comment or be unexported (golint)
    • Line 629: warning: exported method Context.Scopes should have comment or be unexported (golint)
    • Line 659: warning: exported method Context.DefaultScope should have comment or be unexported (golint)
    • Line 663: warning: exported method Context.BindContainer should have comment or be unexported (golint)
    • Line 1235: warning: exported method Context.RemoveContainer should have comment or be unexported (golint)
    • Line 1298: warning: exported method Context.Container should have comment or be unexported (golint)
    • Line 1312: warning: exported method Context.ContainersByAlias should have comment or be unexported (golint)
    • Line 1326: warning: exported method Context.ContainerByAddr should have comment or be unexported (golint)
    • Line 1341: warning: exported method Context.DeleteScope should have comment or be unexported (golint)
    • Line 1417: warning: comment on exported method Context.UpdateContainerNameInScope should be of the form "UpdateContainerNameInScope ..." (golint)
    • vic/lib/portlayer/network/port.go
    • Line 25: warning: exported type Port should have comment or be unexported (golint)
    • Line 27: warning: exported const NilPort should have comment or be unexported (golint)
    • Line 36: warning: exported function ParsePort should have comment or be unexported (golint)
    • Line 48: warning: exported method Port.Proto should have comment or be unexported (golint)
    • Line 54: warning: exported method Port.Port should have comment or be unexported (golint)
    • Line 74: warning: exported method Port.FullString should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/network/utils.go
    • Line 54: warning: exported var ContainerByPortWithProto should have comment or be unexported (golint)
    • Line 64: warning: exported function Init should have comment or be unexported (golint)
    • Line 290: warning: exported function PublicIPv4Addrs should have comment or be unexported (golint)
    • Line 309: warning: comment on exported function PortMapFromContainer should be of the form "PortMapFromContainer ..." (golint)
    • Line 332: warning: exported function ContainerWithPortWithProto should have comment or be unexported (golint)
    • Line 500: warning: exported function DirectPortInformation should have comment or be unexported (golint)
    • Line 570: warning: comment on exported function PortForwardingInformation should be of the form "PortForwardingInformation ..." (golint)
    • vic/pkg/version/version.go
    • Line 39: warning: exported const DockerAPIVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type Build should have comment or be unexported (golint)
    • Line 78: warning: exported function GetBuild should have comment or be unexported (golint)
    • Line 103: warning: exported method Build.ShortVersion should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/dns.go
    • Line 26: warning: comment on exported type DNS should be of the form "DNS ..." (with optional leading article) (golint)
    • Line 32: warning: exported method DNS.DNSFlags should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method DNS.ProcessDNSServers should be of the form "ProcessDNSServers ..." (golint)
    • vic/lib/dns/dns.go
    • Line 38: warning: exported const DefaultIP should have comment (or a comment on this block) or be unexported (golint)
    • vic/lib/apiservers/engine/proxy/storage_proxy.go
    • Line 43: warning: exported type VicStorageProxy should have comment or be unexported (golint)
    • Line 53: warning: exported type StorageProxy should have comment or be unexported (golint)
    • Line 63: warning: exported type VolumeMetadata should have comment or be unexported (golint)
    • Line 73: warning: exported const DriverArgFlagKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: comment on exported var SupportedVolDrivers should be of the form "SupportedVolDrivers ..." (golint)
    • Line 101: warning: exported function NewStorageProxy should have comment or be unexported (golint)
    • Line 109: warning: exported method StorageProxy.Create should have comment or be unexported (golint)
    • Line 167: warning: exported method StorageProxy.VolumeList should have comment or be unexported (golint)
    • Line 191: warning: exported method StorageProxy.VolumeInfo should have comment or be unexported (golint)
    • Line 218: warning: exported method StorageProxy.Remove should have comment or be unexported (golint)
    • Line 445: warning: exported function NewVolumeModel should have comment or be unexported (golint)
    • vic/lib/portlayer/event/collector/vsphere/collector.go
    • Line 37: warning: exported type EventCollector should have comment or be unexported (golint)
    • Line 52: warning: exported function NewCollector should have comment or be unexported (golint)
    • Line 68: warning: exported method EventCollector.Name should have comment or be unexported (golint)
    • Line 77: warning: exported method EventCollector.AddMonitoredObject should have comment or be unexported (golint)
    • Line 89: warning: exported method EventCollector.RemoveMonitoredObject should have comment or be unexported (golint)
    • Line 106: warning: exported method EventCollector.Stop should have comment or be unexported (golint)
    • vic/pkg/errors/errors.go
    • Line 23: warning: exported function ErrorStack should have comment or be unexported (golint)
    • Line 27: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 35: warning: exported function Trace should have comment or be unexported (golint)
    • vic/pkg/vsphere/vm/vm.go
    • Line 45: warning: exported const DestroyTask should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type InvalidState should have comment or be unexported (golint)
    • Line 206: warning: exported method VirtualMachine.GetMacAddressBasedSpecifiedNetworkName should have comment or be unexported (golint)
    • Line 232: warning: exported method VirtualMachine.FetchExtraConfigBaseOptions should have comment or be unexported (golint)
    • Line 250: warning: exported method VirtualMachine.FetchExtraConfig should have comment or be unexported (golint)
    • Line 280: warning: exported method VirtualMachine.WaitForKeyInExtraConfig should have comment or be unexported (golint)
    • Line 392: warning: exported method VirtualMachine.UUID should have comment or be unexported (golint)
    • Line 472: warning: exported method VirtualMachine.VMPathName should have comment or be unexported (golint)
    • Line 516: warning: comment on exported method VirtualMachine.GetSnapshotTreeByName should be of the form "GetSnapshotTreeByName ..." (golint)
    • Line 599: warning: exported method VirtualMachine.IsFixing should have comment or be unexported (golint)
    • Line 603: warning: exported method VirtualMachine.EnterFixingState should have comment or be unexported (golint)
    • Line 607: warning: exported method VirtualMachine.LeaveFixingState should have comment or be unexported (golint)
    • Line 668: warning: exported method VirtualMachine.IsInvalidState should have comment or be unexported (golint)
    • Line 701: warning: exported method VirtualMachine.Properties should have comment or be unexported (golint)
    • Line 735: warning: exported method VirtualMachine.Parent should have comment or be unexported (golint)
    • Line 750: warning: exported method VirtualMachine.DatastoreReference should have comment or be unexported (golint)
    • vic/lib/apiservers/portlayer/restapi/handlers/scopes_handlers.go
    • Line 112: warning: exported method ScopesHandlersImpl.ScopesCreate should have comment or be unexported (golint)
    • Line 152: warning: exported method ScopesHandlersImpl.ScopesDelete should have comment or be unexported (golint)
    • Line 169: warning: exported method ScopesHandlersImpl.ScopesListAll should have comment or be unexported (golint)
    • Line 181: warning: exported method ScopesHandlersImpl.ScopesList should have comment or be unexported (golint)
    • Line 193: warning: exported method ScopesHandlersImpl.ScopesGetContainerEndpoints should have comment or be unexported (golint)
    • Line 217: warning: exported method ScopesHandlersImpl.ScopesAddContainer should have comment or be unexported (golint)
    • Line 261: warning: exported method ScopesHandlersImpl.ScopesRemoveContainer should have comment or be unexported (golint)
    • Line 281: warning: exported method ScopesHandlersImpl.ScopesBindContainer should have comment or be unexported (golint)
    • Line 313: warning: exported method ScopesHandlersImpl.ScopesUnbindContainer should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/backends.go
    • Line 59: warning: exported const PortlayerName should have comment (or a comment on this block) or be unexported (golint)
    • Line 75: warning: exported var RegistryCertPool should have comment or be unexported (golint)
    • Line 98: warning: exported function Init should have comment or be unexported (golint)
    • Line 241: warning: exported function PortLayerClient should have comment or be unexported (golint)
    • Line 245: warning: exported function PortLayerServer should have comment or be unexported (golint)
    • Line 249: warning: exported function PortLayerName should have comment or be unexported (golint)
    • Line 253: warning: exported function ProductName should have comment or be unexported (golint)
    • Line 257: warning: exported function ProductVersion should have comment or be unexported (golint)
    • Line 382: warning: exported function EventService should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/image/mock/store.go
    • Line 31: warning: exported type MockDataStore should have comment or be unexported (golint)
    • Line 41: warning: exported function NewMockDataStore should have comment or be unexported (golint)
    • Line 78: warning: exported method MockDataStore.CreateImageStore should have comment or be unexported (golint)
    • Line 92: warning: exported method MockDataStore.DeleteImageStore should have comment or be unexported (golint)
    • Line 102: warning: exported method MockDataStore.ListImageStores should have comment or be unexported (golint)
    • Line 113: warning: exported method MockDataStore.URL should have comment or be unexported (golint)
    • Line 117: warning: exported method MockDataStore.Owners should have comment or be unexported (golint)
    • Line 121: warning: exported method MockDataStore.WriteImage should have comment or be unexported (golint)
    • Line 162: warning: exported method MockDataStore.WriteMetadata should have comment or be unexported (golint)
    • Line 190: warning: exported method MockDataStore.GetImageStorageUsage should have comment or be unexported (golint)
    • Line 194: warning: exported method MockDataStore.GetImageLayerStorageUsage should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/image.go
    • Line 64: warning: exported type ImageBackend should have comment or be unexported (golint)
    • Line 71: warning: exported function NewImageBackend should have comment or be unexported (golint)
    • Line 75: warning: exported method ImageBackend.Exists should have comment or be unexported (golint)
    • Line 79: warning: comment on exported method ImageBackend.ImageDelete should be of the form "ImageDelete ..." (golint)
    • Line 218: warning: exported method ImageBackend.ImageHistory should have comment or be unexported (golint)
    • Line 225: warning: exported method ImageBackend.Images should have comment or be unexported (golint)
    • Line 275: warning: comment on exported method ImageBackend.LookupImage should be of the form "LookupImage ..." (golint)
    • Line 289: warning: exported method ImageBackend.TagImage should have comment or be unexported (golint)
    • Line 320: warning: exported method ImageBackend.ImagesPrune should have comment or be unexported (golint)
    • Line 327: warning: exported method ImageBackend.LoadImage should have comment or be unexported (golint)
    • Line 334: warning: exported method ImageBackend.ImportImage should have comment or be unexported (golint)
    • Line 341: warning: exported method ImageBackend.ExportImage should have comment or be unexported (golint)
    • Line 348: warning: exported method ImageBackend.PullImage should have comment or be unexported (golint)
    • Line 445: warning: exported method ImageBackend.PushImage should have comment or be unexported (golint)
    • Line 452: warning: exported method ImageBackend.SearchRegistryForImages should have comment or be unexported (golint)
    • Line 544: warning: exported function CreateImageEventActorWithAttributes should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/errors/errors.go
    • Line 46: warning: exported function APINotSupportedMsg should have comment or be unexported (golint)
    • Line 50: warning: exported function NillPortlayerClientError should have comment or be unexported (golint)
    • Line 74: warning: exported function ContainerResourceNotFoundError should have comment or be unexported (golint)
    • Line 78: warning: exported function ResourceNotFoundError should have comment or be unexported (golint)
    • Line 87: warning: exported function TaskInspectNotFoundError should have comment or be unexported (golint)
    • Line 91: warning: exported function TaskBindPowerError should have comment or be unexported (golint)
    • Line 95: warning: exported function TaskPoweredOffError should have comment or be unexported (golint)
    • Line 99: warning: exported function ImageNotFoundError should have comment or be unexported (golint)
    • Line 103: warning: exported function TagNotFoundError should have comment or be unexported (golint)
    • Line 122: warning: exported function ConflictError should have comment or be unexported (golint)
    • Line 126: warning: exported function PluginNotFoundError should have comment or be unexported (golint)
    • Line 130: warning: exported function SwarmNotSupportedError should have comment or be unexported (golint)
    • Line 134: warning: exported function StreamFormatNotRecognized should have comment or be unexported (golint)
    • Line 138: warning: exported function ConcurrentAPIError should have comment or be unexported (golint)
    • Line 144: warning: exported function IsNotFoundError should have comment or be unexported (golint)
    • Line 155: warning: exported function IsConflictError should have comment or be unexported (golint)
    • Line 166: warning: exported function IsResourceInUse should have comment or be unexported (golint)
    • Line 176: warning: exported type DetachError should have comment or be unexported (golint)
    • Line 191: warning: exported function NewLockTimeoutError should have comment or be unexported (golint)
    • Line 195: warning: exported function IsLockTimeoutOrConflictError should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/volume_stores.go
    • Line 30: warning: exported type VolumeStores should have comment or be unexported (golint)
    • Line 34: warning: exported method VolumeStores.Flags should have comment or be unexported (golint)
    • Line 44: warning: exported method VolumeStores.ProcessVolumeStores should have comment or be unexported (golint)
    • vic/cmd/docker/main.go
    • Line 59: warning: exported type CliOptions should have comment or be unexported (golint)
    • Line 91: warning: exported function Usage should have comment or be unexported (golint)
    • vic/lib/portlayer/network/ipam.go
    • Line 157: warning: exported method AddressSpace.NextIP4Net should have comment or be unexported (golint)
    • Line 411: warning: exported method AddressSpace.Defragment should have comment or be unexported (golint)
    • vic/lib/config/dynamic/dynamic.go
    • Line 24: warning: exported var ErrConfigNotModified should have comment or be unexported (golint)
    • Line 25: warning: exported var ErrAccessDenied should have comment or be unexported (golint)
    • Line 26: warning: exported var ErrSourceUnavailable should have comment or be unexported (golint)
    • vic/lib/migration/manager/manager.go
    • Line 32: warning: exported const ApplianceConfigure should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported var Migrator should have comment or be unexported (golint)
    • Line 43: warning: exported type Plugin should have comment or be unexported (golint)
    • Line 47: warning: exported type DataMigration should have comment or be unexported (golint)
    • Line 56: warning: exported type DataMigrator should have comment or be unexported (golint)
    • Line 62: warning: exported function NewDataMigrator should have comment or be unexported (golint)
    • vic/lib/install/validate/validator.go
    • Line 57: warning: exported type Validator should have comment or be unexported (golint)
    • Line 63: warning: exported method Validator.Session should have comment or be unexported (golint)
    • Line 67: warning: exported function CreateFromSession should have comment or be unexported (golint)
    • Line 76: warning: exported function NewSessionConfig should have comment or be unexported (golint)
    • Line 138: warning: exported function NewSession should have comment or be unexported (golint)
    • Line 164: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 249: warning: exported method Validator.NoteIssue should have comment or be unexported (golint)
    • Line 255: warning: exported method Validator.ListIssues should have comment or be unexported (golint)
    • Line 271: warning: exported method Validator.GetIssues should have comment or be unexported (golint)
    • Line 275: warning: exported method Validator.ClearIssues should have comment or be unexported (golint)
    • Line 328: warning: exported method Validator.ValidateTarget should have comment or be unexported (golint)
    • Line 342: warning: exported method Validator.ValidateStorageQuota should have comment or be unexported (golint)
    • Line 926: warning: exported method Validator.AddDeprecatedFields should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/image/vsphere/store.go
    • Line 47: warning: comment on exported var DetachAll should be of the form "DetachAll ..." (golint)
    • Line 50: warning: exported var FileForMinOS should have comment or be unexported (golint)
    • Line 60: warning: comment on exported var DirForMinOS should be of the form "DirForMinOS ..." (golint)
    • Line 73: warning: exported const StorageImageDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported type ImageStore should have comment or be unexported (golint)
    • Line 84: warning: exported function NewImageStore should have comment or be unexported (golint)
    • Line 152: warning: exported method ImageStore.CreateImageStore should have comment or be unexported (golint)
    • Line 200: warning: exported method ImageStore.ListImageStores should have comment or be unexported (golint)
    • Line 499: warning: exported method ImageStore.GetImage should have comment or be unexported (golint)
    • Line 555: warning: exported method ImageStore.ListImages should have comment or be unexported (golint)
    • Line 593: warning: exported method ImageStore.GetImageStorageUsage should have comment or be unexported (golint)
    • Line 597: warning: exported method ImageStore.GetImageLayerStorageUsage should have comment or be unexported (golint)
    • vic/lib/portlayer/network/network.go
    • Line 39: warning: exported var DefaultContext should have comment or be unexported (golint)
    • Line 47: warning: exported type DuplicateResourceError should have comment or be unexported (golint)
    • Line 51: warning: exported type ResourceNotFoundError should have comment or be unexported (golint)
    • Line 59: warning: exported function Init should have comment or be unexported (golint)
    • Line 119: warning: comment on exported function Finalize should be of the form "Finalize ..." (golint)
    • vic/lib/constants/constants.go
    • Line 89: warning: exported function DefaultAltVCHGuestName should have comment or be unexported (golint)
    • Line 93: warning: exported function DefaultAltContainerGuestName should have comment or be unexported (golint)
    • vic/pkg/serial/rawaddr.go
    • Line 19: warning: exported type RawAddr should have comment or be unexported (golint)
    • Line 24: warning: exported method RawAddr.Network should have comment or be unexported (golint)
    • Line 39: warning: exported function NewRawAddr should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/proxy/archive_proxy.go
    • Line 36: warning: exported type VicArchiveProxy should have comment or be unexported (golint)
    • Line 46: warning: exported type ArchiveProxy should have comment or be unexported (golint)
    • Line 52: warning: exported function NewArchiveProxy should have comment or be unexported (golint)
    • Line 56: warning: exported function GetArchiveProxy should have comment or be unexported (golint)
    • vic/lib/vicadmin/validate.go
    • Line 51: warning: exported type Validator should have comment or be unexported (golint)
    • Line 70: warning: exported const GoodStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 75: warning: exported function GetMgmtIP should have comment or be unexported (golint)
    • Line 99: warning: exported function LinkByOneOfNameOrAlias should have comment or be unexported (golint)
    • Line 113: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 263: warning: comment on exported method Validator.GetVCHName should be of the form "GetVCHName ..." (golint)
    • Line 292: warning: exported method Validator.QueryDatastore should have comment or be unexported (golint)
    • Line 355: warning: exported method Validator.QueryVCHStatus should have comment or be unexported (golint)
    • Line 421: warning: exported method Validator.QueryVMGroupStatus should have comment or be unexported (golint)
    • vic/lib/apiservers/engine/backends/container.go
    • Line 108: warning: comment on exported const DefaultStopTimeout should be of the form "DefaultStopTimeout ..." (golint)
    • Line 149: warning: comment on exported type ContainerBackend should be of the form "ContainerBackend ..." (with optional leading article) (golint)
    • Line 176: warning: exported method ContainerBackend.Handle should have comment or be unexported (golint)
    • Line 1241: warning: comment on exported method ContainerBackend.ContainerStop should be of the form "ContainerStop ..." (golint)
    • Line 1681: warning: exported method ContainerBackend.ContainersPrune should have comment or be unexported (golint)
    • Line 2197: warning: exported function CreateContainerEventActorWithAttributes should have comment or be unexported (golint)
    • vic/cmd/vic-machine/inspect/inspect.go
    • Line 64: warning: exported function NewInspect should have comment or be unexported (golint)
    • Line 101: warning: exported method Inspect.ConfigFlags should have comment or be unexported (golint)
    • Line 187: warning: exported method Inspect.RunConfig should have comment or be unexported (golint)
    • Line 210: warning: exported method Inspect.Run should have comment or be unexported (golint)
    • vic/lib/apiservers/service/restapi/handlers/decode/networking.go
    • Line 26: warning: exported function FromCIDR should have comment or be unexported (golint)
    • Line 34: warning: exported function FromCIDRs should have comment or be unexported (golint)
    • Line 43: warning: exported function FromIPAddress should have comment or be unexported (golint)
    • Line 51: warning: exported function FromIPAddresses should have comment or be unexported (golint)
    • Line 60: warning: exported function FromGateway should have comment or be unexported (golint)
    • Line 77: warning: exported function FromImageFetchProxy should have comment or be unexported (golint)
    • vic/lib/portlayer/network/scope.go
    • Line 32: warning: exported type Scope should have comment or be unexported (golint)
    • Line 67: warning: exported method Scope.Annotations should have comment or be unexported (golint)
    • Line 74: warning: exported method Scope.Name should have comment or be unexported (golint)
    • Line 81: warning: exported method Scope.ID should have comment or be unexported (golint)
    • Line 88: warning: exported method Scope.Type should have comment or be unexported (golint)
    • Line 95: warning: exported method Scope.Internal should have comment or be unexported (golint)
    • Line 102: warning: exported method Scope.Network should have comment or be unexported (golint)
    • Line 113: warning: exported method Scope.Pools should have comment or be unexported (golint)
    • Line 120: warning: exported method Scope.TrustLevel should have comment or be unexported (golint)
    • Line 187: warning: exported method Scope.AddContainer should have comment or be unexported (golint)
    • Line 215: warning: exported method Scope.RemoveContainer should have comment or be unexported (golint)
    • Line 246: warning: exported method Scope.UpdateContainer should have comment or be unexported (golint)
    • Line 265: warning: exported method Scope.Containers should have comment or be unexported (golint)
    • Line 279: warning: exported method Scope.Container should have comment or be unexported (golint)
    • Line 290: warning: exported method Scope.ContainerByAddr should have comment or be unexported (golint)
    • Line 307: warning: exported method Scope.Endpoints should have comment or be unexported (golint)
    • Line 316: warning: exported method Scope.Subnet should have comment or be unexported (golint)
    • Line 323: warning: exported method Scope.Gateway should have comment or be unexported (golint)
    • Line 330: warning: exported method Scope.DNS should have comment or be unexported (golint)
    • Line 350: warning: exported method Scope.MarshalJSON should have comment or be unexported (golint)
    • Line 368: warning: exported method Scope.UnmarshalJSON should have comment or be unexported (golint)
    • vic/lib/imagec/imagec.go
    • Line 153: warning: comment on exported const Add should be of the form "Add ..." (golint)
    • Line 277: warning: comment on exported function UpdateRepoCache should be of the form "UpdateRepoCache ..." (golint)
    • Line 514: warning: comment on exported method ImageC.ListLayers should be of the form "ListLayers ..." (golint)
    • vic/lib/install/validate/update.go
    • Line 26: warning: comment on exported method Validator.ValidateMigratedConfig should be of the form "ValidateMigratedConfig ..." (golint)
    • Line 72: warning: exported method Validator.AssertVersion should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/utils.go
    • Line 29: warning: comment on exported const NfsScheme should be of the form "NfsScheme ..." (golint)
    • Line 32: warning: comment on exported const DsScheme should be of the form "DsScheme ..." (golint)
    • Line 35: warning: comment on exported const EmptyScheme should be of the form "EmptyScheme ..." (golint)
    • Line 48: warning: exported function LogErrorIfAny should have comment or be unexported (golint)
    • vic/lib/migration/migrator.go
    • Line 29: warning: comment on exported function MigrateApplianceConfig should be of the form "MigrateApplianceConfig ..." (golint)
    • Line 38: warning: comment on exported function MigrateContainerConfig should be of the form "MigrateContainerConfig ..." (golint)
    • vic/pkg/kvstore/kvstore.go
    • Line 31: warning: exported var ErrKeyNotFound should have comment or be unexported (golint)
    • Line 37: warning: exported type KeyValueStore should have comment or be unexported (golint)
    • Line 72: warning: comment on exported function NewKeyValueStore should be of the form "NewKeyValueStore ..." (golint)
    • vic/cmd/vic-machine/common/target.go
    • Line 29: warning: exported type Target should have comment or be unexported (golint)
    • Line 38: warning: exported function NewTarget should have comment or be unexported (golint)
    • Line 42: warning: exported method Target.TargetFlags should have comment or be unexported (golint)
    • vic/lib/portlayer/storage/volume/vsphere/store.go
    • Line 44: warning: comment on exported var DetachAll should be of the form "DetachAll ..." (golint)
    • Line 56: warning: exported function NewVolumeStore should have comment or be unexported (golint)
    • Line 105: warning: exported method VolumeStore.VolumeCreate should have comment or be unexported (golint)
    • Line 156: warning: exported method VolumeStore.VolumeDestroy should have comment or be unexported (golint)
    • Line 167: warning: exported method VolumeStore.VolumeGet should have comment or be unexported (golint)
    • Line 172: warning: exported method VolumeStore.VolumesList should have comment or be unexported (golint)
    • Line 209: warning: exported method VolumeStore.URL should have comment or be unexported (golint)
    • vic/lib/tether/signer.go
    • Line 23: warning: exported type ContainerSigner should have comment or be unexported (golint)
    • Line 27: warning: exported method ContainerSigner.PublicKey should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method ContainerSigner.Sign should be of the form "Sign ..." (golint)
    • Line 40: warning: exported method ContainerSigner.Type should have comment or be unexported (golint)
    • Line 44: warning: exported method ContainerSigner.Marshal should have comment or be unexported (golint)
    • Line 48: warning: exported method ContainerSigner.Verify should have comment or be unexported (golint)
    • Line 52: warning: exported function NewSigner should have comment or be unexported (golint)
    • vic/pkg/vsphere/tags/tags.go
    • Line 31: warning: exported const TagURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type TagCreateSpec should have comment or be unexported (golint)
    • Line 38: warning: exported type TagCreate should have comment or be unexported (golint)
    • Line 44: warning: exported type TagUpdateSpec should have comment or be unexported (golint)
    • Line 48: warning: exported type TagUpdate should have comment or be unexported (golint)
    • Line 53: warning: exported type Tag should have comment or be unexported (golint)
    • Line 61: warning: exported var Logger should have comment or be unexported (golint)
    • Line 63: warning: exported method RestClient.CreateTagIfNotExist should have comment or be unexported (golint)
    • Line 88: warning: exported method RestClient.DeleteTagIfNoObjectAttached should have comment or be unexported (golint)
    • Line 100: warning: exported method RestClient.CreateTag should have comment or be unexported (golint)
    • Line 122: warning: exported method RestClient.GetTag should have comment or be unexported (golint)
    • Line 144: warning: exported method RestClient.UpdateTag should have comment or be unexported (golint)
    • Line 157: warning: exported method RestClient.DeleteTag should have comment or be unexported (golint)
    • Line 169: warning: exported method RestClient.ListTags should have comment or be unexported (golint)
    • Line 182: warning: exported method RestClient.ListTagsForCategory should have comment or be unexported (golint)
    • Line 212: warning: comment on exported method RestClient.GetTagByNameForCategory should be of the form "GetTagByNameForCategory ..." (golint)
    • Line 235: warning: comment on exported method RestClient.GetAttachedTagsByNamePattern should be of the form "GetAttachedTagsByNamePattern ..." (golint)
    • vic/lib/apiservers/engine/backends/swarm.go
    • Line 27: warning: exported type SwarmBackend should have comment or be unexported (golint)
    • Line 30: warning: exported function NewSwarmBackend should have comment or be unexported (golint)
    • Line 34: warning: exported method SwarmBackend.Init should have comment or be unexported (golint)
    • Line 38: warning: exported method SwarmBackend.Join should have comment or be unexported (golint)
    • Line 42: warning: exported method SwarmBackend.Leave should have comment or be unexported (golint)
    • Line 46: warning: exported method SwarmBackend.Inspect should have comment or be unexported (golint)
    • Line 50: warning: exported method SwarmBackend.Update should have comment or be unexported (golint)
    • Line 54: warning: exported method SwarmBackend.GetUnlockKey should have comment or be unexported (golint)
    • Line 58: warning: exported method SwarmBackend.UnlockSwarm should have comment or be unexported (golint)
    • Line 62: warning: exported method SwarmBackend.GetServices should have comment or be unexported (golint)
    • Line 66: warning: exported method SwarmBackend.GetService should have comment or be unexported (golint)
    • Line 70: warning: exported method SwarmBackend.CreateService should have comment or be unexported (golint)
    • Line 74: warning: exported method SwarmBackend.UpdateService should have comment or be unexported (golint)
    • Line 78: warning: exported method SwarmBackend.RemoveService should have comment or be unexported (golint)
    • Line 82: warning: exported method SwarmBackend.ServiceLogs should have comment or be unexported (golint)
    • Line 86: warning: exported method SwarmBackend.GetNodes should have comment or be unexported (golint)
    • Line 90: warning: exported method SwarmBackend.GetNode should have comment or be unexported (golint)
    • Line 94: warning: exported method SwarmBackend.UpdateNode should have comment or be unexported (golint)
    • Line 98: warning: exported method SwarmBackend.RemoveNode should have comment or be unexported (golint)
    • Line 102: warning: exported method SwarmBackend.GetTasks should have comment or be unexported (golint)
    • Line 106: warning: exported method SwarmBackend.GetTask should have comment or be unexported (golint)
    • Line 110: warning: exported method SwarmBackend.GetSecrets should have comment or be unexported (golint)
    • Line 114: warning: exported method SwarmBackend.CreateSecret should have comment or be unexported (golint)
    • Line 118: warning: exported method SwarmBackend.RemoveSecret should have comment or be unexported (golint)
    • Line 122: warning: exported method SwarmBackend.GetSecret should have comment or be unexported (golint)
    • Line 126: warning: exported method SwarmBackend.UpdateSecret should have comment or be unexported (golint)
    • vic/cmd/vic-machine/create/create.go
    • Line 43: warning: comment on exported const MaxVirtualMachineNameLen should be of the form "MaxVirtualMachineNameLen ..." (golint)
    • Line 45: warning: comment on exported const MaxDisplayNameLen should be of the form "MaxDisplayNameLen ..." (golint)
    • Line 75: warning: exported function NewCreate should have comment or be unexported (golint)
    • Line 301: warning: exported method Create.ProcessParams should have comment or be unexported (golint)
    • Line 418: warning: exported method Create.ProcessBridgeNetwork should have comment or be unexported (golint)
    • Line 641: warning: exported method Create.Run should have comment or be unexported (golint)
    • vic/lib/portlayer/exec2/container.go
    • Line 26: warning: exported type ID should have comment or be unexported (golint)
    • Line 28: warning: exported function GenerateID should have comment or be unexported (golint)
    • Line 32: warning: exported function ParseID should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type PendingCommit should be of the form "PendingCommit ..." (with optional leading article) (golint)
    • Line 69: warning: comment on exported type ConstantConfig should be of the form "ConstantConfig ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 81: warning: comment on exported type ProcessConfig should be of the form "ProcessConfig ..." (with optional leading article) (golint)
    • Line 89: warning: exported function NewProcessConfig should have comment or be unexported (golint)
    • Line 93: warning: exported type ProcessStatus should have comment or be unexported (golint)
    • Line 97: warning: exported const Started should have comment (or a comment on this block) or be unexported (golint)
    • Line 101: warning: comment on exported type ProcessRunState should be of the form "ProcessRunState ..." (with optional leading article) (golint)
    • Line 112: warning: exported type FileToCopy should have comment or be unexported (golint)
    • Line 118: warning: exported type ResourceLimits should have comment or be unexported (golint)
    • vic/pkg/kvstore/mocks.go
    • Line 27: warning: exported type MockBackend should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method MockBackend.Save should be of the form "Save ..." (golint)
    • Line 43: warning: exported method MockBackend.Load should have comment or be unexported (golint)
    • Line 144: warning: comment on exported method MockKeyValueStore.Put should be of the form "Put ..." (golint)
    • vic/pkg/index/index.go
    • Line 27: warning: exported var ErrNodeNotFound should have comment or be unexported (golint)
    • Line 30: warning: exported type Element should have comment or be unexported (golint)
    • Line 52: warning: exported type Index should have comment or be unexported (golint)
    • Line 58: warning: exported function NewIndex should have comment or be unexported (golint)
    • Line 126: warning: exported method Index.List should have comment or be unexported (golint)
    • Line 185: warning: exported const NOOP should have comment (or a comment on this block) or be unexported (golint)
    • vic/lib/apiservers/engine/backends/executor/SwarmBackend.go
    • Line 42: warning: exported type SwarmBackend should have comment or be unexported (golint)
    • Line 45: warning: exported method SwarmBackend.CreateManagedNetwork should have comment or be unexported (golint)
    • Line 49: warning: exported method SwarmBackend.DeleteManagedNetwork should have comment or be unexported (golint)
    • Line 53: warning: exported method SwarmBackend.FindNetwork should have comment or be unexported (golint)
    • Line 57: warning: exported method SwarmBackend.SetupIngress should have comment or be unexported (golint)
    • Line 61: warning: exported method SwarmBackend.PullImage should have comment or be unexported (golint)
    • Line 65: warning: exported method SwarmBackend.CreateManagedContainer should have comment or be unexported (golint)
    • Line 69: warning: exported method SwarmBackend.ContainerStart should have comment or be unexported (golint)
    • Line 73: warning: exported method SwarmBackend.ContainerStop should have comment or be unexported (golint)
    • Line 83: warning: exported method SwarmBackend.ConnectContainerToNetwork should have comment or be unexported (golint)
    • Line 87: warning: exported method SwarmBackend.ActivateContainerServiceBinding should have comment or be unexported (golint)
    • Line 91: warning: exported method SwarmBackend.DeactivateContainerServiceBinding should have comment or be unexported (golint)
    • Line 95: warning: exported method SwarmBackend.UpdateContainerServiceConfig should have comment or be unexported (golint)
    • Line 99: warning: exported method SwarmBackend.ContainerInspectCurrent should have comment or be unexported (golint)
    • Line 103: warning: exported method SwarmBackend.ContainerWaitWithContext should have comment or be unexported (golint)
    • Line 107: warning: exported method SwarmBackend.ContainerRm should have comment or be unexported (golint)
    • Line 111: warning: exported method SwarmBackend.ContainerKill should have comment or be unexported (golint)
    • Line 115: warning: exported method SwarmBackend.SetContainerSecretStore should have comment or be unexported (golint)
    • Line 119: warning: exported method SwarmBackend.SetContainerSecretReferences should have comment or be unexported (golint)
    • Line 123: warning: exported method SwarmBackend.SystemInfo should have comment or be unexported (golint)
    • Line 127: warning: exported method SwarmBackend.VolumeCreate should have comment or be unexported (golint)
    • Line 131: warning: exported method SwarmBackend.Containers should have comment or be unexported (golint)
    • Line 135: warning: exported method SwarmBackend.SetNetworkBootstrapKeys should have comment or be unexported (golint)
    • Line 139: warning: exported method SwarmBackend.SetClusterProvider should have comment or be unexported (golint)
    • Line 142: warning: exported method SwarmBackend.IsSwarmCompatible should have comment or be unexported (golint)
    • Line 146: warning: exported method SwarmBackend.SubscribeToEvents should have comment or be unexported (golint)
    • Line 150: warning: exported method SwarmBackend.UnsubscribeFromEvents should have comment or be unexported (golint)
    • Line 153: warning: exported method SwarmBackend.UpdateAttachment should have comment or be unexported (golint)
    • Line 157: warning: exported method SwarmBackend.WaitForDetachment should have comment or be unexported (golint)
    • Line 161: warning: exported method SwarmBackend.GetRepository should have comment or be unexported (golint)
    • Line 165: warning: exported method SwarmBackend.LookupImage should have comment or be unexported (golint)
    • Line 169: warning: exported method SwarmBackend.PluginManager should have comment or be unexported (golint)
    • vic/lib/etcconf/resolvconf.go
    • Line 30: warning: exported const ResolvConfPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type ResolvConf should have comment or be unexported (golint)
    • Line 74: warning: exported function NewResolvConf should have comment or be unexported (golint)
    • vic/lib/portlayer/store/store.go
    • Line 33: warning: exported type StoreManager should have comment or be unexported (golint)
    • Line 48: warning: comment on exported const APIKV should be of the form "APIKV ..." (golint)
    • Line 53: warning: exported var ErrDoesNotExist should have comment or be unexported (golint)
    • Line 84: warning: comment on exported function Finalize should be of the form "Finalize ..." (golint)
    • vic/pkg/vsphere/tags/rest_client.go
    • Line 34: warning: exported const RestPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type RestClient should have comment or be unexported (golint)
    • Line 49: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 184: warning: exported method RestClient.Login should have comment or be unexported (golint)
    • vic/cmd/vic-machine/common/proxy.go
    • Line 28: warning: exported type Proxies should have comment or be unexported (golint)
    • Line 35: warning: exported method Proxies.ProxyFlags should have comment or be unexported (golint)
    • Line 59: warning: exported method Proxies.ProcessProxies should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign94%

IneffAssign detects ineffectual assignments in Go code.

    • vic/pkg/vsphere/tasks/waiter_test.go
    • Line 440: warning: ineffectual assignment to err (ineffassign)
    • Line 451: warning: ineffectual assignment to err (ineffassign)
    • Line 459: warning: ineffectual assignment to err (ineffassign)
    • Line 467: warning: ineffectual assignment to err (ineffassign)
    • Line 475: warning: ineffectual assignment to err (ineffassign)
    • Line 483: warning: ineffectual assignment to err (ineffassign)
    • Line 491: warning: ineffectual assignment to err (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!