Preparing report...

Report for github.com/rancher/rio

A+    Excellent!    Found 259 issues across 492 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo95%

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.

    • rio/cli/cmd/install/install.go
    • Line 192: warning: cyclomatic complexity 24 of function (*Install).getConfigMap() is high (> 15) (gocyclo)
    • Line 44: warning: cyclomatic complexity 24 of function (*Install).Run() is high (> 15) (gocyclo)
    • rio/cli/pkg/clicontext/types.go
    • Line 214: warning: cyclomatic complexity 38 of function (*CLIContext).listNamespace() is high (> 15) (gocyclo)
    • Line 121: warning: cyclomatic complexity 17 of function (*CLIContext).Create() is high (> 15) (gocyclo)
    • Line 31: warning: cyclomatic complexity 16 of function (*CLIContext).getResource() is high (> 15) (gocyclo)
    • rio/cli/cmd/export/export.go
    • Line 95: warning: cyclomatic complexity 20 of function collectObjectsFromStack() is high (> 15) (gocyclo)
    • Line 26: warning: cyclomatic complexity 18 of function (*Export).Run() is high (> 15) (gocyclo)

golint48%

Golint is a linter for Go source code.

    • rio/cli/pkg/up/build.go
    • Line 42: warning: exported function Build should have comment or be unexported (golint)
    • Line 69: warning: exported function GetCurrentDir should have comment or be unexported (golint)
    • Line 117: warning: exported function LoadAnswer should have comment or be unexported (golint)
    • rio/cli/cmd/exec/exec.go
    • Line 12: warning: exported type Exec should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; struct field C_Container should be CContainer (golint)
    • Line 15: warning: don't use underscores in Go names; struct field I_Stdin should be IStdin (golint)
    • Line 16: warning: don't use underscores in Go names; struct field T_Tty should be TTty (golint)
    • Line 19: warning: exported method Exec.Run should have comment or be unexported (golint)
    • rio/cli/cmd/publicdomain/rm.go
    • Line 9: warning: exported type Unregister should have comment or be unexported (golint)
    • Line 12: warning: exported method Unregister.Run should have comment or be unexported (golint)
    • rio/cli/cmd/endpoint/endpoint.go
    • Line 17: warning: exported function Endpoints should have comment or be unexported (golint)
    • Line 32: warning: exported type Endpoint should have comment or be unexported (golint)
    • Line 35: warning: exported type Data should have comment or be unexported (golint)
    • Line 41: warning: exported method Endpoint.Run should have comment or be unexported (golint)
    • rio/cli/cmd/kill/kill.go
    • Line 11: warning: exported type Kill should have comment or be unexported (golint)
    • Line 14: warning: exported method Kill.Run should have comment or be unexported (golint)
    • rio/cli/pkg/clicontext/table.go
    • Line 7: warning: exported method CLIContext.AllNamespaceSet should have comment or be unexported (golint)
    • Line 11: warning: exported method CLIContext.Quiet should have comment or be unexported (golint)
    • Line 15: warning: exported method CLIContext.Format should have comment or be unexported (golint)
    • Line 19: warning: exported method CLIContext.Writer should have comment or be unexported (golint)
    • Line 23: warning: exported method CLIContext.WithWriter should have comment or be unexported (golint)
    • Line 27: warning: exported method CLIContext.GetSetNamespace should have comment or be unexported (golint)
    • Line 38: warning: exported method CLIContext.GetSystemNamespace should have comment or be unexported (golint)
    • rio/cli/pkg/clicontext/byid.go
    • Line 8: warning: exported method CLIContext.ParseIDForType should have comment or be unexported (golint)
    • Line 18: warning: exported method CLIContext.ParseID should have comment or be unexported (golint)
    • Line 47: warning: exported method CLIContext.ByID should have comment or be unexported (golint)
    • rio/cli/pkg/clicontext/types.go
    • Line 67: warning: exported method CLIContext.GetService should have comment or be unexported (golint)
    • Line 83: warning: exported method CLIContext.DeleteResource should have comment or be unexported (golint)
    • Line 117: warning: exported function RandomName should have comment or be unexported (golint)
    • Line 121: warning: exported method CLIContext.Create should have comment or be unexported (golint)
    • Line 171: warning: exported method CLIContext.UpdateObject should have comment or be unexported (golint)
    • Line 197: warning: exported method CLIContext.List should have comment or be unexported (golint)
    • rio/pkg/stack/stack.go
    • Line 20: warning: exported type Stack should have comment or be unexported (golint)
    • Line 26: warning: exported function NewStack should have comment or be unexported (golint)
    • Line 33: warning: exported method Stack.Questions should have comment or be unexported (golint)
    • Line 41: warning: exported method Stack.WithAnswer should have comment or be unexported (golint)
    • Line 45: warning: exported method Stack.Yaml should have comment or be unexported (golint)
    • Line 76: warning: exported method Stack.GetObjects should have comment or be unexported (golint)
    • Line 88: warning: exported type ContainerBuildKey should have comment or be unexported (golint)
    • Line 100: warning: exported method Stack.GetImageBuilds should have comment or be unexported (golint)
    • Line 142: warning: exported method Stack.SetServiceImages should have comment or be unexported (golint)
    • rio/cli/pkg/pretty/objectmappers/strings_match.go
    • Line 9: warning: exported type StringMatchStringer should have comment or be unexported (golint)
    • Line 13: warning: exported method StringMatchStringer.MaybeString should have comment or be unexported (golint)
    • Line 26: warning: exported function ParseStringMatch should have comment or be unexported (golint)
    • Line 42: warning: exported function IsRegexp should have comment or be unexported (golint)
    • rio/cli/cmd/run/run.go
    • Line 17: warning: exported type Run should have comment or be unexported (golint)
    • Line 21: warning: exported method Run.Run should have comment or be unexported (golint)
    • rio/cli/cmd/attach/attach.go
    • Line 12: warning: exported type Attach should have comment or be unexported (golint)
    • Line 17: warning: exported method Attach.Run should have comment or be unexported (golint)
    • Line 36: warning: exported function RunAttach should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/duration.go
    • Line 11: warning: exported type DurationMapper should have comment or be unexported (golint)
    • Line 15: warning: exported function NewDuration should have comment or be unexported (golint)
    • Line 23: warning: exported method DurationMapper.FromInternal should have comment or be unexported (golint)
    • Line 34: warning: exported method DurationMapper.ToInternal should have comment or be unexported (golint)
    • rio/modules/letsencrypt/pkg/user.go
    • Line 19: warning: exported type User should have comment or be unexported (golint)
    • Line 27: warning: exported method User.GetEmail should have comment or be unexported (golint)
    • Line 30: warning: exported method User.GetRegistration should have comment or be unexported (golint)
    • Line 33: warning: exported method User.GetPrivateKey should have comment or be unexported (golint)
    • Line 37: warning: exported function FromSecret should have comment or be unexported (golint)
    • Line 59: warning: exported function SetSecret should have comment or be unexported (golint)
    • rio/cli/cmd/config/config.go
    • Line 12: warning: exported function NewCatCommand should have comment or be unexported (golint)
    • Line 19: warning: exported function Config should have comment or be unexported (golint)
    • rio/cli/cmd/route/insert.go
    • Line 5: warning: exported type Insert should have comment or be unexported (golint)
    • Line 9: warning: exported method Insert.Run should have comment or be unexported (golint)
    • rio/cli/cmd/route/ls.go
    • Line 11: warning: exported type Ls should have comment or be unexported (golint)
    • Line 14: warning: exported method Ls.Customize should have comment or be unexported (golint)
    • Line 18: warning: exported method Ls.Run should have comment or be unexported (golint)
    • Line 22: warning: exported function ListRouters should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/hosts.go
    • Line 12: warning: exported type HostAliasStringer should have comment or be unexported (golint)
    • Line 16: warning: exported method HostAliasStringer.MaybeString should have comment or be unexported (golint)
    • Line 20: warning: exported function ParseHostAliases should have comment or be unexported (golint)
    • Line 31: warning: exported function ParseHostAlias should have comment or be unexported (golint)
    • rio/cli/cmd/linkerd/linkerd.go
    • Line 24: warning: exported type Linkerd should have comment or be unexported (golint)
    • Line 28: warning: exported method Linkerd.Customize should have comment or be unexported (golint)
    • Line 32: warning: exported method Linkerd.Run should have comment or be unexported (golint)
    • rio/cli/pkg/kvfile/parse.go
    • Line 7: warning: exported function ReadKVEnvStrings should have comment or be unexported (golint)
    • Line 26: warning: exported function ReadKVStrings should have comment or be unexported (golint)
    • rio/cli/cmd/config/rm.go
    • Line 9: warning: exported type Rm should have comment or be unexported (golint)
    • Line 12: warning: exported method Rm.Run should have comment or be unexported (golint)
    • rio/cli/cmd/rm/rm.go
    • Line 9: warning: exported type Rm should have comment or be unexported (golint)
    • Line 12: warning: exported method Rm.Run should have comment or be unexported (golint)
    • rio/cli/cmd/externalservice/ls.go
    • Line 11: warning: exported type Ls should have comment or be unexported (golint)
    • Line 14: warning: exported method Ls.Customize should have comment or be unexported (golint)
    • Line 18: warning: exported method Ls.Run should have comment or be unexported (golint)
    • Line 22: warning: exported function ListExternalServices should have comment or be unexported (golint)
    • rio/cli/cmd/secrets/ls.go
    • Line 9: warning: exported type Ls should have comment or be unexported (golint)
    • Line 12: warning: exported method Ls.Run should have comment or be unexported (golint)
    • rio/pkg/indexes/indexes.go
    • Line 13: warning: exported const PublicDomainByTarget should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function RegisterIndexes should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/labels.go
    • Line 12: warning: exported type LabelCleaner should have comment or be unexported (golint)
    • Line 16: warning: exported method LabelCleaner.FromInternal should have comment or be unexported (golint)
    • Line 42: warning: exported method LabelCleaner.ToInternal should have comment or be unexported (golint)
    • Line 46: warning: exported method LabelCleaner.ModifySchema should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/quantity.go
    • Line 10: warning: exported type QuantityMapper should have comment or be unexported (golint)
    • Line 14: warning: exported function NewQuantity should have comment or be unexported (golint)
    • Line 22: warning: exported method QuantityMapper.ToInternal should have comment or be unexported (golint)
    • rio/modules/service/controllers/service/populate/rbac/role.go
    • Line 13: warning: exported function Populate should have comment or be unexported (golint)
    • Line 26: warning: exported function PopulateCluster should have comment or be unexported (golint)
    • Line 55: warning: exported function ServiceAccountName should have comment or be unexported (golint)
    • Line 159: warning: exported function PermToPolicyRule should have comment or be unexported (golint)
    • Line 203: warning: exported function NewRole should have comment or be unexported (golint)
    • Line 218: warning: exported function NewClusterRole should have comment or be unexported (golint)
    • Line 232: warning: exported function NewClusterBinding should have comment or be unexported (golint)
    • Line 246: warning: exported function NewBinding should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/dns.go
    • Line 10: warning: exported type PodDNSConfigOptionStringer should have comment or be unexported (golint)
    • Line 14: warning: exported method PodDNSConfigOptionStringer.MaybeString should have comment or be unexported (golint)
    • Line 21: warning: exported function ParseDNSOptions should have comment or be unexported (golint)
    • Line 32: warning: exported function ParseDNSOption should have comment or be unexported (golint)
    • rio/pkg/apis/admin.rio.cattle.io/v1/domain.go
    • Line 10: warning: exported var ClusterDomainConditionReady should have comment or be unexported (golint)
    • Line 17: warning: exported type ClusterDomain should have comment or be unexported (golint)
    • Line 25: warning: exported type ClusterDomainSpec should have comment or be unexported (golint)
    • Line 39: warning: exported type Address should have comment or be unexported (golint)
    • Line 44: warning: exported type ClusterDomainStatus should have comment or be unexported (golint)
    • rio/cli/pkg/tables/types.go
    • Line 12: warning: exported type TableWriter should have comment or be unexported (golint)
    • Line 18: warning: exported type Object should have comment or be unexported (golint)
    • Line 22: warning: exported type ObjectHolder should have comment or be unexported (golint)
    • Line 26: warning: exported method ObjectHolder.Object should have comment or be unexported (golint)
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • rio/cli/cmd/logs/logs.go
    • Line 24: warning: exported type Logs should have comment or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; struct field A_All should be AAll (golint)
    • Line 26: warning: don't use underscores in Go names; struct field C_Container should be CContainer (golint)
    • Line 28: warning: don't use underscores in Go names; struct field NC_NoColor should be NCNoColor (golint)
    • Line 29: warning: don't use underscores in Go names; struct field O_Output should be OOutput (golint)
    • Line 30: warning: don't use underscores in Go names; struct field P_Previous should be PPrevious (golint)
    • Line 31: warning: don't use underscores in Go names; struct field S_Since should be SSince (golint)
    • Line 32: warning: don't use underscores in Go names; struct field N_Tail should be NTail (golint)
    • Line 33: warning: don't use underscores in Go names; struct field T_Timestamps should be TTimestamps (golint)
    • Line 38: warning: exported method Logs.Customize should have comment or be unexported (golint)
    • Line 42: warning: exported method Logs.Run should have comment or be unexported (golint)
    • Line 133: warning: exported method Logs.Output should have comment or be unexported (golint)
    • rio/cli/cmd/publicdomain/ls.go
    • Line 11: warning: exported type Ls should have comment or be unexported (golint)
    • Line 14: warning: exported method Ls.Customize should have comment or be unexported (golint)
    • Line 18: warning: exported method Ls.Run should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/exposed_ports.go
    • Line 20: warning: exported type ContainerPortStringer should have comment or be unexported (golint)
    • Line 44: warning: exported method ContainerPortStringer.MaybeString should have comment or be unexported (golint)
    • Line 101: warning: exported function ParsePorts should have comment or be unexported (golint)
    • Line 112: warning: exported function ParsePort should have comment or be unexported (golint)
    • Line 156: warning: exported function NormalizeContainerPort should have comment or be unexported (golint)
    • rio/types/context.go
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 34: warning: exported type Context should have comment or be unexported (golint)
    • Line 59: warning: exported function From should have comment or be unexported (golint)
    • Line 63: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 93: warning: exported method Context.Start should have comment or be unexported (golint)
    • Line 117: warning: exported function BuildContext should have comment or be unexported (golint)
    • Line 122: warning: exported function Register should have comment or be unexported (golint)
    • rio/tests/testutil/externalservice.go
    • Line 16: warning: exported type TestExternalService should have comment or be unexported (golint)
    • Line 23: warning: comment on exported method TestExternalService.Create should be of the form "Create ..." (golint)
    • Line 40: warning: comment on exported function GetExternalService should be of the form "GetExternalService ..." (golint)
    • Line 55: warning: comment on exported method TestExternalService.Remove should be of the form "Remove ..." (golint)
    • Line 65: warning: comment on exported method TestExternalService.GetFirstIPAddress should be of the form "GetFirstIPAddress ..." (golint)
    • Line 73: warning: exported method TestExternalService.GetFQDN should have comment or be unexported (golint)
    • Line 77: warning: comment on exported method TestExternalService.GetKubeFirstIPAddress should be of the form "GetKubeFirstIPAddress ..." (golint)
    • rio/tests/testutil/riofile.go
    • Line 15: warning: exported type TestRiofile should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method TestRiofile.Up should be of the form "Up ..." (golint)
    • Line 37: warning: exported method TestRiofile.UpWithRepo should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method TestRiofile.ExportStack should be of the form "ExportStack ..." (golint)
    • Line 93: warning: comment on exported method TestRiofile.Readfile should be of the form "Readfile ..." (golint)
    • rio/tests/testutil/service.go
    • Line 22: warning: exported type TestService should have comment or be unexported (golint)
    • Line 52: warning: exported method TestService.CreateExpectingError should have comment or be unexported (golint)
    • Line 92: warning: comment on exported function GetService should be of the form "GetService ..." (golint)
    • Line 157: warning: comment on exported method TestService.BuildImage should be of the form "BuildImage ..." (golint)
    • Line 177: warning: comment on exported method TestService.Scale should be of the form "Scale ..." (golint)
    • Line 226: warning: comment on exported method TestService.Stage should be of the form "Stage ..." (golint)
    • Line 235: warning: comment on exported method TestService.StageExec should be of the form "StageExec ..." (golint)
    • Line 245: warning: comment on exported method TestService.StageRun should be of the form "StageRun ..." (golint)
    • Line 344: warning: exported method TestService.GetAppEndpointResponse should have comment or be unexported (golint)
    • Line 356: warning: comment on exported method TestService.GetAvailableReplicas should be of the form "GetAvailableReplicas ..." (golint)
    • Line 364: warning: comment on exported method TestService.GetScale should be of the form "GetScale ..." (golint)
    • Line 372: warning: comment on exported method TestService.GetSpecWeight should be of the form "GetSpecWeight ..." (golint)
    • Line 381: warning: comment on exported method TestService.GetCurrentWeight should be of the form "GetCurrentWeight ..." (golint)
    • Line 400: warning: comment on exported method TestService.GetComputedWeight should be of the form "GetComputedWeight ..." (golint)
    • Line 409: warning: exported method TestService.GetImage should have comment or be unexported (golint)
    • Line 413: warning: comment on exported method TestService.GetRolloutDuration should be of the form "GetRolloutDuration ..." (golint)
    • rio/pkg/riofile/mappers/configmap.go
    • Line 10: warning: exported type ConfigMapMapper should have comment or be unexported (golint)
    • Line 14: warning: exported function NewConfigMapMapper should have comment or be unexported (golint)
    • Line 22: warning: exported method ConfigMapMapper.FromInternal should have comment or be unexported (golint)
    • Line 34: warning: exported method ConfigMapMapper.ToInternal should have comment or be unexported (golint)
    • rio/pkg/stack/systemstack.go
    • Line 16: warning: exported type SystemStack should have comment or be unexported (golint)
    • Line 24: warning: exported function NewSystemStack should have comment or be unexported (golint)
    • Line 53: warning: exported method SystemStack.Deploy should have comment or be unexported (golint)
    • Line 70: warning: exported method SystemStack.Remove should have comment or be unexported (golint)
    • Line 77: warning: exported method SystemStack.WithApply should have comment or be unexported (golint)
    • rio/cli/cmd/builds/build.go
    • Line 19: warning: exported function Builds should have comment or be unexported (golint)
    • Line 27: warning: exported type Build should have comment or be unexported (golint)
    • Line 28: warning: don't use underscores in Go names; struct field F_File should be FFile (golint)
    • Line 29: warning: don't use underscores in Go names; struct field T_Tag should be TTag (golint)
    • Line 34: warning: exported method Build.Run should have comment or be unexported (golint)
    • rio/pkg/apis/rio.cattle.io/v1/router.go
    • Line 24: warning: exported type RouterSpec should have comment or be unexported (golint)
    • Line 33: warning: exported type RouterStatus should have comment or be unexported (golint)
    • Line 41: warning: exported type RouteSpec should have comment or be unexported (golint)
    • Line 89: warning: exported type NameValue should have comment or be unexported (golint)
    • Line 94: warning: exported type WeightedDestination should have comment or be unexported (golint)
    • Line 101: warning: exported type Destination should have comment or be unexported (golint)
    • Line 138: warning: exported type Fault should have comment or be unexported (golint)
    • Line 149: warning: exported type Match should have comment or be unexported (golint)
    • Line 185: warning: exported type HeaderMatch should have comment or be unexported (golint)
    • Line 198: warning: exported method Match.MaybeString should have comment or be unexported (golint)
    • Line 250: warning: exported type Redirect should have comment or be unexported (golint)
    • Line 256: warning: exported type Rewrite should have comment or be unexported (golint)
    • Line 261: warning: exported type Retry should have comment or be unexported (golint)
    • Line 266: warning: exported type StringMatch should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/shlex.go
    • Line 11: warning: exported type Shlex should have comment or be unexported (golint)
    • Line 15: warning: exported function NewShlex should have comment or be unexported (golint)
    • Line 23: warning: exported method Shlex.FromInternal should have comment or be unexported (golint)
    • Line 35: warning: exported method Shlex.ToInternal should have comment or be unexported (golint)
    • rio/cli/cmd/secrets/create.go
    • Line 18: warning: exported type Create should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; struct field N_Name should be NName (golint)
    • Line 20: warning: don't use underscores in Go names; struct field T_Type should be TType (golint)
    • Line 21: warning: don't use underscores in Go names; struct field F_FromFile should be FFromFile (golint)
    • Line 22: warning: don't use underscores in Go names; struct field D_Data should be DData (golint)
    • Line 33: warning: exported method Create.Run should have comment or be unexported (golint)
    • rio/cli/pkg/progress/display.go
    • Line 14: warning: exported type ConsoleWriter should have comment or be unexported (golint)
    • Line 19: warning: exported function NewWriter should have comment or be unexported (golint)
    • Line 27: warning: exported method ConsoleWriter.Display should have comment or be unexported (golint)
    • rio/pkg/apis/rio.cattle.io/v1/service_types.go
    • Line 12: warning: exported var ServiceConditionImageReady should have comment or be unexported (golint)
    • Line 28: warning: exported type AutoscaleConfig should have comment or be unexported (golint)
    • Line 127: warning: exported type PodDNSConfigOption should have comment or be unexported (golint)
    • Line 152: warning: exported type NamedContainer should have comment or be unexported (golint)
    • Line 168: warning: exported type Container should have comment or be unexported (golint)
    • Line 235: warning: exported type DataMount should have comment or be unexported (golint)
    • Line 246: warning: exported type VolumeTemplate should have comment or be unexported (golint)
    • Line 273: warning: exported type Volume should have comment or be unexported (golint)
    • Line 297: warning: exported type EnvVar should have comment or be unexported (golint)
    • Line 305: warning: exported type DNS should have comment or be unexported (golint)
    • Line 322: warning: exported type PodConfig should have comment or be unexported (golint)
    • Line 349: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 352: warning: exported const ProtocolTCP should have comment (or a comment on this block) or be unexported (golint)
    • Line 360: warning: exported type ContainerPort should have comment or be unexported (golint)
    • Line 371: warning: exported method ContainerPort.IsHTTP should have comment or be unexported (golint)
    • Line 375: warning: exported method ContainerPort.IsExposed should have comment or be unexported (golint)
    • Line 382: warning: exported type ServiceStatus should have comment or be unexported (golint)
    • Line 432: warning: exported type ScaleStatus should have comment or be unexported (golint)
    • Line 441: warning: exported type BuildRevision should have comment or be unexported (golint)
    • rio/cli/pkg/localbuilder/runc/containerd.go
    • Line 23: warning: exported type Builder should have comment or be unexported (golint)
    • Line 28: warning: exported function NewRuncBuilder should have comment or be unexported (golint)
    • Line 34: warning: exported method Builder.Build should have comment or be unexported (golint)
    • rio/cli/cmd/buildhistory/buildhistory.go
    • Line 14: warning: exported function History should have comment or be unexported (golint)
    • Line 27: warning: exported type BuildHistory should have comment or be unexported (golint)
    • Line 30: warning: exported method BuildHistory.Customize should have comment or be unexported (golint)
    • Line 34: warning: exported method BuildHistory.Run should have comment or be unexported (golint)
    • rio/cli/cmd/create/create.go
    • Line 25: warning: exported type Create should have comment or be unexported (golint)
    • Line 49: warning: don't use underscores in Go names; struct field E_Env should be EEnv (golint)
    • Line 65: warning: don't use underscores in Go names; struct field I_Interactive should be IInteractive (golint)
    • Line 67: warning: don't use underscores in Go names; struct field L_Label should be LLabel (golint)
    • Line 68: warning: don't use underscores in Go names; struct field M_Memory should be MMemory (golint)
    • Line 69: warning: don't use underscores in Go names; struct field N_Name should be NName (golint)
    • Line 73: warning: don't use underscores in Go names; struct field P_Ports should be PPorts (golint)
    • Line 82: warning: don't use underscores in Go names; struct field T_Tty should be TTty (golint)
    • Line 83: warning: don't use underscores in Go names; struct field U_User should be UUser (golint)
    • Line 84: warning: don't use underscores in Go names; struct field V_Volume should be VVolume (golint)
    • Line 86: warning: don't use underscores in Go names; struct field W_Workdir should be WWorkdir (golint)
    • Line 89: warning: exported method Create.Run should have comment or be unexported (golint)
    • Line 96: warning: exported method Create.RunCallback should have comment or be unexported (golint)
    • Line 169: warning: exported method Create.ToService should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/envmap.go
    • Line 12: warning: exported type EnvMapper should have comment or be unexported (golint)
    • Line 17: warning: exported function NewEnvMap should have comment or be unexported (golint)
    • Line 33: warning: exported method EnvMapper.ToInternal should have comment or be unexported (golint)
    • rio/cli/cmd/config/update.go
    • Line 15: warning: exported type Update should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; struct field L_Label should be LLabel (golint)
    • Line 17: warning: don't use underscores in Go names; struct field K_Key should be KKey (golint)
    • Line 20: warning: exported method Update.Run should have comment or be unexported (golint)
    • Line 45: warning: exported function RunUpdate should have comment or be unexported (golint)
    • rio/cli/cmd/util/pods.go
    • Line 15: warning: exported function ListPods should have comment or be unexported (golint)
    • Line 45: warning: exported function ToPodNameOrSelector should have comment or be unexported (golint)
    • rio/pkg/services/weight.go
    • Line 12: warning: exported const DefaultInterval should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported function GenerateWeightAndRolloutConfig should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function CalcWeightPercentage should be of the form "CalcWeightPercentage ..." (golint)
    • rio/modules/letsencrypt/pkg/rdns.go
    • Line 20: warning: exported const AuthorizationHeader should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type DNSProvider should have comment or be unexported (golint)
    • Line 31: warning: exported function NewDNSProvider should have comment or be unexported (golint)
    • Line 37: warning: exported function NewDNSProviderCredential should have comment or be unexported (golint)
    • Line 56: warning: exported method DNSProvider.Present should have comment or be unexported (golint)
    • Line 61: warning: exported method DNSProvider.CleanUp should have comment or be unexported (golint)
    • Line 65: warning: exported method DNSProvider.Timeout should have comment or be unexported (golint)
    • Line 69: warning: exported type DNSClient should have comment or be unexported (golint)
    • Line 75: warning: exported method DNSClient.SetTXTRecord should have comment or be unexported (golint)
    • Line 121: warning: exported method DNSClient.Do should have comment or be unexported (golint)
    • Line 135: warning: exported method DNSClient.DeleteDNSRecord should have comment or be unexported (golint)
    • rio/cli/cmd/install/install.go
    • Line 29: warning: exported type Install should have comment or be unexported (golint)
    • Line 41: warning: exported var MinSupportedMinorK8sVersion should have comment or be unexported (golint)
    • Line 44: warning: exported method Install.Run should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/data_mount.go
    • Line 11: warning: exported type DataMountStringer should have comment or be unexported (golint)
    • Line 16: warning: exported method DataMountStringer.MaybeString should have comment or be unexported (golint)
    • Line 33: warning: exported function ParseDataMount should have comment or be unexported (golint)
    • rio/cli/pkg/clicontext/clicontext.go
    • Line 11: warning: exported type CLIContext should have comment or be unexported (golint)
    • Line 17: warning: exported function Lookup should have comment or be unexported (golint)
    • Line 21: warning: exported method CLIContext.Store should have comment or be unexported (golint)
    • Line 25: warning: exported function Wrap should have comment or be unexported (golint)
    • Line 33: warning: exported function DefaultAction should have comment or be unexported (golint)
    • rio/cli/pkg/clicontext/config.go
    • Line 26: warning: exported var ErrNoConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type Config should have comment or be unexported (golint)
    • Line 57: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 145: warning: exported method Config.Domain should have comment or be unexported (golint)
    • rio/tests/testutil/publicdomain.go
    • Line 17: warning: exported type TestDomain should have comment or be unexported (golint)
    • Line 23: warning: comment on exported function GenerateRandomDomain should be of the form "GenerateRandomDomain ..." (golint)
    • Line 28: warning: comment on exported method TestDomain.RegisterDomain should be of the form "RegisterDomain ..." (golint)
    • Line 42: warning: comment on exported method TestDomain.UnRegister should be of the form "UnRegister ..." (golint)
    • Line 52: warning: comment on exported method TestDomain.GetTargetApp should be of the form "GetTargetApp ..." (golint)
    • rio/cli/cmd/edit/pretty/pretty.go
    • Line 9: warning: exported type Editor should have comment or be unexported (golint)
    • Line 13: warning: exported function NewEditor should have comment or be unexported (golint)
    • Line 19: warning: exported method Editor.Edit should have comment or be unexported (golint)
    • rio/pkg/serviceports/ports.go
    • Line 16: warning: exported function Protocol should have comment or be unexported (golint)
    • Line 29: warning: exported function ContainerPorts should have comment or be unexported (golint)
    • Line 56: warning: exported function ServiceNamedPorts should have comment or be unexported (golint)
    • rio/cli/cmd/edit/edit.go
    • Line 21: warning: exported type Edit should have comment or be unexported (golint)
    • Line 25: warning: exported method Edit.Run should have comment or be unexported (golint)
    • Line 33: warning: exported type Editor should have comment or be unexported (golint)
    • rio/pkg/server/startup.go
    • Line 23: warning: exported function Startup should have comment or be unexported (golint)
    • Line 125: warning: exported function Types should have comment or be unexported (golint)
    • rio/cli/cmd/config/create.go
    • Line 14: warning: exported type Create should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; struct field L_Label should be LLabel (golint)
    • Line 16: warning: don't use underscores in Go names; struct field K_Key should be KKey (golint)
    • Line 19: warning: exported method Create.Run should have comment or be unexported (golint)
    • rio/pkg/config/config.go
    • Line 16: warning: exported var ConfigName should have comment or be unexported (golint)
    • Line 21: warning: exported type ControllerConfig should have comment or be unexported (golint)
    • Line 31: warning: exported type Config should have comment or be unexported (golint)
    • Line 38: warning: exported type Gateway should have comment or be unexported (golint)
    • Line 47: warning: exported type LetsEncrypt should have comment or be unexported (golint)
    • Line 53: warning: exported type Address should have comment or be unexported (golint)
    • Line 58: warning: exported type FeatureConfig should have comment or be unexported (golint)
    • Line 64: warning: exported function FromConfigMap should have comment or be unexported (golint)
    • Line 74: warning: exported function SetConfig should have comment or be unexported (golint)
    • Line 88: warning: exported function GetConfig should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/objects_to_slice.go
    • Line 11: warning: exported type MaybeStringer should have comment or be unexported (golint)
    • Line 15: warning: exported type StringerFactory should have comment or be unexported (golint)
    • Line 16: warning: exported type ToObject should have comment or be unexported (golint)
    • Line 18: warning: exported type ObjectsToSlice should have comment or be unexported (golint)
    • Line 24: warning: exported function NewObjectsToSliceFactory should have comment or be unexported (golint)
    • Line 34: warning: exported method ObjectsToSlice.FromInternal should have comment or be unexported (golint)
    • Line 69: warning: exported method ObjectsToSlice.ToInternal should have comment or be unexported (golint)
    • Line 123: warning: exported method ObjectsToSlice.ModifySchema should have comment or be unexported (golint)
    • rio/cli/cmd/pods/pods.go
    • Line 12: warning: exported type Pod should have comment or be unexported (golint)
    • Line 14: warning: exported method Pod.Customize should have comment or be unexported (golint)
    • Line 18: warning: exported function Pods should have comment or be unexported (golint)
    • Line 36: warning: exported method Pod.Run should have comment or be unexported (golint)
    • rio/modules/service/controllers/globalrbac/handler.go
    • Line 25: warning: exported function Register should have comment or be unexported (golint)
    • Line 59: warning: exported type ClusterScopedRoleWrapper should have comment or be unexported (golint)
    • Line 63: warning: exported type ClusterScopedRoleBindingWrappper should have comment or be unexported (golint)
    • Line 67: warning: exported method ClusterScopedRoleWrapper.Enqueue should have comment or be unexported (golint)
    • Line 71: warning: exported method ClusterScopedRoleBindingWrappper.Enqueue should have comment or be unexported (golint)
    • rio/modules/test/utils.go
    • Line 14: warning: exported function AssertObjects should have comment or be unexported (golint)
    • Line 19: warning: exported function GetObject should have comment or be unexported (golint)
    • rio/cli/cmd/edit/raw/raw.go
    • Line 12: warning: exported type Editor should have comment or be unexported (golint)
    • Line 16: warning: exported function NewRawEditor should have comment or be unexported (golint)
    • Line 22: warning: exported method Editor.Edit should have comment or be unexported (golint)
    • rio/cli/cmd/images/image.go
    • Line 36: warning: exported type Image should have comment or be unexported (golint)
    • Line 43: warning: exported type Images should have comment or be unexported (golint)
    • Line 46: warning: exported method Images.Customize should have comment or be unexported (golint)
    • Line 50: warning: exported method Images.Run should have comment or be unexported (golint)
    • rio/tests/testutil/config.go
    • Line 17: warning: exported type TestConfig should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method TestConfig.Create should be of the form "Create ..." (golint)
    • Line 45: warning: comment on exported method TestConfig.Remove should be of the form "Remove ..." (golint)
    • rio/tests/testutil/testutil.go
    • Line 38: warning: exported const TestingNamespace should have comment or be unexported (golint)
    • Line 157: warning: comment on exported function WaitForURLResponse should be of the form "WaitForURLResponse ..." (golint)
    • Line 229: warning: comment on exported function RandomString should be of the form "RandomString ..." (golint)
    • Line 238: warning: exported function GenerateName should have comment or be unexported (golint)
    • Line 242: warning: exported function GetHostname should have comment or be unexported (golint)
    • rio/cli/cmd/inspect/inspect.go
    • Line 11: warning: exported type Inspect should have comment or be unexported (golint)
    • Line 14: warning: exported method Inspect.Customize should have comment or be unexported (golint)
    • Line 24: warning: exported method Inspect.Run should have comment or be unexported (golint)
    • rio/cli/pkg/types/types.go
    • Line 18: warning: exported const DefaultVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported var Aliases should have comment or be unexported (golint)
    • Line 56: warning: exported type Resource should have comment or be unexported (golint)
    • Line 66: warning: exported method Resource.StringDefaultNamespace should have comment or be unexported (golint)
    • Line 94: warning: exported function FromObject should have comment or be unexported (golint)
    • rio/pkg/features/features.go
    • Line 11: warning: exported type Feature should have comment or be unexported (golint)
    • Line 18: warning: exported function Register should have comment or be unexported (golint)
    • Line 22: warning: exported function GetFeature should have comment or be unexported (golint)
    • Line 26: warning: exported function GetFeatures should have comment or be unexported (golint)
    • rio/cli/pkg/table/writer.go
    • Line 41: warning: exported type Writer should have comment or be unexported (golint)
    • Line 59: warning: exported type FormatFunc should have comment or be unexported (golint)
    • Line 61: warning: exported type WriterConfig should have comment or be unexported (golint)
    • Line 68: warning: exported function NewWriter should have comment or be unexported (golint)
    • Line 211: warning: exported function ToArray should have comment or be unexported (golint)
    • Line 215: warning: exported function ToArrayFirst should have comment or be unexported (golint)
    • Line 222: warning: exported function Graph should have comment or be unexported (golint)
    • Line 235: warning: exported function Pointer should have comment or be unexported (golint)
    • Line 242: warning: exported function FormatID should have comment or be unexported (golint)
    • Line 247: warning: exported function FormatCreated should have comment or be unexported (golint)
    • Line 256: warning: exported function FormatJSON should have comment or be unexported (golint)
    • Line 261: warning: exported function FormatJSONCompact should have comment or be unexported (golint)
    • Line 266: warning: exported function FormatYAML should have comment or be unexported (golint)
    • Line 271: warning: exported function FormatSpew should have comment or be unexported (golint)
    • Line 275: warning: exported function FormatFirst should have comment or be unexported (golint)
    • Line 289: warning: exported function ToJSON should have comment or be unexported (golint)
    • Line 293: warning: exported function BoolToStar should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/configs.go
    • Line 8: warning: exported const ConfigsDefaultPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type ConfigsStringer should have comment or be unexported (golint)
    • Line 15: warning: exported method ConfigsStringer.MaybeString should have comment or be unexported (golint)
    • Line 20: warning: exported function ParseConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function ParseConfigs should have comment or be unexported (golint)
    • rio/cli/cmd/util/convert.go
    • Line 3: warning: exported function ToInt32 should have comment or be unexported (golint)
    • Line 8: warning: exported function ToInt should have comment or be unexported (golint)
    • rio/pkg/riofile/mappers/hostnetwork.go
    • Line 8: warning: exported type HostNetwork should have comment or be unexported (golint)
    • Line 12: warning: exported function NewHostNetwork should have comment or be unexported (golint)
    • Line 16: warning: exported method HostNetwork.FromInternal should have comment or be unexported (golint)
    • Line 23: warning: exported method HostNetwork.ToInternal should have comment or be unexported (golint)
    • Line 31: warning: exported method HostNetwork.ModifySchema should have comment or be unexported (golint)
    • rio/pkg/template/parse.go
    • Line 20: warning: exported method Template.Questions should have comment or be unexported (golint)
    • Line 29: warning: exported method Template.RequiredEnv should have comment or be unexported (golint)
    • Line 68: warning: exported method Template.Parse should have comment or be unexported (golint)
    • rio/cli/pkg/localbuilder/builder.go
    • Line 34: warning: exported type LocalBuilder should have comment or be unexported (golint)
    • Line 38: warning: exported type RuntimeBuilder should have comment or be unexported (golint)
    • Line 42: warning: exported function NewLocalBuilder should have comment or be unexported (golint)
    • Line 136: warning: exported function ChanWrapper should have comment or be unexported (golint)
    • rio/cli/cmd/ps/ps.go
    • Line 14: warning: exported type Ps should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; struct field A_All should be AAll (golint)
    • Line 16: warning: don't use underscores in Go names; struct field W_Workloads should be WWorkloads (golint)
    • Line 19: warning: exported method Ps.Customize should have comment or be unexported (golint)
    • Line 23: warning: exported method Ps.Run should have comment or be unexported (golint)
    • rio/modules/gloo/pkg/vsfactory/acme.go
    • Line 16: warning: exported method VirtualServiceFactory.InjectACME should have comment or be unexported (golint)
    • Line 52: warning: exported method VirtualServiceFactory.InjectACMEIstio should have comment or be unexported (golint)
    • rio/pkg/apis/rio.cattle.io/v1/stack.go
    • Line 12: warning: exported type Stack should have comment or be unexported (golint)
    • Line 20: warning: exported type StackSpec should have comment or be unexported (golint)
    • Line 35: warning: exported type StackBuild should have comment or be unexported (golint)
    • Line 70: warning: exported type StackStatus should have comment or be unexported (golint)
    • rio/cli/cmd/scale/scale.go
    • Line 18: warning: exported type Scale should have comment or be unexported (golint)
    • Line 40: warning: exported method Scale.Run should have comment or be unexported (golint)
    • rio/cli/cmd/route/append.go
    • Line 25: warning: exported type Create should have comment or be unexported (golint)
    • Line 30: warning: exported type Add should have comment or be unexported (golint)
    • Line 47: warning: exported type Action should have comment or be unexported (golint)
    • Line 53: warning: exported method Create.Run should have comment or be unexported (golint)
    • Line 306: warning: exported function ParseDestinations should have comment or be unexported (golint)
    • rio/cli/cmd/system/viewconfig.go
    • Line 20: warning: exported function System should have comment or be unexported (golint)
    • Line 41: warning: exported type Logs should have comment or be unexported (golint)
    • Line 44: warning: exported method Logs.Run should have comment or be unexported (golint)
    • Line 75: warning: exported type Feature should have comment or be unexported (golint)
    • Line 85: warning: exported method Feature.Run should have comment or be unexported (golint)
    • rio/pkg/constants/constants.go
    • Line 4: warning: exported const AuthWebhookSecretName should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported var ControllerImage should have comment or be unexported (golint)
    • rio/pkg/webhook/webhook.go
    • Line 48: warning: exported type Webhook should have comment or be unexported (golint)
    • Line 55: warning: exported function New should have comment or be unexported (golint)
    • Line 73: warning: exported method Webhook.Setup should have comment or be unexported (golint)
    • rio/pkg/riofile/riofile.go
    • Line 21: warning: exported type Riofile should have comment or be unexported (golint)
    • Line 29: warning: exported method Riofile.Objects should have comment or be unexported (golint)
    • Line 52: warning: exported function RenderObject should have comment or be unexported (golint)
    • Line 68: warning: exported function Render should have comment or be unexported (golint)
    • Line 184: warning: exported function Update should have comment or be unexported (golint)
    • Line 288: warning: exported function ObjToYaml should have comment or be unexported (golint)
    • rio/cli/pkg/tables/router.go
    • Line 13: warning: exported type RouteSpecData should have comment or be unexported (golint)
    • Line 73: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 94: warning: exported function FormatAction should have comment or be unexported (golint)
    • Line 121: warning: exported function FormatOpts should have comment or be unexported (golint)
    • Line 136: warning: exported function FormatRouteTarget should have comment or be unexported (golint)
    • Line 238: warning: exported function FormatURL should have comment or be unexported (golint)
    • rio/pkg/features/controller.go
    • Line 14: warning: exported type ControllerRegister should have comment or be unexported (golint)
    • Line 16: warning: exported type FeatureSpec should have comment or be unexported (golint)
    • Line 24: warning: exported type FeatureController should have comment or be unexported (golint)
    • Line 36: warning: exported method FeatureController.Register should have comment or be unexported (golint)
    • Line 54: warning: exported method FeatureController.Name should have comment or be unexported (golint)
    • Line 58: warning: exported method FeatureController.IsSystem should have comment or be unexported (golint)
    • Line 62: warning: exported method FeatureController.Spec should have comment or be unexported (golint)
    • Line 66: warning: exported method FeatureController.Stop should have comment or be unexported (golint)
    • Line 81: warning: exported method FeatureController.Start should have comment or be unexported (golint)
    • rio/cli/cmd/config/ls.go
    • Line 11: warning: exported type Ls should have comment or be unexported (golint)
    • Line 14: warning: exported method Ls.Customize should have comment or be unexported (golint)
    • Line 18: warning: exported method Ls.Run should have comment or be unexported (golint)
    • rio/cli/cmd/ps/ps_services.go
    • Line 18: warning: exported type ServiceData should have comment or be unexported (golint)
    • Line 29: warning: exported method ServiceData.Object should have comment or be unexported (golint)
    • rio/tests/testutil/rbac.go
    • Line 17: warning: exported const AdminUserBindingName should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type TestUser should have comment or be unexported (golint)
    • Line 34: warning: exported method TestUser.Create should have comment or be unexported (golint)
    • Line 78: warning: exported method TestUser.Cleanup should have comment or be unexported (golint)
    • rio/modules/gloo/pkg/vsfactory/app.go
    • Line 15: warning: exported method VirtualServiceFactory.ForApp should have comment or be unexported (golint)
    • Line 61: warning: exported method VirtualServiceFactory.ForAppIstio should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/secrets.go
    • Line 8: warning: exported const SecretsDefaultPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type SecretsStringer should have comment or be unexported (golint)
    • Line 15: warning: exported method SecretsStringer.MaybeString should have comment or be unexported (golint)
    • Line 20: warning: exported function ParseSecrets should have comment or be unexported (golint)
    • Line 31: warning: exported function ParseSecret should have comment or be unexported (golint)
    • rio/pkg/template/types.go
    • Line 7: warning: exported type Template should have comment or be unexported (golint)
    • Line 12: warning: exported type AnswerCallback should have comment or be unexported (golint)
    • rio/modules/service/pkg/endpoints/resolver.go
    • Line 24: warning: exported type Resolver should have comment or be unexported (golint)
    • Line 30: warning: exported function NewResolver should have comment or be unexported (golint)
    • Line 103: warning: exported method Resolver.RouterEndpoints should have comment or be unexported (golint)
    • Line 130: warning: exported method Resolver.AppEndpoints should have comment or be unexported (golint)
    • Line 154: warning: exported method Resolver.ServiceEndpoints should have comment or be unexported (golint)
    • rio/pkg/services/service.go
    • Line 7: warning: exported function AppAndVersion should have comment or be unexported (golint)
    • Line 25: warning: exported function RootContainerName should have comment or be unexported (golint)
    • Line 33: warning: exported function ToNamedContainers should have comment or be unexported (golint)
    • Line 45: warning: exported function AutoscaleEnable should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/env.go
    • Line 11: warning: exported type EnvStringer should have comment or be unexported (golint)
    • Line 15: warning: exported method EnvStringer.MaybeString should have comment or be unexported (golint)
    • Line 38: warning: exported function ParseAllEnv should have comment or be unexported (golint)
    • Line 54: warning: exported function ParseEnvs should have comment or be unexported (golint)
    • Line 65: warning: exported function ParseEnv should have comment or be unexported (golint)
    • rio/pkg/apis/rio.cattle.io/v1/question.go
    • Line 3: warning: exported type Question should have comment or be unexported (golint)
    • Line 56: warning: exported type SubQuestion should have comment or be unexported (golint)
    • Line 74: warning: exported type TemplateMeta should have comment or be unexported (golint)
    • rio/cli/cmd/config/cat.go
    • Line 14: warning: exported type Cat should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; struct field K_Key should be KKey (golint)
    • Line 18: warning: exported method Cat.Run should have comment or be unexported (golint)
    • rio/pkg/riofile/stringers/volume.go
    • Line 26: warning: exported function ParseVolumes should have comment or be unexported (golint)
    • Line 37: warning: exported function ParseVolume should have comment or be unexported (golint)
    • Line 75: warning: exported type VolumeStringer should have comment or be unexported (golint)
    • Line 79: warning: exported method VolumeStringer.MaybeString should have comment or be unexported (golint)
    • rio/cli/pkg/tables/config.go
    • Line 11: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 25: warning: exported function Base64Size should have comment or be unexported (golint)
    • rio/pkg/constructors/constructors.go
    • Line 11: warning: exported function NewNamespace should have comment or be unexported (golint)
    • Line 18: warning: exported function NewSecret should have comment or be unexported (golint)
    • Line 26: warning: exported function NewServiceAccount should have comment or be unexported (golint)
    • Line 34: warning: exported function NewConfigMap should have comment or be unexported (golint)
    • Line 42: warning: exported function NewDeployment should have comment or be unexported (golint)
    • Line 50: warning: exported function NewStatefulSet should have comment or be unexported (golint)
    • Line 58: warning: exported function NewDaemonset should have comment or be unexported (golint)
    • Line 66: warning: exported function NewService should have comment or be unexported (golint)
    • Line 74: warning: exported function NewPersistentVolumeClaim should have comment or be unexported (golint)
    • Line 82: warning: exported function NewIngress should have comment or be unexported (golint)
    • Line 90: warning: exported function NewTrafficSplit should have comment or be unexported (golint)
    • Line 98: warning: exported function NewEndpoints should have comment or be unexported (golint)
    • Line 106: warning: exported function NewTaskRun should have comment or be unexported (golint)
    • rio/cli/pkg/up/questions/questions.go
    • Line 21: warning: exported type Questions should have comment or be unexported (golint)
    • Line 74: warning: exported function PromptOptions should have comment or be unexported (golint)
    • Line 110: warning: exported function PromptBool should have comment or be unexported (golint)
    • Line 135: warning: exported function PrintToTerm should have comment or be unexported (golint)
    • Line 143: warning: exported function PrintlnToTerm should have comment or be unexported (golint)
    • Line 151: warning: exported function PrintfToTerm should have comment or be unexported (golint)
    • Line 159: warning: exported function Prompt should have comment or be unexported (golint)
    • Line 180: warning: exported function PromptPassword should have comment or be unexported (golint)
    • Line 290: warning: exported function NewQuestions should have comment or be unexported (golint)
    • Line 334: warning: exported method Questions.Ask should have comment or be unexported (golint)
    • rio/tests/testutil/router.go
    • Line 15: warning: exported type TestRoute should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method TestRoute.Add should be of the form "Add ..." (golint)
    • Line 48: warning: comment on exported function GetRoute should be of the form "GetRoute ..." (golint)
    • Line 63: warning: comment on exported method TestRoute.Remove should be of the form "Remove ..." (golint)
    • rio/pkg/riofile/stringers/permission.go
    • Line 18: warning: exported var ReadVerbs should have comment or be unexported (golint)
    • Line 40: warning: exported type PermissionStringer should have comment or be unexported (golint)
    • Line 44: warning: exported method PermissionStringer.MaybeString should have comment or be unexported (golint)
    • Line 84: warning: exported function ParsePermission should have comment or be unexported (golint)
    • Line 98: warning: exported function ParsePermissions should have comment or be unexported (golint)
    • rio/cli/pkg/clicontext/crud.go
    • Line 8: warning: exported method CLIContext.UpdateResource should have comment or be unexported (golint)
    • Line 20: warning: exported method CLIContext.Update should have comment or be unexported (golint)
    • rio/cli/cmd/up/up.go
    • Line 21: warning: exported type Up should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; struct field F_File should be FFile (golint)
    • Line 31: warning: don't use underscores in Go names; struct field N_Name should be NName (golint)
    • Line 32: warning: don't use underscores in Go names; struct field P_Parallel should be PParallel (golint)
    • Line 41: warning: exported method Up.Run should have comment or be unexported (golint)
    • rio/cli/cmd/stage/stage.go
    • Line 24: warning: exported type Stage should have comment or be unexported (golint)
    • Line 26: warning: don't use underscores in Go names; struct field E_Env should be EEnv (golint)
    • Line 31: warning: exported method Stage.Run should have comment or be unexported (golint)
    • rio/cli/pkg/tables/service.go
    • Line 21: warning: exported function NewService should have comment or be unexported (golint)
    • Line 186: warning: exported function FormatScale should have comment or be unexported (golint)
    • Line 235: warning: exported function FormatImage should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!