Preparing report...

Report for github.com/luizalabs/teresa

A+    Excellent!    Found 105 issues across 177 files

Tweet

gofmt93%

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!


gocyclo96%

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.


golint46%

Golint is a linter for Go source code.

    • teresa/pkg/server/team/fake.go
    • Line 11: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 18: warning: exported method FakeOperations.Create should have comment or be unexported (golint)
    • Line 30: warning: exported method FakeOperations.AddUser should have comment or be unexported (golint)
    • Line 54: warning: exported method FakeOperations.HasUser should have comment or be unexported (golint)
    • Line 72: warning: exported method FakeOperations.List should have comment or be unexported (golint)
    • Line 80: warning: exported method FakeOperations.ListByUser should have comment or be unexported (golint)
    • Line 92: warning: exported method FakeOperations.RemoveUser should have comment or be unexported (golint)
    • Line 122: warning: exported method FakeOperations.Rename should have comment or be unexported (golint)
    • Line 139: warning: exported method FakeOperations.SetTeamExt should have comment or be unexported (golint)
    • Line 142: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/exec/handlers.go
    • Line 15: warning: exported type Service should have comment or be unexported (golint)
    • Line 20: warning: exported method Service.Command should have comment or be unexported (golint)
    • Line 54: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 58: warning: exported function NewService should have comment or be unexported (golint)
    • teresa/pkg/client/config.go
    • Line 14: warning: exported type ClusterConfig should have comment or be unexported (golint)
    • Line 21: warning: exported type Config should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultConfigFileLocation should have comment or be unexported (golint)
    • Line 41: warning: exported function SaveToken should have comment or be unexported (golint)
    • Line 60: warning: exported function SaveConfigFile should have comment or be unexported (golint)
    • Line 81: warning: exported function GetConfig should have comment or be unexported (golint)
    • Line 96: warning: exported function ReadConfigFile should have comment or be unexported (golint)
    • teresa/pkg/client/errors.go
    • Line 12: warning: exported function GetErrorMsg should have comment or be unexported (golint)
    • Line 20: warning: exported function PrintErrorAndExit should have comment or be unexported (golint)
    • Line 25: warning: exported function PrintConnectionErrorAndExit should have comment or be unexported (golint)
    • teresa/pkg/client/tar/tar.go
    • Line 74: warning: exported function CreateTemp should have comment or be unexported (golint)
    • Line 94: warning: exported function ExtractToTemp should have comment or be unexported (golint)
    • teresa/pkg/server/secrets/file.go
    • Line 11: warning: exported type FileSystemSecretsConfig should have comment or be unexported (golint)
    • Line 18: warning: exported type FileSystemSecrets should have comment or be unexported (golint)
    • Line 28: warning: exported method FileSystemSecrets.PrivateKey should have comment or be unexported (golint)
    • Line 40: warning: exported method FileSystemSecrets.PublicKey should have comment or be unexported (golint)
    • Line 52: warning: exported method FileSystemSecrets.TLSCertificate should have comment or be unexported (golint)
    • Line 64: warning: exported function NewFileSystemSecrets should have comment or be unexported (golint)
    • teresa/pkg/server/healthcheck/server.go
    • Line 13: warning: exported type K8sOperations should have comment or be unexported (golint)
    • Line 17: warning: exported type Server should have comment or be unexported (golint)
    • Line 52: warning: exported method Server.Run should have comment or be unexported (golint)
    • Line 56: warning: exported method Server.GracefulStop should have comment or be unexported (golint)
    • Line 60: warning: exported function New should have comment or be unexported (golint)
    • teresa/pkg/server/build/fake.go
    • Line 12: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 15: warning: exported method FakeOperations.Create should have comment or be unexported (golint)
    • Line 19: warning: exported method FakeOperations.CreateByOpts should have comment or be unexported (golint)
    • Line 23: warning: exported method FakeOperations.List should have comment or be unexported (golint)
    • Line 30: warning: exported method FakeOperations.Run should have comment or be unexported (golint)
    • Line 34: warning: exported method FakeOperations.Delete should have comment or be unexported (golint)
    • Line 38: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/user/user.go
    • Line 21: warning: exported type Operations should have comment or be unexported (golint)
    • Line 29: warning: exported type DatabaseOperations should have comment or be unexported (golint)
    • Line 34: warning: exported method DatabaseOperations.Login should have comment or be unexported (golint)
    • Line 56: warning: exported method DatabaseOperations.GetUser should have comment or be unexported (golint)
    • Line 64: warning: exported method DatabaseOperations.SetPassword should have comment or be unexported (golint)
    • Line 95: warning: exported method DatabaseOperations.Delete should have comment or be unexported (golint)
    • Line 109: warning: exported method DatabaseOperations.Create should have comment or be unexported (golint)
    • Line 141: warning: exported function NewDatabaseOperations should have comment or be unexported (golint)
    • teresa/pkg/server/spec/cloudsqlproxy.go
    • Line 16: warning: exported type CloudSQLProxy should have comment or be unexported (golint)
    • Line 22: warning: exported function NewCloudSQLProxy should have comment or be unexported (golint)
    • Line 38: warning: exported function NewCloudSQLProxyContainer should have comment or be unexported (golint)
    • teresa/pkg/client/password.go
    • Line 13: warning: exported function EnsurePasswordLength should have comment or be unexported (golint)
    • Line 20: warning: exported function GetMaskedPassword should have comment or be unexported (golint)
    • teresa/pkg/server/auth/auth.go
    • Line 10: warning: exported type Auth should have comment or be unexported (golint)
    • Line 20: warning: exported type JWTAuth should have comment or be unexported (golint)
    • Line 25: warning: exported method JWTAuth.GenerateToken should have comment or be unexported (golint)
    • Line 33: warning: exported method JWTAuth.ValidateToken should have comment or be unexported (golint)
    • Line 47: warning: exported function New should have comment or be unexported (golint)
    • teresa/pkg/server/team/handlers_test.go
    • Line 22: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 39: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 52: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 68: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 92: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 106: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 125: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 137: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 164: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 217: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 237: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 254: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 267: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 282: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 293: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 309: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 327: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 344: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • teresa/pkg/client/sort.go
    • Line 9: warning: exported type ByKey should have comment or be unexported (golint)
    • Line 23: warning: exported function SortEnvsByKey should have comment or be unexported (golint)
    • teresa/pkg/server/service/service.go
    • Line 16: warning: exported type CloudProviderOperations should have comment or be unexported (golint)
    • Line 22: warning: exported type K8sOperations should have comment or be unexported (golint)
    • Line 31: warning: exported type AppOperations should have comment or be unexported (golint)
    • Line 36: warning: exported type Operations should have comment or be unexported (golint)
    • Line 43: warning: exported type ServiceOperations should have comment or be unexported (golint)
    • Line 49: warning: exported method ServiceOperations.EnableSSL should have comment or be unexported (golint)
    • Line 78: warning: exported method ServiceOperations.SetStaticIp should have comment or be unexported (golint)
    • Line 86: warning: exported method ServiceOperations.Info should have comment or be unexported (golint)
    • Line 109: warning: exported method ServiceOperations.WhitelistSourceRanges should have comment or be unexported (golint)
    • Line 132: warning: exported function NewOperations should have comment or be unexported (golint)
    • teresa/pkg/server/app/models.go
    • Line 6: warning: exported const ProcessTypeWeb should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type LimitRangeQuantity should have comment or be unexported (golint)
    • Line 16: warning: exported type Limits should have comment or be unexported (golint)
    • Line 21: warning: exported type Autoscale should have comment or be unexported (golint)
    • Line 27: warning: exported type EnvVar should have comment or be unexported (golint)
    • Line 32: warning: exported type App should have comment or be unexported (golint)
    • Line 47: warning: exported type Pod should have comment or be unexported (golint)
    • Line 55: warning: exported type Address should have comment or be unexported (golint)
    • Line 59: warning: exported type Status should have comment or be unexported (golint)
    • Line 64: warning: exported type Info should have comment or be unexported (golint)
    • Line 75: warning: exported type AppListItem should have comment or be unexported (golint)
    • teresa/pkg/client/url/url.go
    • Line 12: warning: exported type Fetcher should have comment or be unexported (golint)
    • Line 16: warning: exported function FetchToTemp should have comment or be unexported (golint)
    • Line 42: warning: exported function Scheme should have comment or be unexported (golint)
    • teresa/pkg/server/exec/exec.go
    • Line 17: warning: exported const ExitCodeTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type Operations should have comment or be unexported (golint)
    • Line 26: warning: exported type K8sOperations should have comment or be unexported (golint)
    • Line 33: warning: exported type Defaults should have comment or be unexported (golint)
    • Line 40: warning: exported type ExecOperations should have comment or be unexported (golint)
    • Line 47: warning: exported method ExecOperations.RunCommand should have comment or be unexported (golint)
    • Line 77: warning: exported method ExecOperations.RunCommandBySpec should have comment or be unexported (golint)
    • Line 108: warning: exported function NewOperations should have comment or be unexported (golint)
    • teresa/pkg/server/deploy/handlers_test.go
    • Line 20: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 31: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 44: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 57: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 68: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 81: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • teresa/pkg/server/teresa_errors/errors.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 10: warning: exported var ErrInternalServerError should have comment or be unexported (golint)
    • Line 12: warning: exported type GrpcError should have comment or be unexported (golint)
    • Line 16: warning: exported type Error should have comment or be unexported (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • Line 41: warning: exported function NewInternalServerError should have comment or be unexported (golint)
    • teresa/pkg/server/build/handlers.go
    • Line 16: warning: exported const KeepAliveMessage should have comment or be unexported (golint)
    • Line 18: warning: exported type Service should have comment or be unexported (golint)
    • Line 23: warning: exported method Service.Make should have comment or be unexported (golint)
    • Line 63: warning: exported method Service.List should have comment or be unexported (golint)
    • Line 82: warning: exported method Service.Run should have comment or be unexported (golint)
    • Line 98: warning: exported method Service.Delete should have comment or be unexported (golint)
    • Line 131: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 135: warning: exported function NewService should have comment or be unexported (golint)
    • teresa/pkg/server/validation/envvars.go
    • Line 9: warning: exported var ProtectedEnvVars should have comment or be unexported (golint)
    • Line 22: warning: exported function IsEnvVarName should have comment or be unexported (golint)
    • Line 26: warning: exported function IsProtectedEnvVar should have comment or be unexported (golint)
    • teresa/pkg/server/spec/build.go
    • Line 13: warning: exported type BuildPodBuilder should have comment or be unexported (golint)
    • Line 46: warning: exported method BuildPodBuilder.ForApp should have comment or be unexported (golint)
    • Line 51: warning: exported method BuildPodBuilder.WithTarBallPath should have comment or be unexported (golint)
    • Line 56: warning: exported method BuildPodBuilder.SendSlugTo should have comment or be unexported (golint)
    • Line 61: warning: exported method BuildPodBuilder.WithLimits should have comment or be unexported (golint)
    • Line 69: warning: exported method BuildPodBuilder.WithStorage should have comment or be unexported (golint)
    • Line 74: warning: exported method BuildPodBuilder.Build should have comment or be unexported (golint)
    • Line 78: warning: exported function NewBuildPodBuilder should have comment or be unexported (golint)
    • teresa/pkg/server/service/handlers_test.go
    • Line 17: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 29: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 41: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 53: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 65: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 77: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 89: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 101: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • teresa/pkg/server/k8s/errors.go
    • Line 13: warning: exported var ErrInvalidServiceType should have comment or be unexported (golint)
    • Line 19: warning: exported method Client.IsNotFound should have comment or be unexported (golint)
    • Line 23: warning: exported method Client.IsAlreadyExists should have comment or be unexported (golint)
    • Line 27: warning: exported method Client.IsInvalid should have comment or be unexported (golint)
    • Line 31: warning: exported method Client.IsUnknown should have comment or be unexported (golint)
    • teresa/pkg/server/app/handlers_test.go
    • Line 35: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 50: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 67: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 86: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 101: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 118: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 133: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 143: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 156: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 169: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 182: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 192: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 205: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 218: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 238: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 256: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 269: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 282: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 292: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 305: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 318: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 328: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 341: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 367: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 379: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 393: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 408: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 420: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 434: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 449: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 461: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 475: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 490: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 501: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 515: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 529: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 543: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 557: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 569: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 584: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • teresa/pkg/server/storage/minio.go
    • Line 5: warning: exported type Minio should have comment or be unexported (golint)
    • Line 9: warning: exported method Minio.Type should have comment or be unexported (golint)
    • Line 13: warning: exported method Minio.PodEnvVars should have comment or be unexported (golint)
    • teresa/pkg/server/deploy/handlers.go
    • Line 18: warning: exported type Options should have comment or be unexported (golint)
    • Line 33: warning: exported type Service should have comment or be unexported (golint)
    • Line 38: warning: exported method Service.Make should have comment or be unexported (golint)
    • Line 93: warning: exported method Service.List should have comment or be unexported (golint)
    • Line 104: warning: exported method Service.Rollback should have comment or be unexported (golint)
    • Line 115: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 119: warning: exported function NewService should have comment or be unexported (golint)
    • teresa/pkg/server/user/handlers_test.go
    • Line 59: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 83: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 106: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 128: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 147: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • Line 172: warning: should not use basic type untyped string as key in context.WithValue (golint)
    • teresa/pkg/server/team/handlers.go
    • Line 12: warning: exported type Service should have comment or be unexported (golint)
    • Line 16: warning: exported method Service.Create should have comment or be unexported (golint)
    • Line 27: warning: exported method Service.AddUser should have comment or be unexported (golint)
    • Line 38: warning: exported method Service.List should have comment or be unexported (golint)
    • Line 68: warning: exported method Service.RemoveUser should have comment or be unexported (golint)
    • Line 81: warning: exported method Service.Rename should have comment or be unexported (golint)
    • Line 92: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 96: warning: exported function NewService should have comment or be unexported (golint)
    • teresa/pkg/server/deploy/fake.go
    • Line 13: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 22: warning: exported method FakeOperations.List should have comment or be unexported (golint)
    • Line 37: warning: exported method FakeOperations.Deploy should have comment or be unexported (golint)
    • Line 41: warning: exported method FakeOperations.Rollback should have comment or be unexported (golint)
    • Line 56: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/spec/runner.go
    • Line 10: warning: exported const AppSecretName should have comment or be unexported (golint)
    • Line 12: warning: exported type RunnerPodBuilder should have comment or be unexported (golint)
    • Line 84: warning: exported method RunnerPodBuilder.ForApp should have comment or be unexported (golint)
    • Line 89: warning: exported method RunnerPodBuilder.WithSlug should have comment or be unexported (golint)
    • Line 94: warning: exported method RunnerPodBuilder.WithLimits should have comment or be unexported (golint)
    • Line 102: warning: exported method RunnerPodBuilder.WithStorage should have comment or be unexported (golint)
    • Line 107: warning: exported method RunnerPodBuilder.WithArgs should have comment or be unexported (golint)
    • Line 112: warning: exported method RunnerPodBuilder.WithNginxSideCar should have comment or be unexported (golint)
    • Line 117: warning: exported method RunnerPodBuilder.WithLabels should have comment or be unexported (golint)
    • Line 124: warning: exported method RunnerPodBuilder.Build should have comment or be unexported (golint)
    • Line 128: warning: exported method RunnerPodBuilder.WithCloudSQLProxySideCar should have comment or be unexported (golint)
    • Line 133: warning: exported function NewRunnerPodBuilder should have comment or be unexported (golint)
    • teresa/pkg/server/deploy/deploy.go
    • Line 26: warning: exported const ProcfileReleaseCmd should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type Operations should have comment or be unexported (golint)
    • Line 38: warning: exported type K8sOperations should have comment or be unexported (golint)
    • Line 53: warning: exported type CloudProviderOperations should have comment or be unexported (golint)
    • Line 58: warning: exported type DeployOperations should have comment or be unexported (golint)
    • Line 68: warning: exported method DeployOperations.Deploy should have comment or be unexported (golint)
    • Line 285: warning: exported method DeployOperations.List should have comment or be unexported (golint)
    • Line 302: warning: exported method DeployOperations.Rollback should have comment or be unexported (golint)
    • Line 355: warning: exported function NewDeployOperations should have comment or be unexported (golint)
    • teresa/pkg/server/storage/s3.go
    • Line 13: warning: exported type S3Client should have comment or be unexported (golint)
    • Line 19: warning: exported type S3 should have comment or be unexported (golint)
    • Line 30: warning: exported method S3.K8sSecretName should have comment or be unexported (golint)
    • Line 34: warning: exported method S3.AccessData should have comment or be unexported (golint)
    • Line 43: warning: exported method S3.UploadFile should have comment or be unexported (golint)
    • Line 53: warning: exported method S3.List should have comment or be unexported (golint)
    • Line 73: warning: exported method S3.Delete should have comment or be unexported (golint)
    • Line 101: warning: exported method S3.Type should have comment or be unexported (golint)
    • Line 105: warning: exported method S3.PodEnvVars should have comment or be unexported (golint)
    • teresa/pkg/server/storage/storage.go
    • Line 11: warning: exported const S3Type should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type Config should have comment or be unexported (golint)
    • Line 27: warning: exported type Object should have comment or be unexported (golint)
    • Line 32: warning: exported type Storage should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • teresa/pkg/server/service/fake.go
    • Line 10: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 18: warning: exported type FakeCloudProviderOperations should have comment or be unexported (golint)
    • Line 25: warning: exported type FakeAppOperations should have comment or be unexported (golint)
    • Line 31: warning: exported type FakeK8sOperations should have comment or be unexported (golint)
    • Line 42: warning: exported method FakeOperations.EnableSSL should have comment or be unexported (golint)
    • Line 46: warning: exported method FakeOperations.SetStaticIp should have comment or be unexported (golint)
    • Line 50: warning: exported method FakeOperations.Info should have comment or be unexported (golint)
    • Line 54: warning: exported method FakeOperations.WhitelistSourceRanges should have comment or be unexported (golint)
    • Line 58: warning: exported method FakeCloudProviderOperations.CreateOrUpdateSSL should have comment or be unexported (golint)
    • Line 62: warning: exported method FakeCloudProviderOperations.CreateOrUpdateStaticIp should have comment or be unexported (golint)
    • Line 66: warning: exported method FakeCloudProviderOperations.SSLInfo should have comment or be unexported (golint)
    • Line 70: warning: exported method FakeAppOperations.HasPermission should have comment or be unexported (golint)
    • Line 74: warning: exported method FakeAppOperations.CheckPermAndGet should have comment or be unexported (golint)
    • Line 82: warning: exported method FakeK8sOperations.UpdateServicePorts should have comment or be unexported (golint)
    • Line 86: warning: exported method FakeK8sOperations.IsNotFound should have comment or be unexported (golint)
    • Line 90: warning: exported method FakeK8sOperations.Service should have comment or be unexported (golint)
    • Line 94: warning: exported method FakeK8sOperations.SetLoadBalancerSourceRanges should have comment or be unexported (golint)
    • Line 98: warning: exported method FakeK8sOperations.IsInvalid should have comment or be unexported (golint)
    • Line 102: warning: exported method FakeK8sOperations.HasIngress should have comment or be unexported (golint)
    • teresa/pkg/server/service/handlers.go
    • Line 12: warning: exported type Service should have comment or be unexported (golint)
    • Line 16: warning: exported method Service.EnableSSL should have comment or be unexported (golint)
    • Line 24: warning: exported method Service.SetStaticIp should have comment or be unexported (golint)
    • Line 32: warning: exported method Service.Info should have comment or be unexported (golint)
    • Line 41: warning: exported method Service.WhitelistSourceRanges should have comment or be unexported (golint)
    • Line 49: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 53: warning: exported function NewService should have comment or be unexported (golint)
    • teresa/pkg/server/user/handlers.go
    • Line 14: warning: exported type Service should have comment or be unexported (golint)
    • Line 18: warning: exported method Service.Login should have comment or be unexported (golint)
    • Line 30: warning: exported method Service.SetPassword should have comment or be unexported (golint)
    • Line 38: warning: exported method Service.Delete should have comment or be unexported (golint)
    • Line 49: warning: exported method Service.Create should have comment or be unexported (golint)
    • Line 66: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 70: warning: exported function NewService should have comment or be unexported (golint)
    • teresa/pkg/server/exec/fake.go
    • Line 12: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 16: warning: exported method FakeOperations.RunCommand should have comment or be unexported (golint)
    • Line 20: warning: exported method FakeOperations.RunCommandBySpec should have comment or be unexported (golint)
    • Line 33: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/server.go
    • Line 35: warning: exported type Options should have comment or be unexported (golint)
    • Line 46: warning: exported type Server should have comment or be unexported (golint)
    • Line 53: warning: exported method Server.Run should have comment or be unexported (golint)
    • Line 157: warning: exported function New should have comment or be unexported (golint)
    • teresa/pkg/server/k8s/client.go
    • Line 29: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 44: warning: exported type Client should have comment or be unexported (golint)
    • Line 67: warning: exported method Client.HealthCheck should have comment or be unexported (golint)
    • Line 88: warning: exported method Client.DeployAnnotation should have comment or be unexported (golint)
    • Line 105: warning: exported method Client.NamespaceAnnotation should have comment or be unexported (golint)
    • Line 114: warning: exported method Client.NamespaceLabel should have comment or be unexported (golint)
    • Line 123: warning: exported method Client.PodList should have comment or be unexported (golint)
    • Line 141: warning: exported method Client.PodLogs should have comment or be unexported (golint)
    • Line 247: warning: exported method Client.CreateNamespace should have comment or be unexported (golint)
    • Line 262: warning: exported method Client.CreateQuota should have comment or be unexported (golint)
    • Line 277: warning: exported method Client.GetSecret should have comment or be unexported (golint)
    • Line 277: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 289: warning: exported method Client.CreateOrUpdateSecret should have comment or be unexported (golint)
    • Line 289: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 311: warning: exported method Client.CreateOrUpdateAutoscale should have comment or be unexported (golint)
    • Line 326: warning: exported method Client.AddressList should have comment or be unexported (golint)
    • Line 350: warning: exported method Client.Status should have comment or be unexported (golint)
    • Line 383: warning: exported method Client.Autoscale should have comment or be unexported (golint)
    • Line 416: warning: exported method Client.Limits should have comment or be unexported (golint)
    • Line 452: warning: exported method Client.CreateOrUpdateConfigMap should have comment or be unexported (golint)
    • Line 466: warning: exported method Client.DeleteConfigMap should have comment or be unexported (golint)
    • Line 475: warning: exported method Client.CreateOrUpdateDeploy should have comment or be unexported (golint)
    • Line 494: warning: exported method Client.CreateOrUpdateCronJob should have comment or be unexported (golint)
    • Line 494: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 512: warning: exported method Client.PodRun should have comment or be unexported (golint)
    • Line 595: warning: exported method Client.CreateService should have comment or be unexported (golint)
    • Line 605: warning: exported method Client.DeleteService should have comment or be unexported (golint)
    • Line 614: warning: exported method Client.HasIngress should have comment or be unexported (golint)
    • Line 667: warning: exported method Client.UpdateIngress should have comment or be unexported (golint)
    • Line 684: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 692: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 707: warning: exported method Client.SetIngressAnnotations should have comment or be unexported (golint)
    • Line 707: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 711: warning: exported method Client.IngressAnnotations should have comment or be unexported (golint)
    • Line 711: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 771: warning: exported method Client.DeletePod should have comment or be unexported (golint)
    • Line 820: warning: exported method Client.WatchServiceURL should have comment or be unexported (golint)
    • Line 820: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 892: warning: exported method Client.SetNamespaceAnnotations should have comment or be unexported (golint)
    • Line 910: warning: exported method Client.SetNamespaceLabels should have comment or be unexported (golint)
    • Line 928: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 968: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 995: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1072: warning: exported method Client.CreateOrUpdateDeployEnvVars should have comment or be unexported (golint)
    • Line 1072: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1076: warning: exported method Client.CreateOrUpdateCronJobEnvVars should have comment or be unexported (golint)
    • Line 1076: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1080: warning: exported method Client.CreateOrUpdateDeploySecretEnvVars should have comment or be unexported (golint)
    • Line 1080: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1084: warning: exported method Client.CreateOrUpdateCronJobSecretEnvVars should have comment or be unexported (golint)
    • Line 1084: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1088: warning: exported method Client.DeleteDeployEnvVars should have comment or be unexported (golint)
    • Line 1092: warning: exported method Client.DeleteCronJobEnvVars should have comment or be unexported (golint)
    • Line 1096: warning: exported method Client.DeleteNamespace should have comment or be unexported (golint)
    • Line 1105: warning: exported method Client.NamespaceListByLabel should have comment or be unexported (golint)
    • Line 1125: warning: exported method Client.ReplicaSetListByLabel should have comment or be unexported (golint)
    • Line 1151: warning: exported method Client.DeployRollbackToRevision should have comment or be unexported (golint)
    • Line 1195: warning: exported method Client.DeploySetReplicas should have comment or be unexported (golint)
    • Line 1231: warning: exported method Client.ResumeCronJob should have comment or be unexported (golint)
    • Line 1235: warning: exported method Client.SuspendCronJob should have comment or be unexported (golint)
    • Line 1239: warning: exported method Client.CloudProviderName should have comment or be unexported (golint)
    • Line 1239: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1259: warning: exported method Client.SetServiceAnnotations should have comment or be unexported (golint)
    • Line 1259: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1263: warning: exported method Client.UpdateServicePorts should have comment or be unexported (golint)
    • Line 1263: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1278: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1286: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1301: warning: exported method Client.ServiceAnnotations should have comment or be unexported (golint)
    • Line 1301: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1313: warning: exported method Client.Service should have comment or be unexported (golint)
    • Line 1313: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1325: warning: exported method Client.ContainerExplicitEnvVars should have comment or be unexported (golint)
    • Line 1325: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1347: warning: exported method Client.WatchDeploy should have comment or be unexported (golint)
    • Line 1347: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1379: warning: exported method Client.IngressEnabled should have comment or be unexported (golint)
    • Line 1379: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1383: warning: exported method Client.SetLoadBalancerSourceRanges should have comment or be unexported (golint)
    • Line 1383: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1392: warning: exported method Client.CreateOrUpdateDeploySecretFile should have comment or be unexported (golint)
    • Line 1392: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1482: warning: exported method Client.DeleteDeploySecrets should have comment or be unexported (golint)
    • Line 1482: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1511: warning: exported method Client.CreateOrUpdateCronJobSecretFile should have comment or be unexported (golint)
    • Line 1511: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • Line 1553: warning: exported method Client.DeleteCronJobSecrets should have comment or be unexported (golint)
    • Line 1553: warning: receiver name c should be consistent with previous receiver name k for Client (golint)
    • teresa/pkg/server/auth/fake.go
    • Line 5: warning: exported type Fake should have comment or be unexported (golint)
    • Line 7: warning: exported method Fake.GenerateToken should have comment or be unexported (golint)
    • Line 11: warning: exported method Fake.ValidateToken should have comment or be unexported (golint)
    • Line 15: warning: exported function NewFake should have comment or be unexported (golint)
    • teresa/pkg/server/user/fake.go
    • Line 11: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 16: warning: exported method FakeOperations.Login should have comment or be unexported (golint)
    • Line 26: warning: exported method FakeOperations.GetUser should have comment or be unexported (golint)
    • Line 37: warning: exported method FakeOperations.SetPassword should have comment or be unexported (golint)
    • Line 56: warning: exported method FakeOperations.Delete should have comment or be unexported (golint)
    • Line 67: warning: exported method FakeOperations.Create should have comment or be unexported (golint)
    • Line 83: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/spec/pod.go
    • Line 12: warning: exported type Labels should have comment or be unexported (golint)
    • Line 14: warning: exported type VolumeItem should have comment or be unexported (golint)
    • Line 19: warning: exported type Volume should have comment or be unexported (golint)
    • Line 27: warning: exported type Pod should have comment or be unexported (golint)
    • Line 36: warning: exported type PodBuilder should have comment or be unexported (golint)
    • Line 43: warning: exported function SwitchPortWithAppContainer should have comment or be unexported (golint)
    • Line 65: warning: exported function ShareVolumeBetweenAppAndSideCar should have comment or be unexported (golint)
    • Line 71: warning: exported function ShareVolumeBetweenAppAndInitContainer should have comment or be unexported (golint)
    • Line 88: warning: exported function MountConfigMapInSideCar should have comment or be unexported (golint)
    • Line 105: warning: exported function MountSecretInInitContainer should have comment or be unexported (golint)
    • Line 111: warning: exported function MountSecretInAppContainer should have comment or be unexported (golint)
    • Line 117: warning: exported function MountSecretItemsInAppContainer should have comment or be unexported (golint)
    • Line 137: warning: exported method PodBuilder.WithInitContainer should have comment or be unexported (golint)
    • Line 145: warning: exported method PodBuilder.WithAppContainer should have comment or be unexported (golint)
    • Line 153: warning: exported method PodBuilder.WithSideCar should have comment or be unexported (golint)
    • Line 161: warning: exported method PodBuilder.WithLabels should have comment or be unexported (golint)
    • Line 168: warning: exported method PodBuilder.Build should have comment or be unexported (golint)
    • Line 180: warning: exported function NewPodBuilder should have comment or be unexported (golint)
    • teresa/pkg/server/cloudprovider/fake.go
    • Line 3: warning: exported type FakeK8sOperations should have comment or be unexported (golint)
    • Line 17: warning: exported method FakeK8sOperations.CloudProviderName should have comment or be unexported (golint)
    • Line 21: warning: exported method FakeK8sOperations.SetServiceAnnotations should have comment or be unexported (golint)
    • Line 25: warning: exported method FakeK8sOperations.SetIngressAnnotations should have comment or be unexported (golint)
    • Line 29: warning: exported method FakeK8sOperations.ServiceAnnotations should have comment or be unexported (golint)
    • Line 33: warning: exported method FakeK8sOperations.IngressAnnotations should have comment or be unexported (golint)
    • Line 37: warning: exported method FakeK8sOperations.IsNotFound should have comment or be unexported (golint)
    • Line 41: warning: exported method FakeK8sOperations.HasIngress should have comment or be unexported (golint)
    • Line 45: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/spec/deploy.go
    • Line 4: warning: exported const DefaultPort should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type HealthCheckProbe should have comment or be unexported (golint)
    • Line 20: warning: exported type HealthCheck should have comment or be unexported (golint)
    • Line 25: warning: exported type RollingUpdate should have comment or be unexported (golint)
    • Line 30: warning: exported type PreStop should have comment or be unexported (golint)
    • Line 34: warning: exported type Lifecycle should have comment or be unexported (golint)
    • Line 38: warning: exported type CronArgs should have comment or be unexported (golint)
    • Line 42: warning: exported type TeresaYaml should have comment or be unexported (golint)
    • Line 51: warning: exported type TeresaYamlV2 should have comment or be unexported (golint)
    • Line 55: warning: exported type DNSConfig should have comment or be unexported (golint)
    • Line 59: warning: exported type DNSOptions should have comment or be unexported (golint)
    • Line 64: warning: exported type Deploy should have comment or be unexported (golint)
    • Line 73: warning: exported type DeployBuilder should have comment or be unexported (golint)
    • Line 77: warning: exported type RawData should have comment or be unexported (golint)
    • Line 81: warning: exported method RawData.UnmarshalYAML should have comment or be unexported (golint)
    • Line 86: warning: exported method RawData.Unmarshal should have comment or be unexported (golint)
    • Line 90: warning: exported method DeployBuilder.WithMatchLabels should have comment or be unexported (golint)
    • Line 97: warning: exported method DeployBuilder.WithTeresaYaml should have comment or be unexported (golint)
    • Line 104: warning: exported method DeployBuilder.WithRevisionHistoryLimit should have comment or be unexported (golint)
    • Line 109: warning: exported method DeployBuilder.WithDNSConfigNdots should have comment or be unexported (golint)
    • Line 123: warning: exported method DeployBuilder.WithDescription should have comment or be unexported (golint)
    • Line 128: warning: exported method DeployBuilder.WithPod should have comment or be unexported (golint)
    • Line 133: warning: exported method DeployBuilder.Build should have comment or be unexported (golint)
    • Line 143: warning: exported function NewDeployBuilder should have comment or be unexported (golint)
    • teresa/pkg/server/spec/nginx.go
    • Line 13: warning: exported const NginxConfFile should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: should omit 2nd value from range; this loop is equivalent to `for key := range ...` (golint)
    • Line 45: warning: exported function NewNginxContainer should have comment or be unexported (golint)
    • teresa/pkg/server/app/fake.go
    • Line 14: warning: exported type FakeOperations should have comment or be unexported (golint)
    • Line 23: warning: exported method FakeOperations.HasPermission should have comment or be unexported (golint)
    • Line 27: warning: exported method FakeOperations.Create should have comment or be unexported (golint)
    • Line 42: warning: exported method FakeOperations.Logs should have comment or be unexported (golint)
    • Line 67: warning: exported method FakeOperations.Info should have comment or be unexported (golint)
    • Line 82: warning: exported method FakeOperations.List should have comment or be unexported (golint)
    • Line 97: warning: exported method FakeOperations.ListByTeam should have comment or be unexported (golint)
    • Line 111: warning: exported method FakeOperations.Delete should have comment or be unexported (golint)
    • Line 127: warning: exported method FakeOperations.TeamName should have comment or be unexported (golint)
    • Line 131: warning: exported method FakeOperations.Get should have comment or be unexported (golint)
    • Line 146: warning: exported method FakeOperations.SetEnv should have comment or be unexported (golint)
    • Line 161: warning: exported method FakeOperations.UnsetEnv should have comment or be unexported (golint)
    • Line 176: warning: exported method FakeOperations.SetSecret should have comment or be unexported (golint)
    • Line 191: warning: exported method FakeOperations.UnsetSecret should have comment or be unexported (golint)
    • Line 206: warning: exported method FakeOperations.SetSecretFile should have comment or be unexported (golint)
    • Line 210: warning: exported method FakeOperations.SetAutoscale should have comment or be unexported (golint)
    • Line 225: warning: exported method FakeOperations.CheckPermAndGet should have comment or be unexported (golint)
    • Line 244: warning: exported method FakeOperations.SaveApp should have comment or be unexported (golint)
    • Line 252: warning: exported method FakeOperations.SetReplicas should have comment or be unexported (golint)
    • Line 267: warning: exported method FakeOperations.ChangeTeam should have comment or be unexported (golint)
    • Line 275: warning: exported method FakeOperations.DeletePods should have comment or be unexported (golint)
    • Line 290: warning: exported method FakeOperations.SetVHosts should have comment or be unexported (golint)
    • Line 305: warning: exported method FakeOperations.CheckVirtualHostIsMissing should have comment or be unexported (golint)
    • Line 312: warning: exported function NewFakeOperations should have comment or be unexported (golint)
    • teresa/pkg/server/spec/container.go
    • Line 3: warning: exported type ContainerLimits should have comment or be unexported (golint)
    • Line 8: warning: exported type VolumeMounts should have comment or be unexported (golint)
    • Line 15: warning: exported type Port should have comment or be unexported (golint)
    • Line 20: warning: exported type Container should have comment or be unexported (golint)
    • Line 33: warning: exported type ContainerBuilder should have comment or be unexported (golint)
    • Line 37: warning: exported method ContainerBuilder.WithCommand should have comment or be unexported (golint)
    • Line 42: warning: exported method ContainerBuilder.WithArgs should have comment or be unexported (golint)
    • Line 47: warning: exported method ContainerBuilder.WithEnv should have comment or be unexported (golint)
    • Line 54: warning: exported method ContainerBuilder.WithSecrets should have comment or be unexported (golint)
    • Line 59: warning: exported method ContainerBuilder.WithLimits should have comment or be unexported (golint)
    • Line 67: warning: exported method ContainerBuilder.WithRequests should have comment or be unexported (golint)
    • Line 75: warning: exported method ContainerBuilder.ExposePort should have comment or be unexported (golint)
    • Line 80: warning: exported method ContainerBuilder.WithVolumeMount should have comment or be unexported (golint)
    • Line 86: warning: exported method ContainerBuilder.Build should have comment or be unexported (golint)
    • Line 90: warning: exported function NewContainerBuilder should have comment or be unexported (golint)
    • teresa/pkg/server/spec/service.go
    • Line 7: warning: exported type ServicePort should have comment or be unexported (golint)
    • Line 13: warning: exported type Service should have comment or be unexported (golint)
    • Line 22: warning: exported function NewService should have comment or be unexported (golint)
    • Line 32: warning: exported function NewDefaultService should have comment or be unexported (golint)
    • Line 43: warning: exported function NewServicePort should have comment or be unexported (golint)
    • Line 51: warning: exported function NewDefaultServicePort should have comment or be unexported (golint)
    • teresa/pkg/server/app/app.go
    • Line 21: warning: exported const SecretPath should have comment or be unexported (golint)
    • Line 23: warning: exported type Operations should have comment or be unexported (golint)
    • Line 48: warning: exported type K8sOperations should have comment or be unexported (golint)
    • Line 89: warning: exported type AppOperations should have comment or be unexported (golint)
    • Line 97: warning: exported const TeresaAnnotation should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: exported method AppOperations.HasPermission should have comment or be unexported (golint)
    • Line 115: warning: exported method AppOperations.Create should have comment or be unexported (golint)
    • Line 156: warning: exported method AppOperations.Logs should have comment or be unexported (golint)
    • Line 206: warning: exported method AppOperations.Info should have comment or be unexported (golint)
    • Line 269: warning: exported method AppOperations.TeamName should have comment or be unexported (golint)
    • Line 277: warning: exported method AppOperations.Get should have comment or be unexported (golint)
    • Line 291: warning: exported method AppOperations.CheckPermAndGet should have comment or be unexported (golint)
    • Line 305: warning: exported method AppOperations.SaveApp should have comment or be unexported (golint)
    • Line 319: warning: exported method AppOperations.SetEnv should have comment or be unexported (golint)
    • Line 356: warning: exported method AppOperations.UnsetEnv should have comment or be unexported (golint)
    • Line 401: warning: exported method AppOperations.SetSecretFile should have comment or be unexported (golint)
    • Line 444: warning: exported method AppOperations.SetSecret should have comment or be unexported (golint)
    • Line 502: warning: exported method AppOperations.UnsetSecret should have comment or be unexported (golint)
    • Line 591: warning: exported method AppOperations.List should have comment or be unexported (golint)
    • Line 617: warning: exported method AppOperations.ListByTeam should have comment or be unexported (golint)
    • Line 621: warning: exported method AppOperations.SetAutoscale should have comment or be unexported (golint)
    • Line 652: warning: exported method AppOperations.Delete should have comment or be unexported (golint)
    • Line 665: warning: exported method AppOperations.SetReplicas should have comment or be unexported (golint)
    • Line 696: warning: exported method AppOperations.DeletePods should have comment or be unexported (golint)
    • Line 713: warning: exported method AppOperations.SetVHosts should have comment or be unexported (golint)
    • Line 742: warning: exported method AppOperations.CheckVirtualHostIsMissing should have comment or be unexported (golint)
    • Line 762: warning: exported function IsWebApp should have comment or be unexported (golint)
    • Line 766: warning: exported function NewOperations should have comment or be unexported (golint)
    • teresa/pkg/server/test/fake.go
    • Line 3: warning: exported type FakeReadSeeker should have comment or be unexported (golint)
    • Line 9: warning: exported method FakeReadSeeker.Seek should have comment or be unexported (golint)
    • teresa/pkg/server/build/build.go
    • Line 17: warning: exported type Operations should have comment or be unexported (golint)
    • Line 25: warning: exported type K8sOperations should have comment or be unexported (golint)
    • Line 33: warning: exported type Options should have comment or be unexported (golint)
    • Line 41: warning: exported type BuildOperations should have comment or be unexported (golint)
    • Line 64: warning: exported method BuildOperations.Create should have comment or be unexported (golint)
    • Line 99: warning: exported method BuildOperations.CreateByOpts should have comment or be unexported (golint)
    • Line 131: warning: exported method BuildOperations.List should have comment or be unexported (golint)
    • Line 152: warning: exported method BuildOperations.Run should have comment or be unexported (golint)
    • Line 178: warning: exported method BuildOperations.Delete should have comment or be unexported (golint)
    • Line 242: warning: exported function NewBuildOperations should have comment or be unexported (golint)
    • teresa/pkg/server/spec/cronjob.go
    • Line 5: warning: exported type CronJob should have comment or be unexported (golint)
    • Line 12: warning: exported type CronJobBuilder should have comment or be unexported (golint)
    • Line 17: warning: exported method CronJobBuilder.WithDescription should have comment or be unexported (golint)
    • Line 22: warning: exported method CronJobBuilder.WithPod should have comment or be unexported (golint)
    • Line 27: warning: exported method CronJobBuilder.WithSchedule should have comment or be unexported (golint)
    • Line 32: warning: exported method CronJobBuilder.Build should have comment or be unexported (golint)
    • Line 41: warning: exported function NewCronJobBuilder should have comment or be unexported (golint)
    • teresa/pkg/server/team/team.go
    • Line 14: warning: exported type Operations should have comment or be unexported (golint)
    • Line 25: warning: exported type DatabaseOperations should have comment or be unexported (golint)
    • Line 31: warning: exported method DatabaseOperations.Create should have comment or be unexported (golint)
    • Line 54: warning: exported method DatabaseOperations.AddUser should have comment or be unexported (golint)
    • Line 75: warning: exported method DatabaseOperations.HasUser should have comment or be unexported (golint)
    • Line 92: warning: exported method DatabaseOperations.List should have comment or be unexported (golint)
    • Line 107: warning: exported method DatabaseOperations.ListByUser should have comment or be unexported (golint)
    • Line 147: warning: exported method DatabaseOperations.RemoveUser should have comment or be unexported (golint)
    • Line 169: warning: exported method DatabaseOperations.Rename should have comment or be unexported (golint)
    • Line 198: warning: exported method DatabaseOperations.SetTeamExt should have comment or be unexported (golint)
    • Line 202: warning: exported function NewDatabaseOperations should have comment or be unexported (golint)
    • teresa/pkg/client/url/fake.go
    • Line 9: warning: exported type FakeFetcher should have comment or be unexported (golint)
    • Line 11: warning: exported method FakeFetcher.Fetch should have comment or be unexported (golint)
    • teresa/pkg/client/url/http.go
    • Line 10: warning: exported type HTTPClient should have comment or be unexported (golint)
    • Line 14: warning: exported type HTTPFetcher should have comment or be unexported (golint)
    • Line 18: warning: exported method HTTPFetcher.Fetch should have comment or be unexported (golint)
    • teresa/pkg/server/deploy/config.go
    • Line 16: warning: exported const ProcfileFileName should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type Procfile should have comment or be unexported (golint)
    • Line 23: warning: exported type DeployConfigFiles should have comment or be unexported (golint)
    • teresa/pkg/server/app/handlers.go
    • Line 21: warning: exported type Service should have comment or be unexported (golint)
    • Line 25: warning: exported method Service.Create should have comment or be unexported (golint)
    • Line 34: warning: exported method Service.Logs should have comment or be unexported (golint)
    • Line 73: warning: exported method Service.Info should have comment or be unexported (golint)
    • Line 84: warning: exported method Service.SetEnv should have comment or be unexported (golint)
    • Line 95: warning: exported method Service.UnsetEnv should have comment or be unexported (golint)
    • Line 105: warning: exported method Service.SetSecret should have comment or be unexported (golint)
    • Line 121: warning: exported method Service.UnsetSecret should have comment or be unexported (golint)
    • Line 131: warning: exported method Service.List should have comment or be unexported (golint)
    • Line 142: warning: exported method Service.Delete should have comment or be unexported (golint)
    • Line 152: warning: exported method Service.SetAutoscale should have comment or be unexported (golint)
    • Line 163: warning: exported method Service.SetReplicas should have comment or be unexported (golint)
    • Line 173: warning: exported method Service.DeletePods should have comment or be unexported (golint)
    • Line 183: warning: exported method Service.ChangeTeam should have comment or be unexported (golint)
    • Line 194: warning: exported method Service.SetVHosts should have comment or be unexported (golint)
    • Line 202: warning: exported method Service.RegisterService should have comment or be unexported (golint)
    • Line 206: warning: exported function NewService should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!