Preparing report...

Report for github.com/inspursoft/board

A    Great!    Found 249 issues across 318 files

Tweet

gofmt96%

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!


gocyclo95%

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

    • board/src/apiserver/service/serviceconfig.go
    • Line 628: warning: cyclomatic complexity 23 of function GetDeploymentContainers() is high (> 15) (gocyclo)
    • Line 521: warning: cyclomatic complexity 18 of function setDeploymentContainers() is high (> 15) (gocyclo)
    • Line 1140: warning: cyclomatic complexity 16 of function GetServiceContainers() is high (> 15) (gocyclo)

golint24%

Golint is a linter for Go source code.

    • board/src/apiserver/v1/controller/dashboard.go
    • Line 15: warning: exported type ServicePara should have comment or be unexported (golint)
    • Line 21: warning: exported type NodePara should have comment or be unexported (golint)
    • Line 27: warning: exported type DsBodyPara should have comment or be unexported (golint)
    • Line 31: warning: exported type DsResp should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type BoardModuleInfo should be of the form "BoardModuleInfo ..." (with optional leading article) (golint)
    • Line 52: warning: exported type InitStatus should have comment or be unexported (golint)
    • Line 55: warning: exported const InitStatusFirst should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported type InitSysStatus should have comment or be unexported (golint)
    • Line 64: warning: exported var AdminServerURL should have comment or be unexported (golint)
    • Line 66: warning: exported var ErrInvalidToken should have comment or be unexported (golint)
    • Line 67: warning: exported var ErrServerAccessFailed should have comment or be unexported (golint)
    • Line 69: warning: exported type Dashboard should have comment or be unexported (golint)
    • Line 73: warning: exported method Dashboard.GetServerTime should have comment or be unexported (golint)
    • Line 78: warning: comment on exported method Dashboard.AdminserverCheck should be of the form "AdminserverCheck ..." (golint)
    • Line 131: warning: comment on exported method Dashboard.CheckSysByAdminserver should be of the form "CheckSysByAdminserver ..." (golint)
    • board/src/apiserver/controllers/users/admins/commons.go
    • Line 20: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 25: warning: exported method CommonController.Prepare should have comment or be unexported (golint)
    • Line 36: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 87: warning: comment on exported method CommonController.Get should be of the form "Get ..." (golint)
    • Line 116: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 196: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 282: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/dao/image.go
    • Line 11: warning: exported function AddImage should have comment or be unexported (golint)
    • Line 24: warning: exported function GetImage should have comment or be unexported (golint)
    • Line 36: warning: exported function UpdateImage should have comment or be unexported (golint)
    • Line 49: warning: exported function AddImageTag should have comment or be unexported (golint)
    • Line 62: warning: exported function GetImageTag should have comment or be unexported (golint)
    • Line 74: warning: exported function UpdateImageTag should have comment or be unexported (golint)
    • board/src/common/dao/operation.go
    • Line 12: warning: exported function AddOperation should have comment or be unexported (golint)
    • Line 27: warning: exported function GetOperation should have comment or be unexported (golint)
    • Line 39: warning: exported function UpdateOperation should have comment or be unexported (golint)
    • Line 53: warning: exported function GetPaginatedOperations should have comment or be unexported (golint)
    • board/src/apiserver/service/devops.go
    • Line 15: warning: exported function ResolveRepoName should have comment or be unexported (golint)
    • Line 42: warning: exported function ResolveRepoPath should have comment or be unexported (golint)
    • Line 48: warning: exported function ResolveDockerfileName should have comment or be unexported (golint)
    • Line 53: warning: exported function FetchFileContentByDevOpsOpt should have comment or be unexported (golint)
    • board/src/apiserver/service/pod.go
    • Line 25: warning: exported type WSStreamHandler should have comment or be unexported (golint)
    • Line 90: warning: exported method WSStreamHandler.Next should have comment or be unexported (golint)
    • Line 95: warning: exported function PodShell should have comment or be unexported (golint)
    • Line 133: warning: exported function CopyFromPod should have comment or be unexported (golint)
    • Line 146: warning: exported function CopyToPod should have comment or be unexported (golint)
    • Line 168: warning: exported function GetPodsByLabelSelector should have comment or be unexported (golint)
    • board/src/apiserver/controllers/projects/members/commons.go
    • Line 12: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 41: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 55: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 112: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/adminserver/service/account.go
    • Line 22: warning: exported var TokenServerURL should have comment or be unexported (golint)
    • Line 23: warning: exported var DefaultCacheDuration should have comment or be unexported (golint)
    • Line 30: warning: exported function Login should have comment or be unexported (golint)
    • Line 33: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 84: warning: exported function GetCurrentUser should have comment or be unexported (golint)
    • Line 148: warning: exported function UpdateApiserverCache should have comment or be unexported (golint)
    • Line 191: warning: exported function VerifyUUIDToken should have comment or be unexported (golint)
    • Line 201: warning: exported function RemoveUUIDTokenCache should have comment or be unexported (golint)
    • Line 209: warning: exported function InitTokenCacheDuration should have comment or be unexported (golint)
    • board/src/apiserver/controllers/users/probe.go
    • Line 8: warning: comment on exported type ProbeController should be of the form "ProbeController ..." (with optional leading article) (golint)
    • Line 13: warning: exported method ProbeController.Prepare should have comment or be unexported (golint)
    • Line 17: warning: comment on exported method ProbeController.Current should be of the form "Current ..." (golint)
    • board/src/apiserver/service/dashboard.go
    • Line 9: warning: exported type Dashboard should have comment or be unexported (golint)
    • Line 18: warning: exported type NodeListResp should have comment or be unexported (golint)
    • Line 21: warning: exported type ServiceListResp should have comment or be unexported (golint)
    • Line 25: warning: exported type NodeResp should have comment or be unexported (golint)
    • Line 35: warning: exported type ServiceResp should have comment or be unexported (golint)
    • Line 45: warning: exported type NodeReqPara should have comment or be unexported (golint)
    • Line 53: warning: exported type ServiceReqPara should have comment or be unexported (golint)
    • Line 61: warning: exported method Dashboard.SetNodeParaFromBodyReq should have comment or be unexported (golint)
    • Line 73: warning: exported method Dashboard.SetServicePara should have comment or be unexported (golint)
    • Line 84: warning: exported method Dashboard.GetServiceDataToObj should have comment or be unexported (golint)
    • Line 139: warning: exported method Dashboard.GetNodeDataToObj should have comment or be unexported (golint)
    • Line 189: warning: exported method Dashboard.GetNodeListToObj should have comment or be unexported (golint)
    • Line 201: warning: exported method Dashboard.GetServiceListToObj should have comment or be unexported (golint)
    • board/src/apiserver/controllers/users/supplements.go
    • Line 9: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 14: warning: exported method SupplementController.Prepare should have comment or be unexported (golint)
    • Line 18: warning: comment on exported method SupplementController.Exists should be of the form "Exists ..." (golint)
    • board/src/apiserver/service/project.go
    • Line 33: warning: exported function CreateProject should have comment or be unexported (golint)
    • Line 55: warning: exported function GetProject should have comment or be unexported (golint)
    • Line 64: warning: exported function GetProjectByName should have comment or be unexported (golint)
    • Line 68: warning: exported function GetProjectByID should have comment or be unexported (golint)
    • Line 72: warning: exported function ProjectExists should have comment or be unexported (golint)
    • Line 81: warning: exported function ProjectExistsByID should have comment or be unexported (golint)
    • Line 90: warning: exported function UpdateProject should have comment or be unexported (golint)
    • Line 101: warning: exported function ToggleProjectPublic should have comment or be unexported (golint)
    • Line 105: warning: exported function GetProjectsByUser should have comment or be unexported (golint)
    • Line 116: warning: exported function GetPaginatedProjectsByUser should have comment or be unexported (golint)
    • Line 129: warning: exported function GetProjectsByMember should have comment or be unexported (golint)
    • Line 140: warning: exported function DeleteProject should have comment or be unexported (golint)
    • Line 208: warning: exported function NamespaceExists should have comment or be unexported (golint)
    • Line 229: warning: exported function CreateNamespace should have comment or be unexported (golint)
    • Line 258: warning: exported function SyncNamespaceByOwnerID should have comment or be unexported (golint)
    • Line 277: warning: exported function SyncProjectsWithK8s should have comment or be unexported (golint)
    • Line 361: warning: exported function DeleteNamespace should have comment or be unexported (golint)
    • board/src/apiserver/service/user.go
    • Line 26: warning: exported function ConfigSSHAccess should have comment or be unexported (golint)
    • Line 47: warning: exported function SignUp should have comment or be unexported (golint)
    • Line 70: warning: exported function GetUserByID should have comment or be unexported (golint)
    • Line 75: warning: exported function GetUserByName should have comment or be unexported (golint)
    • Line 80: warning: exported function GetUserByEmail should have comment or be unexported (golint)
    • Line 85: warning: exported function GetUserByResetUUID should have comment or be unexported (golint)
    • Line 90: warning: exported function GetUsers should have comment or be unexported (golint)
    • Line 94: warning: exported function GetPaginatedUsers should have comment or be unexported (golint)
    • Line 98: warning: exported function UpdateUser should have comment or be unexported (golint)
    • Line 109: warning: exported function UpdateUserUUID should have comment or be unexported (golint)
    • Line 113: warning: exported function ResetUserPassword should have comment or be unexported (golint)
    • Line 119: warning: exported function DeleteUser should have comment or be unexported (golint)
    • Line 136: warning: exported function UserExists should have comment or be unexported (golint)
    • Line 148: warning: exported function IsSysAdmin should have comment or be unexported (golint)
    • Line 157: warning: comment on exported function DecodeUserPassword should be of the form "DecodeUserPassword ..." (golint)
    • board/src/adminserver/models/monitor.go
    • Line 34: warning: exported type InitStatus should have comment or be unexported (golint)
    • Line 37: warning: exported const InitStatusFirst should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type Token should have comment or be unexported (golint)
    • Line 48: warning: exported var ImagePrefix should have comment or be unexported (golint)
    • Line 49: warning: exported var ContainerPrefix should have comment or be unexported (golint)
    • Line 51: warning: exported type TokenString should have comment or be unexported (golint)
    • Line 55: warning: exported type InitSysStatus should have comment or be unexported (golint)
    • board/src/common/dao/dashboard.go
    • Line 15: warning: exported type DashboardNodeDao should have comment or be unexported (golint)
    • Line 18: warning: exported type DashboardServiceDao should have comment or be unexported (golint)
    • Line 21: warning: exported type QueryPara should have comment or be unexported (golint)
    • Line 28: warning: exported type ServiceDataLog should have comment or be unexported (golint)
    • Line 33: warning: exported type NodeDataLogs should have comment or be unexported (golint)
    • Line 34: warning: don't use underscores in Go names; struct field Record_time should be RecordTime (golint)
    • Line 35: warning: don't use underscores in Go names; struct field Cpu_usage should be CPUUsage (golint)
    • Line 36: warning: don't use underscores in Go names; struct field Mem_usage should be MemUsage (golint)
    • Line 37: warning: don't use underscores in Go names; struct field Storage_total should be StorageTotal (golint)
    • Line 38: warning: don't use underscores in Go names; struct field Storage_use should be StorageUse (golint)
    • Line 40: warning: exported type NodeListDataLogs should have comment or be unexported (golint)
    • Line 44: warning: exported type ServiceListDataLogs should have comment or be unexported (golint)
    • Line 48: warning: exported type LimitTime should have comment or be unexported (golint)
    • Line 54: warning: exported method DashboardServiceDao.GetLimitTime should have comment or be unexported (golint)
    • Line 75: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 90: warning: exported method DashboardNodeDao.GetLimitTime should have comment or be unexported (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 167: warning: exported method DashboardNodeDao.GetTotalNodeData should have comment or be unexported (golint)
    • Line 241: warning: exported method DashboardNodeDao.GetNodeListData should have comment or be unexported (golint)
    • Line 255: warning: exported method DashboardServiceDao.GetServiceListData should have comment or be unexported (golint)
    • Line 291: warning: exported method DashboardNodeDao.GetNodeData should have comment or be unexported (golint)
    • Line 372: warning: exported method DashboardServiceDao.GetTotalServiceData should have comment or be unexported (golint)
    • Line 429: warning: exported method DashboardServiceDao.GetServiceData should have comment or be unexported (golint)
    • board/src/apiserver/service/adapting/user.go
    • Line 9: warning: exported function GetUserByEmail should have comment or be unexported (golint)
    • Line 15: warning: exported function GetUserByName should have comment or be unexported (golint)
    • Line 21: warning: exported function UpdateUser should have comment or be unexported (golint)
    • Line 25: warning: exported function SignUp should have comment or be unexported (golint)
    • board/src/apiserver/service/configmap.go
    • Line 16: warning: exported function GetConfigMapListByProject should have comment or be unexported (golint)
    • Line 37: warning: exported function GetConfigMapListByUser should have comment or be unexported (golint)
    • Line 68: warning: exported function CreateConfigMapK8s should have comment or be unexported (golint)
    • Line 88: warning: exported function DeleteConfigMapK8s should have comment or be unexported (golint)
    • Line 103: warning: exported function GetConfigMapK8s should have comment or be unexported (golint)
    • Line 112: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 119: warning: exported function UpdateConfigMapK8s should have comment or be unexported (golint)
    • board/src/common/model/service.go
    • Line 8: warning: exported const ServiceTypeUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type ServiceStatus should have comment or be unexported (golint)
    • Line 38: warning: exported type ServiceStatusFilter should have comment or be unexported (golint)
    • Line 45: warning: exported type ServiceStatusMO should have comment or be unexported (golint)
    • Line 50: warning: exported type PaginatedServiceStatus should have comment or be unexported (golint)
    • Line 55: warning: exported type ServiceInfoStruct should have comment or be unexported (golint)
    • Line 61: warning: exported type ServiceToggle should have comment or be unexported (golint)
    • Line 65: warning: exported type ServicePublicityUpdate should have comment or be unexported (golint)
    • Line 69: warning: exported type ServiceScale should have comment or be unexported (golint)
    • Line 73: warning: exported type ScaleStatus should have comment or be unexported (golint)
    • Line 78: warning: exported type ExternalService should have comment or be unexported (golint)
    • Line 84: warning: exported type NodeType should have comment or be unexported (golint)
    • Line 90: warning: exported type LoadBalancer should have comment or be unexported (golint)
    • Line 94: warning: exported type ServiceAutoScale should have comment or be unexported (golint)
    • Line 104: warning: exported type PodMO should have comment or be unexported (golint)
    • Line 110: warning: exported type PodSpecMO should have comment or be unexported (golint)
    • Line 114: warning: exported type ContainerMO should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/email.go
    • Line 14: warning: exported type EmailPingParam should have comment or be unexported (golint)
    • Line 22: warning: exported type EmailSendParam should have comment or be unexported (golint)
    • Line 47: warning: exported type EmailController should have comment or be unexported (golint)
    • Line 51: warning: exported method EmailController.Prepare should have comment or be unexported (golint)
    • Line 55: warning: exported method EmailController.Ping should have comment or be unexported (golint)
    • Line 78: warning: exported method EmailController.GrafanaNotification should have comment or be unexported (golint)
    • Line 97: warning: exported method EmailController.ForgotPasswordEmail should have comment or be unexported (golint)
    • board/src/apiserver/controllers/helms/repositories/commons.go
    • Line 10: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 36: warning: comment on exported method CommonController.Get should be of the form "Get ..." (golint)
    • Line 46: warning: receiver name c should be consistent with previous receiver name cc for CommonController (golint)
    • Line 50: warning: comment on exported method CommonController.Post should be of the form "Post ..." (golint)
    • Line 59: warning: receiver name c should be consistent with previous receiver name cc for CommonController (golint)
    • Line 63: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • Line 73: warning: receiver name c should be consistent with previous receiver name cc for CommonController (golint)
    • board/src/adminserver/service/nodeService/nodeService.go
    • Line 1: warning: don't use MixedCaps in package name; nodeService should be nodeservice (golint)
    • Line 26: warning: exported function AddRemoveNodeByContainer should have comment or be unexported (golint)
    • Line 69: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 97: warning: exported function LaunchAnsibleContainer should have comment or be unexported (golint)
    • Line 135: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 140: warning: exported function UpdateLog should have comment or be unexported (golint)
    • Line 183: warning: exported function InsertLog should have comment or be unexported (golint)
    • Line 195: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 200: warning: exported function InsertLogDetail should have comment or be unexported (golint)
    • Line 215: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 237: warning: exported function GetNodeResponseList should have comment or be unexported (golint)
    • Line 272: warning: exported function GetPaginatedNodeLogList should have comment or be unexported (golint)
    • Line 287: warning: exported function CheckNodeLogInfoInUse should have comment or be unexported (golint)
    • Line 291: warning: exported function DeleteNodeLogInfo should have comment or be unexported (golint)
    • Line 301: warning: exported function GetNodeLogDetail should have comment or be unexported (golint)
    • Line 314: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 346: warning: exported function GenerateHostFile should have comment or be unexported (golint)
    • Line 366: warning: exported function CheckExistsInCache should have comment or be unexported (golint)
    • Line 370: warning: exported function RemoveCacheData should have comment or be unexported (golint)
    • Line 377: warning: exported function GetLogInfoInCache should have comment or be unexported (golint)
    • Line 382: warning: exported function GetNodeControlStatusFromApiServer should have comment or be unexported (golint)
    • Line 387: warning: exported function DeleteNode should have comment or be unexported (golint)
    • Line 424: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 457: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • board/src/common/model/dashboard/maintable.go
    • Line 3: warning: exported type Node should have comment or be unexported (golint)
    • Line 19: warning: exported type Pod should have comment or be unexported (golint)
    • Line 27: warning: exported type Service should have comment or be unexported (golint)
    • Line 33: warning: exported type ServiceKvMap should have comment or be unexported (golint)
    • Line 40: warning: exported type PodKvMap should have comment or be unexported (golint)
    • board/src/apiserver/service/registryimage.go
    • Line 40: warning: exported function GetRegistryCatalog should have comment or be unexported (golint)
    • Line 45: warning: exported function GetRegistryImageTags should have comment or be unexported (golint)
    • Line 50: warning: exported function GetRegistryManifest1 should have comment or be unexported (golint)
    • Line 55: warning: exported function GetRegistryManifest2 should have comment or be unexported (golint)
    • Line 60: warning: exported function GetRegistryImageDigest should have comment or be unexported (golint)
    • Line 68: warning: exported function DeleteRegistryImageWithETag should have comment or be unexported (golint)
    • board/src/apiserver/controllers/services/statefulsets/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 24: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/controllers/systems/supplements.go
    • Line 8: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 13: warning: exported method SupplementController.Prepare should have comment or be unexported (golint)
    • Line 17: warning: comment on exported method SupplementController.Info should be of the form "Info ..." (golint)
    • Line 33: warning: comment on exported method SupplementController.Resources should be of the form "Resources ..." (golint)
    • Line 49: warning: comment on exported method SupplementController.KubernetesInfo should be of the form "KubernetesInfo ..." (golint)
    • board/src/apiserver/service/gitrepo.go
    • Line 36: warning: exported function InitBareRepo should have comment or be unexported (golint)
    • Line 64: warning: exported function InitRepo should have comment or be unexported (golint)
    • Line 91: warning: exported function OpenRepo should have comment or be unexported (golint)
    • board/src/apiserver/service/helm.go
    • Line 26: warning: error var NotExistError should have name of the form ErrFoo (golint)
    • Line 26: warning: exported var NotExistError should have comment or be unexported (golint)
    • Line 29: warning: exported type WORKLOAD_TYPE should have comment or be unexported (golint)
    • Line 32: warning: exported const WORKLOAD_TYPE_DEPLOYMENT should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported function ListVMHelmRepositories should have comment or be unexported (golint)
    • Line 66: warning: exported function ListHelmRepositories should have comment or be unexported (golint)
    • Line 70: warning: exported function AddHelmRepository should have comment or be unexported (golint)
    • Line 74: warning: exported function GetHelmRepository should have comment or be unexported (golint)
    • Line 90: warning: exported function UpdateHelmRepository should have comment or be unexported (golint)
    • Line 102: warning: exported function DeleteHelmRepository should have comment or be unexported (golint)
    • Line 125: warning: exported function GetRepoDetail should have comment or be unexported (golint)
    • Line 153: warning: exported function GetPaginatedRepoDetail should have comment or be unexported (golint)
    • Line 186: warning: exported function GetChartDetail should have comment or be unexported (golint)
    • Line 198: warning: exported function UploadChart should have comment or be unexported (golint)
    • Line 206: warning: exported function DeleteChart should have comment or be unexported (golint)
    • Line 214: warning: exported function InstallChart should have comment or be unexported (golint)
    • Line 436: warning: exported function ListAllReleases should have comment or be unexported (golint)
    • Line 450: warning: exported function ListReleasesByUserID should have comment or be unexported (golint)
    • Line 464: warning: exported function GetReleaseFromDB should have comment or be unexported (golint)
    • Line 470: warning: exported function DeleteRelease should have comment or be unexported (golint)
    • Line 484: warning: exported function DeleteReleaseByReleaseModel should have comment or be unexported (golint)
    • Line 514: warning: exported function DeleteReleaseByProjectName should have comment or be unexported (golint)
    • Line 528: warning: exported function DeleteReleaseByUserIDAndProjectName should have comment or be unexported (golint)
    • Line 542: warning: exported function GetReleaseDetail should have comment or be unexported (golint)
    • Line 706: warning: exported function CheckReleaseNames should have comment or be unexported (golint)
    • Line 750: warning: exported function SyncHelmReleaseWithK8s should have comment or be unexported (golint)
    • board/src/apiserver/controllers/uploadfiles/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 23: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 36: warning: comment on exported method CommonController.Head should be of the form "Head ..." (golint)
    • Line 47: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/controllers/commons/base.go
    • Line 26: warning: exported var MemoryCache should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultCacheDuration should have comment or be unexported (golint)
    • Line 28: warning: exported var Cpt should have comment or be unexported (golint)
    • Line 29: warning: exported var TokenServerURL should have comment or be unexported (golint)
    • Line 30: warning: exported var TokenExpireTime should have comment or be unexported (golint)
    • Line 31: warning: exported var TokenCacheExpireSeconds should have comment or be unexported (golint)
    • Line 33: warning: exported var APIServerURL should have comment or be unexported (golint)
    • Line 35: warning: exported var KubeMasterURL should have comment or be unexported (golint)
    • Line 37: warning: exported var RegistryBaseURI should have comment or be unexported (golint)
    • Line 38: warning: exported var AuthMode should have comment or be unexported (golint)
    • Line 40: warning: exported var BaseRepoPath should have comment or be unexported (golint)
    • Line 41: warning: exported var BoardAPIBaseURL should have comment or be unexported (golint)
    • Line 42: warning: exported var GogitsSSHURL should have comment or be unexported (golint)
    • Line 43: warning: exported var JenkinsBaseURL should have comment or be unexported (golint)
    • Line 45: warning: exported type BaseController should have comment or be unexported (golint)
    • Line 62: warning: exported method BaseController.Prepare should have comment or be unexported (golint)
    • Line 68: warning: exported method BaseController.Finish should have comment or be unexported (golint)
    • Line 72: warning: exported method BaseController.RecordOperationAudit should have comment or be unexported (golint)
    • Line 88: warning: exported method BaseController.UpdateOperationAudit should have comment or be unexported (golint)
    • Line 103: warning: exported method BaseController.Render should have comment or be unexported (golint)
    • Line 107: warning: exported method BaseController.ResolveBody should have comment or be unexported (golint)
    • Line 117: warning: exported method BaseController.RenderJSON should have comment or be unexported (golint)
    • Line 122: warning: exported method BaseController.ServeStatus should have comment or be unexported (golint)
    • Line 132: warning: exported method BaseController.ServeJSONOutput should have comment or be unexported (golint)
    • Line 137: warning: exported method BaseController.InternalError should have comment or be unexported (golint)
    • Line 142: warning: exported method BaseController.CustomAbortAudit should have comment or be unexported (golint)
    • Line 148: warning: exported function ParsePostK8sError should have comment or be unexported (golint)
    • Line 155: warning: exported function ParseGetK8sError should have comment or be unexported (golint)
    • Line 162: warning: exported method BaseController.ParseError should have comment or be unexported (golint)
    • Line 172: warning: exported method BaseController.GetCurrentUser should have comment or be unexported (golint)
    • Line 229: warning: exported method BaseController.SignOff should have comment or be unexported (golint)
    • Line 255: warning: exported method BaseController.ResolveSignedInUser should have comment or be unexported (golint)
    • Line 265: warning: exported method BaseController.ResolveProject should have comment or be unexported (golint)
    • Line 280: warning: exported method BaseController.ResolveProjectByID should have comment or be unexported (golint)
    • Line 295: warning: exported method BaseController.ResolveRepoPath should have comment or be unexported (golint)
    • Line 307: warning: exported method BaseController.ResolveRepoServicePath should have comment or be unexported (golint)
    • Line 312: warning: exported method BaseController.ResolveRepoImagePath should have comment or be unexported (golint)
    • Line 317: warning: exported method BaseController.ResolveProjectMember should have comment or be unexported (golint)
    • Line 321: warning: exported method BaseController.ResolveProjectMemberByID should have comment or be unexported (golint)
    • Line 327: warning: exported method BaseController.ResolveProjectOwnerByID should have comment or be unexported (golint)
    • Line 337: warning: exported method BaseController.ResolveUserPrivilege should have comment or be unexported (golint)
    • Line 364: warning: exported method BaseController.ResolveUserPrivilegeByID should have comment or be unexported (golint)
    • Line 370: warning: exported method BaseController.ManipulateRepo should have comment or be unexported (golint)
    • Line 384: warning: exported method BaseController.PushItemsToRepo should have comment or be unexported (golint)
    • Line 392: warning: exported method BaseController.CollaborateWithPullRequest should have comment or be unexported (golint)
    • Line 422: warning: exported method BaseController.RemoveItemsToRepo should have comment or be unexported (golint)
    • Line 431: warning: exported method BaseController.MergeCollaborativePullRequest should have comment or be unexported (golint)
    • Line 450: warning: exported method BaseController.GeneratePodLogOptions should have comment or be unexported (golint)
    • Line 503: warning: exported function InitController should have comment or be unexported (golint)
    • board/src/common/dao/base.go
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 14: warning: exported function InitDB should have comment or be unexported (golint)
    • board/src/apiserver/main.go
    • Line 43: warning: exported const BaseRepoPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported var GogitsSSHURL should have comment or be unexported (golint)
    • Line 49: warning: exported var JenkinsBaseURL should have comment or be unexported (golint)
    • board/src/common/model/storage.go
    • Line 5: warning: exported type PersistentVolume should have comment or be unexported (golint)
    • Line 18: warning: exported type PersistentVolumeOptionNfs should have comment or be unexported (golint)
    • Line 24: warning: exported type PaginatedPersistentVolumes should have comment or be unexported (golint)
    • Line 29: warning: exported type PersistentVolumeOptionCephrbd should have comment or be unexported (golint)
    • Line 42: warning: exported const PVUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported const UnknownPV should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported const UnknownPVC should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported type PersistentVolumeClaimM should have comment or be unexported (golint)
    • Line 77: warning: exported type PersistentVolumeClaimV should have comment or be unexported (golint)
    • Line 89: warning: exported type PersistentVolumeClaimDetail should have comment or be unexported (golint)
    • board/src/common/dao/autoscale.go
    • Line 12: warning: exported function AddAutoScale should have comment or be unexported (golint)
    • Line 25: warning: exported function GetAutoScale should have comment or be unexported (golint)
    • Line 37: warning: exported function UpdateAutoScale should have comment or be unexported (golint)
    • Line 51: warning: exported function DeleteAutoScale should have comment or be unexported (golint)
    • Line 87: warning: exported function GetAutoScalesByService should have comment or be unexported (golint)
    • Line 92: warning: comment on exported function SyncAutoScaleData should be of the form "SyncAutoScaleData ..." (golint)
    • board/src/common/dao/pvclaim.go
    • Line 12: warning: exported function AddPVC should have comment or be unexported (golint)
    • Line 25: warning: exported function GetPVC should have comment or be unexported (golint)
    • Line 37: warning: exported function UpdatePVC should have comment or be unexported (golint)
    • Line 51: warning: exported function DeletePVC should have comment or be unexported (golint)
    • Line 63: warning: exported function GetPVCList should have comment or be unexported (golint)
    • Line 76: warning: exported function QueryPVCByProjectID should have comment or be unexported (golint)
    • Line 93: warning: exported function QueryPVCByID should have comment or be unexported (golint)
    • board/src/apiserver/controllers/commons/cachestore.go
    • Line 15: warning: exported type CacheStoreController should have comment or be unexported (golint)
    • Line 19: warning: exported method CacheStoreController.Prepare should have comment or be unexported (golint)
    • Line 23: warning: exported method CacheStoreController.Post should have comment or be unexported (golint)
    • Line 33: warning: exported method CacheStoreController.Get should have comment or be unexported (golint)
    • board/src/apiserver/service/servicedeploy.go
    • Line 34: warning: exported type DeployInfo should have comment or be unexported (golint)
    • Line 41: warning: exported function DeployService should have comment or be unexported (golint)
    • Line 85: warning: exported function GenerateDeployYamlFiles should have comment or be unexported (golint)
    • Line 107: warning: comment on exported function GenerateStatefulSetYamlFiles should be of the form "GenerateStatefulSetYamlFiles ..." (golint)
    • Line 126: warning: exported function DeployServiceByYaml should have comment or be unexported (golint)
    • Line 164: warning: comment on exported function CheckDeployYamlConfig should be of the form "CheckDeployYamlConfig ..." (golint)
    • Line 186: warning: exported function GetStoppedSeviceNodePorts should have comment or be unexported (golint)
    • board/src/common/utils/secureshell.go
    • Line 18: warning: exported type SecureShell should have comment or be unexported (golint)
    • Line 22: warning: exported function NewSecureShell should have comment or be unexported (golint)
    • Line 57: warning: exported method SecureShell.ExecuteCommand should have comment or be unexported (golint)
    • Line 73: warning: exported method SecureShell.SecureCopyData should have comment or be unexported (golint)
    • Line 88: warning: exported method SecureShell.SecureCopy should have comment or be unexported (golint)
    • Line 110: warning: exported method SecureShell.CheckDir should have comment or be unexported (golint)
    • Line 114: warning: exported method SecureShell.RemoveDir should have comment or be unexported (golint)
    • board/src/apiserver/service/search.go
    • Line 12: warning: exported type OriginImage should have comment or be unexported (golint)
    • Line 15: warning: exported type SearchServiceResult should have comment or be unexported (golint)
    • Line 20: warning: exported type SearchNodeResult should have comment or be unexported (golint)
    • Line 24: warning: exported type SearchResult should have comment or be unexported (golint)
    • Line 31: warning: exported type SearchImageResult should have comment or be unexported (golint)
    • Line 38: warning: exported function SearchSource should have comment or be unexported (golint)
    • board/src/apiserver/controllers/projects/supplments.go
    • Line 13: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 18: warning: comment on exported method SupplementController.Toggle should be of the form "Toggle ..." (golint)
    • Line 52: warning: comment on exported method SupplementController.Existing should be of the form "Existing ..." (golint)
    • board/src/common/model/dashboard/node.go
    • Line 3: warning: exported var NodeStatusDashboardList should have comment or be unexported (golint)
    • Line 5: warning: exported type NodeStatusDashboard should have comment or be unexported (golint)
    • Line 11: warning: exported type NodeStatus should have comment or be unexported (golint)
    • Line 16: warning: exported type NodeDashboardMinute should have comment or be unexported (golint)
    • Line 31: warning: exported type NodeDashboardHour should have comment or be unexported (golint)
    • Line 46: warning: exported type NodeDashboardDay should have comment or be unexported (golint)
    • board/src/common/model/job.go
    • Line 7: warning: exported type JobStatusMO should have comment or be unexported (golint)
    • Line 23: warning: exported method JobStatusMO.TableName should have comment or be unexported (golint)
    • Line 27: warning: exported type PaginatedJobStatus should have comment or be unexported (golint)
    • Line 32: warning: exported type JobConfig should have comment or be unexported (golint)
    • Line 46: warning: exported type JobAffinity should have comment or be unexported (golint)
    • board/src/apiserver/service/operation.go
    • Line 57: warning: exported const Success should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported function ParseOrderField should have comment or be unexported (golint)
    • Line 72: warning: exported function GetPaginatedOperationList should have comment or be unexported (golint)
    • Line 80: warning: exported function ParseOperationAudit should have comment or be unexported (golint)
    • Line 105: warning: exported function CreateOperationAudit should have comment or be unexported (golint)
    • Line 114: warning: exported function UpdateOperationAuditStatus should have comment or be unexported (golint)
    • board/src/apiserver/service/serviceyml.go
    • Line 30: warning: error var pathErr should have name of the form errFoo (golint)
    • Line 31: warning: error var emptyServiceNameErr should have name of the form errFoo (golint)
    • Line 32: warning: error var portMaxErr should have name of the form errFoo (golint)
    • Line 33: warning: error var portMinErr should have name of the form errFoo (golint)
    • Line 34: warning: error var emptyDeployErr should have name of the form errFoo (golint)
    • Line 35: warning: error var invalidErr should have name of the form errFoo (golint)
    • Line 36: warning: error var emptyContainerErr should have name of the form errFoo (golint)
    • Line 37: warning: error var NameInconsistentErr should have name of the form ErrFoo (golint)
    • Line 37: warning: exported var NameInconsistentErr should have comment or be unexported (golint)
    • Line 38: warning: error var ServiceNameInconsistentErr should have name of the form ErrFoo (golint)
    • Line 39: warning: error var ProjectNameInconsistentErr should have name of the form ErrFoo (golint)
    • Line 40: warning: error var DeploymentNotFoundErr should have name of the form ErrFoo (golint)
    • Line 41: warning: error var ServiceNotFoundErr should have name of the form ErrFoo (golint)
    • Line 42: warning: error var ServiceYamlFileUnmarshalErr should have name of the form ErrFoo (golint)
    • Line 43: warning: error var DeploymentYamlFileUnmarshalErr should have name of the form ErrFoo (golint)
    • Line 44: warning: error var deploymentKindErr should have name of the form errFoo (golint)
    • Line 45: warning: error var serviceKindErr should have name of the form errFoo (golint)
    • Line 46: warning: error var deploymentAPIVersionErr should have name of the form errFoo (golint)
    • Line 47: warning: error var serviceAPIVersionErr should have name of the form errFoo (golint)
    • Line 50: warning: exported function ServiceExists should have comment or be unexported (golint)
    • Line 59: warning: exported function GenerateYamlFile should have comment or be unexported (golint)
    • Line 80: warning: exported function GenerateDeploymentYamlFileFromK8s should have comment or be unexported (golint)
    • Line 90: warning: exported function GenerateStatefulSetYamlFileFromK8s should have comment or be unexported (golint)
    • Line 100: warning: exported function GenerateServiceYamlFileFromK8s should have comment or be unexported (golint)
    • Line 110: warning: exported function DeleteServiceConfigYaml should have comment or be unexported (golint)
    • board/src/adminserver/dao/nodeDao/nodeDao.go
    • Line 1: warning: don't use MixedCaps in package name; nodeDao should be nodedao (golint)
    • Line 8: warning: exported function InsertNodeLog should have comment or be unexported (golint)
    • Line 18: warning: exported function GetNodeLog should have comment or be unexported (golint)
    • Line 27: warning: exported function UpdateNodeLog should have comment or be unexported (golint)
    • Line 35: warning: exported function DeleteNodeLog should have comment or be unexported (golint)
    • Line 44: warning: exported function InsertNodeStatus should have comment or be unexported (golint)
    • Line 52: warning: exported function CheckNodeStatusExists should have comment or be unexported (golint)
    • Line 61: warning: exported function DeleteNodeStatus should have comment or be unexported (golint)
    • Line 69: warning: exported function GetNodeLogList should have comment or be unexported (golint)
    • Line 77: warning: exported function GetNodeStatusList should have comment or be unexported (golint)
    • Line 85: warning: exported function CheckNodeLogDetailExists should have comment or be unexported (golint)
    • Line 94: warning: exported function UpdateNodeLogDetail should have comment or be unexported (golint)
    • Line 102: warning: exported function InsertNodeLogDetail should have comment or be unexported (golint)
    • Line 112: warning: exported function DeleteNodeLogDetail should have comment or be unexported (golint)
    • Line 121: warning: exported function GetNodeLogDetail should have comment or be unexported (golint)
    • Line 130: warning: exported function GetLogTotalRecordCount should have comment or be unexported (golint)
    • board/src/apiserver/controllers/jobs/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 24: warning: comment on exported method CommonController.Post should be of the form "Post ..." (golint)
    • Line 36: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/v1/controller/helm.go
    • Line 21: warning: exported type HelmController should have comment or be unexported (golint)
    • Line 25: warning: exported method HelmController.ListHelmReposAction should have comment or be unexported (golint)
    • Line 37: warning: exported method HelmController.GetHelmRepoDetailAction should have comment or be unexported (golint)
    • Line 73: warning: exported method HelmController.GetHelmChartDetailAction should have comment or be unexported (golint)
    • Line 100: warning: exported method HelmController.UploadHelmChartAction should have comment or be unexported (golint)
    • Line 145: warning: exported method HelmController.DeleteHelmChartAction should have comment or be unexported (golint)
    • Line 175: warning: exported method HelmController.InstallHelmChartAction should have comment or be unexported (golint)
    • Line 209: warning: exported method HelmController.ListHelmReleaseAction should have comment or be unexported (golint)
    • Line 226: warning: exported method HelmController.DeleteHelmReleaseAction should have comment or be unexported (golint)
    • Line 241: warning: exported method HelmController.DeleteHelmReleaseByProjectAction should have comment or be unexported (golint)
    • Line 258: warning: exported method HelmController.GetHelmReleaseAction should have comment or be unexported (golint)
    • Line 273: warning: exported method HelmController.GetReleasePodLogsAction should have comment or be unexported (golint)
    • Line 326: warning: exported method HelmController.ReleaseExists should have comment or be unexported (golint)
    • board/src/common/model/systeminfo.go
    • Line 3: warning: exported type SystemInfo should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type KubernetesInfo should be of the form "KubernetesInfo ..." (with optional leading article) (golint)
    • board/src/apiserver/service/devops/gitlabci/cmd.go
    • Line 12: warning: exported type GitlabCI should have comment or be unexported (golint)
    • Line 14: warning: exported type Image should have comment or be unexported (golint)
    • Line 19: warning: exported type Only should have comment or be unexported (golint)
    • Line 23: warning: exported type Job should have comment or be unexported (golint)
    • Line 31: warning: exported var GitlabCIFilename should have comment or be unexported (golint)
    • Line 43: warning: exported method GitlabCI.WriteMultiLine should have comment or be unexported (golint)
    • Line 48: warning: exported method GitlabCI.GenerateGitlabCI should have comment or be unexported (golint)
    • board/src/common/dao/role.go
    • Line 9: warning: exported function GetRole should have comment or be unexported (golint)
    • Line 18: warning: exported function GetRoles should have comment or be unexported (golint)
    • board/src/common/k8sassist/corev1/cgv5/types/convert.go
    • Line 24: warning: comment on exported function ToK8sObjectMeta should be of the form "ToK8sObjectMeta ..." (golint)
    • Line 41: warning: comment on exported function ToK8sDeployment should be of the form "ToK8sDeployment ..." (golint)
    • Line 74: warning: comment on exported function ToK8sPodTemplateSpec should be of the form "ToK8sPodTemplateSpec ..." (golint)
    • Line 89: warning: comment on exported function ToK8sReplicaSet should be of the form "ToK8sReplicaSet ..." (golint)
    • Line 126: warning: exported function ToK8sReplicaSetSpec should have comment or be unexported (golint)
    • Line 148: warning: comment on exported function ToK8sPod should be of the form "ToK8sPod ..." (golint)
    • Line 179: warning: comment on exported function ToK8sPodSpec should be of the form "ToK8sPodSpec ..." (golint)
    • Line 243: warning: exported function ToK8sTolerations should have comment or be unexported (golint)
    • Line 253: warning: exported function ToK8sToleration should have comment or be unexported (golint)
    • Line 263: warning: exported function ToK8sNodeSelectorTerms should have comment or be unexported (golint)
    • Line 273: warning: exported function ToK8sNodeSelectorRequirements should have comment or be unexported (golint)
    • Line 285: warning: exported function ToK8sAffinityTerm should have comment or be unexported (golint)
    • Line 301: warning: exported function ToK8sVolume should have comment or be unexported (golint)
    • Line 315: warning: exported function ToK8sVolumeSource should have comment or be unexported (golint)
    • Line 358: warning: exported function ToK8sContainer should have comment or be unexported (golint)
    • Line 407: warning: exported function ToK8sContainerPort should have comment or be unexported (golint)
    • Line 417: warning: exported function ToK8sConfigMapKeySelector should have comment or be unexported (golint)
    • Line 430: warning: exported function ToK8sEnvVar should have comment or be unexported (golint)
    • Line 446: warning: exported function ToK8sVolumeMount should have comment or be unexported (golint)
    • Line 454: warning: exported function ToK8sGroupResource should have comment or be unexported (golint)
    • Line 461: warning: exported function ToK8sTerminalSizeQueue should have comment or be unexported (golint)
    • Line 471: warning: exported function ToK8sDaemonSet should have comment or be unexported (golint)
    • Line 486: warning: exported function ToK8sDaemonSetSpec should have comment or be unexported (golint)
    • Line 500: warning: exported function ToK8sDaemonSetUpdateStrategy should have comment or be unexported (golint)
    • Line 507: warning: exported function ToK8sRollingUpdateDaemonSet should have comment or be unexported (golint)
    • Line 521: warning: exported function ToK8sDaemonSetStatus should have comment or be unexported (golint)
    • Line 536: warning: exported function ToK8sDaemonSetConditions should have comment or be unexported (golint)
    • Line 547: warning: exported function ToK8sDaemonSetCondition should have comment or be unexported (golint)
    • Line 557: warning: exported function FromK8sInfo should have comment or be unexported (golint)
    • Line 571: warning: exported function FromK8sObjectMeta should have comment or be unexported (golint)
    • Line 586: warning: comment on exported function FromK8sDeploymentList should be of the form "FromK8sDeploymentList ..." (golint)
    • Line 601: warning: comment on exported function FromK8sDeployment should be of the form "FromK8sDeployment ..." (golint)
    • Line 622: warning: exported function FromK8sDeploymentSpec should have comment or be unexported (golint)
    • Line 642: warning: exported function FromK8sSelector should have comment or be unexported (golint)
    • Line 649: warning: exported function FromK8sPodTemplateSpec should have comment or be unexported (golint)
    • Line 663: warning: comment on exported function FromK8sReplicaSetList should be of the form "FromK8sReplicaSetList ..." (golint)
    • Line 679: warning: comment on exported function FromK8sReplicaSet should be of the form "FromK8sReplicaSet ..." (golint)
    • Line 712: warning: exported function FromK8sReplicSetSpec should have comment or be unexported (golint)
    • Line 734: warning: exported function FromK8sPodList should have comment or be unexported (golint)
    • Line 749: warning: comment on exported function FromK8sPod should be of the form "FromK8sPod ..." (golint)
    • Line 775: warning: exported function FromK8sPodSpec should have comment or be unexported (golint)
    • Line 811: warning: exported function FromK8sTolerations should have comment or be unexported (golint)
    • Line 821: warning: exported function FromK8sToleration should have comment or be unexported (golint)
    • Line 831: warning: exported function FromK8sVolume should have comment or be unexported (golint)
    • Line 841: warning: exported function FromK8sVolumeSource should have comment or be unexported (golint)
    • Line 878: warning: exported function FromK8sContainer should have comment or be unexported (golint)
    • Line 928: warning: exported function FromK8sContainerPort should have comment or be unexported (golint)
    • Line 938: warning: exported function FromK8sEnvVar should have comment or be unexported (golint)
    • Line 960: warning: exported function FromK8sVolumeMount should have comment or be unexported (golint)
    • Line 968: warning: exported function FromK8sSecurityContext should have comment or be unexported (golint)
    • Line 978: warning: comment on exported function ToK8sNamespace should be of the form "ToK8sNamespace ..." (golint)
    • Line 991: warning: exported function FromK8sNamespace should have comment or be unexported (golint)
    • Line 998: warning: exported function FromK8sNamespaceList should have comment or be unexported (golint)
    • Line 1009: warning: comment on exported function ToK8sService should be of the form "ToK8sService ..." (golint)
    • Line 1062: warning: exported function FromK8sService should have comment or be unexported (golint)
    • Line 1092: warning: exported function FromK8sServiceList should have comment or be unexported (golint)
    • Line 1102: warning: exported function ToK8sNodeTaints should have comment or be unexported (golint)
    • Line 1112: warning: exported function ToK8sNodeTaint should have comment or be unexported (golint)
    • Line 1127: warning: comment on exported function ToK8sNodeStatus should be of the form "ToK8sNodeStatus ..." (golint)
    • Line 1176: warning: exported function UpdateK8sNodeStatus should have comment or be unexported (golint)
    • Line 1235: warning: comment on exported function ToK8sNode should be of the form "ToK8sNode ..." (golint)
    • Line 1255: warning: comment on exported function UpdateK8sNode should be of the form "UpdateK8sNode ..." (golint)
    • Line 1278: warning: exported function FromK8sNodeTaints should have comment or be unexported (golint)
    • Line 1288: warning: exported function FromK8sNodeTaint should have comment or be unexported (golint)
    • Line 1301: warning: comment on exported function FromK8sNodeStatus should be of the form "FromK8sNodeStatus ..." (golint)
    • Line 1347: warning: comment on exported function FromK8sNode should be of the form "FromK8sNode ..." (golint)
    • Line 1365: warning: comment on exported function FromK8sNodeList should be of the form "FromK8sNodeList ..." (golint)
    • Line 1381: warning: exported function FromK8sScale should have comment or be unexported (golint)
    • Line 1389: warning: exported function ToK8sScale should have comment or be unexported (golint)
    • Line 1401: warning: exported function GenerateDeploymentConfig should have comment or be unexported (golint)
    • Line 1453: warning: exported function GenerateServiceConfig should have comment or be unexported (golint)
    • Line 1474: warning: exported function FromK8sAutoScale should have comment or be unexported (golint)
    • Line 1501: warning: exported function FromK8sAutoScaleList should have comment or be unexported (golint)
    • Line 1516: warning: exported function ToK8sAutoScale should have comment or be unexported (golint)
    • Line 1548: warning: comment on exported function UpdateK8sAutoScale should be of the form "UpdateK8sAutoScale ..." (golint)
    • Line 1566: warning: exported function IsNotFoundError should have comment or be unexported (golint)
    • Line 1570: warning: exported function IsAlreadyExistError should have comment or be unexported (golint)
    • Line 1574: warning: exported function FromK8sRBD should have comment or be unexported (golint)
    • Line 1590: warning: exported function FromK8sPVAccessMode should have comment or be unexported (golint)
    • Line 1598: warning: exported function FromK8sPVObjectReference should have comment or be unexported (golint)
    • Line 1613: warning: exported function FromK8sPV should have comment or be unexported (golint)
    • Line 1647: warning: exported function FromK8sPVList should have comment or be unexported (golint)
    • Line 1662: warning: exported function ToK8sRBD should have comment or be unexported (golint)
    • Line 1678: warning: exported function ToK8sPVAccessMode should have comment or be unexported (golint)
    • Line 1686: warning: exported function ToK8sPVObjectReference should have comment or be unexported (golint)
    • Line 1701: warning: exported function ToK8sPV should have comment or be unexported (golint)
    • Line 1738: warning: comment on exported function UpdateK8sPV should be of the form "UpdateK8sPV ..." (golint)
    • Line 1754: warning: comment on exported function FromK8sPVC should be of the form "FromK8sPVC ..." (golint)
    • Line 1791: warning: exported function FromK8sPVCList should have comment or be unexported (golint)
    • Line 1806: warning: exported function ToK8sPVC should have comment or be unexported (golint)
    • Line 1846: warning: comment on exported function UpdateK8sPVC should be of the form "UpdateK8sPVC ..." (golint)
    • Line 1862: warning: comment on exported function FromK8sConfigMap should be of the form "FromK8sConfigMap ..." (golint)
    • Line 1871: warning: exported function FromK8sConfigMapList should have comment or be unexported (golint)
    • Line 1886: warning: exported function ToK8sConfigMap should have comment or be unexported (golint)
    • Line 1898: warning: comment on exported function UpdateK8sConfigMap should be of the form "UpdateK8sConfigMap ..." (golint)
    • Line 1946: warning: exported function ToK8sJob should have comment or be unexported (golint)
    • Line 2007: warning: exported function FromK8sJob should have comment or be unexported (golint)
    • Line 2056: warning: exported function GenerateJobConfig should have comment or be unexported (golint)
    • Line 2111: warning: exported function FromK8sJobList should have comment or be unexported (golint)
    • Line 2125: warning: exported function FromK8sLabelSelector should have comment or be unexported (golint)
    • Line 2143: warning: exported function ToK8sLabelSelector should have comment or be unexported (golint)
    • Line 2161: warning: exported function ToK8sPodLogOptions should have comment or be unexported (golint)
    • Line 2183: warning: exported function ToK8sListOptions should have comment or be unexported (golint)
    • Line 2193: warning: exported function LabelSelectorToString should have comment or be unexported (golint)
    • Line 2303: warning: comment on exported function FromK8sDaemonSetList should be of the form "FromK8sDaemonSetList ..." (golint)
    • Line 2318: warning: exported function FromK8sDaemonSet should have comment or be unexported (golint)
    • Line 2329: warning: exported function FromK8sDaemonSetSpec should have comment or be unexported (golint)
    • Line 2343: warning: exported function FromK8sDaemonSetUpdateStrategy should have comment or be unexported (golint)
    • Line 2350: warning: exported function FromK8sRollingUpdateDaemonSet should have comment or be unexported (golint)
    • Line 2364: warning: exported function FromK8sDaemonSetStatus should have comment or be unexported (golint)
    • Line 2379: warning: exported function FromK8sDaemonSetConditions should have comment or be unexported (golint)
    • Line 2390: warning: exported function FromK8sDaemonSetCondition should have comment or be unexported (golint)
    • Line 2400: warning: exported function GenerateDaemonSetConfig should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/nodegroup.go
    • Line 16: warning: exported type NodeGroupController should have comment or be unexported (golint)
    • Line 20: warning: exported method NodeGroupController.GetNodeGroupsAction should have comment or be unexported (golint)
    • Line 30: warning: exported method NodeGroupController.AddNodeGroupAction should have comment or be unexported (golint)
    • Line 65: warning: exported method NodeGroupController.CheckNodeGroupNameExistingAction should have comment or be unexported (golint)
    • Line 80: warning: exported method NodeGroupController.DeleteNodeGroupAction should have comment or be unexported (golint)
    • Line 108: warning: comment on exported method NodeGroupController.GetNodeGroupAction should be of the form "GetNodeGroupAction ..." (golint)
    • Line 151: warning: comment on exported method NodeGroupController.UpdateNodeGroupAction should be of the form "UpdateNodeGroupAction ..." (golint)
    • board/src/apiserver/v1/controller/auth.go
    • Line 15: warning: exported type AuthController should have comment or be unexported (golint)
    • Line 19: warning: exported method AuthController.Prepare should have comment or be unexported (golint)
    • Line 30: warning: exported method AuthController.SignInAction should have comment or be unexported (golint)
    • Line 42: warning: exported method AuthController.ExternalAuthAction should have comment or be unexported (golint)
    • Line 54: warning: exported method AuthController.SignUpAction should have comment or be unexported (golint)
    • Line 143: warning: exported method AuthController.CurrentUserAction should have comment or be unexported (golint)
    • Line 153: warning: exported method AuthController.GetSystemInfo should have comment or be unexported (golint)
    • Line 162: warning: exported method AuthController.GetSystemResources should have comment or be unexported (golint)
    • Line 171: warning: exported method AuthController.GetKubernetesInfo should have comment or be unexported (golint)
    • Line 180: warning: exported method AuthController.LogOutAction should have comment or be unexported (golint)
    • Line 187: warning: exported method AuthController.UserExists should have comment or be unexported (golint)
    • Line 201: warning: exported method AuthController.ResetPassword should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/project.go
    • Line 17: warning: exported type ProjectController should have comment or be unexported (golint)
    • Line 21: warning: exported method ProjectController.CreateProjectAction should have comment or be unexported (golint)
    • Line 91: warning: exported method ProjectController.ProjectExists should have comment or be unexported (golint)
    • Line 104: warning: exported method ProjectController.GetProjectsAction should have comment or be unexported (golint)
    • Line 150: warning: exported method ProjectController.GetProjectAction should have comment or be unexported (golint)
    • Line 168: warning: exported method ProjectController.DeleteProjectAction should have comment or be unexported (golint)
    • Line 199: warning: exported method ProjectController.ToggleProjectPublicAction should have comment or be unexported (golint)
    • board/src/apiserver/controllers/dashboards/data.go
    • Line 5: warning: comment on exported type DataController should be of the form "DataController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method DataController.Service should be of the form "Service ..." (golint)
    • Line 22: warning: comment on exported method DataController.Data should be of the form "Data ..." (golint)
    • Line 34: warning: comment on exported method DataController.Node should be of the form "Node ..." (golint)
    • Line 46: warning: comment on exported method DataController.ServerTime should be of the form "ServerTime ..." (golint)
    • board/src/common/model/yaml/container.go
    • Line 3: warning: exported type Env should have comment or be unexported (golint)
    • Line 8: warning: exported type Volume should have comment or be unexported (golint)
    • Line 14: warning: exported type Container should have comment or be unexported (golint)
    • board/src/common/dao/user.go
    • Line 13: warning: exported function AddUser should have comment or be unexported (golint)
    • Line 27: warning: exported function UpdateUser should have comment or be unexported (golint)
    • Line 40: warning: exported function GetUser should have comment or be unexported (golint)
    • Line 60: warning: exported function GetUsers should have comment or be unexported (golint)
    • Line 69: warning: exported function GetPaginatedUsers should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/pvclaim.go
    • Line 19: warning: exported type PVClaimController should have comment or be unexported (golint)
    • Line 23: warning: exported method PVClaimController.GetPVClaimAction should have comment or be unexported (golint)
    • Line 63: warning: exported method PVClaimController.RemovePVClaimAction should have comment or be unexported (golint)
    • Line 103: warning: exported method PVClaimController.GetPVClaimListAction should have comment or be unexported (golint)
    • Line 113: warning: exported method PVClaimController.AddPVClaimAction should have comment or be unexported (golint)
    • Line 145: warning: comment on exported method PVClaimController.GetPVCNameExisting should be of the form "GetPVCNameExisting ..." (golint)
    • board/src/apiserver/v1/controller/node.go
    • Line 16: warning: exported type NodeController should have comment or be unexported (golint)
    • Line 20: warning: exported method NodeController.Prepare should have comment or be unexported (golint)
    • Line 26: warning: exported method NodeController.GetNode should have comment or be unexported (golint)
    • Line 36: warning: exported method NodeController.NodeToggle should have comment or be unexported (golint)
    • Line 62: warning: exported method NodeController.NodeList should have comment or be unexported (golint)
    • Line 83: warning: exported method NodeController.AddNodeToGroupAction should have comment or be unexported (golint)
    • Line 99: warning: exported method NodeController.GetGroupsOfNodeAction should have comment or be unexported (golint)
    • Line 116: warning: exported method NodeController.RemoveNodeFromGroupAction should have comment or be unexported (golint)
    • Line 132: warning: exported method NodeController.NodesAvailalbeResources should have comment or be unexported (golint)
    • Line 143: warning: exported method NodeController.AddNodeAction should have comment or be unexported (golint)
    • Line 177: warning: comment on exported method NodeController.RemoveNodeAction should be of the form "RemoveNodeAction ..." (golint)
    • Line 215: warning: comment on exported method NodeController.GetNodeStatusAction should be of the form "GetNodeStatusAction ..." (golint)
    • Line 245: warning: comment on exported method NodeController.NodeDrainAction should be of the form "NodeDrainAction ..." (golint)
    • Line 279: warning: comment on exported method NodeController.EdgeNodeList should be of the form "EdgeNodeList ..." (golint)
    • Line 291: warning: comment on exported method NodeController.AddEdgeNodeAction should be of the form "AddEdgeNodeAction ..." (golint)
    • Line 334: warning: comment on exported method NodeController.GetEdgeNodeAction should be of the form "GetEdgeNodeAction ..." (golint)
    • Line 348: warning: comment on exported method NodeController.RemoveEdgeNodeAction should be of the form "RemoveEdgeNodeAction ..." (golint)
    • Line 373: warning: comment on exported method NodeController.CheckEdgeName should be of the form "CheckEdgeName ..." (golint)
    • board/src/apiserver/service/job.go
    • Line 17: warning: exported type JobDeployInfo should have comment or be unexported (golint)
    • Line 22: warning: exported function CreateJob should have comment or be unexported (golint)
    • Line 41: warning: exported function UpdateJob should have comment or be unexported (golint)
    • Line 52: warning: exported function UpdateJobStatus should have comment or be unexported (golint)
    • Line 56: warning: exported function DeleteJobByID should have comment or be unexported (golint)
    • Line 67: warning: exported function GetJobList should have comment or be unexported (golint)
    • Line 76: warning: exported function GetPaginatedJobList should have comment or be unexported (golint)
    • Line 85: warning: exported function DeleteJob should have comment or be unexported (golint)
    • Line 94: warning: exported function GetK8sJob should have comment or be unexported (golint)
    • Line 104: warning: exported function GetK8sJobByK8sassist should have comment or be unexported (golint)
    • Line 118: warning: exported function GetJob should have comment or be unexported (golint)
    • Line 126: warning: exported function GetJobByID should have comment or be unexported (golint)
    • Line 130: warning: exported function GetJobByProject should have comment or be unexported (golint)
    • Line 141: warning: exported function GetJobsByProjectName should have comment or be unexported (golint)
    • Line 149: warning: exported function JobExists should have comment or be unexported (golint)
    • Line 158: warning: exported function DeployJob should have comment or be unexported (golint)
    • Line 176: warning: exported function StopJobK8s should have comment or be unexported (golint)
    • Line 191: warning: exported function MarshalJob should have comment or be unexported (golint)
    • Line 253: warning: comment on exported function GetJobAffinity should be of the form "GetJobAffinity ..." (golint)
    • Line 275: warning: exported function GetK8sJobPods should have comment or be unexported (golint)
    • Line 317: warning: exported function GetK8sPodLogs should have comment or be unexported (golint)
    • Line 326: warning: exported function SyncJobK8sStatus should have comment or be unexported (golint)
    • Line 385: warning: exported function SyncJobWithK8s should have comment or be unexported (golint)
    • board/src/adminserver/common/common.go
    • Line 9: warning: exported var ErrAdminLogin should have comment or be unexported (golint)
    • Line 10: warning: exported var ErrForbidden should have comment or be unexported (golint)
    • Line 11: warning: exported var ErrWrongPassword should have comment or be unexported (golint)
    • Line 12: warning: exported var ErrTokenServer should have comment or be unexported (golint)
    • Line 13: warning: exported var ErrNoData should have comment or be unexported (golint)
    • Line 15: warning: exported function ReadCfgItem should have comment or be unexported (golint)
    • board/src/adminserver/models/configuration.go
    • Line 10: warning: exported type Board should have comment or be unexported (golint)
    • Line 21: warning: exported type K8s should have comment or be unexported (golint)
    • Line 32: warning: exported type Gogs should have comment or be unexported (golint)
    • Line 38: warning: exported type Gitlab should have comment or be unexported (golint)
    • Line 48: warning: exported type Prometheus should have comment or be unexported (golint)
    • Line 52: warning: exported type Jenkins should have comment or be unexported (golint)
    • Line 62: warning: exported type Es should have comment or be unexported (golint)
    • Line 67: warning: exported type Db should have comment or be unexported (golint)
    • Line 73: warning: exported type Indata should have comment or be unexported (golint)
    • Line 78: warning: exported type Ldap should have comment or be unexported (golint)
    • Line 89: warning: exported type Email should have comment or be unexported (golint)
    • Line 99: warning: exported type TokenCfg should have comment or be unexported (golint)
    • Line 104: warning: exported type Configuration should have comment or be unexported (golint)
    • Line 122: warning: exported function GetCfg should have comment or be unexported (golint)
    • Line 133: warning: exported function SetCfg should have comment or be unexported (golint)
    • Line 145: warning: exported function GetConfiguration should have comment or be unexported (golint)
    • Line 165: warning: exported function UpdateConfiguration should have comment or be unexported (golint)
    • Line 180: warning: exported type Account should have comment or be unexported (golint)
    • Line 187: warning: exported var DBconfigdir should have comment or be unexported (golint)
    • Line 188: warning: exported var DBcompose should have comment or be unexported (golint)
    • Line 189: warning: exported var Boardcompose should have comment or be unexported (golint)
    • Line 190: warning: exported var PrepareFile should have comment or be unexported (golint)
    • Line 191: warning: exported var MakePath should have comment or be unexported (golint)
    • Line 192: warning: exported var BoardcomposeLegacy should have comment or be unexported (golint)
    • board/src/adminserver/controllers/board.go
    • Line 18: warning: comment on exported method BoardController.Start should be of the form "Start ..." (golint)
    • Line 43: warning: comment on exported method BoardController.Applycfg should be of the form "Applycfg ..." (golint)
    • Line 68: warning: comment on exported method BoardController.Shutdown should be of the form "Shutdown ..." (golint)
    • board/src/apiserver/v1/controller/configmap.go
    • Line 19: warning: exported type ConfigMapController should have comment or be unexported (golint)
    • Line 23: warning: exported method ConfigMapController.AddConfigMapAction should have comment or be unexported (golint)
    • Line 50: warning: exported method ConfigMapController.RemoveConfigMapAction should have comment or be unexported (golint)
    • Line 74: warning: exported method ConfigMapController.GetConfigMapListAction should have comment or be unexported (golint)
    • Line 104: warning: exported method ConfigMapController.GetConfigMapAction should have comment or be unexported (golint)
    • Line 127: warning: exported method ConfigMapController.UpdateConfigMapAction should have comment or be unexported (golint)
    • Line 150: warning: comment on exported method ConfigMapController.RemoveConfigMapByName should be of the form "RemoveConfigMapByName ..." (golint)
    • Line 167: warning: comment on exported method ConfigMapController.UpdateConfigMapByName should be of the form "UpdateConfigMapByName ..." (golint)
    • board/src/apiserver/service/k8sproxy.go
    • Line 11: warning: exported const K8SPROXY_ENABLE_KEY should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported function SetK8SProxyConfig should have comment or be unexported (golint)
    • Line 20: warning: exported function GetK8SProxyConfig should have comment or be unexported (golint)
    • board/src/apiserver/controllers/images/builds.go
    • Line 7: warning: comment on exported type BuildController should be of the form "BuildController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method BuildController.ByTemplate should be of the form "ByTemplate ..." (golint)
    • Line 24: warning: comment on exported method BuildController.ByUploadedPackage should be of the form "ByUploadedPackage ..." (golint)
    • Line 36: warning: comment on exported method BuildController.ByDockerfile should be of the form "ByDockerfile ..." (golint)
    • board/src/apiserver/v1/controller/job.go
    • Line 18: warning: error var jobNameDuplicateErr should have name of the form errFoo (golint)
    • Line 21: warning: exported type JobController should have comment or be unexported (golint)
    • Line 44: warning: exported method JobController.DeployJobAction should have comment or be unexported (golint)
    • Line 84: warning: comment on exported method JobController.GetJobListAction should be of the form "GetJobListAction ..." (golint)
    • Line 125: warning: comment on exported method JobController.GetJobAction should be of the form "GetJobAction ..." (golint)
    • Line 143: warning: exported method JobController.DeleteJobAction should have comment or be unexported (golint)
    • Line 170: warning: exported method JobController.GetJobStatusAction should have comment or be unexported (golint)
    • Line 186: warning: exported method JobController.GetJobConfigAction should have comment or be unexported (golint)
    • Line 226: warning: exported method JobController.JobExists should have comment or be unexported (golint)
    • Line 241: warning: exported method JobController.GetJobPodsAction should have comment or be unexported (golint)
    • Line 257: warning: exported method JobController.GetJobLogsAction should have comment or be unexported (golint)
    • Line 278: warning: exported method JobController.GetSelectableJobsAction should have comment or be unexported (golint)
    • board/src/common/model/operation.go
    • Line 7: warning: exported type Operation should have comment or be unexported (golint)
    • Line 25: warning: exported type PaginatedOperations should have comment or be unexported (golint)
    • Line 30: warning: exported type OperationParam should have comment or be unexported (golint)
    • board/src/tokenserver/controller/token.go
    • Line 18: warning: exported type TokenServiceController should have comment or be unexported (golint)
    • Line 22: warning: exported method TokenServiceController.Render should have comment or be unexported (golint)
    • Line 26: warning: exported method TokenServiceController.ServeStatus should have comment or be unexported (golint)
    • Line 35: warning: exported method TokenServiceController.Post should have comment or be unexported (golint)
    • Line 61: warning: exported method TokenServiceController.Get should have comment or be unexported (golint)
    • board/src/adminserver/controllers/account.go
    • Line 18: warning: exported method AccController.Prepare should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method AccController.Login should be of the form "Login ..." (golint)
    • Line 59: warning: comment on exported method AccController.CreateUUID should be of the form "CreateUUID ..." (golint)
    • board/src/apiserver/controllers/images/supplements.go
    • Line 13: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 18: warning: comment on exported method SupplementController.Preview should be of the form "Preview ..." (golint)
    • Line 31: warning: comment on exported method SupplementController.CleanConfig should be of the form "CleanConfig ..." (golint)
    • Line 44: warning: comment on exported method SupplementController.Exists should be of the form "Exists ..." (golint)
    • board/src/apiserver/v1/controller/user.go
    • Line 16: warning: exported type UserController should have comment or be unexported (golint)
    • Line 20: warning: exported method UserController.Prepare should have comment or be unexported (golint)
    • Line 27: warning: exported method UserController.GetUsersAction should have comment or be unexported (golint)
    • Line 67: warning: exported method UserController.ChangeUserAccount should have comment or be unexported (golint)
    • Line 123: warning: exported method UserController.ChangePasswordAction should have comment or be unexported (golint)
    • Line 197: warning: exported type SystemAdminController should have comment or be unexported (golint)
    • Line 201: warning: exported method SystemAdminController.Prepare should have comment or be unexported (golint)
    • Line 212: warning: exported method SystemAdminController.AddUserAction should have comment or be unexported (golint)
    • Line 291: warning: exported method SystemAdminController.GetUserAction should have comment or be unexported (golint)
    • Line 312: warning: exported method SystemAdminController.DeleteUserAction should have comment or be unexported (golint)
    • Line 351: warning: exported method SystemAdminController.UpdateUserAction should have comment or be unexported (golint)
    • Line 416: warning: exported method SystemAdminController.ToggleSystemAdminAction should have comment or be unexported (golint)
    • board/src/apiserver/controllers/operations/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 22: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • board/src/common/model/const.go
    • Line 8: warning: exported const ProjectAdmin should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported const Preparing should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const DockerfileName should have comment (or a comment on this block) or be unexported (golint)
    • board/src/common/dao/job.go
    • Line 12: warning: exported function AddJob should have comment or be unexported (golint)
    • Line 28: warning: exported function GetJob should have comment or be unexported (golint)
    • Line 40: warning: exported function UpdateJob should have comment or be unexported (golint)
    • Line 53: warning: exported function DeleteJob should have comment or be unexported (golint)
    • Line 65: warning: exported function DeleteJobByNames should have comment or be unexported (golint)
    • Line 123: warning: exported function GetJobData should have comment or be unexported (golint)
    • Line 128: warning: exported function GetPaginatedJobData should have comment or be unexported (golint)
    • Line 155: warning: exported function SyncJobData should have comment or be unexported (golint)
    • Line 174: warning: exported function GetJobs should have comment or be unexported (golint)
    • board/src/apiserver/service/devopsgitlab.go
    • Line 60: warning: exported type GitlabDevOps should have comment or be unexported (golint)
    • Line 62: warning: exported method GitlabDevOps.SignUp should have comment or be unexported (golint)
    • Line 72: warning: exported method GitlabDevOps.CreateAccessToken should have comment or be unexported (golint)
    • Line 111: warning: exported method GitlabDevOps.CommitAndPush should have comment or be unexported (golint)
    • Line 140: warning: exported method GitlabDevOps.ConfigSSHAccess should have comment or be unexported (golint)
    • Line 150: warning: exported method GitlabDevOps.CreateRepoAndJob should have comment or be unexported (golint)
    • Line 237: warning: exported method GitlabDevOps.GetRepo should have comment or be unexported (golint)
    • Line 263: warning: exported method GitlabDevOps.GetUser should have comment or be unexported (golint)
    • Line 279: warning: exported method GitlabDevOps.ForkRepo should have comment or be unexported (golint)
    • Line 326: warning: exported method GitlabDevOps.CreatePullRequestAndComment should have comment or be unexported (golint)
    • Line 357: warning: exported method GitlabDevOps.MergePullRequest should have comment or be unexported (golint)
    • Line 379: warning: exported method GitlabDevOps.DeleteRepo should have comment or be unexported (golint)
    • Line 400: warning: exported method GitlabDevOps.CustomHookPushPayload should have comment or be unexported (golint)
    • Line 415: warning: exported method GitlabDevOps.CustomHookPipelinePayload should have comment or be unexported (golint)
    • Line 428: warning: exported method GitlabDevOps.GetRepoFile should have comment or be unexported (golint)
    • Line 449: warning: exported method GitlabDevOps.DeleteUser should have comment or be unexported (golint)
    • Line 517: warning: exported method GitlabDevOps.ResolveVariables should have comment or be unexported (golint)
    • Line 564: warning: exported method GitlabDevOps.CreateCIYAML should have comment or be unexported (golint)
    • Line 581: warning: exported method GitlabDevOps.ResolveHandleURL should have comment or be unexported (golint)
    • Line 602: warning: exported method GitlabDevOps.ResetOpts should have comment or be unexported (golint)
    • board/src/apiserver/service/pvclaim.go
    • Line 15: warning: exported function GetPVCList should have comment or be unexported (golint)
    • Line 23: warning: exported function QueryPVCsByUser should have comment or be unexported (golint)
    • Line 60: warning: exported function QueryPVCByID should have comment or be unexported (golint)
    • Line 70: warning: exported function GetPVCDB should have comment or be unexported (golint)
    • Line 78: warning: exported function CreatePVCDB should have comment or be unexported (golint)
    • Line 86: warning: exported function DeletePVCDB should have comment or be unexported (golint)
    • Line 95: warning: exported function UpdatePVCDB should have comment or be unexported (golint)
    • Line 106: warning: exported function CreatePVCK8s should have comment or be unexported (golint)
    • Line 121: warning: exported function CreatePVC should have comment or be unexported (golint)
    • Line 156: warning: exported function DeletePVCK8s should have comment or be unexported (golint)
    • Line 173: warning: exported function GetPVCK8s should have comment or be unexported (golint)
    • Line 184: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 191: warning: exported function ReverseStatePVC should have comment or be unexported (golint)
    • Line 204: warning: comment on exported function QueryPVCNameExisting should be of the form "QueryPVCNameExisting ..." (golint)
    • board/src/adminserver/models/nodeModel/nodeModel.go
    • Line 1: warning: don't use MixedCaps in package name; nodeModel should be nodemodel (golint)
    • Line 5: warning: exported const BasePath should have comment or be unexported (golint)
    • Line 6: warning: exported const AddNodeYamlFile should have comment or be unexported (golint)
    • Line 7: warning: exported const RemoveNodeYamlFile should have comment or be unexported (golint)
    • Line 8: warning: exported const NodeHostsFile should have comment or be unexported (golint)
    • Line 9: warning: exported const LogFileDir should have comment or be unexported (golint)
    • Line 10: warning: exported const HostFileDir should have comment or be unexported (golint)
    • Line 11: warning: exported const PreEnvDir should have comment or be unexported (golint)
    • Line 13: warning: exported type NodeLogResponseStatus should have comment or be unexported (golint)
    • Line 14: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 17: warning: exported const NodeLogResponseUnKnown should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported const ActionTypeAddNode should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type Pagination should have comment or be unexported (golint)
    • Line 38: warning: exported type AddNodePostData should have comment or be unexported (golint)
    • Line 46: warning: exported type PreparationData should have comment or be unexported (golint)
    • Line 51: warning: exported type ContainerEnv should have comment or be unexported (golint)
    • Line 65: warning: exported type UpdateNodeLog should have comment or be unexported (golint)
    • Line 73: warning: exported type NodeLogDetailArray should have comment or be unexported (golint)
    • Line 75: warning: comment on exported type NodeStatus should be of the form "NodeStatus ..." (with optional leading article) (golint)
    • Line 82: warning: exported type ApiServerNodeListResult should have comment or be unexported (golint)
    • Line 91: warning: exported type NodeListResponse should have comment or be unexported (golint)
    • Line 102: warning: comment on exported type NodeLog should be of the form "NodeLog ..." (with optional leading article) (golint)
    • Line 112: warning: comment on exported type NodeLogDetailInfo should be of the form "NodeLogDetailInfo ..." (with optional leading article) (golint)
    • Line 119: warning: exported type NodeLogCache should have comment or be unexported (golint)
    • Line 124: warning: exported type PaginatedNodeLogList should have comment or be unexported (golint)
    • Line 129: warning: exported type NodeLogDetail should have comment or be unexported (golint)
    • Line 134: warning: exported type NodeListType should have comment or be unexported (golint)
    • board/src/apiserver/controllers/images/registries/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 25: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/controllers/commons/captcha.go
    • Line 7: warning: exported type CaptchaController should have comment or be unexported (golint)
    • Line 11: warning: exported method CaptchaController.Prepare should have comment or be unexported (golint)
    • Line 15: warning: exported method CaptchaController.Get should have comment or be unexported (golint)
    • board/src/common/dao/search.go
    • Line 9: warning: exported type SearchProjectResult should have comment or be unexported (golint)
    • Line 14: warning: exported type SearchUserResult should have comment or be unexported (golint)
    • Line 20: warning: exported function SearchPrivateProject should have comment or be unexported (golint)
    • Line 37: warning: exported function SearchPublicProject should have comment or be unexported (golint)
    • Line 51: warning: exported function SearchUser should have comment or be unexported (golint)
    • Line 68: warning: exported function SearchPublicSvr should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/pvolume.go
    • Line 17: warning: exported type PVolumeController should have comment or be unexported (golint)
    • Line 21: warning: exported method PVolumeController.GetPVolumeAction should have comment or be unexported (golint)
    • Line 91: warning: exported method PVolumeController.RemovePVolumeAction should have comment or be unexported (golint)
    • Line 144: warning: exported method PVolumeController.GetPVolumeListAction should have comment or be unexported (golint)
    • Line 154: warning: exported method PVolumeController.AddPVolumeAction should have comment or be unexported (golint)
    • Line 217: warning: exported method PVolumeController.CheckPVolumeNameExistingAction should have comment or be unexported (golint)
    • board/src/common/model/k8scli.go
    • Line 8: warning: exported type RestartPolicy should have comment or be unexported (golint)
    • Line 11: warning: exported const RestartPolicyAlways should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: comment on exported type PatchType should be of the form "PatchType ..." (with optional leading article) (golint)
    • Line 20: warning: exported const JSONPatchType should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type PodPhase should have comment or be unexported (golint)
    • Line 28: warning: comment on exported const PodPending should be of the form "PodPending ..." (golint)
    • Line 34: warning: comment on exported const PodRunning should be of the form "PodRunning ..." (golint)
    • Line 39: warning: comment on exported const PodSucceeded should be of the form "PodSucceeded ..." (golint)
    • Line 42: warning: comment on exported const PodFailed should be of the form "PodFailed ..." (golint)
    • Line 47: warning: comment on exported const PodUnknown should be of the form "PodUnknown ..." (golint)
    • Line 52: warning: exported type ResourceName should have comment or be unexported (golint)
    • Line 55: warning: exported const ResourceCPU should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported type NodePhase should have comment or be unexported (golint)
    • Line 65: warning: exported const NodePending should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported type NodeConditionType should have comment or be unexported (golint)
    • Line 73: warning: exported const NodeReady should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: exported type ConditionStatus should have comment or be unexported (golint)
    • Line 84: warning: exported const ConditionTrue should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: exported type NodeAddressType should have comment or be unexported (golint)
    • Line 92: warning: exported const NodeHostName should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: comment on exported type Quantity should be of the form "Quantity ..." (with optional leading article) (golint)
    • Line 101: warning: exported type QuantityStr should have comment or be unexported (golint)
    • Line 103: warning: exported type ResourceList should have comment or be unexported (golint)
    • Line 105: warning: exported type PodLogOptions should have comment or be unexported (golint)
    • Line 116: warning: exported type ObjectMeta should have comment or be unexported (golint)
    • Line 125: warning: exported type GroupResource should have comment or be unexported (golint)
    • Line 130: warning: exported type Node should have comment or be unexported (golint)
    • Line 138: warning: exported type Taint should have comment or be unexported (golint)
    • Line 145: warning: exported type NodeStatus should have comment or be unexported (golint)
    • Line 153: warning: exported type NodeAddress should have comment or be unexported (golint)
    • Line 158: warning: exported type NodeCondition should have comment or be unexported (golint)
    • Line 167: warning: exported type NodeList should have comment or be unexported (golint)
    • Line 171: warning: exported type Namespace should have comment or be unexported (golint)
    • Line 176: warning: exported type NamespaceList should have comment or be unexported (golint)
    • Line 180: warning: exported type ServicePort should have comment or be unexported (golint)
    • Line 188: warning: exported type Service should have comment or be unexported (golint)
    • Line 200: warning: exported type ServiceList should have comment or be unexported (golint)
    • Line 236: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 242: warning: exported type DeploymentList should have comment or be unexported (golint)
    • Line 246: warning: exported type PodList should have comment or be unexported (golint)
    • Line 250: warning: exported type Pod should have comment or be unexported (golint)
    • Line 256: warning: exported type PodSpec should have comment or be unexported (golint)
    • Line 268: warning: exported type PodStatus should have comment or be unexported (golint)
    • Line 276: warning: exported type PodTemplateSpec should have comment or be unexported (golint)
    • Line 281: warning: exported type Toleration should have comment or be unexported (golint)
    • Line 289: warning: comment on exported type TolerationOperator should be of the form "TolerationOperator ..." (with optional leading article) (golint)
    • Line 293: warning: exported const TolerationOpExists should have comment (or a comment on this block) or be unexported (golint)
    • Line 297: warning: exported type TaintEffect should have comment or be unexported (golint)
    • Line 300: warning: exported const TaintEffectNoSchedule should have comment (or a comment on this block) or be unexported (golint)
    • Line 305: warning: exported type Volume should have comment or be unexported (golint)
    • Line 310: warning: exported type VolumeSource should have comment or be unexported (golint)
    • Line 317: warning: exported type HostPathVolumeSource should have comment or be unexported (golint)
    • Line 321: warning: exported type ConfigMapVolumeSource should have comment or be unexported (golint)
    • Line 344: warning: comment on exported type KeyToPath should be of the form "KeyToPath ..." (with optional leading article) (golint)
    • Line 367: warning: exported type PersistentVolumeClaimVolumeSource should have comment or be unexported (golint)
    • Line 391: warning: comment on exported type K8sContainer should be of the form "K8sContainer ..." (with optional leading article) (golint)
    • Line 418: warning: exported const ProtocolTCP should have comment (or a comment on this block) or be unexported (golint)
    • Line 431: warning: exported type EnvVar should have comment or be unexported (golint)
    • Line 457: warning: comment on exported type ConfigMapKeySelector should be of the form "ConfigMapKeySelector ..." (with optional leading article) (golint)
    • Line 489: warning: comment on exported type ReplicaSet should be of the form "ReplicaSet ..." (with optional leading article) (golint)
    • Line 583: warning: exported type ReplicaSetConditionType should have comment or be unexported (golint)
    • Line 610: warning: comment on exported type LabelSelector should be of the form "LabelSelector ..." (with optional leading article) (golint)
    • Line 645: warning: comment on exported type ScaleSpec should be of the form "ScaleSpec ..." (with optional leading article) (golint)
    • Line 652: warning: comment on exported type ScaleStatusK8s should be of the form "ScaleStatusK8s ..." (with optional leading article) (golint)
    • Line 668: warning: comment on exported type Scale should be of the form "Scale ..." (with optional leading article) (golint)
    • Line 693: warning: exported type HorizontalPodAutoscalerSpec should have comment or be unexported (golint)
    • Line 708: warning: exported type HorizontalPodAutoscalerStatus should have comment or be unexported (golint)
    • Line 730: warning: exported type AutoScale should have comment or be unexported (golint)
    • Line 744: warning: comment on exported type AutoScaleList should be of the form "AutoScaleList ..." (with optional leading article) (golint)
    • Line 750: warning: comment on exported type K8sAffinity should be of the form "K8sAffinity ..." (with optional leading article) (golint)
    • Line 763: warning: comment on exported type NodeAffinity should be of the form "NodeAffinity ..." (with optional leading article) (golint)
    • Line 794: warning: exported type NodeSelector should have comment or be unexported (golint)
    • Line 799: warning: exported type NodeSelectorTerm should have comment or be unexported (golint)
    • Line 808: warning: comment on exported type NodeSelectorRequirement should be of the form "NodeSelectorRequirement ..." (with optional leading article) (golint)
    • Line 825: warning: comment on exported type PreferredSchedulingTerm should be of the form "PreferredSchedulingTerm ..." (with optional leading article) (golint)
    • Line 834: warning: comment on exported type NodeSelectorOperator should be of the form "NodeSelectorOperator ..." (with optional leading article) (golint)
    • Line 839: warning: exported const NodeSelectorOpIn should have comment (or a comment on this block) or be unexported (golint)
    • Line 847: warning: exported type PodAffinityTerm should have comment or be unexported (golint)
    • Line 865: warning: exported type LabelSelectorRequirement should have comment or be unexported (golint)
    • Line 881: warning: exported type PersistentVolumeSource should have comment or be unexported (golint)
    • Line 980: warning: comment on exported type PersistentVolumeK8scli should be of the form "PersistentVolumeK8scli ..." (with optional leading article) (golint)
    • Line 1083: warning: comment on exported type NFSVolumeSource should be of the form "NFSVolumeSource ..." (with optional leading article) (golint)
    • Line 1102: warning: comment on exported type RBDPersistentVolumeSource should be of the form "RBDPersistentVolumeSource ..." (with optional leading article) (golint)
    • Line 1206: warning: exported type PersistentVolumeAccessMode should have comment or be unexported (golint)
    • Line 1207: warning: exported type UID should have comment or be unexported (golint)
    • Line 1209: warning: exported type PersistentVolumePhase should have comment or be unexported (golint)
    • Line 1212: warning: comment on exported const VolumePending should be of the form "VolumePending ..." (golint)
    • Line 1214: warning: comment on exported const VolumeAvailable should be of the form "VolumeAvailable ..." (golint)
    • Line 1217: warning: comment on exported const VolumeBound should be of the form "VolumeBound ..." (golint)
    • Line 1219: warning: comment on exported const VolumeReleased should be of the form "VolumeReleased ..." (golint)
    • Line 1223: warning: comment on exported const VolumeFailed should be of the form "VolumeFailed ..." (golint)
    • Line 1227: warning: comment on exported type PersistentVolumeClaimK8scli should be of the form "PersistentVolumeClaimK8scli ..." (with optional leading article) (golint)
    • Line 1332: warning: exported type PersistentVolumeClaimPhase should have comment or be unexported (golint)
    • Line 1335: warning: comment on exported const ClaimPending should be of the form "ClaimPending ..." (golint)
    • Line 1337: warning: comment on exported const ClaimBound should be of the form "ClaimBound ..." (golint)
    • Line 1339: warning: comment on exported const ClaimLost should be of the form "ClaimLost ..." (golint)
    • Line 1373: warning: exported type StatefulSet should have comment or be unexported (golint)
    • Line 1547: warning: exported type JobList should have comment or be unexported (golint)
    • Line 1551: warning: exported type Job should have comment or be unexported (golint)
    • Line 1557: warning: exported type JobSpec should have comment or be unexported (golint)
    • Line 1601: warning: exported type JobStatus should have comment or be unexported (golint)
    • Line 1643: warning: exported type ServiceContainer should have comment or be unexported (golint)
    • Line 1699: warning: exported type DaemonSetList should have comment or be unexported (golint)
    • Line 1803: warning: exported type DaemonSetUpdateStrategyType should have comment or be unexported (golint)
    • Line 1806: warning: comment on exported const RollingUpdateDaemonSetStrategyType should be of the form "RollingUpdateDaemonSetStrategyType ..." (golint)
    • Line 1809: warning: comment on exported const OnDeleteDaemonSetStrategyType should be of the form "OnDeleteDaemonSetStrategyType ..." (golint)
    • Line 1813: warning: comment on exported type RollingUpdateDaemonSet should be of the form "RollingUpdateDaemonSet ..." (with optional leading article) (golint)
    • Line 1833: warning: exported type DaemonSetConditionType should have comment or be unexported (golint)
    • board/src/apiserver/controllers/services/rollingupdates/nodegroups.go
    • Line 5: warning: comment on exported type NodeGroupController should be of the form "NodeGroupController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method NodeGroupController.List should be of the form "List ..." (golint)
    • Line 24: warning: comment on exported method NodeGroupController.Patch should be of the form "Patch ..." (golint)
    • board/src/common/model/image.go
    • Line 5: warning: exported type RegistryRepo should have comment or be unexported (golint)
    • Line 9: warning: exported type Image should have comment or be unexported (golint)
    • Line 18: warning: exported type ImageList should have comment or be unexported (golint)
    • Line 34: warning: exported type ImageTag should have comment or be unexported (golint)
    • Line 41: warning: exported type RegistryTags should have comment or be unexported (golint)
    • Line 46: warning: exported type Manifest2Config should have comment or be unexported (golint)
    • Line 52: warning: exported type RegistryManifest2 should have comment or be unexported (golint)
    • Line 60: warning: exported type RegistryManifest1 should have comment or be unexported (golint)
    • Line 69: warning: exported type TagDetail should have comment or be unexported (golint)
    • Line 82: warning: comment on exported type CopyStruct should be of the form "CopyStruct ..." (with optional leading article) (golint)
    • Line 88: warning: exported type EnvStruct should have comment or be unexported (golint)
    • Line 93: warning: exported type Dockerfile should have comment or be unexported (golint)
    • Line 105: warning: exported type ImageConfig should have comment or be unexported (golint)
    • Line 116: warning: exported type ImageIndex should have comment or be unexported (golint)
    • board/src/common/dao/project.go
    • Line 12: warning: exported function AddProject should have comment or be unexported (golint)
    • Line 24: warning: exported function GetProject should have comment or be unexported (golint)
    • Line 71: warning: exported function GetProjectsByUser should have comment or be unexported (golint)
    • Line 76: warning: exported function GetPaginatedProjectsByUser should have comment or be unexported (golint)
    • Line 104: warning: exported function GetProjectsByMember should have comment or be unexported (golint)
    • Line 136: warning: exported function UpdateProject should have comment or be unexported (golint)
    • board/src/apiserver/service/systeminfo.go
    • Line 14: warning: exported type SystemResourcesInfo should have comment or be unexported (golint)
    • Line 22: warning: exported function GetSystemInfo should have comment or be unexported (golint)
    • Line 67: warning: exported function SetSystemInfo should have comment or be unexported (golint)
    • Line 84: warning: exported function GetKubernetesInfo should have comment or be unexported (golint)
    • Line 92: warning: exported function GetSystemResourcesInfo should have comment or be unexported (golint)
    • board/src/adminserver/controllers/nodeController/nodeController.go
    • Line 1: warning: don't use MixedCaps in package name; nodeController should be nodecontroller (golint)
    • Line 19: warning: exported type NodeController should have comment or be unexported (golint)
    • Line 23: warning: exported method NodeController.Render should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method NodeController.GetNodeListAction should be of the form "GetNodeListAction ..." (golint)
    • Line 51: warning: comment on exported method NodeController.GetNodeLogList should be of the form "GetNodeLogList ..." (golint)
    • Line 76: warning: comment on exported method NodeController.GetNodeLogDetail should be of the form "GetNodeLogDetail ..." (golint)
    • Line 100: warning: comment on exported method NodeController.DeleteNodeLog should be of the form "DeleteNodeLog ..." (golint)
    • Line 125: warning: comment on exported method NodeController.PreparationAction should be of the form "PreparationAction ..." (golint)
    • Line 147: warning: comment on exported method NodeController.CallBackAction should be of the form "CallBackAction ..." (golint)
    • Line 179: warning: comment on exported method NodeController.AddNodeAction should be of the form "AddNodeAction ..." (golint)
    • Line 192: warning: comment on exported method NodeController.RemoveNodeAction should be of the form "RemoveNodeAction ..." (golint)
    • Line 218: warning: comment on exported method NodeController.ControlStatusAction should be of the form "ControlStatusAction ..." (golint)
    • Line 244: warning: exported method NodeController.AddRemoveNode should have comment or be unexported (golint)
    • Line 256: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • board/src/common/dao/helm.go
    • Line 9: warning: exported function AddHelmRepository should have comment or be unexported (golint)
    • Line 21: warning: exported function GetHelmRepository should have comment or be unexported (golint)
    • Line 33: warning: exported function UpdateHelmRepository should have comment or be unexported (golint)
    • Line 45: warning: exported function DeleteHelmRepository should have comment or be unexported (golint)
    • Line 57: warning: exported function GetHelmRepositories should have comment or be unexported (golint)
    • Line 67: warning: exported function AddHelmRelease should have comment or be unexported (golint)
    • Line 79: warning: exported function GetHelmRelease should have comment or be unexported (golint)
    • Line 91: warning: exported function DeleteHelmRelease should have comment or be unexported (golint)
    • Line 103: warning: exported function GetHelmReleaseByName should have comment or be unexported (golint)
    • Line 116: warning: exported function GetAllHelmReleases should have comment or be unexported (golint)
    • Line 127: warning: exported function GetAllHelmReleasesByProjectName should have comment or be unexported (golint)
    • Line 138: warning: exported function GetHelmReleasesByUserID should have comment or be unexported (golint)
    • Line 143: warning: exported function GetHelmReleasesByUserIDAndProjectName should have comment or be unexported (golint)
    • board/src/apiserver/service/projectmember.go
    • Line 14: warning: exported function AddOrUpdateProjectMember should have comment or be unexported (golint)
    • Line 23: warning: exported function GetProjectMembers should have comment or be unexported (golint)
    • Line 27: warning: exported function GetProjectAvailableMembers should have comment or be unexported (golint)
    • Line 31: warning: exported function DeleteProjectMember should have comment or be unexported (golint)
    • Line 61: warning: exported function IsProjectMember should have comment or be unexported (golint)
    • Line 76: warning: exported function GetRoleByID should have comment or be unexported (golint)
    • Line 87: warning: exported function IsProjectMemberByName should have comment or be unexported (golint)
    • board/src/common/model/intstr.go
    • Line 50: warning: exported const Int should have comment (or a comment on this block) or be unexported (golint)
    • Line 120: warning: exported function ValueOrDefault should have comment or be unexported (golint)
    • Line 127: warning: exported function GetValueFromIntOrPercent should have comment or be unexported (golint)
    • board/src/apiserver/service/helm/chartrepo.go
    • Line 33: warning: exported const MuseumType should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type ReleaseList should have comment or be unexported (golint)
    • Line 44: warning: exported type Release should have comment or be unexported (golint)
    • Line 53: warning: exported type ReleaseStatus should have comment or be unexported (golint)
    • Line 59: warning: exported type Info should have comment or be unexported (golint)
    • Line 150: warning: exported method ChartRepository.FetchTgz should have comment or be unexported (golint)
    • Line 257: warning: exported method ChartRepository.FetchChart should have comment or be unexported (golint)
    • Line 274: warning: exported method ChartRepository.UploadChart should have comment or be unexported (golint)
    • Line 293: warning: exported method ChartRepository.DeleteChart should have comment or be unexported (golint)
    • Line 307: warning: exported method ChartRepository.DownloadChart should have comment or be unexported (golint)
    • Line 364: warning: exported method ChartRepository.Icon should have comment or be unexported (golint)
    • Line 402: warning: exported method ChartRepository.InstallChart should have comment or be unexported (golint)
    • Line 575: warning: exported function DeleteRelease should have comment or be unexported (golint)
    • Line 583: warning: exported function ListAllReleases should have comment or be unexported (golint)
    • Line 598: warning: exported function ListDeployedReleasesByNamespace should have comment or be unexported (golint)
    • Line 613: warning: exported function GetRelease should have comment or be unexported (golint)
    • Line 631: warning: exported function GetReleaseValues should have comment or be unexported (golint)
    • Line 635: warning: exported function GetReleaseNotes should have comment or be unexported (golint)
    • Line 639: warning: exported function GetReleaseManifest should have comment or be unexported (golint)
    • Line 643: warning: exported function GetReleaseStatus should have comment or be unexported (golint)
    • Line 676: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • board/src/apiserver/controllers/users/admins/supplements.go
    • Line 13: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 18: warning: exported method SupplementController.Prepare should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method SupplementController.Toggle should be of the form "Toggle ..." (golint)
    • board/src/apiserver/v1/controller/image.go
    • Line 22: warning: exported type ImageController should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method ImageController.GetImagesAction should be of the form "GetImagesAction ..." (golint)
    • Line 132: warning: comment on exported method ImageController.GetImageDetailAction should be of the form "GetImageDetailAction ..." (golint)
    • Line 216: warning: exported method ImageController.BuildImageAction should have comment or be unexported (golint)
    • Line 277: warning: exported method ImageController.GetImageDockerfileAction should have comment or be unexported (golint)
    • Line 300: warning: exported method ImageController.DockerfilePreviewAction should have comment or be unexported (golint)
    • Line 321: warning: exported method ImageController.ConfigCleanAction should have comment or be unexported (golint)
    • Line 354: warning: exported method ImageController.DeleteImageAction should have comment or be unexported (golint)
    • Line 372: warning: exported method ImageController.DeleteImageTagAction should have comment or be unexported (golint)
    • Line 395: warning: exported method ImageController.DockerfileBuildImageAction should have comment or be unexported (golint)
    • Line 425: warning: exported method ImageController.UploadAndPushImagePackageAction should have comment or be unexported (golint)
    • Line 454: warning: exported method ImageController.CheckImageTagExistingAction should have comment or be unexported (golint)
    • Line 504: warning: exported method ImageController.UploadDockerfileFileAction should have comment or be unexported (golint)
    • Line 504: warning: receiver name f should be consistent with previous receiver name p for ImageController (golint)
    • Line 552: warning: exported method ImageController.DownloadDockerfileFileAction should have comment or be unexported (golint)
    • Line 552: warning: receiver name f should be consistent with previous receiver name p for ImageController (golint)
    • Line 584: warning: comment on exported method ImageController.GetImageRegistryAction should be of the form "GetImageRegistryAction ..." (golint)
    • Line 591: warning: comment on exported method ImageController.GetImageUsedAction should be of the form "GetImageUsedAction ..." (golint)
    • board/src/apiserver/controllers/services/scales/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.Get should be of the form "Get ..." (golint)
    • Line 23: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • board/src/common/model/dashboard/service.go
    • Line 3: warning: exported type TimeListLog should have comment or be unexported (golint)
    • Line 7: warning: exported type ServiceDashboardSecond should have comment or be unexported (golint)
    • Line 14: warning: exported type ServiceDashboardMinute should have comment or be unexported (golint)
    • Line 21: warning: exported type ServiceDashboardHour should have comment or be unexported (golint)
    • Line 28: warning: exported type ServiceDashboardDay should have comment or be unexported (golint)
    • board/src/tokenserver/service/token.go
    • Line 25: warning: exported function Sign should have comment or be unexported (golint)
    • Line 37: warning: exported function Verify should have comment or be unexported (golint)
    • Line 68: warning: exported function InitService should have comment or be unexported (golint)
    • board/src/adminserver/dao/base.go
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 14: warning: exported const AdminServerDbPath should have comment or be unexported (golint)
    • Line 15: warning: exported const AdminServerDbFile should have comment or be unexported (golint)
    • Line 18: warning: exported var GlobalCache should have comment or be unexported (golint)
    • Line 21: warning: exported function InitGlobalCache should have comment or be unexported (golint)
    • Line 26: warning: exported function RegisterDatabase should have comment or be unexported (golint)
    • Line 36: warning: exported function InitDatabase should have comment or be unexported (golint)
    • Line 52: warning: exported function InitDbTables should have comment or be unexported (golint)
    • board/src/adminserver/tools/secureShell/secureShell.go
    • Line 1: warning: don't use MixedCaps in package name; secureShell should be secureshell (golint)
    • Line 21: warning: exported type SecureShell should have comment or be unexported (golint)
    • Line 26: warning: exported function NewSecureShell should have comment or be unexported (golint)
    • Line 69: warning: exported method SecureShell.ExecuteCommand should have comment or be unexported (golint)
    • Line 87: warning: exported method SecureShell.Output should have comment or be unexported (golint)
    • Line 97: warning: exported method SecureShell.SecureCopyData should have comment or be unexported (golint)
    • Line 112: warning: exported method SecureShell.SecureCopy should have comment or be unexported (golint)
    • Line 131: warning: exported method SecureShell.CheckDir should have comment or be unexported (golint)
    • Line 135: warning: exported method SecureShell.RemoveDir should have comment or be unexported (golint)
    • Line 139: warning: exported method SecureShell.HostSCP should have comment or be unexported (golint)
    • board/src/apiserver/controllers/nodegroups/commons.go
    • Line 22: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 40: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 101: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/dao/config.go
    • Line 9: warning: exported function GetAllConfigs should have comment or be unexported (golint)
    • Line 16: warning: exported function GetConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function AddOrUpdateConfig should have comment or be unexported (golint)
    • Line 45: warning: exported function DeleteConfig should have comment or be unexported (golint)
    • board/src/apiserver/controllers/emails/supplement.go
    • Line 17: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 22: warning: exported method SupplementController.Prepare should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method SupplementController.Ping should be of the form "Ping ..." (golint)
    • Line 57: warning: comment on exported method SupplementController.Notification should be of the form "Notification ..." (golint)
    • Line 84: warning: comment on exported method SupplementController.Forgot should be of the form "Forgot ..." (golint)
    • board/src/apiserver/v1/controller/autoscale.go
    • Line 15: warning: exported type AutoScaleController should have comment or be unexported (golint)
    • Line 38: warning: exported method AutoScaleController.CreateAutoScaleAction should have comment or be unexported (golint)
    • Line 75: warning: exported method AutoScaleController.ListAutoScaleAction should have comment or be unexported (golint)
    • Line 105: warning: exported method AutoScaleController.UpdateAutoScaleAction should have comment or be unexported (golint)
    • Line 155: warning: exported method AutoScaleController.DeleteAutoScaleAction should have comment or be unexported (golint)
    • board/src/apiserver/controllers/services/supplement.go
    • Line 5: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method SupplementController.Status should be of the form "Status ..." (golint)
    • Line 23: warning: comment on exported method SupplementController.Seletable should be of the form "Seletable ..." (golint)
    • Line 36: warning: comment on exported method SupplementController.Info should be of the form "Info ..." (golint)
    • Line 49: warning: comment on exported method SupplementController.Route should be of the form "Route ..." (golint)
    • Line 63: warning: comment on exported method SupplementController.Test should be of the form "Test ..." (golint)
    • Line 77: warning: comment on exported method SupplementController.Toggle should be of the form "Toggle ..." (golint)
    • Line 91: warning: comment on exported method SupplementController.Publicity should be of the form "Publicity ..." (golint)
    • board/src/apiserver/controllers/users/password.go
    • Line 14: warning: exported type PasswordController should have comment or be unexported (golint)
    • Line 18: warning: exported method PasswordController.Prepare should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method PasswordController.UpdatePassword should be of the form "UpdatePassword ..." (golint)
    • board/src/apiserver/service/k8scmd.go
    • Line 27: warning: exported var KubeMasterURL should have comment or be unexported (golint)
    • Line 34: warning: exported type EntryMethodEnum should have comment or be unexported (golint)
    • Line 37: warning: exported const Insecure should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported function Suspend should have comment or be unexported (golint)
    • Line 79: warning: exported function Resume should have comment or be unexported (golint)
    • Line 90: warning: exported function Taint should have comment or be unexported (golint)
    • Line 123: warning: comment on exported function GetK8sData should be of the form "GetK8sData ..." (golint)
    • board/src/apiserver/controllers/services/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 24: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 36: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 50: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/dao/storage.go
    • Line 12: warning: exported function AddPV should have comment or be unexported (golint)
    • Line 25: warning: exported function GetPV should have comment or be unexported (golint)
    • Line 37: warning: exported function UpdatePV should have comment or be unexported (golint)
    • Line 51: warning: exported function DeletePV should have comment or be unexported (golint)
    • Line 63: warning: exported function GetPVList should have comment or be unexported (golint)
    • Line 78: warning: exported function AddPVOptionNFS should have comment or be unexported (golint)
    • Line 91: warning: exported function GetPVOptionNFS should have comment or be unexported (golint)
    • Line 103: warning: exported function UpdatePVOptionNFS should have comment or be unexported (golint)
    • Line 117: warning: exported function DeletePVOptionNFS should have comment or be unexported (golint)
    • Line 129: warning: exported function AddPVOptionRBD should have comment or be unexported (golint)
    • Line 142: warning: exported function GetPVOptionRBD should have comment or be unexported (golint)
    • Line 154: warning: exported function UpdatePVOptionRBD should have comment or be unexported (golint)
    • Line 168: warning: exported function DeletePVOptionRBD should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/filemanipulation.go
    • Line 25: warning: exported type FileUploadController should have comment or be unexported (golint)
    • Line 30: warning: exported method FileUploadController.Prepare should have comment or be unexported (golint)
    • Line 45: warning: exported method FileUploadController.Upload should have comment or be unexported (golint)
    • Line 60: warning: exported method FileUploadController.DownloadProbe should have comment or be unexported (golint)
    • Line 67: warning: exported method FileUploadController.Download should have comment or be unexported (golint)
    • Line 84: warning: exported method FileUploadController.ListFiles should have comment or be unexported (golint)
    • Line 93: warning: exported method FileUploadController.RemoveFile should have comment or be unexported (golint)
    • board/src/apiserver/service/image.go
    • Line 139: warning: exported function CheckDockerfileItem should have comment or be unexported (golint)
    • Line 163: warning: exported function CheckDockerfileConfig should have comment or be unexported (golint)
    • Line 173: warning: exported function BuildDockerfile should have comment or be unexported (golint)
    • Line 217: warning: exported function ImageConfigClean should have comment or be unexported (golint)
    • Line 246: warning: exported function GetDockerfileInfo should have comment or be unexported (golint)
    • Line 292: warning: don't use underscores in Go names; var split_copy should be splitCopy (golint)
    • Line 309: warning: don't use underscores in Go names; var split_env should be splitEnv (golint)
    • Line 322: warning: comment on exported function CreateImage should be of the form "CreateImage ..." (golint)
    • Line 331: warning: exported function GetImage should have comment or be unexported (golint)
    • Line 339: warning: exported function GetImageByName should have comment or be unexported (golint)
    • Line 343: warning: exported function UpdateImage should have comment or be unexported (golint)
    • Line 354: warning: exported function GetImageTag should have comment or be unexported (golint)
    • Line 362: warning: exported function UpdateImageTag should have comment or be unexported (golint)
    • Line 373: warning: exported function DeleteImage should have comment or be unexported (golint)
    • Line 385: warning: exported function DeleteImageTag should have comment or be unexported (golint)
    • Line 397: warning: exported function CreateImageTag should have comment or be unexported (golint)
    • Line 405: warning: exported function UpdateDockerfileCopyCommand should have comment or be unexported (golint)
    • Line 439: warning: exported function ExistRegistry should have comment or be unexported (golint)
    • board/src/apiserver/controllers/services/rollingupdates/image.go
    • Line 18: warning: comment on exported type ImageController should be of the form "ImageController ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported method ImageController.List should be of the form "List ..." (golint)
    • Line 55: warning: comment on exported method ImageController.PatchRollingUpdateServiceImageAction should be of the form "PatchRollingUpdateServiceImageAction ..." (golint)
    • Line 100: warning: exported method ImageController.PatchServiceAction should have comment or be unexported (golint)
    • board/src/apiserver/controllers/users/commons.go
    • Line 15: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 20: warning: exported method CommonController.Prepare should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • board/src/apiserver/v1/controller/projectmember.go
    • Line 12: warning: exported type ProjectMemberController should have comment or be unexported (golint)
    • Line 16: warning: exported method ProjectMemberController.AddOrUpdateProjectMemberAction should have comment or be unexported (golint)
    • Line 64: warning: exported method ProjectMemberController.DeleteProjectMemberAction should have comment or be unexported (golint)
    • Line 90: warning: exported method ProjectMemberController.GetProjectMembersAction should have comment or be unexported (golint)
    • board/src/apiserver/models/vm/pagination.go
    • Line 5: warning: exported type Pagination should have comment or be unexported (golint)
    • Line 12: warning: exported method Pagination.GetPageCount should have comment or be unexported (golint)
    • Line 24: warning: exported method Pagination.GetPageOffset should have comment or be unexported (golint)
    • board/src/common/model/pagination.go
    • Line 5: warning: exported type Pagination should have comment or be unexported (golint)
    • Line 12: warning: exported method Pagination.GetPageCount should have comment or be unexported (golint)
    • Line 24: warning: exported method Pagination.GetPageOffset should have comment or be unexported (golint)
    • board/src/apiserver/controllers/services/sessions/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 23: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • board/src/apiserver/service/serviceconfig.go
    • Line 43: warning: exported function InitServiceConfig should have comment or be unexported (golint)
    • Line 47: warning: exported function SelectProject should have comment or be unexported (golint)
    • Line 53: warning: exported function ConfigureContainers should have comment or be unexported (golint)
    • Line 60: warning: exported function ConfigureService should have comment or be unexported (golint)
    • Line 67: warning: exported function ConfigureTest should have comment or be unexported (golint)
    • Line 72: warning: exported function Deploy should have comment or be unexported (golint)
    • Line 77: warning: exported function CreateServiceConfig should have comment or be unexported (golint)
    • Line 96: warning: exported function UpdateService should have comment or be unexported (golint)
    • Line 107: warning: exported function UpdateServiceStatus should have comment or be unexported (golint)
    • Line 111: warning: exported function UpdateServicePublic should have comment or be unexported (golint)
    • Line 115: warning: exported function DeleteServiceByID should have comment or be unexported (golint)
    • Line 126: warning: exported function GetServiceList should have comment or be unexported (golint)
    • Line 135: warning: exported function GetPaginatedServiceList should have comment or be unexported (golint)
    • Line 144: warning: exported function DeleteService should have comment or be unexported (golint)
    • Line 153: warning: exported function GetServiceStatus should have comment or be unexported (golint)
    • Line 163: warning: exported function GetServiceByK8sassist should have comment or be unexported (golint)
    • Line 177: warning: exported function GetNodesStatus should have comment or be unexported (golint)
    • Line 202: warning: exported function GetService should have comment or be unexported (golint)
    • Line 210: warning: exported function GetServiceByID should have comment or be unexported (golint)
    • Line 214: warning: exported function GetServiceByProject should have comment or be unexported (golint)
    • Line 225: warning: exported function GetDeployConfig should have comment or be unexported (golint)
    • Line 231: warning: exported function SyncServiceWithK8s should have comment or be unexported (golint)
    • Line 280: warning: exported function SyncAutoScaleWithK8s should have comment or be unexported (golint)
    • Line 319: warning: exported function ScaleReplica should have comment or be unexported (golint)
    • Line 341: warning: exported function GetServicesByProjectName should have comment or be unexported (golint)
    • Line 349: warning: exported function GetDeployment should have comment or be unexported (golint)
    • Line 363: warning: exported function GetStatefulSet should have comment or be unexported (golint)
    • Line 377: warning: exported function PatchDeployment should have comment or be unexported (golint)
    • Line 392: warning: exported function PatchK8sService should have comment or be unexported (golint)
    • Line 405: warning: exported function GetK8sService should have comment or be unexported (golint)
    • Line 419: warning: exported function GetScaleStatus should have comment or be unexported (golint)
    • Line 431: warning: exported function StopServiceK8s should have comment or be unexported (golint)
    • Line 452: warning: comment on exported function StopStatefulSetK8s should be of the form "StopStatefulSetK8s ..." (golint)
    • Line 475: warning: exported function MarshalService should have comment or be unexported (golint)
    • Line 511: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 627: warning: comment on exported function GetDeploymentContainers should be of the form "GetDeploymentContainers ..." (golint)
    • Line 890: warning: exported function MarshalDeployment should have comment or be unexported (golint)
    • Line 972: warning: exported function MarshalNode should have comment or be unexported (golint)
    • Line 986: warning: exported function MarshalNamespace should have comment or be unexported (golint)
    • Line 992: warning: exported function GetPods should have comment or be unexported (golint)
    • Line 1003: warning: exported function UpdateDeployment should have comment or be unexported (golint)
    • Line 1017: warning: comment on exported function CheckServiceConfigPortMap should be of the form "CheckServiceConfigPortMap ..." (golint)
    • Line 1058: warning: comment on exported function GetNodePortsByProjectName should be of the form "GetNodePortsByProjectName ..." (golint)
    • Line 1085: warning: exported function GetNodePortsK8s should have comment or be unexported (golint)
    • Line 1123: warning: exported function CheckServiceDeletable should have comment or be unexported (golint)
    • Line 1130: warning: exported function GetServiceType should have comment or be unexported (golint)
    • Line 1140: warning: exported function GetServiceContainers should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/serviceshow.go
    • Line 11: warning: exported type ServiceShowController should have comment or be unexported (golint)
    • Line 15: warning: exported method ServiceShowController.Prepare should have comment or be unexported (golint)
    • Line 19: warning: exported method ServiceShowController.Get should have comment or be unexported (golint)
    • board/src/common/dao/node.go
    • Line 12: warning: exported function AddNodeGroup should have comment or be unexported (golint)
    • Line 28: warning: exported function GetNodeGroup should have comment or be unexported (golint)
    • Line 40: warning: exported function UpdateNodeGroup should have comment or be unexported (golint)
    • Line 53: warning: exported function DeleteNodeGroup should have comment or be unexported (golint)
    • Line 65: warning: exported function GetNodeGroups should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/operation.go
    • Line 12: warning: exported type OperationController should have comment or be unexported (golint)
    • Line 16: warning: exported method OperationController.Prepare should have comment or be unexported (golint)
    • Line 21: warning: exported method OperationController.OperationList should have comment or be unexported (golint)
    • Line 52: warning: exported method OperationController.CreateOperation should have comment or be unexported (golint)
    • board/src/common/utils/config.go
    • Line 19: warning: exported function AddEnv should have comment or be unexported (golint)
    • Line 27: warning: exported function AddValue should have comment or be unexported (golint)
    • Line 31: warning: exported function GetIntValue should have comment or be unexported (golint)
    • Line 42: warning: exported function GetBoolValue should have comment or be unexported (golint)
    • Line 53: warning: exported function GetStringValue should have comment or be unexported (golint)
    • Line 63: warning: exported function SetConfig should have comment or be unexported (golint)
    • Line 74: warning: exported function GetConfig should have comment or be unexported (golint)
    • Line 78: warning: exported function Initialize should have comment or be unexported (golint)
    • Line 82: warning: exported function ShowAllConfigs should have comment or be unexported (golint)
    • Line 92: warning: exported function InitializeDefaultConfig should have comment or be unexported (golint)
    • board/src/apiserver/controllers/jenkinsjobs/supplement.go
    • Line 7: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method SupplementController.JobNumber should be of the form "JobNumber ..." (golint)
    • Line 25: warning: comment on exported method SupplementController.Console should be of the form "Console ..." (golint)
    • Line 37: warning: comment on exported method SupplementController.Stop should be of the form "Stop ..." (golint)
    • board/src/apiserver/service/adapting/project.go
    • Line 12: warning: exported function GetProjectsByMember should have comment or be unexported (golint)
    • Line 21: warning: exported function GetProjectsByUser should have comment or be unexported (golint)
    • Line 33: warning: exported function GetPaginatedProjectsByUser should have comment or be unexported (golint)
    • Line 42: warning: exported function CreateProject should have comment or be unexported (golint)
    • Line 46: warning: exported function CreateNamespace should have comment or be unexported (golint)
    • Line 56: warning: exported function GetProject should have comment or be unexported (golint)
    • board/src/common/k8sassist/corev1/cgv5/types/types.go
    • Line 16: warning: comment on exported type DeploymentList should be of the form "DeploymentList ..." (with optional leading article) (golint)
    • Line 18: warning: exported type Deployment should have comment or be unexported (golint)
    • Line 19: warning: exported type TypeMeta should have comment or be unexported (golint)
    • Line 20: warning: exported type ObjectMeta should have comment or be unexported (golint)
    • Line 21: warning: exported type DeploymentSpec should have comment or be unexported (golint)
    • Line 22: warning: exported type DeploymentStatus should have comment or be unexported (golint)
    • Line 23: warning: exported type LabelSelector should have comment or be unexported (golint)
    • Line 24: warning: exported type PodTemplateSpec should have comment or be unexported (golint)
    • Line 25: warning: exported type PodSpec should have comment or be unexported (golint)
    • Line 26: warning: exported type Container should have comment or be unexported (golint)
    • Line 27: warning: exported type ContainerPort should have comment or be unexported (golint)
    • Line 35: warning: comment on exported type JobList should be of the form "JobList ..." (with optional leading article) (golint)
    • Line 37: warning: exported type Job should have comment or be unexported (golint)
    • Line 38: warning: exported type JobSpec should have comment or be unexported (golint)
    • Line 39: warning: exported type JobStatus should have comment or be unexported (golint)
    • Line 40: warning: exported type JobCondition should have comment or be unexported (golint)
    • Line 41: warning: exported type JobConditionType should have comment or be unexported (golint)
    • Line 42: warning: exported type ConditionStatus should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type ServiceList should be of the form "ServiceList ..." (with optional leading article) (golint)
    • Line 46: warning: exported type Service should have comment or be unexported (golint)
    • Line 47: warning: exported type ServiceSpec should have comment or be unexported (golint)
    • Line 48: warning: exported type ServicePort should have comment or be unexported (golint)
    • Line 49: warning: exported type ServiceType should have comment or be unexported (golint)
    • Line 50: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 51: warning: exported type IntOrString should have comment or be unexported (golint)
    • Line 52: warning: exported type Type should have comment or be unexported (golint)
    • Line 53: warning: exported type SessionAffinity should have comment or be unexported (golint)
    • Line 54: warning: exported type SessionAffinityConfig should have comment or be unexported (golint)
    • Line 55: warning: exported type ClientIPConfig should have comment or be unexported (golint)
    • Line 57: warning: comment on exported type Namespace should be of the form "Namespace ..." (with optional leading article) (golint)
    • Line 59: warning: exported type NamespaceList should have comment or be unexported (golint)
    • Line 61: warning: comment on exported type GetOptions should be of the form "GetOptions ..." (with optional leading article) (golint)
    • Line 63: warning: exported type ListOptions should have comment or be unexported (golint)
    • Line 64: warning: exported type DeleteOptions should have comment or be unexported (golint)
    • Line 66: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 68: warning: exported type Clientset should have comment or be unexported (golint)
    • Line 69: warning: exported type ScaleGetter should have comment or be unexported (golint)
    • Line 70: warning: exported type NamespacePhase should have comment or be unexported (golint)
    • Line 72: warning: comment on exported type NamespaceInterface should be of the form "NamespaceInterface ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported type Time should be of the form "Time ..." (with optional leading article) (golint)
    • Line 88: warning: exported const Int should have comment (or a comment on this block) or be unexported (golint)
    • Line 108: warning: exported type TerminalSizeQueueFunc should have comment or be unexported (golint)
    • Line 110: warning: exported method TerminalSizeQueueFunc.Next should have comment or be unexported (golint)
    • board/src/common/utils/httprequest.go
    • Line 17: warning: exported var ErrBadRequest should have comment or be unexported (golint)
    • Line 18: warning: exported var ErrUnauthorized should have comment or be unexported (golint)
    • Line 19: warning: exported var ErrForbidden should have comment or be unexported (golint)
    • Line 20: warning: exported var ErrNotFound should have comment or be unexported (golint)
    • Line 21: warning: exported var ErrConflict should have comment or be unexported (golint)
    • Line 22: warning: exported var ErrUnprocessableEntity should have comment or be unexported (golint)
    • Line 23: warning: exported var ErrInternalError should have comment or be unexported (golint)
    • Line 24: warning: exported var ErrBadGateway should have comment or be unexported (golint)
    • Line 25: warning: exported var ErrNotAcceptable should have comment or be unexported (golint)
    • Line 27: warning: exported function EncodeString should have comment or be unexported (golint)
    • Line 31: warning: exported function BasicAuthEncode should have comment or be unexported (golint)
    • Line 35: warning: exported function DefaultResponseHandler should have comment or be unexported (golint)
    • Line 71: warning: exported function RequestHandle should have comment or be unexported (golint)
    • Line 110: warning: exported function DefaultRequestHandler should have comment or be unexported (golint)
    • Line 119: warning: exported function SimpleGetRequestHandle should have comment or be unexported (golint)
    • Line 122: warning: exported function SimpleHeadRequestHandle should have comment or be unexported (golint)
    • Line 125: warning: exported function SimpleDeleteRequestHandle should have comment or be unexported (golint)
    • Line 129: warning: exported function SimplePostRequestHandle should have comment or be unexported (golint)
    • board/src/common/dao/projectmember.go
    • Line 9: warning: exported function InsertOrUpdateProjectMember should have comment or be unexported (golint)
    • Line 36: warning: exported function DeleteProjectMember should have comment or be unexported (golint)
    • Line 41: warning: exported function GetProjectMembers should have comment or be unexported (golint)
    • Line 58: warning: exported function GetProjectAvailableMembers should have comment or be unexported (golint)
    • Line 73: warning: exported function GetProjectMemberRole should have comment or be unexported (golint)
    • board/src/apiserver/service/autoscale.go
    • Line 36: warning: exported function CreateAutoScale should have comment or be unexported (golint)
    • Line 58: warning: exported function ListAutoScales should have comment or be unexported (golint)
    • Line 63: warning: exported function UpdateAutoScale should have comment or be unexported (golint)
    • Line 89: warning: exported function DeleteAutoScale should have comment or be unexported (golint)
    • Line 98: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 120: warning: exported function GetAutoScale should have comment or be unexported (golint)
    • Line 132: warning: exported function CheckAutoScaleExist should have comment or be unexported (golint)
    • Line 146: warning: comment on exported function CreateAutoScaleDB should be of the form "CreateAutoScaleDB ..." (golint)
    • Line 155: warning: exported function DeleteAutoScaleDB should have comment or be unexported (golint)
    • Line 164: warning: exported function UpdateAutoScaleDB should have comment or be unexported (golint)
    • Line 175: warning: exported function GetAutoScaleK8s should have comment or be unexported (golint)
    • Line 184: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • board/src/common/utils/validator.go
    • Line 19: warning: exported function ValidateWithPattern should have comment or be unexported (golint)
    • Line 32: warning: exported function ValidateWithLengthRange should have comment or be unexported (golint)
    • Line 37: warning: exported function ValidateWithMaxLength should have comment or be unexported (golint)
    • Line 41: warning: exported function ValidateWithMinLength should have comment or be unexported (golint)
    • board/src/apiserver/service/devops/travis/cmd.go
    • Line 10: warning: exported type TravisCommand should have comment or be unexported (golint)
    • Line 43: warning: exported var TravisFilename should have comment or be unexported (golint)
    • Line 61: warning: exported method TravisCommand.GenerateCustomTravis should have comment or be unexported (golint)
    • Line 65: warning: exported method TravisCommand.ParseCustomTravis should have comment or be unexported (golint)
    • board/src/apiserver/service/auth/auth.go
    • Line 18: warning: exported type Auth should have comment or be unexported (golint)
    • Line 24: warning: exported function GetAuth should have comment or be unexported (golint)
    • Line 43: warning: exported type AuthCheckResult should have comment or be unexported (golint)
    • Line 51: warning: comment on exported function CheckAuthFailedTimes should be of the form "CheckAuthFailedTimes ..." (golint)
    • Line 90: warning: comment on exported function ResetAuthFailedTimes should be of the form "ResetAuthFailedTimes ..." (golint)
    • board/src/apiserver/v1/controller/serviceconfig.go
    • Line 31: warning: error var serverNameDuplicateErr should have name of the form errFoo (golint)
    • Line 32: warning: error var projectIDInvalidErr should have name of the form errFoo (golint)
    • Line 33: warning: error var imageListInvalidErr should have name of the form errFoo (golint)
    • Line 34: warning: error var portInvalidErr should have name of the form errFoo (golint)
    • Line 35: warning: error var instanceInvalidErr should have name of the form errFoo (golint)
    • Line 36: warning: error var emptyServiceNameErr should have name of the form errFoo (golint)
    • Line 37: warning: error var emptyVolumeTargetStorageServiceErr should have name of the form errFoo (golint)
    • Line 38: warning: error var phaseInvalidErr should have name of the form errFoo (golint)
    • Line 39: warning: error var serviceConfigNotCreateErr should have name of the form errFoo (golint)
    • Line 40: warning: error var serviceConfigNotSetProjectErr should have name of the form errFoo (golint)
    • Line 41: warning: error var emptyExternalServiceListErr should have name of the form errFoo (golint)
    • Line 42: warning: error var notFoundErr should have name of the form errFoo (golint)
    • Line 43: warning: error var nodeOrNodeGroupNameNotFound should have name of the form errFoo (golint)
    • Line 44: warning: error var resourcerequestErr should have name of the form errFoo (golint)
    • Line 47: warning: exported type ConfigServiceStep should have comment or be unexported (golint)
    • Line 49: warning: exported function NewConfigServiceStep should have comment or be unexported (golint)
    • Line 57: warning: exported function SetConfigServiceStep should have comment or be unexported (golint)
    • Line 61: warning: exported function GetConfigServiceStep should have comment or be unexported (golint)
    • Line 68: warning: exported function DeleteConfigServiceStep should have comment or be unexported (golint)
    • Line 75: warning: exported method ConfigServiceStep.SelectProject should have comment or be unexported (golint)
    • Line 81: warning: exported method ConfigServiceStep.GetSelectedProject should have comment or be unexported (golint)
    • Line 91: warning: exported method ConfigServiceStep.ConfigContainerList should have comment or be unexported (golint)
    • Line 96: warning: exported method ConfigServiceStep.ConfigInitContainerList should have comment or be unexported (golint)
    • Line 101: warning: exported method ConfigServiceStep.GetConfigContainerList should have comment or be unexported (golint)
    • Line 113: warning: exported method ConfigServiceStep.GetConfigInitContainerList should have comment or be unexported (golint)
    • Line 145: warning: exported method ConfigServiceStep.GetConfigExternalService should have comment or be unexported (golint)
    • Line 173: warning: exported type ServiceConfigController should have comment or be unexported (golint)
    • Line 181: warning: exported method ServiceConfigController.GetConfigServiceStepAction should have comment or be unexported (golint)
    • Line 217: warning: exported method ServiceConfigController.SetConfigServiceStepAction should have comment or be unexported (golint)
    • Line 244: warning: exported method ServiceConfigController.DeleteServiceStepAction should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/pod.go
    • Line 16: warning: exported type PodController should have comment or be unexported (golint)
    • Line 20: warning: exported method PodController.PodShellAction should have comment or be unexported (golint)
    • Line 42: warning: exported method PodController.CopyFromPodAction should have comment or be unexported (golint)
    • Line 66: warning: exported method PodController.CopyToPodAction should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/rollingupdate.go
    • Line 15: warning: exported type ServiceRollingUpdateController should have comment or be unexported (golint)
    • Line 19: warning: exported method ServiceRollingUpdateController.GetRollingUpdateServiceImageConfigAction should have comment or be unexported (golint)
    • Line 64: warning: exported method ServiceRollingUpdateController.GetServiceSessionFlagAction should have comment or be unexported (golint)
    • Line 64: warning: receiver name s should be consistent with previous receiver name p for ServiceRollingUpdateController (golint)
    • Line 76: warning: exported method ServiceRollingUpdateController.PatchServiceSessionAction should have comment or be unexported (golint)
    • Line 76: warning: receiver name s should be consistent with previous receiver name p for ServiceRollingUpdateController (golint)
    • Line 119: warning: exported method ServiceRollingUpdateController.PatchRollingUpdateServiceImageAction should have comment or be unexported (golint)
    • Line 154: warning: exported method ServiceRollingUpdateController.GetRollingUpdateServiceNodeGroupConfigAction should have comment or be unexported (golint)
    • Line 168: warning: exported method ServiceRollingUpdateController.PatchRollingUpdateServiceNodeGroupAction should have comment or be unexported (golint)
    • Line 192: warning: exported method ServiceRollingUpdateController.PatchServiceAction should have comment or be unexported (golint)
    • Line 226: warning: comment on exported method ServiceRollingUpdateController.UpdateServiceAction should be of the form "UpdateServiceAction ..." (golint)
    • board/src/apiserver/controllers/auths/auth.go
    • Line 16: warning: comment on exported type AuthController should be of the form "AuthController ..." (with optional leading article) (golint)
    • Line 21: warning: exported method AuthController.Prepare should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method AuthController.SignIn should be of the form "SignIn ..." (golint)
    • Line 46: warning: comment on exported method AuthController.SignUp should be of the form "SignUp ..." (golint)
    • Line 135: warning: comment on exported method AuthController.SignOut should be of the form "SignOut ..." (golint)
    • Line 150: warning: comment on exported method AuthController.ThirdParty should be of the form "ThirdParty ..." (golint)
    • board/src/common/k8sassist/k8sassist.go
    • Line 8: warning: exported type K8sAssistConfig should have comment or be unexported (golint)
    • Line 13: warning: exported type K8sAssistClient should have comment or be unexported (golint)
    • Line 18: warning: exported function NewK8sAssistClient should have comment or be unexported (golint)
    • Line 24: warning: exported method K8sAssistClient.AppV1 should have comment or be unexported (golint)
    • board/src/apiserver/service/prometheus.go
    • Line 17: warning: exported type DashboardInfo should have comment or be unexported (golint)
    • Line 27: warning: exported type NodeList should have comment or be unexported (golint)
    • Line 32: warning: exported type NodeLogs should have comment or be unexported (golint)
    • Line 40: warning: exported type ServiceList should have comment or be unexported (golint)
    • Line 45: warning: exported type ServiceLogs should have comment or be unexported (golint)
    • Line 51: warning: exported type RequestPayload should have comment or be unexported (golint)
    • Line 57: warning: exported function GetDashBoardData should have comment or be unexported (golint)
    • Line 219: warning: context.Context should be the first parameter of a function (golint)
    • Line 219: warning: exported method DashboardInfo.GetAvgNodeData should have comment or be unexported (golint)
    • Line 240: warning: context.Context should be the first parameter of a function (golint)
    • Line 240: warning: exported method DashboardInfo.GetNodeData should have comment or be unexported (golint)
    • Line 276: warning: exported method DashboardInfo.GetServiceInfo should have comment or be unexported (golint)
    • Line 315: warning: exported method DashboardInfo.CountPod should have comment or be unexported (golint)
    • Line 341: warning: exported method DashboardInfo.CountContainer should have comment or be unexported (golint)
    • board/src/apiserver/service/devops/gitlab/cmd.go
    • Line 29: warning: exported function NewGitlabHandler should have comment or be unexported (golint)
    • Line 68: warning: exported type ImpersonationToken should have comment or be unexported (golint)
    • Line 79: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 87: warning: exported type ProjectCreation should have comment or be unexported (golint)
    • Line 96: warning: exported type HookCreation should have comment or be unexported (golint)
    • Line 104: warning: exported type MRCreation should have comment or be unexported (golint)
    • Line 119: warning: exported type ForkedProject should have comment or be unexported (golint)
    • Line 126: warning: exported type Message should have comment or be unexported (golint)
    • Line 131: warning: exported type FileInfo should have comment or be unexported (golint)
    • Line 137: warning: exported type CommitInfo should have comment or be unexported (golint)
    • Line 145: warning: exported type CommitActionInfo should have comment or be unexported (golint)
    • Line 151: warning: exported type CommitCreation should have comment or be unexported (golint)
    • Line 166: warning: exported type CommitStats should have comment or be unexported (golint)
    • Line 176: warning: exported type PipelineStatus should have comment or be unexported (golint)
    • Line 185: warning: exported type VariableCreation should have comment or be unexported (golint)
    • Line 194: warning: exported var ErrFileAlreadyExists should have comment or be unexported (golint)
    • Line 195: warning: exported var ErrFileDoesNotExists should have comment or be unexported (golint)
    • Line 196: warning: exported var ErrBranchCannotBeMerged should have comment or be unexported (golint)
    • Line 198: warning: exported method FileInfo.EscapedPath should have comment or be unexported (golint)
    • Line 202: warning: exported type CommitRepoData should have comment or be unexported (golint)
    • Line 211: warning: exported type FileCreation should have comment or be unexported (golint)
    • Line 218: warning: exported type AddSSHKeyResponse should have comment or be unexported (golint)
    • board/src/common/model/user.go
    • Line 7: warning: exported type User should have comment or be unexported (golint)
    • Line 24: warning: exported type ChangePassword should have comment or be unexported (golint)
    • Line 29: warning: exported type PaginatedUsers should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/k8sproxy.go
    • Line 14: warning: exported type K8SProxyController should have comment or be unexported (golint)
    • Line 18: warning: exported method K8SProxyController.Prepare should have comment or be unexported (golint)
    • Line 23: warning: exported method K8SProxyController.GetK8SProxyConfig should have comment or be unexported (golint)
    • Line 33: warning: exported method K8SProxyController.SetK8SProxyConfig should have comment or be unexported (golint)
    • Line 54: warning: exported method K8SProxyController.ProxyAction should have comment or be unexported (golint)
    • board/src/common/utils/map.go
    • Line 8: warning: exported function SetNestedField should have comment or be unexported (golint)
    • Line 21: warning: comment on exported function GetNestedField should be of the form "GetNestedField ..." (golint)
    • board/src/common/utils/yaml.go
    • Line 14: warning: exported function UnmarshalYamlFile should have comment or be unexported (golint)
    • Line 22: warning: exported function GenerateFile should have comment or be unexported (golint)
    • Line 37: warning: exported function CheckFilePath should have comment or be unexported (golint)
    • Line 48: warning: exported function UnmarshalYamlData should have comment or be unexported (golint)
    • board/src/apiserver/service/pvolume.go
    • Line 15: warning: exported function AddPVolumeNFS should have comment or be unexported (golint)
    • Line 50: warning: exported function AddPVolumeCephRBD should have comment or be unexported (golint)
    • Line 91: warning: exported function GetPVList should have comment or be unexported (golint)
    • Line 111: warning: exported function GetPVDB should have comment or be unexported (golint)
    • Line 133: warning: comment on exported function CreatePVDB should be of the form "CreatePVDB ..." (golint)
    • Line 142: warning: exported function DeletePVDB should have comment or be unexported (golint)
    • Line 151: warning: exported function UpdatePVDB should have comment or be unexported (golint)
    • Line 164: warning: exported function CreatePVOptionNFS should have comment or be unexported (golint)
    • Line 172: warning: exported function DeletePVOptionNFS should have comment or be unexported (golint)
    • Line 181: warning: exported function GetPVOptionNFS should have comment or be unexported (golint)
    • Line 189: warning: exported function CreatePVOptionRBD should have comment or be unexported (golint)
    • Line 197: warning: exported function DeletePVOptionRBD should have comment or be unexported (golint)
    • Line 206: warning: exported function GetPVOptionRBD should have comment or be unexported (golint)
    • Line 214: warning: exported function CreatePVK8s should have comment or be unexported (golint)
    • Line 229: warning: exported function DeletePVK8s should have comment or be unexported (golint)
    • Line 246: warning: exported function GetPVK8s should have comment or be unexported (golint)
    • Line 257: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 275: warning: exported function ReverseState should have comment or be unexported (golint)
    • board/src/apiserver/controllers/nodegroups/nodes/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 26: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 39: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/controllers/persistences/claims/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 25: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 38: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/adminserver/service/boot.go
    • Line 19: warning: exported function StartBoard should have comment or be unexported (golint)
    • Line 63: warning: exported function CheckSysStatus should have comment or be unexported (golint)
    • Line 74: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 81: warning: exported function CheckBoard should have comment or be unexported (golint)
    • Line 98: warning: exported function CheckCfgModified should have comment or be unexported (golint)
    • Line 114: warning: exported function CheckTokenserver should have comment or be unexported (golint)
    • Line 120: warning: exported function GetFileFromDevopsOpt should have comment or be unexported (golint)
    • board/src/common/model/node.go
    • Line 7: warning: exported type NodeGroup should have comment or be unexported (golint)
    • Line 19: warning: exported type NodeGroupDetail should have comment or be unexported (golint)
    • Line 24: warning: exported type NodeAvailableResources should have comment or be unexported (golint)
    • Line 32: warning: exported type NodeCli should have comment or be unexported (golint)
    • Line 41: warning: exported type NodeControlStatus should have comment or be unexported (golint)
    • Line 48: warning: don't use underscores in Go names; struct field Service_Instances should be ServiceInstances (golint)
    • Line 51: warning: exported type ServiceInstance should have comment or be unexported (golint)
    • Line 57: warning: exported type EdgeNodeCli should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/service.go
    • Line 57: warning: exported type ServiceController should have comment or be unexported (golint)
    • Line 84: warning: exported method ServiceController.DeployServiceAction should have comment or be unexported (golint)
    • Line 149: warning: exported method ServiceController.DeployServiceTestAction should have comment or be unexported (golint)
    • Line 310: warning: comment on exported method ServiceController.GetServiceListAction should be of the form "GetServiceListAction ..." (golint)
    • Line 362: warning: comment on exported method ServiceController.CreateServiceConfigAction should be of the form "CreateServiceConfigAction ..." (golint)
    • Line 390: warning: exported method ServiceController.DeleteServiceAction should have comment or be unexported (golint)
    • Line 443: warning: comment on exported method ServiceController.ToggleServiceAction should be of the form "ToggleServiceAction ..." (golint)
    • Line 513: warning: exported method ServiceController.GetServiceInfoAction should have comment or be unexported (golint)
    • Line 575: warning: exported method ServiceController.GetServicePodLogsAction should have comment or be unexported (golint)
    • Line 598: warning: exported method ServiceController.GetServiceStatusAction should have comment or be unexported (golint)
    • Line 614: warning: exported method ServiceController.ServicePublicityAction should have comment or be unexported (golint)
    • Line 636: warning: exported method ServiceController.DeleteServiceConfigAction should have comment or be unexported (golint)
    • Line 664: warning: exported method ServiceController.DeleteDeploymentAction should have comment or be unexported (golint)
    • Line 694: warning: exported method ServiceController.StoreServiceRoute should have comment or be unexported (golint)
    • Line 701: warning: exported method ServiceController.ServiceExists should have comment or be unexported (golint)
    • Line 717: warning: exported method ServiceController.ScaleServiceAction should have comment or be unexported (golint)
    • Line 754: warning: comment on exported method ServiceController.GetSelectableServicesAction should be of the form "GetSelectableServicesAction ..." (golint)
    • Line 768: warning: receiver name f should be consistent with previous receiver name p for ServiceController (golint)
    • Line 790: warning: exported method ServiceController.UploadYamlFileAction should have comment or be unexported (golint)
    • Line 790: warning: receiver name f should be consistent with previous receiver name p for ServiceController (golint)
    • Line 843: warning: exported method ServiceController.DownloadDeploymentYamlFileAction should have comment or be unexported (golint)
    • Line 843: warning: receiver name f should be consistent with previous receiver name p for ServiceController (golint)
    • Line 872: warning: receiver name f should be consistent with previous receiver name p for ServiceController (golint)
    • Line 890: warning: exported method ServiceController.GetScaleStatusAction should have comment or be unexported (golint)
    • Line 908: warning: exported method ServiceController.DeleteDeployAction should have comment or be unexported (golint)
    • Line 957: warning: comment on exported method ServiceController.GetServiceNodePorts should be of the form "GetServiceNodePorts ..." (golint)
    • Line 978: warning: comment on exported method ServiceController.ImportServicesAction should be of the form "ImportServicesAction ..." (golint)
    • Line 1070: warning: exported method ServiceController.DeleteStatefulSetAction should have comment or be unexported (golint)
    • board/src/apiserver/service/devopslegacy.go
    • Line 20: warning: exported var BaseRepoPath should have comment or be unexported (golint)
    • Line 21: warning: exported var GogitsSSHURL should have comment or be unexported (golint)
    • Line 22: warning: exported var JenkinsBaseURL should have comment or be unexported (golint)
    • Line 51: warning: exported type LegacyDevOps should have comment or be unexported (golint)
    • Line 53: warning: exported method LegacyDevOps.SignUp should have comment or be unexported (golint)
    • Line 57: warning: exported method LegacyDevOps.CreateAccessToken should have comment or be unexported (golint)
    • Line 65: warning: exported method LegacyDevOps.CommitAndPush should have comment or be unexported (golint)
    • Line 82: warning: exported method LegacyDevOps.ConfigSSHAccess should have comment or be unexported (golint)
    • Line 86: warning: exported method LegacyDevOps.CreateRepoAndJob should have comment or be unexported (golint)
    • Line 181: warning: exported method LegacyDevOps.ForkRepo should have comment or be unexported (golint)
    • Line 247: warning: exported method LegacyDevOps.CreatePullRequestAndComment should have comment or be unexported (golint)
    • Line 264: warning: exported method LegacyDevOps.MergePullRequest should have comment or be unexported (golint)
    • Line 268: warning: exported method LegacyDevOps.DeleteRepo should have comment or be unexported (golint)
    • Line 288: warning: exported method LegacyDevOps.CustomHookPushPayload should have comment or be unexported (golint)
    • Line 303: warning: exported method LegacyDevOps.CustomHookPipelinePayload should have comment or be unexported (golint)
    • Line 307: warning: exported method LegacyDevOps.GetRepoFile should have comment or be unexported (golint)
    • Line 311: warning: exported method LegacyDevOps.DeleteUser should have comment or be unexported (golint)
    • Line 370: warning: exported method LegacyDevOps.CreateCIYAML should have comment or be unexported (golint)
    • Line 370: warning: receiver name g should be consistent with previous receiver name l for LegacyDevOps (golint)
    • Line 381: warning: exported method LegacyDevOps.ResetOpts should have comment or be unexported (golint)
    • Line 381: warning: receiver name g should be consistent with previous receiver name l for LegacyDevOps (golint)
    • Line 385: warning: exported method LegacyDevOps.ResolveHandleURL should have comment or be unexported (golint)
    • Line 385: warning: receiver name g should be consistent with previous receiver name l for LegacyDevOps (golint)
    • Line 394: warning: exported function PrepareKVMHost should have comment or be unexported (golint)
    • Line 419: warning: exported function ReleaseKVMRegistryByJobName should have comment or be unexported (golint)
    • board/src/apiserver/controllers/jobs/supplement.go
    • Line 7: warning: comment on exported type SupplementController should be of the form "SupplementController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method SupplementController.Status should be of the form "Status ..." (golint)
    • Line 24: warning: comment on exported method SupplementController.Pods should be of the form "Pods ..." (golint)
    • Line 36: warning: comment on exported method SupplementController.PodLogs should be of the form "PodLogs ..." (golint)
    • Line 49: warning: comment on exported method SupplementController.Existing should be of the form "Existing ..." (golint)
    • Line 61: warning: comment on exported method SupplementController.Selectable should be of the form "Selectable ..." (golint)
    • board/src/apiserver/controllers/services/autoscales/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 23: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 37: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 51: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/k8sassist/corev1/appv1client.go
    • Line 11: warning: exported function NewAppV1Client should have comment or be unexported (golint)
    • Line 19: warning: exported type AppV1Client should have comment or be unexported (golint)
    • Line 25: warning: exported method AppV1Client.Discovery should have comment or be unexported (golint)
    • Line 29: warning: exported method AppV1Client.Service should have comment or be unexported (golint)
    • Line 33: warning: exported method AppV1Client.Deployment should have comment or be unexported (golint)
    • Line 37: warning: exported method AppV1Client.Node should have comment or be unexported (golint)
    • Line 41: warning: exported method AppV1Client.Namespace should have comment or be unexported (golint)
    • Line 45: warning: exported method AppV1Client.Scale should have comment or be unexported (golint)
    • Line 49: warning: exported method AppV1Client.ReplicaSet should have comment or be unexported (golint)
    • Line 53: warning: exported method AppV1Client.Pod should have comment or be unexported (golint)
    • Line 57: warning: exported method AppV1Client.AutoScale should have comment or be unexported (golint)
    • Line 61: warning: exported method AppV1Client.PersistentVolume should have comment or be unexported (golint)
    • Line 65: warning: exported method AppV1Client.PersistentVolumeClaim should have comment or be unexported (golint)
    • Line 69: warning: exported method AppV1Client.ConfigMap should have comment or be unexported (golint)
    • Line 73: warning: exported method AppV1Client.StatefulSet should have comment or be unexported (golint)
    • Line 77: warning: exported method AppV1Client.Job should have comment or be unexported (golint)
    • Line 81: warning: exported method AppV1Client.DaemonSet should have comment or be unexported (golint)
    • Line 85: warning: exported method AppV1Client.Proxy should have comment or be unexported (golint)
    • Line 89: warning: exported method AppV1Client.Extend should have comment or be unexported (golint)
    • Line 120: warning: comment on exported type ServiceClientInterface should be of the form "ServiceClientInterface ..." (with optional leading article) (golint)
    • Line 136: warning: comment on exported type NodeClientInterface should be of the form "NodeClientInterface ..." (with optional leading article) (golint)
    • Line 165: warning: comment on exported type ReplicaSetClientInterface should be of the form "ReplicaSetClientInterface ..." (with optional leading article) (golint)
    • Line 197: warning: comment on exported type DeploymentClientInterface should be of the form "DeploymentClientInterface ..." (with optional leading article) (golint)
    • Line 214: warning: comment on exported type AutoscaleInterface should be of the form "AutoscaleInterface ..." (with optional leading article) (golint)
    • Line 226: warning: comment on exported type PersistentVolumeInterface should be of the form "PersistentVolumeInterface ..." (with optional leading article) (golint)
    • Line 238: warning: exported type PersistentVolumeClaimInterface should have comment or be unexported (golint)
    • Line 248: warning: exported type ConfigMapInterface should have comment or be unexported (golint)
    • Line 273: warning: exported type JobInterface should have comment or be unexported (golint)
    • Line 296: warning: exported type ProxyInterface should have comment or be unexported (golint)
    • Line 300: warning: exported type ExtendInterface should have comment or be unexported (golint)
    • board/src/apiserver/controllers/configmaps/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 25: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 37: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/v1/controller/cijob.go
    • Line 24: warning: exported type CIJobCallbackController should have comment or be unexported (golint)
    • Line 28: warning: exported method CIJobCallbackController.Prepare should have comment or be unexported (golint)
    • Line 32: warning: exported method CIJobCallbackController.BuildNumberCallback should have comment or be unexported (golint)
    • Line 39: warning: exported method CIJobCallbackController.CustomPushEventPayload should have comment or be unexported (golint)
    • Line 49: warning: exported method CIJobCallbackController.CustomPipelineEventPayload should have comment or be unexported (golint)
    • Line 62: warning: exported type CIJobController should have comment or be unexported (golint)
    • Line 107: warning: exported method CIJobController.Console should have comment or be unexported (golint)
    • Line 237: warning: exported method CIJobController.Stop should have comment or be unexported (golint)
    • Line 289: warning: exported method CIJobController.ResetVariable should have comment or be unexported (golint)
    • board/src/apiserver/controllers/persistences/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 25: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 37: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 51: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/controllers/services/deployments/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 24: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/apiserver/service/devopsopts.go
    • Line 14: warning: exported const BuildDockerImageCIYAML should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported type CommitItem should have comment or be unexported (golint)
    • Line 28: warning: exported type CIConsole should have comment or be unexported (golint)
    • Line 33: warning: exported type DevOps should have comment or be unexported (golint)
    • Line 52: warning: exported function CurrentDevOps should have comment or be unexported (golint)
    • board/src/apiserver/controllers/services/steps/commons.go
    • Line 5: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 10: warning: comment on exported method CommonController.Get should be of the form "Get ..." (golint)
    • Line 24: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 38: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/dao/service.go
    • Line 12: warning: exported function AddService should have comment or be unexported (golint)
    • Line 28: warning: exported function GetService should have comment or be unexported (golint)
    • Line 40: warning: exported function UpdateService should have comment or be unexported (golint)
    • Line 53: warning: exported function DeleteService should have comment or be unexported (golint)
    • Line 65: warning: exported function DeleteServiceByNames should have comment or be unexported (golint)
    • Line 142: warning: exported function GetServiceData should have comment or be unexported (golint)
    • Line 147: warning: exported function GetPaginatedServiceData should have comment or be unexported (golint)
    • Line 174: warning: comment on exported function SyncServiceData should be of the form "SyncServiceData ..." (golint)
    • Line 195: warning: exported function GetServices should have comment or be unexported (golint)
    • board/src/apiserver/v1/controller/search.go
    • Line 10: warning: exported type SearchSourceController should have comment or be unexported (golint)
    • Line 14: warning: exported method SearchSourceController.Prepare should have comment or be unexported (golint)
    • Line 21: warning: exported method SearchSourceController.Search should have comment or be unexported (golint)
    • board/src/apiserver/service/node.go
    • Line 23: warning: exported type NodeStatus should have comment or be unexported (golint)
    • Line 27: warning: exported const Running should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported const K8sLabel should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type NodeListResult should have comment or be unexported (golint)
    • Line 52: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 64: warning: exported function GetNodes should have comment or be unexported (golint)
    • Line 121: warning: comment on exported function GetNode should be of the form "GetNode ..." (golint)
    • Line 151: warning: exported function SuspendNode should have comment or be unexported (golint)
    • Line 154: warning: exported function ResumeNode should have comment or be unexported (golint)
    • Line 157: warning: exported function GetNodeList should have comment or be unexported (golint)
    • Line 241: warning: exported function CreateNodeGroup should have comment or be unexported (golint)
    • Line 250: warning: exported function UpdateNodeGroup should have comment or be unexported (golint)
    • Line 261: warning: exported function DeleteNodeGroupByID should have comment or be unexported (golint)
    • Line 272: warning: exported function GetNodeGroup should have comment or be unexported (golint)
    • Line 280: warning: exported function GetNodeGroupList should have comment or be unexported (golint)
    • Line 284: warning: comment on exported function NodeGroupExists should be of the form "NodeGroupExists ..." (golint)
    • Line 294: warning: exported function AddNodeToGroup should have comment or be unexported (golint)
    • Line 319: warning: comment on exported function GetGroupOfNode should be of the form "GetGroupOfNode ..." (golint)
    • Line 338: warning: should omit 2nd value from range; this loop is equivalent to `for key := range ...` (golint)
    • Line 353: warning: exported function NodeOrNodeGroupExists should have comment or be unexported (golint)
    • Line 370: warning: exported function RemoveNodeFromGroup should have comment or be unexported (golint)
    • Line 398: warning: exported function RemoveNodeGroup should have comment or be unexported (golint)
    • Line 443: warning: exported function RemovePodByNode should have comment or be unexported (golint)
    • Line 466: warning: exported function GetNodesAvailableResources should have comment or be unexported (golint)
    • Line 488: warning: comment on exported function NodeExists should be of the form "NodeExists ..." (golint)
    • Line 510: warning: comment on exported function GetNodebyName should be of the form "GetNodebyName ..." (golint)
    • Line 527: warning: comment on exported function GetNodebyIP should be of the form "GetNodebyIP ..." (golint)
    • Line 548: warning: comment on exported function CreateNode should be of the form "CreateNode ..." (golint)
    • Line 580: warning: comment on exported function DeleteNode should be of the form "DeleteNode ..." (golint)
    • Line 615: warning: comment on exported function GetNodeControlStatus should be of the form "GetNodeControlStatus ..." (golint)
    • Line 684: warning: comment on exported function GetNodeServiceInstances should be of the form "GetNodeServiceInstances ..." (golint)
    • Line 705: warning: comment on exported function DrainNodeServiceInstanceByAdminServer should be of the form "DrainNodeServiceInstanceByAdminServer ..." (golint)
    • Line 711: warning: comment on exported function DrainNodeServiceInstance should be of the form "DrainNodeServiceInstance ..." (golint)
    • Line 747: warning: comment on exported function CreateEdgeNode should be of the form "CreateEdgeNode ..." (golint)
    • Line 768: warning: comment on exported function CheckEdgeHostname should be of the form "CheckEdgeHostname ..." (golint)
    • Line 810: warning: comment on exported function GetEdgeHostname should be of the form "GetEdgeHostname ..." (golint)
    • Line 844: warning: comment on exported function GetNodeListbyLabel should be of the form "GetNodeListbyLabel ..." (golint)
    • board/src/apiserver/service/devops/gogs/cmd.go
    • Line 15: warning: exported var JenkinsBaseURL should have comment or be unexported (golint)
    • Line 59: warning: exported type AccessToken should have comment or be unexported (golint)
    • Line 70: warning: exported type PullRequestInfo should have comment or be unexported (golint)
    • Line 99: warning: exported function NewGogsHandler should have comment or be unexported (golint)
    • Line 122: warning: exported function SignUp should have comment or be unexported (golint)
    • Line 146: warning: exported function CreateAccessToken should have comment or be unexported (golint)
    • board/src/apiserver/models/helms/repositories/vm/repository.go
    • Line 5: warning: exported type PaginatedHelmRepositoryDetail should have comment or be unexported (golint)
    • Line 10: warning: exported type HelmRepository should have comment or be unexported (golint)
    • Line 17: warning: exported type PaginatedChartVersions should have comment or be unexported (golint)
    • Line 22: warning: exported type Pagination should have comment or be unexported (golint)
    • Line 29: warning: exported type ChartVersions should have comment or be unexported (golint)
    • Line 34: warning: exported type ChartVersion should have comment or be unexported (golint)
    • Line 40: warning: exported type ChartMetadata should have comment or be unexported (golint)
    • board/src/common/model/container.go
    • Line 3: warning: exported type Container should have comment or be unexported (golint)
    • Line 19: warning: exported type EnvStructCont should have comment or be unexported (golint)
    • Line 26: warning: exported type VolumeStruct should have comment or be unexported (golint)
    • Line 37: warning: exported type VolumeMountStruct should have comment or be unexported (golint)
    • board/src/adminserver/dao/adminDao.go
    • Line 12: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 15: warning: exported function CheckDB should have comment or be unexported (golint)
    • Line 25: warning: exported function InitAdmin should have comment or be unexported (golint)
    • Line 37: warning: exported function LoginCheckAuth should have comment or be unexported (golint)
    • Line 47: warning: exported function LoginCheckPassword should have comment or be unexported (golint)
    • Line 57: warning: exported function GetUserByID should have comment or be unexported (golint)
    • Line 63: warning: exported function UpdateUUIDToken should have comment or be unexported (golint)
    • Line 80: warning: exported function GetUUIDToken should have comment or be unexported (golint)
    • Line 85: warning: exported function RemoveUUIDToken should have comment or be unexported (golint)
    • Line 93: warning: exported function RegisterDB should have comment or be unexported (golint)
    • board/src/apiserver/controllers/projects/commons.go
    • Line 18: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported method CommonController.Get should be of the form "Get ..." (golint)
    • Line 50: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 106: warning: comment on exported method CommonController.Add should be of the form "Add ..." (golint)
    • Line 185: warning: comment on exported method CommonController.Update should be of the form "Update ..." (golint)
    • Line 196: warning: receiver name c should be consistent with previous receiver name p for CommonController (golint)
    • Line 200: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/token/token.go
    • Line 14: warning: exported var ErrInvalidToken should have comment or be unexported (golint)
    • Line 16: warning: exported function SignToken should have comment or be unexported (golint)
    • Line 29: warning: exported function VerifyToken should have comment or be unexported (golint)
    • board/src/common/model/helm.go
    • Line 17: warning: exported type HelmRepository should have comment or be unexported (golint)
    • Line 24: warning: exported type HelmRepositoryDetail should have comment or be unexported (golint)
    • Line 29: warning: exported type PaginatedHelmRepositoryDetail should have comment or be unexported (golint)
    • Line 34: warning: exported type PaginatedChartVersions should have comment or be unexported (golint)
    • Line 39: warning: exported type ChartVersions should have comment or be unexported (golint)
    • Line 44: warning: exported type ChartVersion should have comment or be unexported (golint)
    • Line 50: warning: exported type ChartMetadata should have comment or be unexported (golint)
    • Line 60: warning: comment on exported type Chart should be of the form "Chart ..." (with optional leading article) (golint)
    • Line 78: warning: exported type File should have comment or be unexported (golint)
    • Line 83: warning: exported type Questions should have comment or be unexported (golint)
    • Line 87: warning: exported type Question should have comment or be unexported (golint)
    • Line 107: warning: exported type SubQuestion should have comment or be unexported (golint)
    • Line 125: warning: exported type Release should have comment or be unexported (golint)
    • Line 143: warning: exported type ReleaseDetail should have comment or be unexported (golint)
    • Line 151: warning: exported type ReleaseModel should have comment or be unexported (golint)
    • Line 165: warning: exported method ReleaseModel.TableName should have comment or be unexported (golint)
    • Line 169: warning: exported type VisitorFunc should have comment or be unexported (golint)
    • Line 182: warning: comment on exported type K8sInfo should be of the form "K8sInfo ..." (with optional leading article) (golint)
    • Line 225: warning: exported method K8sHelper.Visit should have comment or be unexported (golint)
    • Line 254: warning: exported method K8sHelper.Transform should have comment or be unexported (golint)
    • Line 271: warning: exported function NewK8sHelper should have comment or be unexported (golint)
    • board/src/apiserver/controllers/helms/releases/commons.go
    • Line 7: warning: comment on exported type CommonController should be of the form "CommonController ..." (with optional leading article) (golint)
    • Line 12: warning: comment on exported method CommonController.List should be of the form "List ..." (golint)
    • Line 24: warning: comment on exported method CommonController.Post should be of the form "Post ..." (golint)
    • Line 36: warning: comment on exported method CommonController.Get should be of the form "Get ..." (golint)
    • Line 48: warning: comment on exported method CommonController.Delete should be of the form "Delete ..." (golint)
    • board/src/common/model/serviceconfig.go
    • Line 5: warning: exported type ServiceConfig should have comment or be unexported (golint)
    • Line 14: warning: exported type ServiceConfigImage should have comment or be unexported (golint)
    • Line 19: warning: exported type PortsServiceYaml should have comment or be unexported (golint)
    • Line 25: warning: exported type SelectorServiceYaml should have comment or be unexported (golint)
    • Line 45: warning: exported type PortsDeploymentYaml should have comment or be unexported (golint)
    • Line 49: warning: exported type VolumeMountDeploymentYaml should have comment or be unexported (golint)
    • Line 54: warning: exported type EnvDeploymentYaml should have comment or be unexported (golint)
    • Line 59: warning: exported type VolumesDeploymentYaml should have comment or be unexported (golint)
    • Line 70: warning: exported type ContainersDeploymentYaml should have comment or be unexported (golint)
    • Line 90: warning: exported type DeploymentStructYaml should have comment or be unexported (golint)
    • Line 112: warning: exported type ServiceProject should have comment or be unexported (golint)
    • Line 117: warning: exported type ConfigServiceStep should have comment or be unexported (golint)
    • Line 135: warning: exported type Affinity should have comment or be unexported (golint)
    • board/src/apiserver/service/fileservice.go
    • Line 13: warning: exported function ListUploadFiles should have comment or be unexported (golint)
    • Line 28: warning: exported function RemoveUploadFile should have comment or be unexported (golint)
    • Line 32: warning: exported function CopyFile should have comment or be unexported (golint)
    • Line 52: warning: exported function CreateFile should have comment or be unexported (golint)
    • Line 62: warning: exported function ZipFiles should have comment or be unexported (golint)
    • Line 92: warning: exported function IsEmptyDirectory should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign94%

IneffAssign detects ineffectual assignments in Go code.


misspell96%

Misspell Finds commonly misspelled English words