Preparing report...

Report for github.com/Qihoo360/wayne

A    Great!    Found 256 issues across 286 files

Tweet

gofmt79%

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!


gocyclo99%

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.

    • wayne/src/backend/controllers/openapi/deployment.go
    • Line 358: warning: cyclomatic complexity 40 of function (*OpenAPIController).UpgradeDeployment() is high (> 15) (gocyclo)
    • Line 538: warning: cyclomatic complexity 17 of function (*OpenAPIController).ScaleDeployment() is high (> 15) (gocyclo)
    • Line 176: warning: cyclomatic complexity 16 of function (*OpenAPIController).GetDeploymentStatus() is high (> 15) (gocyclo)

golint26%

Golint is a linter for Go source code.

    • wayne/src/backend/controllers/kubernetes/cronjob/cronjob.go
    • Line 15: warning: exported type KubeCronjobController should have comment or be unexported (golint)
    • Line 19: warning: exported method KubeCronjobController.URLMapping should have comment or be unexported (golint)
    • Line 26: warning: exported method KubeCronjobController.Prepare should have comment or be unexported (golint)
    • Line 40: warning: comment on exported method KubeCronjobController.Suspend should be of the form "Suspend ..." (golint)
    • Line 84: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 97: warning: comment on exported method KubeCronjobController.Create should be of the form "Create ..." (golint)
    • Line 156: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 208: warning: comment on exported method KubeCronjobController.Get should be of the form "Get ..." (golint)
    • Line 228: warning: comment on exported method KubeCronjobController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/namespace.go
    • Line 15: warning: exported const DefaultNamespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type Namespace should have comment or be unexported (golint)
    • Line 41: warning: exported method Namespace.TableName should have comment or be unexported (golint)
    • Line 45: warning: exported type NamespaceMetaData should have comment or be unexported (golint)
    • Line 59: warning: exported type ClusterMeta should have comment or be unexported (golint)
    • Line 63: warning: exported type ResourcesLimit should have comment or be unexported (golint)
    • wayne/src/backend/models/apikey.go
    • Line 8: warning: exported type APIKeyType should have comment or be unexported (golint)
    • Line 11: warning: exported const TableNameAPIKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type APIKey should have comment or be unexported (golint)
    • Line 41: warning: exported method APIKey.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/cronjob/cronjob.go
    • Line 13: warning: exported type Cronjob should have comment or be unexported (golint)
    • Line 18: warning: exported type CronJobSpec should have comment or be unexported (golint)
    • Line 25: warning: exported function CreateOrUpdateCronjob should have comment or be unexported (golint)
    • Line 41: warning: exported function GetCronjobDetail should have comment or be unexported (golint)
    • Line 56: warning: exported function SuspendCronjob should have comment or be unexported (golint)
    • Line 72: warning: exported function DeleteCronjob should have comment or be unexported (golint)
    • wayne/src/backend/resources/common/common.go
    • Line 11: warning: comment on exported type Object should be of the form "Object ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported type BaseObject should be of the form "BaseObject ..." (with optional leading article) (golint)
    • Line 45: warning: exported function ToBaseObject should have comment or be unexported (golint)
    • wayne/src/backend/models/user.go
    • Line 13: warning: exported type UserType should have comment or be unexported (golint)
    • Line 16: warning: exported const DefaultUser should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported var APIKeyUser should have comment or be unexported (golint)
    • Line 41: warning: exported type User should have comment or be unexported (golint)
    • Line 61: warning: exported type UserStatistics should have comment or be unexported (golint)
    • Line 65: warning: exported method User.TableName should have comment or be unexported (golint)
    • Line 69: warning: exported method User.GetTypeName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/webhook/webhook.go
    • Line 12: warning: exported type WebHookController should have comment or be unexported (golint)
    • Line 16: warning: exported method WebHookController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method WebHookController.Prepare should have comment or be unexported (golint)
    • Line 46: warning: comment on exported method WebHookController.GetHookEvents should be of the form "GetHookEvents ..." (golint)
    • Line 57: warning: comment on exported method WebHookController.List should be of the form "List ..." (golint)
    • Line 83: warning: comment on exported method WebHookController.Create should be of the form "Create ..." (golint)
    • Line 105: warning: comment on exported method WebHookController.Get should be of the form "Get ..." (golint)
    • Line 123: warning: comment on exported method WebHookController.Update should be of the form "Update ..." (golint)
    • Line 147: warning: comment on exported method WebHookController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/group.go
    • Line 10: warning: exported type GroupType should have comment or be unexported (golint)
    • Line 13: warning: exported const AppGroupType should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported const GroupAdmin should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type Group should have comment or be unexported (golint)
    • Line 52: warning: exported method Group.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/daemonset.go
    • Line 18: warning: exported const TableNameDaemonSet should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type DaemonSetMetaData should have comment or be unexported (golint)
    • Line 30: warning: exported type DaemonSet should have comment or be unexported (golint)
    • Line 79: warning: exported method DaemonSet.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/publishstatus/publishstatus.go
    • Line 9: warning: exported type PublishStatusController should have comment or be unexported (golint)
    • Line 13: warning: exported method PublishStatusController.URLMapping should have comment or be unexported (golint)
    • Line 18: warning: exported method PublishStatusController.Prepare should have comment or be unexported (golint)
    • Line 23: warning: comment on exported method PublishStatusController.List should be of the form "List ..." (golint)
    • Line 42: warning: comment on exported method PublishStatusController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/namespace/namespace.go
    • Line 22: warning: exported type KubeNamespaceController should have comment or be unexported (golint)
    • Line 26: warning: exported method KubeNamespaceController.URLMapping should have comment or be unexported (golint)
    • Line 32: warning: exported method KubeNamespaceController.Prepare should have comment or be unexported (golint)
    • Line 50: warning: comment on exported method KubeNamespaceController.Create should be of the form "Create ..." (golint)
    • Line 70: warning: comment on exported method KubeNamespaceController.Resources should be of the form "Resources ..." (golint)
    • Line 149: warning: comment on exported method KubeNamespaceController.Statistics should be of the form "Statistics ..." (golint)
    • wayne/src/backend/models/notification_log.go
    • Line 9: warning: exported const TableNameNotificationLog should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type NotificationLog should have comment or be unexported (golint)
    • Line 22: warning: exported method NotificationLog.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/response/response.go
    • Line 9: warning: comment on exported type NamesObject should be of the form "NamesObject ..." (with optional leading article) (golint)
    • Line 15: warning: exported type User should have comment or be unexported (golint)
    • Line 22: warning: exported method User.LoadFromModel should have comment or be unexported (golint)
    • Line 28: warning: exported type Namespace should have comment or be unexported (golint)
    • Line 36: warning: exported type App should have comment or be unexported (golint)
    • Line 47: warning: exported type Service should have comment or be unexported (golint)
    • Line 58: warning: exported type Port should have comment or be unexported (golint)
    • Line 65: warning: exported type Pod should have comment or be unexported (golint)
    • Line 76: warning: exported type ContainerStatus should have comment or be unexported (golint)
    • Line 81: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 89: warning: exported type PodInfo should have comment or be unexported (golint)
    • Line 99: warning: exported type Resource should have comment or be unexported (golint)
    • Line 110: warning: comment on exported type Failure should be of the form "Failure ..." (with optional leading article) (golint)
    • Line 121: warning: exported type ResponseBase should have comment or be unexported (golint)
    • Line 125: warning: comment on exported type Success should be of the form "Success ..." (with optional leading article) (golint)
    • wayne/src/backend/resources/hpa/common.go
    • Line 9: warning: exported type HPACell should have comment or be unexported (golint)
    • Line 11: warning: exported method HPACell.GetProperty should have comment or be unexported (golint)
    • Line 11: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • wayne/src/backend/controllers/auth/authenticator.go
    • Line 52: warning: comment on exported type LoginData should be of the form "LoginData ..." (with optional leading article) (golint)
    • Line 58: warning: exported type LoginResult should have comment or be unexported (golint)
    • Line 62: warning: comment on exported method AuthController.Login should be of the form "Login ..." (golint)
    • Line 168: warning: comment on exported method AuthController.Logout should be of the form "Logout ..." (golint)
    • Line 173: warning: comment on exported method AuthController.CurrentUser should be of the form "CurrentUser ..." (golint)
    • wayne/src/backend/controllers/config/config.go
    • Line 13: warning: exported type ConfigController should have comment or be unexported (golint)
    • Line 17: warning: exported method ConfigController.URLMapping should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method ConfigController.ListSystem should be of the form "ListSystem ..." (golint)
    • Line 39: warning: comment on exported method ConfigController.List should be of the form "List ..." (golint)
    • Line 63: warning: comment on exported method ConfigController.Create should be of the form "Create ..." (golint)
    • Line 87: warning: comment on exported method ConfigController.Update should be of the form "Update ..." (golint)
    • Line 113: warning: comment on exported method ConfigController.Get should be of the form "Get ..." (golint)
    • Line 131: warning: comment on exported method ConfigController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/openapi/deployment.go
    • Line 24: warning: exported type DeploymentInfo should have comment or be unexported (golint)
    • Line 32: warning: comment on exported type DeploymentStatusParam should be of the form "DeploymentStatusParam ..." (with optional leading article) (golint)
    • Line 44: warning: comment on exported type RestartDeploymentParam should be of the form "RestartDeploymentParam ..." (with optional leading article) (golint)
    • Line 56: warning: comment on exported type UpgradeDeploymentParam should be of the form "UpgradeDeploymentParam ..." (with optional leading article) (golint)
    • Line 85: warning: comment on exported type ScaleDeploymentParam should be of the form "ScaleDeploymentParam ..." (with optional leading article) (golint)
    • Line 100: warning: comment on exported type DeploymentStatus should be of the form "DeploymentStatus ..." (with optional leading article) (golint)
    • Line 163: warning: comment on exported method OpenAPIController.GetDeploymentStatus should be of the form "GetDeploymentStatus ..." (golint)
    • Line 265: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 272: warning: comment on exported method OpenAPIController.RestartDeployment should be of the form "RestartDeployment ..." (golint)
    • Line 341: warning: comment on exported method OpenAPIController.UpgradeDeployment should be of the form "UpgradeDeployment ..." (golint)
    • Line 525: warning: comment on exported method OpenAPIController.ScaleDeployment should be of the form "ScaleDeployment ..." (golint)
    • Line 713: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 750: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 760: warning: comment on exported method OpenAPIController.GetDeploymentDetail should be of the form "GetDeploymentDetail ..." (golint)
    • Line 806: warning: comment on exported method OpenAPIController.GetLatestDeploymentTpl should be of the form "GetLatestDeploymentTpl ..." (golint)
    • wayne/src/backend/resources/pod/common.go
    • Line 9: warning: comment on exported type ObjectCell should be of the form "ObjectCell ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method ObjectCell.GetProperty should be of the form "GetProperty ..." (golint)
    • wayne/src/backend/workers/audit/audit.go
    • Line 18: warning: exported const QueueAudit should have comment or be unexported (golint)
    • Line 25: warning: exported type AuditWorker should have comment or be unexported (golint)
    • Line 31: warning: exported function NewAuditWorker should have comment or be unexported (golint)
    • Line 52: warning: exported method AuditWorker.Process should have comment or be unexported (golint)
    • Line 81: warning: exported type Auditor should have comment or be unexported (golint)
    • Line 85: warning: exported type NamespaceUserAuditor should have comment or be unexported (golint)
    • Line 90: warning: exported method NamespaceUserAuditor.Audit should have comment or be unexported (golint)
    • Line 151: warning: exported type AppAuditor should have comment or be unexported (golint)
    • Line 156: warning: exported method AppAuditor.Audit should have comment or be unexported (golint)
    • Line 217: warning: exported type OpenAPIAuditor should have comment or be unexported (golint)
    • Line 221: warning: exported method OpenAPIAuditor.Audit should have comment or be unexported (golint)
    • Line 264: warning: exported type FallbackRequestAuditor should have comment or be unexported (golint)
    • Line 268: warning: exported method FallbackRequestAuditor.Audit should have comment or be unexported (golint)
    • wayne/src/backend/models/invoice.go
    • Line 8: warning: exported const TableNameInvoice should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type Invoice should have comment or be unexported (golint)
    • Line 27: warning: exported method Invoice.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/customlink/link_type.go
    • Line 11: warning: exported type LinkTypeController should have comment or be unexported (golint)
    • Line 15: warning: exported method LinkTypeController.URLMapping should have comment or be unexported (golint)
    • Line 23: warning: exported method LinkTypeController.Prepare should have comment or be unexported (golint)
    • Line 44: warning: comment on exported method LinkTypeController.List should be of the form "List ..." (golint)
    • Line 71: warning: comment on exported method LinkTypeController.Create should be of the form "Create ..." (golint)
    • Line 95: warning: comment on exported method LinkTypeController.Update should be of the form "Update ..." (golint)
    • Line 121: warning: comment on exported method LinkTypeController.Get should be of the form "Get ..." (golint)
    • Line 139: warning: comment on exported method LinkTypeController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/daemonset_template.go
    • Line 8: warning: exported const TableNameDaemonSetTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type DaemonSetTemplate should have comment or be unexported (golint)
    • Line 29: warning: exported method DaemonSetTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/permission/app_user.go
    • Line 15: warning: comment on exported type AppUserController should be of the form "AppUserController ..." (with optional leading article) (golint)
    • Line 20: warning: exported method AppUserController.URLMapping should have comment or be unexported (golint)
    • Line 29: warning: exported method AppUserController.Prepare should have comment or be unexported (golint)
    • Line 50: warning: comment on exported method AppUserController.List should be of the form "List ..." (golint)
    • Line 97: warning: comment on exported method AppUserController.Create should be of the form "Create ..." (golint)
    • Line 144: warning: comment on exported method AppUserController.Get should be of the form "Get ..." (golint)
    • Line 168: warning: comment on exported method AppUserController.GetPermissionByApp should be of the form "GetPermissionByApp ..." (golint)
    • Line 237: warning: comment on exported method AppUserController.Update should be of the form "Update ..." (golint)
    • Line 269: warning: comment on exported method AppUserController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/app.go
    • Line 14: warning: exported const TableNameApp should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type App should have comment or be unexported (golint)
    • Line 49: warning: exported method App.TableName should have comment or be unexported (golint)
    • Line 53: warning: comment on exported type AppStar should be of the form "AppStar ..." (with optional leading article) (golint)
    • Line 65: warning: exported type AppStatistics should have comment or be unexported (golint)
    • Line 70: warning: exported type NamespaceDetail should have comment or be unexported (golint)
    • wayne/src/backend/controllers/permission/permission.go
    • Line 11: warning: exported type PermissionController should have comment or be unexported (golint)
    • Line 15: warning: exported method PermissionController.URLMapping should have comment or be unexported (golint)
    • Line 23: warning: exported method PermissionController.Prepare should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method PermissionController.List should be of the form "List ..." (golint)
    • Line 72: warning: comment on exported method PermissionController.Get should be of the form "Get ..." (golint)
    • Line 89: warning: comment on exported method PermissionController.Create should be of the form "Create ..." (golint)
    • Line 112: warning: comment on exported method PermissionController.Update should be of the form "Update ..." (golint)
    • Line 139: warning: comment on exported method PermissionController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/secret/secret_tpl.go
    • Line 15: warning: exported type SecretTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method SecretTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method SecretTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method SecretTplController.List should be of the form "List ..." (golint)
    • Line 85: warning: comment on exported method SecretTplController.Create should be of the form "Create ..." (golint)
    • Line 122: warning: comment on exported method SecretTplController.Get should be of the form "Get ..." (golint)
    • Line 141: warning: comment on exported method SecretTplController.Update should be of the form "Update ..." (golint)
    • Line 170: warning: comment on exported method SecretTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/configmap/configmap_tpl.go
    • Line 15: warning: exported type ConfigMapTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method ConfigMapTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method ConfigMapTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method ConfigMapTplController.List should be of the form "List ..." (golint)
    • Line 84: warning: comment on exported method ConfigMapTplController.Create should be of the form "Create ..." (golint)
    • Line 121: warning: comment on exported method ConfigMapTplController.Get should be of the form "Get ..." (golint)
    • Line 140: warning: comment on exported method ConfigMapTplController.Update should be of the form "Update ..." (golint)
    • Line 171: warning: comment on exported method ConfigMapTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/client/api/types.go
    • Line 17: warning: exported type ResourceName should have comment or be unexported (golint)
    • Line 18: warning: exported type KindName should have comment or be unexported (golint)
    • Line 21: warning: exported const ResourceNameConfigMap should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported const KindNameConfigMap should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported type ResourceMap should have comment or be unexported (golint)
    • Line 79: warning: exported type GroupVersionResourceKind should have comment or be unexported (golint)
    • Line 84: warning: exported var KindToResourceMap should have comment or be unexported (golint)
    • Line 353: warning: exported var KindToStableResourceMap should have comment or be unexported (golint)
    • Line 622: warning: exported function GetResourceMap should have comment or be unexported (golint)
    • wayne/src/backend/controllers/openapi/namespace.go
    • Line 21: warning: comment on exported method OpenAPIController.ListNamespaceUsers should be of the form "ListNamespaceUsers ..." (golint)
    • Line 73: warning: comment on exported method OpenAPIController.ListNamespaceApps should be of the form "ListNamespaceApps ..." (golint)
    • wayne/src/backend/controllers/pvc/pvc_tpl.go
    • Line 15: warning: exported type PersistentVolumeClaimTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method PersistentVolumeClaimTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method PersistentVolumeClaimTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method PersistentVolumeClaimTplController.List should be of the form "List ..." (golint)
    • Line 84: warning: comment on exported method PersistentVolumeClaimTplController.Create should be of the form "Create ..." (golint)
    • Line 121: warning: comment on exported method PersistentVolumeClaimTplController.Get should be of the form "Get ..." (golint)
    • Line 139: warning: comment on exported method PersistentVolumeClaimTplController.Update should be of the form "Update ..." (golint)
    • Line 168: warning: comment on exported method PersistentVolumeClaimTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/resources/pvc/pvc.go
    • Line 16: warning: error var RbdNotFoundError should have name of the form ErrFoo (golint)
    • Line 16: warning: exported var RbdNotFoundError should have comment or be unexported (golint)
    • Line 19: warning: exported function CreateOrUpdatePersistentVolumeClaim should have comment or be unexported (golint)
    • Line 33: warning: exported function GetPersistentVolumeClaimDetail should have comment or be unexported (golint)
    • Line 39: warning: exported function DeletePersistentVolumeClaim should have comment or be unexported (golint)
    • Line 43: warning: exported function GetRbdImageByPvc should have comment or be unexported (golint)
    • Line 65: warning: exported function GetImageNameAndTypeByPvc should have comment or be unexported (golint)
    • wayne/src/backend/controllers/base/apikey.go
    • Line 19: warning: exported type APIKeyController should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method APIKeyController.Prepare should be of the form "Prepare ..." (golint)
    • Line 97: warning: comment on exported method APIKeyController.HandleResponse should be of the form "HandleResponse ..." (golint)
    • Line 115: warning: exported method APIKeyController.HandleByCode should have comment or be unexported (golint)
    • Line 131: warning: exported method APIKeyController.AddError should have comment or be unexported (golint)
    • Line 135: warning: exported method APIKeyController.AddErrorAndResponse should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/pvc/robin.go
    • Line 21: warning: exported type RobinPersistentVolumeClaimController should have comment or be unexported (golint)
    • Line 25: warning: exported method RobinPersistentVolumeClaimController.URLMapping should have comment or be unexported (golint)
    • Line 39: warning: exported method RobinPersistentVolumeClaimController.Prepare should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method RobinPersistentVolumeClaimController.GetPvcStatus should be of the form "GetPvcStatus ..." (golint)
    • Line 116: warning: comment on exported method RobinPersistentVolumeClaimController.ActiveImage should be of the form "ActiveImage ..." (golint)
    • Line 166: warning: comment on exported method RobinPersistentVolumeClaimController.InActiveImage should be of the form "InActiveImage ..." (golint)
    • Line 202: warning: comment on exported method RobinPersistentVolumeClaimController.OfflineImageUser should be of the form "OfflineImageUser ..." (golint)
    • Line 237: warning: comment on exported method RobinPersistentVolumeClaimController.LoginInfo should be of the form "LoginInfo ..." (golint)
    • Line 278: warning: comment on exported method RobinPersistentVolumeClaimController.Verify should be of the form "Verify ..." (golint)
    • Line 360: warning: comment on exported method RobinPersistentVolumeClaimController.ListSnapshot should be of the form "ListSnapshot ..." (golint)
    • Line 393: warning: comment on exported method RobinPersistentVolumeClaimController.CreateSnapshot should be of the form "CreateSnapshot ..." (golint)
    • Line 429: warning: comment on exported method RobinPersistentVolumeClaimController.DeleteAllSnapshot should be of the form "DeleteAllSnapshot ..." (golint)
    • Line 462: warning: comment on exported method RobinPersistentVolumeClaimController.DeleteSnapshot should be of the form "DeleteSnapshot ..." (golint)
    • Line 497: warning: comment on exported method RobinPersistentVolumeClaimController.RollbackSnapshot should be of the form "RollbackSnapshot ..." (golint)
    • wayne/src/backend/resources/pv/pv.go
    • Line 9: warning: exported function ListPersistentVolume should have comment or be unexported (golint)
    • Line 17: warning: exported function CreatePersistentVolume should have comment or be unexported (golint)
    • Line 25: warning: exported function UpdatePersistentVolume should have comment or be unexported (golint)
    • Line 33: warning: exported function DeletePersistentVolume should have comment or be unexported (golint)
    • Line 37: warning: exported function GetPersistentVolumeByName should have comment or be unexported (golint)
    • wayne/src/backend/models/build_sql.go
    • Line 22: warning: exported function BuildQuery should have comment or be unexported (golint)
    • Line 56: warning: exported function BuildGroupBy should have comment or be unexported (golint)
    • Line 67: warning: exported function BuildOrder should have comment or be unexported (golint)
    • wayne/src/backend/models/util.go
    • Line 13: warning: exported function GetTotal should have comment or be unexported (golint)
    • Line 22: warning: exported function GetAll should have comment or be unexported (golint)
    • Line 46: warning: error should be the last type when returning multiple items (golint)
    • Line 46: warning: exported function GetAppIdByFilter should have comment or be unexported (golint)
    • Line 58: warning: exported function BuildFilter should have comment or be unexported (golint)
    • Line 81: warning: exported function ListTemplate should have comment or be unexported (golint)
    • wayne/src/backend/models/permission.go
    • Line 11: warning: exported const TableNamePermission should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported const PermissionTypeKubeConfigMap should be of the form "PermissionTypeKubeConfigMap ..." (golint)
    • Line 67: warning: exported type Permission should have comment or be unexported (golint)
    • Line 78: warning: exported type TypePermission should have comment or be unexported (golint)
    • Line 124: warning: exported type ActionPermission should have comment or be unexported (golint)
    • Line 131: warning: exported method Permission.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/common/util.go
    • Line 8: warning: exported function DeploymentResourceList should have comment or be unexported (golint)
    • Line 17: warning: exported function StatefulsetResourceList should have comment or be unexported (golint)
    • Line 26: warning: exported function ContainersResourceList should have comment or be unexported (golint)
    • Line 40: warning: exported function ContainersRequestResourceList should have comment or be unexported (golint)
    • Line 54: warning: exported function CompareLabels should have comment or be unexported (golint)
    • wayne/src/backend/cmd/root.go
    • Line 7: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported function Run should have comment or be unexported (golint)
    • wayne/src/backend/controllers/daemonset/daemonset_tpl.go
    • Line 15: warning: exported type DaemonSetTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method DaemonSetTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method DaemonSetTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method DaemonSetTplController.List should be of the form "List ..." (golint)
    • Line 85: warning: comment on exported method DaemonSetTplController.Create should be of the form "Create ..." (golint)
    • Line 122: warning: comment on exported method DaemonSetTplController.Get should be of the form "Get ..." (golint)
    • Line 141: warning: comment on exported method DaemonSetTplController.Update should be of the form "Update ..." (golint)
    • Line 171: warning: comment on exported method DaemonSetTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/cronjob.go
    • Line 17: warning: exported const TableNameCronjob should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type CronjobMetaData should have comment or be unexported (golint)
    • Line 30: warning: exported type Cronjob should have comment or be unexported (golint)
    • Line 55: warning: exported method Cronjob.TableName should have comment or be unexported (golint)
    • wayne/src/backend/client/handler.go
    • Line 1: warning: package comment should be of the form "Package client ..." (golint)
    • Line 17: warning: exported type ResourceHandler should have comment or be unexported (golint)
    • Line 30: warning: exported function NewResourceHandler should have comment or be unexported (golint)
    • wayne/src/backend/models/config.go
    • Line 5: warning: exported type ConfigKey should have comment or be unexported (golint)
    • Line 8: warning: exported const ConfigKeyTitile should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: comment on exported const ConfigKeyMonitorUri should be of the form "ConfigKeyMonitorUri ..." (golint)
    • Line 15: warning: comment on exported const ConfigKeyApiNameGenerateRule should be of the form "ConfigKeyApiNameGenerateRule ..." (golint)
    • Line 25: warning: exported type Config should have comment or be unexported (golint)
    • Line 32: warning: exported method Config.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/event/event.go
    • Line 16: warning: exported type KubeEventController should have comment or be unexported (golint)
    • Line 20: warning: exported method KubeEventController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method KubeEventController.Prepare should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method KubeEventController.List should be of the form "List ..." (golint)
    • wayne/src/backend/models/pvc_template.go
    • Line 8: warning: exported const TableNamePersistentVolumeClaimTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type PersistentVolumeClaimTemplate should have comment or be unexported (golint)
    • Line 32: warning: exported method PersistentVolumeClaimTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/deployment.go
    • Line 18: warning: exported const TableNameDeployment should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type DeploymentMetaData should have comment or be unexported (golint)
    • Line 31: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 83: warning: exported method Deployment.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/service.go
    • Line 8: warning: exported const TableNameService should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type Service should have comment or be unexported (golint)
    • Line 27: warning: exported method Service.TableName should have comment or be unexported (golint)
    • wayne/src/backend/util/maps/maps.go
    • Line 9: warning: comment on exported function MergeLabels should be of the form "MergeLabels ..." (golint)
    • Line 27: warning: exported function LabelsToString should have comment or be unexported (golint)
    • Line 37: warning: exported function SyncMapLen should have comment or be unexported (golint)
    • wayne/src/backend/controllers/cronjob/cronjob_template.go
    • Line 15: warning: exported type CronjobTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method CronjobTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method CronjobTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method CronjobTplController.List should be of the form "List ..." (golint)
    • Line 85: warning: comment on exported method CronjobTplController.Create should be of the form "Create ..." (golint)
    • Line 122: warning: comment on exported method CronjobTplController.Get should be of the form "Get ..." (golint)
    • Line 141: warning: comment on exported method CronjobTplController.Update should be of the form "Update ..." (golint)
    • Line 170: warning: comment on exported method CronjobTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/configmap/configmap.go
    • Line 11: warning: exported type ConfigMapController should have comment or be unexported (golint)
    • Line 15: warning: exported method ConfigMapController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method ConfigMapController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method ConfigMapController.GetNames should be of the form "GetNames ..." (golint)
    • Line 68: warning: comment on exported method ConfigMapController.List should be of the form "List ..." (golint)
    • Line 114: warning: comment on exported method ConfigMapController.Create should be of the form "Create ..." (golint)
    • Line 138: warning: comment on exported method ConfigMapController.Get should be of the form "Get ..." (golint)
    • Line 157: warning: comment on exported method ConfigMapController.Update should be of the form "Update ..." (golint)
    • Line 183: warning: comment on exported method ConfigMapController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 205: warning: comment on exported method ConfigMapController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/resources/daemonset/daemonset.go
    • Line 16: warning: exported type DaemonSet should have comment or be unexported (golint)
    • Line 21: warning: exported function CreateOrUpdateDaemonSet should have comment or be unexported (golint)
    • Line 37: warning: exported function GetDaemonSetDetail should have comment or be unexported (golint)
    • Line 66: warning: exported function DeleteDaemonSet should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/deployment/deployment.go
    • Line 24: warning: exported type KubeDeploymentController should have comment or be unexported (golint)
    • Line 28: warning: exported type Replica should have comment or be unexported (golint)
    • Line 32: warning: exported method KubeDeploymentController.URLMapping should have comment or be unexported (golint)
    • Line 39: warning: exported method KubeDeploymentController.Prepare should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method KubeDeploymentController.List should be of the form "List ..." (golint)
    • Line 79: warning: comment on exported method KubeDeploymentController.Create should be of the form "Create ..." (golint)
    • Line 225: warning: comment on exported method KubeDeploymentController.Get should be of the form "Get ..." (golint)
    • Line 245: warning: comment on exported method KubeDeploymentController.Delete should be of the form "Delete ..." (golint)
    • Line 272: warning: comment on exported method KubeDeploymentController.UpdateScale should be of the form "UpdateScale ..." (golint)
    • wayne/src/backend/util/logs/logs.go
    • Line 57: warning: exported function Error should have comment or be unexported (golint)
    • Line 65: warning: exported function Warning should have comment or be unexported (golint)
    • Line 73: warning: exported function Critical should have comment or be unexported (golint)
    • Line 81: warning: exported function Notice should have comment or be unexported (golint)
    • Line 89: warning: exported function Info should have comment or be unexported (golint)
    • Line 97: warning: exported function Debug should have comment or be unexported (golint)
    • wayne/src/backend/models/link_type.go
    • Line 4: warning: exported const TableNameLinkType should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type LinkType should have comment or be unexported (golint)
    • Line 18: warning: exported method LinkType.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/statefulset/statefulset.go
    • Line 22: warning: exported type KubeStatefulsetController should have comment or be unexported (golint)
    • Line 26: warning: exported method KubeStatefulsetController.URLMapping should have comment or be unexported (golint)
    • Line 31: warning: exported method KubeStatefulsetController.Prepare should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method KubeStatefulsetController.Create should be of the form "Create ..." (golint)
    • Line 224: warning: comment on exported method KubeStatefulsetController.Get should be of the form "Get ..." (golint)
    • wayne/src/backend/bus/message/message.go
    • Line 8: warning: exported type Type should have comment or be unexported (golint)
    • Line 11: warning: exported const TypeRequest should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type Message should have comment or be unexported (golint)
    • Line 21: warning: exported type RequestMessageData should have comment or be unexported (golint)
    • Line 33: warning: exported type HookMessageData should have comment or be unexported (golint)
    • Line 45: warning: exported type TaskMessageData should have comment or be unexported (golint)
    • wayne/src/backend/oauth2/oauth2.go
    • Line 21: warning: exported var OAuth2Infos should have comment or be unexported (golint)
    • Line 26: warning: exported const OAuth2TypeDefault should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type BasicUserInfo should have comment or be unexported (golint)
    • Line 35: warning: exported type OAuth2Info should have comment or be unexported (golint)
    • Line 46: warning: exported type OAuther should have comment or be unexported (golint)
    • Line 54: warning: exported function NewOAuth2Service should have comment or be unexported (golint)
    • wayne/src/backend/controllers/openapi/pod.go
    • Line 31: warning: comment on exported type PodInfoParam should be of the form "PodInfoParam ..." (with optional leading article) (golint)
    • Line 41: warning: comment on exported type PodInfoFromIPParam should be of the form "PodInfoFromIPParam ..." (with optional leading article) (golint)
    • Line 52: warning: comment on exported type PodListParam should be of the form "PodListParam ..." (with optional leading article) (golint)
    • Line 96: warning: comment on exported method OpenAPIController.GetPodInfo should be of the form "GetPodInfo ..." (golint)
    • Line 141: warning: comment on exported method OpenAPIController.GetPodInfoFromIP should be of the form "GetPodInfoFromIP ..." (golint)
    • Line 192: warning: comment on exported method OpenAPIController.GetPodList should be of the form "GetPodList ..." (golint)
    • wayne/src/backend/controllers/cluster/cluster.go
    • Line 11: warning: comment on exported type ClusterController should be of the form "ClusterController ..." (with optional leading article) (golint)
    • Line 16: warning: exported method ClusterController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method ClusterController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method ClusterController.GetNames should be of the form "GetNames ..." (golint)
    • Line 63: warning: comment on exported method ClusterController.Create should be of the form "Create ..." (golint)
    • Line 88: warning: comment on exported method ClusterController.Update should be of the form "Update ..." (golint)
    • Line 114: warning: comment on exported method ClusterController.Get should be of the form "Get ..." (golint)
    • Line 136: warning: comment on exported method ClusterController.List should be of the form "List ..." (golint)
    • Line 169: warning: comment on exported method ClusterController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/workers/webhook/newhook.go
    • Line 23: warning: exported const EventName should have comment or be unexported (golint)
    • Line 35: warning: exported const MaxIdleConns should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported function RegisterHookHandler should have comment or be unexported (golint)
    • Line 74: warning: exported function Process should have comment or be unexported (golint)
    • wayne/src/backend/workers/webhook/payload.go
    • Line 17: warning: exported type Request should have comment or be unexported (golint)
    • Line 27: warning: exported type EventDeploymentPayload should have comment or be unexported (golint)
    • Line 32: warning: exported type EventServicePayload should have comment or be unexported (golint)
    • Line 37: warning: exported type EventIngressPayload should have comment or be unexported (golint)
    • Line 42: warning: exported type EventMemberPayload should have comment or be unexported (golint)
    • Line 47: warning: exported type Action should have comment or be unexported (golint)
    • Line 50: warning: exported const AddMember should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported function PublishEventDeployment should have comment or be unexported (golint)
    • Line 95: warning: exported function PublishEventService should have comment or be unexported (golint)
    • Line 129: warning: exported function PublishEventIngress should have comment or be unexported (golint)
    • Line 163: warning: exported function PublishEventMember should have comment or be unexported (golint)
    • wayne/src/backend/models/ingress.go
    • Line 11: warning: exported const TableNameIngress should have comment or be unexported (golint)
    • Line 16: warning: exported type Ingress should have comment or be unexported (golint)
    • Line 32: warning: exported method Ingress.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/secret.go
    • Line 12: warning: exported const TableNameSecret should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type Secret should have comment or be unexported (golint)
    • Line 33: warning: exported method Secret.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/proxy/proxy.go
    • Line 19: warning: exported type KubeProxyController should have comment or be unexported (golint)
    • Line 23: warning: exported method KubeProxyController.URLMapping should have comment or be unexported (golint)
    • Line 32: warning: exported method KubeProxyController.Prepare should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method KubeProxyController.Get should be of the form "Get ..." (golint)
    • Line 77: warning: comment on exported method KubeProxyController.GetNames should be of the form "GetNames ..." (golint)
    • Line 98: warning: comment on exported method KubeProxyController.List should be of the form "List ..." (golint)
    • Line 126: warning: comment on exported method KubeProxyController.Create should be of the form "Create ..." (golint)
    • Line 155: warning: comment on exported method KubeProxyController.Update should be of the form "Update ..." (golint)
    • Line 184: warning: comment on exported method KubeProxyController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/crd/custom-crd.go
    • Line 14: warning: exported type KubeCustomCRDController should have comment or be unexported (golint)
    • Line 25: warning: exported method KubeCustomCRDController.URLMapping should have comment or be unexported (golint)
    • Line 33: warning: exported method KubeCustomCRDController.Prepare should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method KubeCustomCRDController.List should be of the form "List ..." (golint)
    • Line 72: warning: comment on exported method KubeCustomCRDController.Get should be of the form "Get ..." (golint)
    • Line 87: warning: comment on exported method KubeCustomCRDController.Create should be of the form "Create ..." (golint)
    • Line 102: warning: comment on exported method KubeCustomCRDController.Update should be of the form "Update ..." (golint)
    • Line 122: warning: comment on exported method KubeCustomCRDController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/secret/secret.go
    • Line 14: warning: exported type KubeSecretController should have comment or be unexported (golint)
    • Line 18: warning: exported method KubeSecretController.URLMapping should have comment or be unexported (golint)
    • Line 22: warning: exported method KubeSecretController.Prepare should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method KubeSecretController.Create should be of the form "Create ..." (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • wayne/src/backend/controllers/publish/publish_history.go
    • Line 11: warning: exported type PublishController should have comment or be unexported (golint)
    • Line 15: warning: exported method PublishController.URLMapping should have comment or be unexported (golint)
    • Line 19: warning: exported method PublishController.Prepare should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method PublishController.Statistics should be of the form "Statistics ..." (golint)
    • Line 54: warning: comment on exported method PublishController.List should be of the form "List ..." (golint)
    • wayne/src/backend/models/hpa.go
    • Line 11: warning: exported const TableNameHPA should have comment or be unexported (golint)
    • Line 16: warning: exported type HPA should have comment or be unexported (golint)
    • Line 32: warning: exported method HPA.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/ingress_template.go
    • Line 5: warning: exported const TableNameIngressTemplate should have comment or be unexported (golint)
    • Line 10: warning: exported type IngressTemplate should have comment or be unexported (golint)
    • Line 26: warning: exported method IngressTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/configmap_template.go
    • Line 8: warning: exported const TableNameConfigMapTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type ConfigMapTemplate should have comment or be unexported (golint)
    • Line 32: warning: exported method ConfigMapTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/ingress/ingress.go
    • Line 12: warning: exported function CreateOrUpdateIngress should have comment or be unexported (golint)
    • Line 39: warning: exported function GetIngressDetail should have comment or be unexported (golint)
    • Line 47: warning: exported function GetIngress should have comment or be unexported (golint)
    • Line 55: warning: exported function DeleteIngress should have comment or be unexported (golint)
    • Line 59: warning: exported function GetIngressList should have comment or be unexported (golint)
    • wayne/src/backend/controllers/auth/db/db.go
    • Line 11: warning: exported type DBAuth should have comment or be unexported (golint)
    • Line 17: warning: exported type CurrentInfo should have comment or be unexported (golint)
    • Line 22: warning: exported method DBAuth.Authenticate should have comment or be unexported (golint)
    • wayne/src/backend/controllers/customlink/showlink.go
    • Line 11: warning: exported type ShowLinkController should have comment or be unexported (golint)
    • Line 15: warning: exported type Link should have comment or be unexported (golint)
    • Line 20: warning: exported method ShowLinkController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method ShowLinkController.List should be of the form "List ..." (golint)
    • wayne/src/backend/controllers/kubernetes/service/service.go
    • Line 17: warning: exported type KubeServiceController should have comment or be unexported (golint)
    • Line 21: warning: exported method KubeServiceController.URLMapping should have comment or be unexported (golint)
    • Line 26: warning: exported method KubeServiceController.Prepare should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method KubeServiceController.Get should be of the form "Get ..." (golint)
    • Line 57: warning: comment on exported method KubeServiceController.Create should be of the form "Create ..." (golint)
    • Line 109: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • wayne/src/backend/resources/crd/common.go
    • Line 10: warning: comment on exported type CRDCell should be of the form "CRDCell ..." (with optional leading article) (golint)
    • Line 13: warning: comment on exported method CRDCell.GetProperty should be of the form "GetProperty ..." (golint)
    • Line 28: warning: comment on exported type CustomCRDCell should be of the form "CustomCRDCell ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported method CustomCRDCell.GetProperty should be of the form "GetProperty ..." (golint)
    • Line 46: warning: exported type CustomCRD should have comment or be unexported (golint)
    • Line 54: warning: exported type CustomCRDList should have comment or be unexported (golint)
    • wayne/src/backend/controllers/customlink/custom_link.go
    • Line 11: warning: exported type CustomLinkController should have comment or be unexported (golint)
    • Line 15: warning: exported method CustomLinkController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method CustomLinkController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method CustomLinkController.List should be of the form "List ..." (golint)
    • Line 88: warning: comment on exported method CustomLinkController.Create should be of the form "Create ..." (golint)
    • Line 112: warning: comment on exported method CustomLinkController.Update should be of the form "Update ..." (golint)
    • Line 138: warning: comment on exported method CustomLinkController.Get should be of the form "Get ..." (golint)
    • Line 163: warning: comment on exported method CustomLinkController.Delete should be of the form "Delete ..." (golint)
    • Line 182: warning: comment on exported method CustomLinkController.ChangeStatus should be of the form "ChangeStatus ..." (golint)
    • wayne/src/backend/controllers/kubernetes/log/log.go
    • Line 13: warning: exported type KubeLogController should have comment or be unexported (golint)
    • Line 17: warning: exported method KubeLogController.URLMapping should have comment or be unexported (golint)
    • Line 21: warning: exported method KubeLogController.Prepare should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method KubeLogController.List should be of the form "List ..." (golint)
    • wayne/src/backend/controllers/pvc/pvc.go
    • Line 11: warning: exported type PersistentVolumeClaimController should have comment or be unexported (golint)
    • Line 15: warning: exported method PersistentVolumeClaimController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method PersistentVolumeClaimController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method PersistentVolumeClaimController.GetNames should be of the form "GetNames ..." (golint)
    • Line 68: warning: comment on exported method PersistentVolumeClaimController.List should be of the form "List ..." (golint)
    • Line 114: warning: comment on exported method PersistentVolumeClaimController.Create should be of the form "Create ..." (golint)
    • Line 139: warning: comment on exported method PersistentVolumeClaimController.Get should be of the form "Get ..." (golint)
    • Line 157: warning: comment on exported method PersistentVolumeClaimController.Update should be of the form "Update ..." (golint)
    • Line 183: warning: comment on exported method PersistentVolumeClaimController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 205: warning: comment on exported method PersistentVolumeClaimController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/crd/crd.go
    • Line 15: warning: exported type KubeCRDController should have comment or be unexported (golint)
    • Line 19: warning: exported method KubeCRDController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method KubeCRDController.Prepare should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method KubeCRDController.List should be of the form "List ..." (golint)
    • Line 58: warning: comment on exported method KubeCRDController.Get should be of the form "Get ..." (golint)
    • Line 75: warning: comment on exported method KubeCRDController.Create should be of the form "Create ..." (golint)
    • Line 95: warning: comment on exported method KubeCRDController.Update should be of the form "Update ..." (golint)
    • Line 120: warning: comment on exported method KubeCRDController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/util/des/des.go
    • Line 9: warning: exported function DesEncrypt should have comment or be unexported (golint)
    • Line 23: warning: exported function DesDecrypt should have comment or be unexported (golint)
    • Line 37: warning: exported function PKCS5Padding should have comment or be unexported (golint)
    • Line 43: warning: exported function PKCS5UnPadding should have comment or be unexported (golint)
    • wayne/src/backend/client/cache.go
    • Line 12: warning: exported type CacheFactory should have comment or be unexported (golint)
    • Line 17: warning: exported method ClusterManager.Close should have comment or be unexported (golint)
    • Line 47: warning: exported method CacheFactory.PodLister should have comment or be unexported (golint)
    • Line 51: warning: exported method CacheFactory.EventLister should have comment or be unexported (golint)
    • Line 55: warning: exported method CacheFactory.DeploymentLister should have comment or be unexported (golint)
    • Line 59: warning: exported method CacheFactory.NodeLister should have comment or be unexported (golint)
    • Line 63: warning: exported method CacheFactory.EndpointLister should have comment or be unexported (golint)
    • Line 67: warning: exported method CacheFactory.HPALister should have comment or be unexported (golint)
    • wayne/src/backend/models/cluster.go
    • Line 13: warning: exported type ClusterStatus should have comment or be unexported (golint)
    • Line 16: warning: exported const ClusterStatusNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 74: warning: exported type ClusterMetaData should have comment or be unexported (golint)
    • Line 93: warning: exported type ClusterRobinMetaData should have comment or be unexported (golint)
    • Line 100: warning: exported method Cluster.TableName should have comment or be unexported (golint)
    • wayne/src/backend/workers/workers.go
    • Line 20: warning: exported type Worker should have comment or be unexported (golint)
    • Line 25: warning: exported type MessageWorker should have comment or be unexported (golint)
    • Line 30: warning: exported type BaseMessageWorker should have comment or be unexported (golint)
    • Line 39: warning: exported function NewBaseMessageWorker should have comment or be unexported (golint)
    • Line 44: warning: exported method BaseMessageWorker.Run should have comment or be unexported (golint)
    • Line 84: warning: exported method BaseMessageWorker.Stop should have comment or be unexported (golint)
    • wayne/src/backend/controllers/deployment/deployment_tpl.go
    • Line 15: warning: exported type DeploymentTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method DeploymentTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method DeploymentTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method DeploymentTplController.List should be of the form "List ..." (golint)
    • Line 86: warning: comment on exported method DeploymentTplController.Create should be of the form "Create ..." (golint)
    • Line 123: warning: comment on exported method DeploymentTplController.Get should be of the form "Get ..." (golint)
    • Line 142: warning: comment on exported method DeploymentTplController.Update should be of the form "Update ..." (golint)
    • Line 172: warning: comment on exported method DeploymentTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/ingress/ingress_tpl.go
    • Line 15: warning: exported type IngressTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method IngressTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method IngressTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method IngressTplController.List should be of the form "List ..." (golint)
    • Line 84: warning: comment on exported method IngressTplController.Create should be of the form "Create ..." (golint)
    • Line 122: warning: comment on exported method IngressTplController.Get should be of the form "Get ..." (golint)
    • Line 140: warning: comment on exported method IngressTplController.Update should be of the form "Update ..." (golint)
    • Line 169: warning: comment on exported method IngressTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/bus/bus.go
    • Line 11: warning: exported var DefaultBus should have comment or be unexported (golint)
    • Line 14: warning: exported const QueueWebhook should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type Bus should have comment or be unexported (golint)
    • Line 27: warning: exported function NewBus should have comment or be unexported (golint)
    • Line 47: warning: exported method Bus.Init should have comment or be unexported (golint)
    • Line 56: warning: exported function Notify should have comment or be unexported (golint)
    • wayne/src/backend/controllers/base/resulthandler.go
    • Line 18: warning: exported type ResultHandlerController should have comment or be unexported (golint)
    • Line 22: warning: exported type Result should have comment or be unexported (golint)
    • Line 26: warning: exported method ResultHandlerController.Success should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method ResultHandlerController.AbortForbidden should be of the form "AbortForbidden ..." (golint)
    • Line 38: warning: exported method ResultHandlerController.AbortInternalServerError should have comment or be unexported (golint)
    • Line 43: warning: exported method ResultHandlerController.AbortBadRequest should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method ResultHandlerController.AbortBadRequestFormat should be of the form "AbortBadRequestFormat ..." (golint)
    • Line 54: warning: exported method ResultHandlerController.AbortUnauthorized should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method ResultHandlerController.HandleError should be of the form "HandleError ..." (golint)
    • wayne/src/backend/resources/node/node.go
    • Line 17: warning: exported type NodeStatistics should have comment or be unexported (golint)
    • Line 22: warning: exported type NodeListResult should have comment or be unexported (golint)
    • Line 29: warning: exported type NodeListSummary should have comment or be unexported (golint)
    • Line 38: warning: exported type ResourceSummary should have comment or be unexported (golint)
    • Line 43: warning: exported type Node should have comment or be unexported (golint)
    • Line 53: warning: exported type NodeSpec should have comment or be unexported (golint)
    • Line 61: warning: exported type NodeStatus should have comment or be unexported (golint)
    • Line 66: warning: exported function GetNodeCounts should have comment or be unexported (golint)
    • Line 74: warning: exported function ListNode should have comment or be unexported (golint)
    • Line 208: warning: exported function UpdateNode should have comment or be unexported (golint)
    • Line 216: warning: exported function DeleteNode should have comment or be unexported (golint)
    • Line 220: warning: exported function GetNodeByName should have comment or be unexported (golint)
    • wayne/src/backend/resources/proxy/common.go
    • Line 11: warning: exported type ObjectCell should have comment or be unexported (golint)
    • Line 13: warning: exported method ObjectCell.GetProperty should have comment or be unexported (golint)
    • Line 41: warning: exported type PodCell should have comment or be unexported (golint)
    • Line 43: warning: exported method PodCell.GetProperty should have comment or be unexported (golint)
    • wayne/src/backend/util/encode/password.go
    • Line 11: warning: comment on exported function GetRandomString should be of the form "GetRandomString ..." (golint)
    • Line 26: warning: exported function EncodePassword should have comment or be unexported (golint)
    • Line 31: warning: comment on exported function PBKDF2 should be of the form "PBKDF2 ..." (golint)
    • wayne/src/backend/models/namespace_user.go
    • Line 13: warning: exported const TableNameNamespaceUser should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type NamespaceUser should have comment or be unexported (golint)
    • Line 31: warning: exported method NamespaceUser.TableName should have comment or be unexported (golint)
    • Line 136: warning: receiver name m should be consistent with previous receiver name n for namespaceUserModel (golint)
    • wayne/src/backend/controllers/bill/bill.go
    • Line 8: warning: exported type InvoiceResponse should have comment or be unexported (golint)
    • Line 13: warning: exported type ChargeResponse should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type BillController should be of the form "BillController ..." (with optional leading article) (golint)
    • Line 23: warning: exported method BillController.URLMapping should have comment or be unexported (golint)
    • Line 28: warning: exported method BillController.Prepare should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method BillController.ListInvoice should be of the form "ListInvoice ..." (golint)
    • Line 79: warning: comment on exported method BillController.ListCharge should be of the form "ListCharge ..." (golint)
    • wayne/src/backend/controllers/hpa/hpa_tpl.go
    • Line 15: warning: exported type HPATplController should have comment or be unexported (golint)
    • Line 19: warning: exported method HPATplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method HPATplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method HPATplController.List should be of the form "List ..." (golint)
    • Line 77: warning: comment on exported method HPATplController.Create should be of the form "Create ..." (golint)
    • Line 111: warning: comment on exported method HPATplController.Get should be of the form "Get ..." (golint)
    • Line 125: warning: comment on exported method HPATplController.Update should be of the form "Update ..." (golint)
    • Line 149: warning: comment on exported method HPATplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/appstarred/appstarred.go
    • Line 12: warning: exported type AppStarredController should have comment or be unexported (golint)
    • Line 16: warning: exported method AppStarredController.URLMapping should have comment or be unexported (golint)
    • Line 21: warning: exported method AppStarredController.Prepare should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method AppStarredController.Create should be of the form "Create ..." (golint)
    • Line 50: warning: comment on exported method AppStarredController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/auditlog.go
    • Line 8: warning: exported const TableNameAuditLog should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type AuditLogLevel should have comment or be unexported (golint)
    • Line 15: warning: exported type AuditLogType should have comment or be unexported (golint)
    • Line 18: warning: exported const AuditLogLevelNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: comment on exported const AuditLogTypeUnknown should be of the form "AuditLogTypeUnknown ..." (golint)
    • Line 30: warning: exported type AuditLog should have comment or be unexported (golint)
    • Line 42: warning: exported method AuditLog.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/ingress/common.go
    • Line 9: warning: exported type IngressCell should have comment or be unexported (golint)
    • Line 11: warning: exported method IngressCell.GetProperty should have comment or be unexported (golint)
    • Line 11: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • wayne/src/backend/resources/event/common.go
    • Line 8: warning: comment on exported type ObjectCell should be of the form "ObjectCell ..." (with optional leading article) (golint)
    • Line 11: warning: comment on exported method ObjectCell.GetProperty should be of the form "GetProperty ..." (golint)
    • wayne/src/backend/models/pvc.go
    • Line 12: warning: exported const TableNamePersistentVolumeClaim should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type PersistentVolumeClaim should have comment or be unexported (golint)
    • Line 33: warning: exported method PersistentVolumeClaim.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/base/parambuilder.go
    • Line 12: warning: exported type ParamBuilderController should have comment or be unexported (golint)
    • Line 16: warning: exported method ParamBuilderController.BuildQueryParam should have comment or be unexported (golint)
    • Line 64: warning: exported method ParamBuilderController.BuildKubernetesQueryParam should have comment or be unexported (golint)
    • Line 113: warning: exported method ParamBuilderController.GetIDFromURL should have comment or be unexported (golint)
    • Line 117: warning: exported method ParamBuilderController.GetIntParamFromURL should have comment or be unexported (golint)
    • Line 131: warning: exported method ParamBuilderController.GetIntParamFromQuery should have comment or be unexported (golint)
    • Line 145: warning: exported method ParamBuilderController.GetBoolParamFromQuery should have comment or be unexported (golint)
    • Line 159: warning: exported method ParamBuilderController.GetBoolParamFromQueryWithDefault should have comment or be unexported (golint)
    • Line 173: warning: exported method ParamBuilderController.GetDeleteFromQuery should have comment or be unexported (golint)
    • Line 177: warning: exported method ParamBuilderController.GetLogicalFromQuery should have comment or be unexported (golint)
    • Line 181: warning: exported method ParamBuilderController.GetIsOnlineFromQuery should have comment or be unexported (golint)
    • wayne/src/backend/controllers/apikey/apikey.go
    • Line 16: warning: exported type ApiKeyController should have comment or be unexported (golint)
    • Line 20: warning: exported method ApiKeyController.URLMapping should have comment or be unexported (golint)
    • Line 28: warning: exported method ApiKeyController.Prepare should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method ApiKeyController.List should be of the form "List ..." (golint)
    • Line 99: warning: comment on exported method ApiKeyController.Get should be of the form "Get ..." (golint)
    • Line 117: warning: comment on exported method ApiKeyController.Update should be of the form "Update ..." (golint)
    • Line 142: warning: comment on exported method ApiKeyController.Create should be of the form "Create ..." (golint)
    • Line 192: warning: comment on exported method ApiKeyController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/namespace/namespace.go
    • Line 14: warning: exported type NamespaceController should have comment or be unexported (golint)
    • Line 18: warning: exported method NamespaceController.URLMapping should have comment or be unexported (golint)
    • Line 29: warning: exported method NamespaceController.Prepare should have comment or be unexported (golint)
    • Line 50: warning: comment on exported method NamespaceController.GetNames should be of the form "GetNames ..." (golint)
    • Line 68: warning: comment on exported method NamespaceController.List should be of the form "List ..." (golint)
    • Line 101: warning: comment on exported method NamespaceController.Create should be of the form "Create ..." (golint)
    • Line 124: warning: comment on exported method NamespaceController.InitDefault should be of the form "InitDefault ..." (golint)
    • Line 144: warning: comment on exported method NamespaceController.Get should be of the form "Get ..." (golint)
    • Line 163: warning: comment on exported method NamespaceController.Update should be of the form "Update ..." (golint)
    • Line 187: warning: comment on exported method NamespaceController.Delete should be of the form "Delete ..." (golint)
    • Line 206: warning: comment on exported method NamespaceController.History should be of the form "History ..." (golint)
    • Line 220: warning: comment on exported method NamespaceController.Statistics should be of the form "Statistics ..." (golint)
    • Line 263: warning: comment on exported method NamespaceController.Migrate should be of the form "Migrate ..." (golint)
    • wayne/src/backend/resources/event/event.go
    • Line 30: warning: exported function GetPodsWarningEvents should have comment or be unexported (golint)
    • Line 113: warning: exported function GetPodsEventByCronJobPage should have comment or be unexported (golint)
    • Line 197: warning: comment on exported function FillEventsType should be of the form "FillEventsType ..." (golint)
    • wayne/src/backend/workers/webhook/webhook.go
    • Line 22: warning: exported const QueueWebhook should have comment or be unexported (golint)
    • Line 24: warning: exported type ClientPool should have comment or be unexported (golint)
    • Line 29: warning: exported type WebhookWorker should have comment or be unexported (golint)
    • Line 36: warning: exported function NewWebhookWorker should have comment or be unexported (golint)
    • Line 63: warning: exported method WebhookWorker.Process should have comment or be unexported (golint)
    • wayne/src/backend/models/publish_history.go
    • Line 11: warning: exported type ReleaseStatus should have comment or be unexported (golint)
    • Line 14: warning: exported const ReleaseFailure should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type PublishHistory should have comment or be unexported (golint)
    • Line 33: warning: exported method PublishHistory.TableName should have comment or be unexported (golint)
    • Line 37: warning: exported type DeployCount should have comment or be unexported (golint)
    • Line 63: warning: don't use underscores in Go names; method parameter namespace_id should be namespaceID (golint)
    • wayne/src/backend/controllers/kubernetes/configmap/configmap.go
    • Line 14: warning: exported type KubeConfigMapController should have comment or be unexported (golint)
    • Line 18: warning: exported method KubeConfigMapController.URLMapping should have comment or be unexported (golint)
    • Line 22: warning: exported method KubeConfigMapController.Prepare should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method KubeConfigMapController.Create should be of the form "Create ..." (golint)
    • Line 67: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • wayne/src/backend/controllers/permission/namespace_user.go
    • Line 14: warning: comment on exported type NamespaceUserController should be of the form "NamespaceUserController ..." (with optional leading article) (golint)
    • Line 19: warning: exported method NamespaceUserController.URLMapping should have comment or be unexported (golint)
    • Line 28: warning: exported method NamespaceUserController.Prepare should have comment or be unexported (golint)
    • Line 49: warning: comment on exported method NamespaceUserController.List should be of the form "List ..." (golint)
    • Line 97: warning: comment on exported method NamespaceUserController.Create should be of the form "Create ..." (golint)
    • Line 127: warning: comment on exported method NamespaceUserController.Get should be of the form "Get ..." (golint)
    • Line 151: warning: comment on exported method NamespaceUserController.Update should be of the form "Update ..." (golint)
    • Line 183: warning: comment on exported method NamespaceUserController.Delete should be of the form "Delete ..." (golint)
    • Line 213: warning: comment on exported method NamespaceUserController.GetPermissionByNS should be of the form "GetPermissionByNS ..." (golint)
    • wayne/src/backend/resources/dataselector/comparabletypes.go
    • Line 8: warning: exported type StdComparableInt should have comment or be unexported (golint)
    • Line 10: warning: exported method StdComparableInt.Compare should have comment or be unexported (golint)
    • Line 10: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 15: warning: exported method StdComparableInt.Contains should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 19: warning: exported type StdComparableString should have comment or be unexported (golint)
    • Line 21: warning: exported method StdComparableString.Compare should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method StdComparableString.Contains should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported type StdComparableTime should have comment or be unexported (golint)
    • Line 33: warning: exported method StdComparableTime.Compare should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method StdComparableTime.Contains should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • wayne/src/backend/common/query.go
    • Line 3: warning: exported type QueryParam should have comment or be unexported (golint)
    • Line 14: warning: exported method QueryParam.Offset should have comment or be unexported (golint)
    • Line 22: warning: exported method QueryParam.Limit should have comment or be unexported (golint)
    • Line 26: warning: exported method QueryParam.NewPage should have comment or be unexported (golint)
    • wayne/src/backend/controllers/base/api.go
    • Line 16: warning: exported type APIController should have comment or be unexported (golint)
    • Line 23: warning: exported method APIController.Prepare should have comment or be unexported (golint)
    • Line 47: warning: exported method APIController.PreparePermission should have comment or be unexported (golint)
    • Line 55: warning: comment on exported method APIController.CheckPermission should be of the form "CheckPermission ..." (golint)
    • Line 94: warning: exported method APIController.ApiextensionsClient should have comment or be unexported (golint)
    • Line 106: warning: exported method APIController.Client should have comment or be unexported (golint)
    • Line 114: warning: exported method APIController.Manager should have comment or be unexported (golint)
    • Line 122: warning: exported method APIController.KubeClient should have comment or be unexported (golint)
    • Line 130: warning: exported method APIController.Success should have comment or be unexported (golint)
    • Line 136: warning: comment on exported method APIController.AbortForbidden should be of the form "AbortForbidden ..." (golint)
    • Line 143: warning: exported method APIController.AbortInternalServerError should have comment or be unexported (golint)
    • Line 149: warning: exported method APIController.AbortBadRequest should have comment or be unexported (golint)
    • Line 155: warning: exported method APIController.AbortUnauthorized should have comment or be unexported (golint)
    • Line 162: warning: comment on exported method APIController.HandleError should be of the form "HandleError ..." (golint)
    • wayne/src/backend/controllers/base/logged.go
    • Line 20: warning: exported var PublishRequestMessageMethodFilter should have comment or be unexported (golint)
    • Line 28: warning: exported type LoggedInController should have comment or be unexported (golint)
    • Line 34: warning: exported method LoggedInController.Prepare should have comment or be unexported (golint)
    • wayne/src/backend/models/statefulset.go
    • Line 18: warning: exported const TableNameStatefulset should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type StatefulsetMetaData should have comment or be unexported (golint)
    • Line 31: warning: exported type Statefulset should have comment or be unexported (golint)
    • Line 83: warning: exported method Statefulset.TableName should have comment or be unexported (golint)
    • wayne/src/backend/database/migrations/20190312_154209_v1_6.go
    • Line 13: warning: exported type NamespaceMetaData should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type V16_20190312_154209 should be of the form "V16_20190312_154209 ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported method V16_20190312_154209.Up should be of the form "Up ..." (golint)
    • Line 65: warning: comment on exported method V16_20190312_154209.Down should be of the form "Down ..." (golint)
    • wayne/src/backend/resources/job/job.go
    • Line 22: warning: exported function GetRelatedJobByCronJob should have comment or be unexported (golint)
    • Line 60: warning: exported function GetJobsByCronjobName should have comment or be unexported (golint)
    • Line 74: warning: exported function GetPodsEvent should have comment or be unexported (golint)
    • wayne/src/backend/controllers/cronjob/cronjob.go
    • Line 11: warning: exported type CronjobController should have comment or be unexported (golint)
    • Line 15: warning: exported method CronjobController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method CronjobController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method CronjobController.GetNames should be of the form "GetNames ..." (golint)
    • Line 68: warning: comment on exported method CronjobController.List should be of the form "List ..." (golint)
    • Line 114: warning: comment on exported method CronjobController.Create should be of the form "Create ..." (golint)
    • Line 139: warning: comment on exported method CronjobController.Get should be of the form "Get ..." (golint)
    • Line 158: warning: comment on exported method CronjobController.Update should be of the form "Update ..." (golint)
    • Line 183: warning: comment on exported method CronjobController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 205: warning: comment on exported method CronjobController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/pvc/pvc.go
    • Line 14: warning: exported type KubePersistentVolumeClaimController should have comment or be unexported (golint)
    • Line 18: warning: exported method KubePersistentVolumeClaimController.URLMapping should have comment or be unexported (golint)
    • Line 22: warning: exported method KubePersistentVolumeClaimController.Prepare should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method KubePersistentVolumeClaimController.Create should be of the form "Create ..." (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • wayne/src/backend/controllers/app/app.go
    • Line 11: warning: comment on exported type AppController should be of the form "AppController ..." (with optional leading article) (golint)
    • Line 16: warning: exported method AppController.URLMapping should have comment or be unexported (golint)
    • Line 26: warning: exported method AppController.Prepare should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method AppController.AppStatistics should be of the form "AppStatistics ..." (golint)
    • Line 68: warning: comment on exported method AppController.GetNames should be of the form "GetNames ..." (golint)
    • Line 86: warning: comment on exported method AppController.List should be of the form "List ..." (golint)
    • Line 127: warning: comment on exported method AppController.Create should be of the form "Create ..." (golint)
    • Line 152: warning: comment on exported method AppController.Get should be of the form "Get ..." (golint)
    • Line 171: warning: comment on exported method AppController.Update should be of the form "Update ..." (golint)
    • Line 196: warning: comment on exported method AppController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/daemonset/daemonset.go
    • Line 15: warning: exported type KubeDaemonSetController should have comment or be unexported (golint)
    • Line 19: warning: exported method KubeDaemonSetController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method KubeDaemonSetController.Prepare should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method KubeDaemonSetController.Create should be of the form "Create ..." (golint)
    • Line 94: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 144: warning: comment on exported method KubeDaemonSetController.Get should be of the form "Get ..." (golint)
    • Line 164: warning: comment on exported method KubeDaemonSetController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/cronjob_template.go
    • Line 8: warning: exported const TableNameCronjobTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type CronjobTemplate should have comment or be unexported (golint)
    • Line 30: warning: exported method CronjobTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/config/baseconfig.go
    • Line 16: warning: exported type BaseConfigController should have comment or be unexported (golint)
    • Line 20: warning: exported method BaseConfigController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method BaseConfigController.ListBase should be of the form "ListBase ..." (golint)
    • wayne/src/backend/controllers/kubernetes/pv/pv.go
    • Line 15: warning: exported type KubePersistentVolumeController should have comment or be unexported (golint)
    • Line 19: warning: exported method KubePersistentVolumeController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method KubePersistentVolumeController.Prepare should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method KubePersistentVolumeController.List should be of the form "List ..." (golint)
    • Line 57: warning: comment on exported method KubePersistentVolumeController.Get should be of the form "Get ..." (golint)
    • Line 74: warning: comment on exported method KubePersistentVolumeController.Create should be of the form "Create ..." (golint)
    • Line 94: warning: comment on exported method KubePersistentVolumeController.Update should be of the form "Update ..." (golint)
    • Line 119: warning: comment on exported method KubePersistentVolumeController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/client/client.go
    • Line 31: warning: exported var ErrNotExist should have comment or be unexported (golint)
    • Line 39: warning: exported type ClusterManager should have comment or be unexported (golint)
    • Line 49: warning: exported function BuildApiserverClient should have comment or be unexported (golint)
    • Line 151: warning: exported function Cluster should have comment or be unexported (golint)
    • Line 159: warning: exported function Client should have comment or be unexported (golint)
    • Line 167: warning: exported function Manager should have comment or be unexported (golint)
    • Line 184: warning: exported function Managers should have comment or be unexported (golint)
    • wayne/src/backend/models/webhook.go
    • Line 12: warning: exported type WebHookScope should have comment or be unexported (golint)
    • Line 15: warning: exported const WebHookScopeNamespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type WebHook should have comment or be unexported (golint)
    • Line 39: warning: exported method WebHook.TableUnique should have comment or be unexported (golint)
    • Line 45: warning: exported method WebHook.GetHookEvents should have comment or be unexported (golint)
    • Line 57: warning: exported method WebHook.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/dataselector/dataselector.go
    • Line 12: warning: comment on exported type DataCell should be of the form "DataCell ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported type DataSelector should be of the form "DataSelector ..." (with optional leading article) (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported function ParseToComparableValue should have comment or be unexported (golint)
    • wayne/src/backend/controllers/ingress/ingress.go
    • Line 11: warning: exported type IngressController should have comment or be unexported (golint)
    • Line 15: warning: exported method IngressController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method IngressController.Prepare should have comment or be unexported (golint)
    • Line 46: warning: comment on exported method IngressController.GetNames should be of the form "GetNames ..." (golint)
    • Line 66: warning: comment on exported method IngressController.List should be of the form "List ..." (golint)
    • Line 104: warning: comment on exported method IngressController.Create should be of the form "Create ..." (golint)
    • Line 124: warning: comment on exported method IngressController.Get should be of the form "Get ..." (golint)
    • Line 139: warning: comment on exported method IngressController.Update should be of the form "Update ..." (golint)
    • Line 159: warning: comment on exported method IngressController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 177: warning: comment on exported method IngressController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/app_starred.go
    • Line 4: warning: exported const TableNameAppStarred should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type AppStarred should have comment or be unexported (golint)
    • Line 15: warning: exported method AppStarred.TableUnique should have comment or be unexported (golint)
    • Line 21: warning: exported method AppStarred.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/deployment_template.go
    • Line 8: warning: exported const TableNameDeploymentTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type DeploymentTemplate should have comment or be unexported (golint)
    • Line 32: warning: exported method DeploymentTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/service_template.go
    • Line 8: warning: exported const TableNameServiceTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported type ServiceTemplate should have comment or be unexported (golint)
    • Line 27: warning: exported method ServiceTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/crd/custom-crd.go
    • Line 15: warning: exported function GetCustomCRD should have comment or be unexported (golint)
    • Line 35: warning: exported function CreatCustomCRD should have comment or be unexported (golint)
    • Line 54: warning: exported function UpdateCustomCRD should have comment or be unexported (golint)
    • Line 77: warning: exported function DeleteCustomCRD should have comment or be unexported (golint)
    • Line 88: warning: exported function GetCustomCRDPage should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/pod/pod.go
    • Line 13: warning: exported type KubePodController should have comment or be unexported (golint)
    • Line 17: warning: exported method KubePodController.URLMapping should have comment or be unexported (golint)
    • Line 23: warning: exported method KubePodController.Prepare should have comment or be unexported (golint)
    • Line 36: warning: comment on exported method KubePodController.PodStatistics should be of the form "PodStatistics ..." (golint)
    • Line 90: warning: comment on exported method KubePodController.List should be of the form "List ..." (golint)
    • wayne/src/backend/controllers/secret/secret.go
    • Line 11: warning: exported type SecretController should have comment or be unexported (golint)
    • Line 15: warning: exported method SecretController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method SecretController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method SecretController.GetNames should be of the form "GetNames ..." (golint)
    • Line 68: warning: comment on exported method SecretController.List should be of the form "List ..." (golint)
    • Line 114: warning: comment on exported method SecretController.Create should be of the form "Create ..." (golint)
    • Line 138: warning: comment on exported method SecretController.Get should be of the form "Get ..." (golint)
    • Line 156: warning: comment on exported method SecretController.Update should be of the form "Update ..." (golint)
    • Line 181: warning: comment on exported method SecretController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 203: warning: comment on exported method SecretController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/resources/pod/pod.go
    • Line 20: warning: exported type PodStatistics should have comment or be unexported (golint)
    • Line 25: warning: exported type Pod should have comment or be unexported (golint)
    • Line 36: warning: exported type ContainerStatus should have comment or be unexported (golint)
    • Line 41: warning: exported function GetPodCounts should have comment or be unexported (golint)
    • Line 56: warning: exported function ListKubePod should have comment or be unexported (golint)
    • Line 64: warning: exported function ListPodByLabelKey should have comment or be unexported (golint)
    • Line 96: warning: exported function GetPodListPageByType should have comment or be unexported (golint)
    • Line 104: warning: comment on exported function GetPodListByType should be of the form "GetPodListByType ..." (golint)
    • Line 207: warning: exported function GetPodsByDeployment should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/ingress/ingress.go
    • Line 17: warning: exported type KubeIngressController should have comment or be unexported (golint)
    • Line 21: warning: exported method KubeIngressController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method KubeIngressController.Prepare should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method KubeIngressController.Create should be of the form "Create ..." (golint)
    • wayne/src/backend/models/charge.go
    • Line 7: warning: exported type ResourceName should have comment or be unexported (golint)
    • Line 10: warning: exported const Mem should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type Charge should have comment or be unexported (golint)
    • Line 34: warning: exported method Charge.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/const.go
    • Line 3: warning: exported type KubeApiType should have comment or be unexported (golint)
    • Line 6: warning: exported const KubeApiTypeDeployment should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported var TableToKubeApiTypeMap should have comment or be unexported (golint)
    • Line 29: warning: exported const ListFilterExprSep should have comment or be unexported (golint)
    • wayne/src/backend/controllers/permission/user.go
    • Line 11: warning: exported type UserController should have comment or be unexported (golint)
    • Line 15: warning: exported method UserController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method UserController.Prepare should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method UserController.UserStatistics should be of the form "UserStatistics ..." (golint)
    • Line 67: warning: comment on exported method UserController.List should be of the form "List ..." (golint)
    • Line 96: warning: comment on exported method UserController.GetNames should be of the form "GetNames ..." (golint)
    • Line 111: warning: comment on exported method UserController.Create should be of the form "Create ..." (golint)
    • Line 134: warning: comment on exported method UserController.Get should be of the form "Get ..." (golint)
    • Line 152: warning: comment on exported method UserController.ResetPassword should be of the form "ResetPassword ..." (golint)
    • Line 180: warning: comment on exported method UserController.UpdateAdmin should be of the form "UpdateAdmin ..." (golint)
    • Line 205: warning: comment on exported method UserController.Update should be of the form "Update ..." (golint)
    • Line 230: warning: comment on exported method UserController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/models/app_user.go
    • Line 13: warning: exported const TableNameAppUser should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type AppUser should have comment or be unexported (golint)
    • Line 31: warning: exported method AppUser.TableName should have comment or be unexported (golint)
    • Line 112: warning: receiver name m should be consistent with previous receiver name a for appUserModel (golint)
    • Line 124: warning: receiver name m should be consistent with previous receiver name a for appUserModel (golint)
    • Line 133: warning: receiver name m should be consistent with previous receiver name a for appUserModel (golint)
    • Line 149: warning: receiver name m should be consistent with previous receiver name a for appUserModel (golint)
    • wayne/src/backend/models/hpa_template.go
    • Line 7: warning: exported const TableNameHPATemplate should have comment or be unexported (golint)
    • Line 12: warning: exported type HPATemplate should have comment or be unexported (golint)
    • Line 28: warning: exported method HPATemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/notification.go
    • Line 8: warning: exported const TableNameNotification should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type NotificationType should have comment or be unexported (golint)
    • Line 16: warning: exported const NoticeNotification should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type NotificationLevel should have comment or be unexported (golint)
    • Line 23: warning: exported const LowNotification should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type Notification should have comment or be unexported (golint)
    • Line 40: warning: exported method Notification.TableName should have comment or be unexported (golint)
    • wayne/src/backend/controllers/notification/notification.go
    • Line 12: warning: exported type NotificationController should have comment or be unexported (golint)
    • Line 16: warning: exported method NotificationController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method NotificationController.Prepare should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method NotificationController.List should be of the form "List ..." (golint)
    • Line 60: warning: comment on exported method NotificationController.Create should be of the form "Create ..." (golint)
    • Line 81: warning: comment on exported method NotificationController.Publish should be of the form "Publish ..." (golint)
    • Line 99: warning: comment on exported method NotificationController.Subscribe should be of the form "Subscribe ..." (golint)
    • wayne/src/backend/models/publish_status.go
    • Line 10: warning: exported const PublishTypeDeployment should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type PublishType should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type PublishStatus should be of the form "PublishStatus ..." (with optional leading article) (golint)
    • Line 37: warning: exported method PublishStatus.TableName should have comment or be unexported (golint)
    • Line 90: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • wayne/src/backend/resources/job/common.go
    • Line 9: warning: comment on exported type ObjectCell should be of the form "ObjectCell ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method ObjectCell.GetProperty should be of the form "GetProperty ..." (golint)
    • wayne/src/backend/controllers/kubernetes/pod/terminal.go
    • Line 27: warning: exported type PtyHandler should have comment or be unexported (golint)
    • Line 33: warning: exported type TerminalSession should have comment or be unexported (golint)
    • Line 39: warning: exported type TerminalMessage should have comment or be unexported (golint)
    • Line 44: warning: exported type TerminalResult should have comment or be unexported (golint)
    • Line 54: warning: exported method TerminalSession.Next should have comment or be unexported (golint)
    • Line 98: warning: exported method TerminalSession.Close should have comment or be unexported (golint)
    • Line 149: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 156: warning: exported function CreateAttachHandler should have comment or be unexported (golint)
    • Line 160: warning: comment on exported method KubePodController.Terminal should be of the form "Terminal ..." (golint)
    • Line 294: warning: exported function WaitForTerminal should have comment or be unexported (golint)
    • wayne/src/backend/controllers/deployment/deployment.go
    • Line 11: warning: exported type DeploymentController should have comment or be unexported (golint)
    • Line 15: warning: exported method DeploymentController.URLMapping should have comment or be unexported (golint)
    • Line 25: warning: exported method DeploymentController.Prepare should have comment or be unexported (golint)
    • Line 46: warning: comment on exported method DeploymentController.GetNames should be of the form "GetNames ..." (golint)
    • Line 70: warning: comment on exported method DeploymentController.List should be of the form "List ..." (golint)
    • Line 117: warning: comment on exported method DeploymentController.Create should be of the form "Create ..." (golint)
    • Line 141: warning: comment on exported method DeploymentController.Get should be of the form "Get ..." (golint)
    • Line 159: warning: comment on exported method DeploymentController.Update should be of the form "Update ..." (golint)
    • Line 185: warning: comment on exported method DeploymentController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 207: warning: comment on exported method DeploymentController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/initial/db.go
    • Line 12: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 18: warning: exported const DbDriverName should have comment or be unexported (golint)
    • Line 20: warning: exported function InitDb should have comment or be unexported (golint)
    • wayne/src/backend/controllers/openapi/openapi.go
    • Line 47: warning: exported const GetPodInfoAction should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported type OpenAPIController should have comment or be unexported (golint)
    • Line 69: warning: exported method OpenAPIController.Prepare should have comment or be unexported (golint)
    • Line 73: warning: exported method OpenAPIController.CheckoutRoutePermission should have comment or be unexported (golint)
    • Line 87: warning: exported method OpenAPIController.CheckDeploymentPermission should have comment or be unexported (golint)
    • Line 116: warning: exported method OpenAPIController.CheckNamespacePermission should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/node/node.go
    • Line 17: warning: exported type KubeNodeController should have comment or be unexported (golint)
    • Line 21: warning: exported type Label should have comment or be unexported (golint)
    • Line 26: warning: exported type LabelSet should have comment or be unexported (golint)
    • Line 30: warning: exported method KubeNodeController.URLMapping should have comment or be unexported (golint)
    • Line 38: warning: exported method KubeNodeController.Prepare should have comment or be unexported (golint)
    • Line 52: warning: comment on exported method KubeNodeController.NodeStatistics should be of the form "NodeStatistics ..." (golint)
    • Line 112: warning: comment on exported method KubeNodeController.List should be of the form "List ..." (golint)
    • Line 127: warning: comment on exported method KubeNodeController.Get should be of the form "Get ..." (golint)
    • Line 144: warning: comment on exported method KubeNodeController.Update should be of the form "Update ..." (golint)
    • Line 169: warning: comment on exported method KubeNodeController.Delete should be of the form "Delete ..." (golint)
    • Line 186: warning: comment on exported method KubeNodeController.GetLabels should be of the form "GetLabels ..." (golint)
    • Line 205: warning: comment on exported method KubeNodeController.AddLabel should be of the form "AddLabel ..." (golint)
    • Line 239: warning: comment on exported method KubeNodeController.DeleteLabel should be of the form "DeleteLabel ..." (golint)
    • Line 275: warning: comment on exported method KubeNodeController.AddLabels should be of the form "AddLabels ..." (golint)
    • Line 312: warning: comment on exported method KubeNodeController.DeleteLabels should be of the form "DeleteLabels ..." (golint)
    • Line 350: warning: comment on exported method KubeNodeController.SetTaint should be of the form "SetTaint ..." (golint)
    • Line 389: warning: comment on exported method KubeNodeController.DeleteTaint should be of the form "DeleteTaint ..." (golint)
    • wayne/src/backend/controllers/auditlog/auditlog.go
    • Line 9: warning: exported type AuditLogController should have comment or be unexported (golint)
    • Line 13: warning: exported method AuditLogController.URLMapping should have comment or be unexported (golint)
    • Line 17: warning: exported method AuditLogController.Prepare should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method AuditLogController.List should be of the form "List ..." (golint)
    • wayne/src/backend/models/configmap.go
    • Line 12: warning: exported const TableNameConfigMap should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type ConfigMap should have comment or be unexported (golint)
    • Line 33: warning: exported method ConfigMap.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/secret_template.go
    • Line 8: warning: exported const TableNameSecretTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type SecretTemplate should have comment or be unexported (golint)
    • Line 32: warning: exported method SecretTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/custom_link.go
    • Line 4: warning: exported const TableNameCustomLink should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type CustomLink should have comment or be unexported (golint)
    • Line 25: warning: exported method CustomLink.TableName should have comment or be unexported (golint)
    • wayne/src/backend/models/statefulset_template.go
    • Line 8: warning: exported const TableNameStatefulsetTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported type StatefulsetTemplate should have comment or be unexported (golint)
    • Line 29: warning: exported method StatefulsetTemplate.TableName should have comment or be unexported (golint)
    • wayne/src/backend/resources/deployment/deployment.go
    • Line 23: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 29: warning: exported function GetDeploymentList should have comment or be unexported (golint)
    • Line 61: warning: exported function CreateOrUpdateDeployment should have comment or be unexported (golint)
    • Line 82: warning: exported function UpdateDeployment should have comment or be unexported (golint)
    • Line 116: warning: exported function GetDeployment should have comment or be unexported (golint)
    • Line 120: warning: exported function GetDeploymentDetail should have comment or be unexported (golint)
    • Line 161: warning: exported function DeleteDeployment should have comment or be unexported (golint)
    • Line 168: warning: exported function UpdateScale should have comment or be unexported (golint)
    • wayne/src/backend/controllers/daemonset/daemonset.go
    • Line 11: warning: exported type DaemonSetController should have comment or be unexported (golint)
    • Line 15: warning: exported method DaemonSetController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method DaemonSetController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method DaemonSetController.GetNames should be of the form "GetNames ..." (golint)
    • Line 69: warning: comment on exported method DaemonSetController.List should be of the form "List ..." (golint)
    • Line 111: warning: comment on exported method DaemonSetController.Create should be of the form "Create ..." (golint)
    • Line 135: warning: comment on exported method DaemonSetController.Get should be of the form "Get ..." (golint)
    • Line 154: warning: comment on exported method DaemonSetController.Update should be of the form "Update ..." (golint)
    • Line 180: warning: comment on exported method DaemonSetController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 202: warning: comment on exported method DaemonSetController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/job/job.go
    • Line 14: warning: exported type KubeJobController should have comment or be unexported (golint)
    • Line 18: warning: exported type ClusterJob should have comment or be unexported (golint)
    • Line 23: warning: exported method KubeJobController.URLMapping should have comment or be unexported (golint)
    • Line 28: warning: exported method KubeJobController.Prepare should have comment or be unexported (golint)
    • Line 40: warning: comment on exported method KubeJobController.DeleteJob should be of the form "DeleteJob ..." (golint)
    • Line 66: warning: comment on exported method KubeJobController.ListJobByCronJob should be of the form "ListJobByCronJob ..." (golint)
    • wayne/src/backend/bus/newbus/newbus.go
    • Line 10: warning: exported var UBus should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type EventInfo should be of the form "EventInfo ..." (with optional leading article) (golint)
    • Line 24: warning: comment on exported type Bus should be of the form "Bus ..." (with optional leading article) (golint)
    • Line 31: warning: exported method Bus.RegisterHandler should have comment or be unexported (golint)
    • Line 48: warning: exported method Bus.Publish should have comment or be unexported (golint)
    • Line 65: warning: exported function NewBus should have comment or be unexported (golint)
    • Line 72: warning: exported method Bus.Dispatch should have comment or be unexported (golint)
    • wayne/src/backend/controllers/kubernetes/pv/robin.go
    • Line 19: warning: exported type RobinPersistentVolumeController should have comment or be unexported (golint)
    • Line 23: warning: exported method RobinPersistentVolumeController.URLMapping should have comment or be unexported (golint)
    • Line 28: warning: exported method RobinPersistentVolumeController.Prepare should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method RobinPersistentVolumeController.ListRbdImages should be of the form "ListRbdImages ..." (golint)
    • Line 84: warning: comment on exported method RobinPersistentVolumeController.CreateRbdImage should be of the form "CreateRbdImage ..." (golint)
    • wayne/src/backend/controllers/statefulset/statefulset.go
    • Line 11: warning: exported type StatefulsetController should have comment or be unexported (golint)
    • Line 15: warning: exported method StatefulsetController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method StatefulsetController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method StatefulsetController.GetNames should be of the form "GetNames ..." (golint)
    • Line 69: warning: comment on exported method StatefulsetController.List should be of the form "List ..." (golint)
    • Line 111: warning: comment on exported method StatefulsetController.Create should be of the form "Create ..." (golint)
    • Line 135: warning: comment on exported method StatefulsetController.Get should be of the form "Get ..." (golint)
    • Line 153: warning: comment on exported method StatefulsetController.Update should be of the form "Update ..." (golint)
    • Line 179: warning: comment on exported method StatefulsetController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 201: warning: comment on exported method StatefulsetController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/resources/secret/secret.go
    • Line 12: warning: exported type SecretType should have comment or be unexported (golint)
    • Line 14: warning: exported type Secret should have comment or be unexported (golint)
    • Line 22: warning: exported function CreateOrUpdateSecret should have comment or be unexported (golint)
    • Line 36: warning: exported function DeleteSecret should have comment or be unexported (golint)
    • wayne/src/backend/controllers/hpa/hpa.go
    • Line 11: warning: exported type HPAController should have comment or be unexported (golint)
    • Line 15: warning: exported method HPAController.URLMapping should have comment or be unexported (golint)
    • Line 24: warning: exported method HPAController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method HPAController.GetNames should be of the form "GetNames ..." (golint)
    • Line 64: warning: comment on exported method HPAController.List should be of the form "List ..." (golint)
    • Line 102: warning: comment on exported method HPAController.Create should be of the form "Create ..." (golint)
    • Line 122: warning: comment on exported method HPAController.Get should be of the form "Get ..." (golint)
    • Line 136: warning: comment on exported method HPAController.Update should be of the form "Update ..." (golint)
    • Line 156: warning: comment on exported method HPAController.UpdateOrders should be of the form "UpdateOrders ..." (golint)
    • Line 174: warning: comment on exported method HPAController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/statefulset/statefulset_tpl.go
    • Line 15: warning: exported type StatefulsetTplController should have comment or be unexported (golint)
    • Line 19: warning: exported method StatefulsetTplController.URLMapping should have comment or be unexported (golint)
    • Line 27: warning: exported method StatefulsetTplController.Prepare should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method StatefulsetTplController.List should be of the form "List ..." (golint)
    • Line 85: warning: comment on exported method StatefulsetTplController.Create should be of the form "Create ..." (golint)
    • Line 122: warning: comment on exported method StatefulsetTplController.Get should be of the form "Get ..." (golint)
    • Line 140: warning: comment on exported method StatefulsetTplController.Update should be of the form "Update ..." (golint)
    • Line 170: warning: comment on exported method StatefulsetTplController.Delete should be of the form "Delete ..." (golint)
    • wayne/src/backend/controllers/kubernetes/hpa/hpa.go
    • Line 14: warning: exported type KubeHPAController should have comment or be unexported (golint)
    • Line 18: warning: exported method KubeHPAController.URLMapping should have comment or be unexported (golint)
    • Line 22: warning: exported method KubeHPAController.Prepare should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method KubeHPAController.Create should be of the form "Create ..." (golint)
    • wayne/src/backend/controllers/permission/group.go
    • Line 11: warning: exported type GroupController should have comment or be unexported (golint)
    • Line 15: warning: exported method GroupController.URLMapping should have comment or be unexported (golint)
    • Line 23: warning: exported method GroupController.Prepare should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method GroupController.List should be of the form "List ..." (golint)
    • Line 78: warning: comment on exported method GroupController.Create should be of the form "Create ..." (golint)
    • Line 101: warning: comment on exported method GroupController.Get should be of the form "Get ..." (golint)
    • Line 118: warning: comment on exported method GroupController.Update should be of the form "Update ..." (golint)
    • Line 143: warning: comment on exported method GroupController.Delete should be of the form "Delete ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!