Preparing report...

Report for github.com/flanksource/karina

A    Great!    Found 213 issues across 242 files

Tweet

gofmt98%

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!


gocyclo90%

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.

    • karina/pkg/nsx/client.go
    • Line 603: warning: cyclomatic complexity 16 of function (*NSXClient).CreateOrUpdateHTTPHealthCheck() is high (> 15) (gocyclo)
    • Line 387: warning: cyclomatic complexity 16 of function (*NSXClient).CreateLoadBalancer() is high (> 15) (gocyclo)

golint14%

Golint is a linter for Go source code.

    • karina/pkg/reports/quotas.go
    • Line 15: warning: exported type ReportOptions should have comment or be unexported (golint)
    • Line 21: warning: exported function GetNamespaces should have comment or be unexported (golint)
    • Line 30: warning: exported function Quotas should have comment or be unexported (golint)
    • karina/pkg/phases/minio/install.go
    • Line 10: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/nsx/types.go
    • Line 6: warning: exported const TCPProtocol should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type LBService should have comment or be unexported (golint)
    • Line 18: warning: exported type LBVirtualServer should have comment or be unexported (golint)
    • Line 31: warning: exported type LoadBalancerPool should have comment or be unexported (golint)
    • Line 35: warning: exported type LoadBalancerPoolMember should have comment or be unexported (golint)
    • Line 40: warning: exported type LoadBalancerPoolResults should have comment or be unexported (golint)
    • Line 45: warning: exported type PolicyLoadBalancerPool should have comment or be unexported (golint)
    • Line 61: warning: exported type LBTcpMonitorProfile should have comment or be unexported (golint)
    • Line 70: warning: exported type PolicyBase should have comment or be unexported (golint)
    • Line 87: warning: exported type AuditBase should have comment or be unexported (golint)
    • Line 97: warning: exported type SegmentPort should have comment or be unexported (golint)
    • Line 107: warning: exported type LoadBalancerOptions should have comment or be unexported (golint)
    • Line 118: warning: exported type MonitorPort should have comment or be unexported (golint)
    • karina/pkg/phases/harbor/operations.go
    • Line 17: warning: exported function ReplicateAll should have comment or be unexported (golint)
    • Line 39: warning: exported function UpdateSettings should have comment or be unexported (golint)
    • Line 49: warning: exported function ListProjects should have comment or be unexported (golint)
    • Line 63: warning: exported function ListImagesWithTags should have comment or be unexported (golint)
    • Line 133: warning: exported function ListImages should have comment or be unexported (golint)
    • Line 188: warning: exported function IntegrityCheck should have comment or be unexported (golint)
    • Line 239: warning: exported function IntegrityCheckFromFile should have comment or be unexported (golint)
    • Line 294: warning: exported function CheckManifest should have comment or be unexported (golint)
    • Line 322: warning: exported function BulkDelete should have comment or be unexported (golint)
    • Line 372: warning: exported type IntegrityCheckFile should have comment or be unexported (golint)
    • karina/pkg/phases/vpa/deploy.go
    • Line 9: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/platform/platform.go
    • Line 50: warning: exported type Platform should have comment or be unexported (golint)
    • Line 69: warning: exported method Platform.Init should have comment or be unexported (golint)
    • Line 155: warning: exported method Platform.WithField should have comment or be unexported (golint)
    • Line 163: warning: exported method Platform.WithLogOutput should have comment or be unexported (golint)
    • Line 177: warning: exported method Platform.ResetMasterConnection should have comment or be unexported (golint)
    • Line 229: warning: exported method Platform.GetKubeConfigBytes should have comment or be unexported (golint)
    • Line 269: warning: exported method Platform.ReadIngressCACertString should have comment or be unexported (golint)
    • Line 274: warning: exported method Platform.GetIngressCA should have comment or be unexported (golint)
    • Line 295: warning: comment on exported method Platform.WaitForAPIServer should be of the form "WaitForAPIServer ..." (golint)
    • Line 310: warning: exported method Platform.GetDNSClient should have comment or be unexported (golint)
    • Line 339: warning: exported method Platform.Clone should have comment or be unexported (golint)
    • Line 388: warning: exported method Platform.DeleteNode should have comment or be unexported (golint)
    • Line 406: warning: exported method Platform.GetConsulClient should have comment or be unexported (golint)
    • Line 414: warning: exported method Platform.GetNodeNames should have comment or be unexported (golint)
    • Line 450: warning: exported method Platform.GetBinaryWithKubeConfig should have comment or be unexported (golint)
    • Line 467: warning: exported method Platform.GetKubectl should have comment or be unexported (golint)
    • Line 485: warning: exported method Platform.CreateTLSSecret should have comment or be unexported (golint)
    • Line 513: warning: exported method Platform.CreateIngressCertificate should have comment or be unexported (golint)
    • Line 519: warning: exported method Platform.NewSelfSigned should have comment or be unexported (golint)
    • Line 526: warning: exported method Platform.CreateInternalCertificate should have comment or be unexported (golint)
    • Line 533: warning: exported method Platform.GetResourceByName should have comment or be unexported (golint)
    • Line 544: warning: exported method Platform.Template should have comment or be unexported (golint)
    • Line 562: warning: exported method Platform.TemplateText should have comment or be unexported (golint)
    • Line 572: warning: exported method Platform.GetResourcesByDir should have comment or be unexported (golint)
    • Line 591: warning: exported method Platform.ExposeIngress should have comment or be unexported (golint)
    • Line 595: warning: exported method Platform.ApplyCRD should have comment or be unexported (golint)
    • Line 609: warning: exported method Platform.DeleteSpecs should have comment or be unexported (golint)
    • Line 641: warning: exported method Platform.ApplySpecs should have comment or be unexported (golint)
    • Line 656: warning: exported method Platform.GetBinaryWithEnv should have comment or be unexported (golint)
    • Line 666: warning: exported method Platform.GetBinary should have comment or be unexported (golint)
    • Line 677: warning: exported method Platform.GetOrCreateBucket should have comment or be unexported (golint)
    • Line 700: warning: exported method Platform.GetOrCreateBucketFor should have comment or be unexported (golint)
    • Line 723: warning: exported method Platform.GetProxyTransport should have comment or be unexported (golint)
    • Line 758: warning: exported method Platform.GetS3ClientFor should have comment or be unexported (golint)
    • Line 785: warning: exported method Platform.GetS3Client should have comment or be unexported (golint)
    • Line 789: warning: exported method Platform.CreateOrUpdateNamespace should have comment or be unexported (golint)
    • Line 814: warning: exported method Platform.CreateOrUpdateWorkloadNamespace should have comment or be unexported (golint)
    • Line 818: warning: exported method Platform.CreateWebhookBuilder should have comment or be unexported (golint)
    • Line 836: warning: exported method Platform.DeleteMutatingWebhook should have comment or be unexported (golint)
    • Line 846: warning: exported method Platform.DeleteValidatingWebhook should have comment or be unexported (golint)
    • Line 856: warning: exported method Platform.CreateOrGetWebhookCertificate should have comment or be unexported (golint)
    • Line 872: warning: exported method Platform.GetDefaultIssuerCA should have comment or be unexported (golint)
    • Line 884: warning: exported method Platform.GetSecretValue should have comment or be unexported (golint)
    • Line 896: warning: exported function NewCertificateForService should have comment or be unexported (golint)
    • Line 928: warning: exported method Platform.DefaultNamespaceLabels should have comment or be unexported (golint)
    • Line 935: warning: exported method Platform.DefaultNamespaceAnnotations should have comment or be unexported (golint)
    • Line 942: warning: exported method Platform.IsMaster should have comment or be unexported (golint)
    • karina/pkg/api/calico/constant.go
    • Line 18: warning: comment on exported const Group should be of the form "Group ..." (golint)
    • Line 20: warning: exported const VersionCurrent should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported const AllNamespaces should be of the form "AllNamespaces ..." (golint)
    • Line 31: warning: comment on exported const LabelNamespace should be of the form "LabelNamespace ..." (golint)
    • Line 35: warning: comment on exported const LabelServiceAccount should be of the form "LabelServiceAccount ..." (golint)
    • karina/pkg/phases/keptn/install.go
    • Line 8: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported function Deploy should have comment or be unexported (golint)
    • karina/pkg/phases/order/order.go
    • Line 62: warning: exported type DeployFn should have comment or be unexported (golint)
    • Line 64: warning: exported var Phases should have comment or be unexported (golint)
    • Line 102: warning: exported var PhaseOrder should have comment or be unexported (golint)
    • Line 103: warning: exported var Bootstrap should have comment or be unexported (golint)
    • Line 104: warning: exported var BootstrapPhases should have comment or be unexported (golint)
    • Line 105: warning: exported var CSI should have comment or be unexported (golint)
    • Line 106: warning: exported var CNI should have comment or be unexported (golint)
    • Line 107: warning: exported var Cloud should have comment or be unexported (golint)
    • Line 108: warning: exported var Platform should have comment or be unexported (golint)
    • Line 109: warning: exported var Stubs should have comment or be unexported (golint)
    • Line 122: warning: exported var PhasesExtra should have comment or be unexported (golint)
    • Line 149: warning: exported function GetAllPhases should have comment or be unexported (golint)
    • Line 160: warning: exported function GetPhases should have comment or be unexported (golint)
    • karina/pkg/phases/kuberesourcereport/install.go
    • Line 20: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported const DefaultRegion should be of the form "DefaultRegion ..." (golint)
    • Line 34: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/phases/kpack/install.go
    • Line 8: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported function Deploy should have comment or be unexported (golint)
    • karina/pkg/phases/tekton/install.go
    • Line 8: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/phases/velero/types.go
    • Line 10: warning: exported type BackupSpec should have comment or be unexported (golint)
    • Line 287: warning: exported method Backup.DeepCopyObject should have comment or be unexported (golint)
    • Line 291: warning: exported method Backup.GetObjectKind should have comment or be unexported (golint)
    • karina/pkg/client/postgres/patroni.go
    • Line 13: warning: exported type PatroniCluster should have comment or be unexported (golint)
    • Line 17: warning: exported type PatroniMember should have comment or be unexported (golint)
    • Line 28: warning: exported method PostgresDB.GetPatroniClient should have comment or be unexported (golint)
    • karina/pkg/types/api.go
    • Line 10: warning: comment on exported type TagInterface should be of the form "TagInterface ..." (with optional leading article) (golint)
    • Line 35: warning: comment on exported type NullMachine should be of the form "NullMachine ..." (with optional leading article) (golint)
    • Line 43: warning: exported method NullMachine.WaitForPoweredOff should have comment or be unexported (golint)
    • Line 46: warning: exported method NullMachine.GetIP should have comment or be unexported (golint)
    • Line 49: warning: exported method NullMachine.WaitForIP should have comment or be unexported (golint)
    • Line 52: warning: exported method NullMachine.SetAttributes should have comment or be unexported (golint)
    • Line 55: warning: exported method NullMachine.GetAttributes should have comment or be unexported (golint)
    • Line 58: warning: exported method NullMachine.Shutdown should have comment or be unexported (golint)
    • Line 61: warning: exported method NullMachine.PowerOff should have comment or be unexported (golint)
    • Line 64: warning: exported method NullMachine.Terminate should have comment or be unexported (golint)
    • Line 67: warning: exported method NullMachine.Name should have comment or be unexported (golint)
    • Line 70: warning: exported method NullMachine.GetAge should have comment or be unexported (golint)
    • Line 73: warning: exported method NullMachine.GetTemplate should have comment or be unexported (golint)
    • Line 76: warning: exported method NullMachine.IP should have comment or be unexported (golint)
    • Line 79: warning: exported method NullMachine.GetTags should have comment or be unexported (golint)
    • Line 83: warning: exported method NullMachine.Reference should have comment or be unexported (golint)
    • Line 87: warning: comment on exported type Cluster should be of the form "Cluster ..." (with optional leading article) (golint)
    • karina/pkg/constants/const.go
    • Line 3: warning: exported const KubeSystem should have comment or be unexported (golint)
    • Line 4: warning: exported const PlatformSystem should have comment or be unexported (golint)
    • Line 5: warning: exported const DockerRuntime should have comment or be unexported (golint)
    • Line 6: warning: exported const ContainerdRuntime should have comment or be unexported (golint)
    • Line 7: warning: exported const ValidatingWebhookConfiguration should have comment or be unexported (golint)
    • Line 8: warning: exported const MutatingWebhookConfiguration should have comment or be unexported (golint)
    • Line 9: warning: exported const DefaultIssuer should have comment or be unexported (golint)
    • Line 10: warning: exported const DefaultIssuerCA should have comment or be unexported (golint)
    • Line 11: warning: exported const MasterNodeLabel should have comment or be unexported (golint)
    • Line 12: warning: exported const NodePoolLabel should have comment or be unexported (golint)
    • Line 13: warning: exported const NodeGroupTaint should have comment or be unexported (golint)
    • Line 14: warning: exported const ManagedBy should have comment or be unexported (golint)
    • Line 15: warning: exported const Karina should have comment or be unexported (golint)
    • Line 17: warning: exported var QuackEnabled should have comment or be unexported (golint)
    • Line 21: warning: exported var PlatformNamespaces should have comment or be unexported (golint)
    • karina/pkg/elastic/export.go
    • Line 16: warning: exported type Query should have comment or be unexported (golint)
    • Line 27: warning: exported type Fields should have comment or be unexported (golint)
    • Line 31: warning: exported type Kubernetes should have comment or be unexported (golint)
    • Line 37: warning: exported type Message should have comment or be unexported (golint)
    • Line 44: warning: exported type Name should have comment or be unexported (golint)
    • Line 52: warning: exported method Query.ToQuery should have comment or be unexported (golint)
    • Line 75: warning: exported function ExportLogs should have comment or be unexported (golint)
    • karina/cmd/exec.go
    • Line 14: warning: exported var Exec should have comment or be unexported (golint)
    • Line 58: warning: exported var ExecNode should have comment or be unexported (golint)
    • karina/pkg/platform/dnsroundrobin.go
    • Line 10: warning: exported type DNSProvider should have comment or be unexported (golint)
    • Line 14: warning: exported function NewDNSProvider should have comment or be unexported (golint)
    • Line 24: warning: exported method DNSProvider.BeforeProvision should have comment or be unexported (golint)
    • Line 25: warning: exported method DNSProvider.AfterProvision should have comment or be unexported (golint)
    • Line 38: warning: exported method DNSProvider.BeforeTerminate should have comment or be unexported (golint)
    • Line 50: warning: exported method DNSProvider.AfterTerminate should have comment or be unexported (golint)
    • Line 52: warning: exported method DNSProvider.GetControlPlaneEndpoint should have comment or be unexported (golint)
    • Line 56: warning: exported method DNSProvider.GetExternalEndpoints should have comment or be unexported (golint)
    • karina/pkg/phases/certmanager/install.go
    • Line 20: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported function PreInstall should have comment or be unexported (golint)
    • Line 100: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/client/dns/route53.go
    • Line 15: warning: exported type Route53Client should have comment or be unexported (golint)
    • Line 24: warning: exported method Route53Client.Init should have comment or be unexported (golint)
    • Line 48: warning: exported method Route53Client.Append should have comment or be unexported (golint)
    • Line 56: warning: exported method Route53Client.Get should have comment or be unexported (golint)
    • Line 85: warning: exported method Route53Client.Update should have comment or be unexported (golint)
    • Line 110: warning: exported method Route53Client.Delete should have comment or be unexported (golint)
    • karina/pkg/phases/kubeadm/kubeadm.go
    • Line 28: warning: exported const EncryptionProviderConfigPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 109: warning: exported function GetFilesToMountForPrimary should have comment or be unexported (golint)
    • Line 140: warning: exported function GetFilesToMountForSecondary should have comment or be unexported (golint)
    • Line 174: warning: exported function NewInitConfig should have comment or be unexported (golint)
    • Line 184: warning: exported function NewControlPlaneJoinConfiguration should have comment or be unexported (golint)
    • Line 220: warning: exported function NewJoinConfiguration should have comment or be unexported (golint)
    • Line 253: warning: comment on exported function CreateBootstrapToken should be of the form "CreateBootstrapToken ..." (golint)
    • Line 292: warning: exported function UploadEtcdCerts should have comment or be unexported (golint)
    • Line 317: warning: exported function UploadControlPlaneCerts should have comment or be unexported (golint)
    • Line 354: warning: exported function GetOrCreateBootstrapToken should have comment or be unexported (golint)
    • Line 371: warning: exported function GetClusterVersion should have comment or be unexported (golint)
    • Line 380: warning: exported function GetNodeVersion should have comment or be unexported (golint)
    • karina/pkg/phases/sealedsecrets/install.go
    • Line 18: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported const SecretPrefix should be of the form "SecretPrefix ..." (golint)
    • Line 29: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/operator/karina_config_controller.go
    • Line 49: warning: exported function NewKarinaConfigReconciler should have comment or be unexported (golint)
    • Line 60: warning: exported method KarinaConfigReconciler.Reconcile should have comment or be unexported (golint)
    • Line 162: warning: exported method KarinaConfigReconciler.SetupWithManager should have comment or be unexported (golint)
    • karina/pkg/phases/nginx/install.go
    • Line 14: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported var Defaults should have comment or be unexported (golint)
    • Line 30: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/phases/opa/install.go
    • Line 9: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported function Install should have comment or be unexported (golint)
    • karina/cmd/test.go
    • Line 82: warning: exported var Test should have comment or be unexported (golint)
    • Line 103: warning: exported type TestFn should have comment or be unexported (golint)
    • karina/pkg/platform/consul.go
    • Line 12: warning: exported type ConsulProvider should have comment or be unexported (golint)
    • Line 16: warning: exported function NewConsulProvider should have comment or be unexported (golint)
    • Line 26: warning: exported method ConsulProvider.BeforeProvision should have comment or be unexported (golint)
    • Line 41: warning: exported method ConsulProvider.AfterProvision should have comment or be unexported (golint)
    • Line 45: warning: exported method ConsulProvider.BeforeTerminate should have comment or be unexported (golint)
    • Line 49: warning: exported method ConsulProvider.AfterTerminate should have comment or be unexported (golint)
    • Line 53: warning: exported method ConsulProvider.GetControlPlaneEndpoint should have comment or be unexported (golint)
    • Line 57: warning: exported method ConsulProvider.GetExternalEndpoints should have comment or be unexported (golint)
    • karina/pkg/platform/nsx.go
    • Line 16: warning: exported type NSXProvider should have comment or be unexported (golint)
    • Line 26: warning: exported function NewNSXProvider should have comment or be unexported (golint)
    • Line 58: warning: exported method NSXProvider.BeforeProvision should have comment or be unexported (golint)
    • Line 93: warning: exported method NSXProvider.AfterProvision should have comment or be unexported (golint)
    • Line 109: warning: exported method NSXProvider.GetExternalEndpoints should have comment or be unexported (golint)
    • Line 125: warning: exported method NSXProvider.GetControlPlaneEndpoint should have comment or be unexported (golint)
    • Line 206: warning: exported method NSXProvider.BeforeTerminate should have comment or be unexported (golint)
    • Line 210: warning: exported method NSXProvider.AfterTerminate should have comment or be unexported (golint)
    • karina/test/linter/main.go
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 34: warning: exported type YamlCheck should have comment or be unexported (golint)
    • karina/pkg/types/types.go
    • Line 15: warning: exported type Enabled should have comment or be unexported (golint)
    • Line 20: warning: exported type Disabled should have comment or be unexported (golint)
    • Line 27: warning: exported method Disabled.IsDisabled should have comment or be unexported (golint)
    • Line 34: warning: exported type AWS should have comment or be unexported (golint)
    • Line 41: warning: exported type GCP should have comment or be unexported (golint)
    • Line 47: warning: exported type CertManager should have comment or be unexported (golint)
    • Line 57: warning: exported type VaultClient should have comment or be unexported (golint)
    • Line 98: warning: exported method VM.GetTags should have comment or be unexported (golint)
    • Line 117: warning: exported type LoadBalancerConfig should have comment or be unexported (golint)
    • Line 122: warning: exported type MonitorPort should have comment or be unexported (golint)
    • Line 130: warning: exported type Calico should have comment or be unexported (golint)
    • Line 147: warning: exported type Antrea should have comment or be unexported (golint)
    • Line 154: warning: exported type Gatekeeper should have comment or be unexported (golint)
    • Line 165: warning: exported type GatekeeperE2E should have comment or be unexported (golint)
    • Line 169: warning: exported type Harbor should have comment or be unexported (golint)
    • Line 191: warning: exported type HarborSettings should have comment or be unexported (golint)
    • Line 229: warning: exported type HarborProject should have comment or be unexported (golint)
    • Line 234: warning: exported type DB should have comment or be unexported (golint)
    • Line 241: warning: exported method DB.GetConnectionURL should have comment or be unexported (golint)
    • Line 245: warning: exported type PostgresOperator should have comment or be unexported (golint)
    • Line 256: warning: exported type DefaultBackupRetention should have comment or be unexported (golint)
    • Line 265: warning: exported type ArgocdOperator should have comment or be unexported (golint)
    • Line 269: warning: exported type MongodbOperator should have comment or be unexported (golint)
    • Line 273: warning: exported type ArgoRollouts should have comment or be unexported (golint)
    • Line 277: warning: exported type Keptn should have comment or be unexported (golint)
    • Line 281: warning: exported type SMTP should have comment or be unexported (golint)
    • Line 289: warning: exported type S3 should have comment or be unexported (golint)
    • Line 297: warning: exported type S3Connection should have comment or be unexported (golint)
    • Line 311: warning: exported type Minio should have comment or be unexported (golint)
    • Line 320: warning: exported type S3E2E should have comment or be unexported (golint)
    • Line 324: warning: exported type NFS should have comment or be unexported (golint)
    • Line 329: warning: comment on exported type Nginx should be of the form "Nginx ..." (with optional leading article) (golint)
    • Line 342: warning: exported type OAuth2Proxy should have comment or be unexported (golint)
    • Line 348: warning: exported type Redis should have comment or be unexported (golint)
    • Line 355: warning: exported type Ldap should have comment or be unexported (golint)
    • Line 374: warning: exported type LdapE2E should have comment or be unexported (golint)
    • Line 383: warning: exported method Ldap.GetConnectionURL should have comment or be unexported (golint)
    • Line 387: warning: exported type Kubernetes should have comment or be unexported (golint)
    • Line 410: warning: exported type Kind should have comment or be unexported (golint)
    • Line 439: warning: comment on exported type CanaryChecker should be of the form "CanaryChecker ..." (with optional leading article) (golint)
    • Line 448: warning: exported type Dashboard should have comment or be unexported (golint)
    • Line 452: warning: exported type Dex should have comment or be unexported (golint)
    • Line 457: warning: exported type GoogleOIDC should have comment or be unexported (golint)
    • Line 463: warning: exported type Kpack should have comment or be unexported (golint)
    • Line 468: warning: exported type Image should have comment or be unexported (golint)
    • Line 479: warning: exported method Kpack.IsDisabled should have comment or be unexported (golint)
    • Line 486: warning: exported method Kpack.SetDefaultImageValues should have comment or be unexported (golint)
    • Line 513: warning: exported type DynamicDNS should have comment or be unexported (golint)
    • Line 535: warning: exported method DynamicDNS.IsEnabled should have comment or be unexported (golint)
    • Line 539: warning: exported type Monitoring should have comment or be unexported (golint)
    • Line 569: warning: comment on exported type KubeWebView should be of the form "KubeWebView ..." (with optional leading article) (golint)
    • Line 586: warning: comment on exported type Karma should be of the form "Karma ..." (with optional leading article) (golint)
    • Line 592: warning: comment on exported type KubeResourceReport should be of the form "KubeResourceReport ..." (with optional leading article) (golint)
    • Line 626: warning: exported type MonitoringE2E should have comment or be unexported (golint)
    • Line 632: warning: exported type Prometheus should have comment or be unexported (golint)
    • Line 638: warning: exported type AlertManager should have comment or be unexported (golint)
    • Line 645: warning: exported type Persistence should have comment or be unexported (golint)
    • Line 654: warning: exported type Memory should have comment or be unexported (golint)
    • Line 659: warning: exported type Grafana should have comment or be unexported (golint)
    • Line 664: warning: exported type Brand should have comment or be unexported (golint)
    • Line 670: warning: exported type Kiosk should have comment or be unexported (golint)
    • Line 674: warning: exported type GitOperator should have comment or be unexported (golint)
    • Line 678: warning: exported type ExternalDNS should have comment or be unexported (golint)
    • Line 683: warning: exported type TemplateOperator should have comment or be unexported (golint)
    • Line 688: warning: exported type KarinaOperator should have comment or be unexported (golint)
    • Line 693: warning: exported type IstioOperator should have comment or be unexported (golint)
    • Line 697: warning: exported type GitOps should have comment or be unexported (golint)
    • Line 741: warning: exported type Velero should have comment or be unexported (golint)
    • Line 749: warning: exported type CA should have comment or be unexported (golint)
    • Line 755: warning: exported type Thanos should have comment or be unexported (golint)
    • Line 770: warning: exported type ThanosE2E should have comment or be unexported (golint)
    • Line 774: warning: exported type Filebeat should have comment or be unexported (golint)
    • Line 784: warning: exported type Journalbeat should have comment or be unexported (golint)
    • Line 789: warning: exported type Auditbeat should have comment or be unexported (golint)
    • Line 794: warning: exported type Packetbeat should have comment or be unexported (golint)
    • Line 800: warning: exported type LogsExporter should have comment or be unexported (golint)
    • Line 805: warning: exported type EventRouter should have comment or be unexported (golint)
    • Line 809: warning: exported type RedisOperator should have comment or be unexported (golint)
    • Line 813: warning: exported type RabbitmqOperator should have comment or be unexported (golint)
    • Line 817: warning: exported type Consul should have comment or be unexported (golint)
    • Line 825: warning: exported type Vault should have comment or be unexported (golint)
    • Line 839: warning: exported type VaultPolicy should have comment or be unexported (golint)
    • Line 841: warning: exported type VaultPolicyPath should have comment or be unexported (golint)
    • Line 887: warning: exported type ECK should have comment or be unexported (golint)
    • Line 891: warning: exported type NodeLocalDNS should have comment or be unexported (golint)
    • Line 898: warning: exported type SealedSecrets should have comment or be unexported (golint)
    • Line 904: warning: exported type S3UploadCleaner should have comment or be unexported (golint)
    • Line 912: warning: exported type RegistryCredentials should have comment or be unexported (golint)
    • Line 922: warning: exported type RegistryCredentialsECR should have comment or be unexported (golint)
    • Line 932: warning: exported type RegistryCredentialsDPR should have comment or be unexported (golint)
    • Line 939: warning: exported type RegistryCredentialsGCR should have comment or be unexported (golint)
    • Line 945: warning: exported type RegistryCredentialsACR should have comment or be unexported (golint)
    • Line 952: warning: exported type PlatformOperator should have comment or be unexported (golint)
    • Line 962: warning: exported type Vsphere should have comment or be unexported (golint)
    • Line 991: warning: exported method Vsphere.GetSecret should have comment or be unexported (golint)
    • Line 998: warning: exported type Connection should have comment or be unexported (golint)
    • Line 1014: warning: comment on exported type EncryptionConfig should be of the form "EncryptionConfig ..." (with optional leading article) (golint)
    • Line 1020: warning: exported type ConfigMapReloader should have comment or be unexported (golint)
    • Line 1025: warning: exported type Elasticsearch should have comment or be unexported (golint)
    • Line 1033: warning: exported type Tekton should have comment or be unexported (golint)
    • Line 1041: warning: exported type VPA should have comment or be unexported (golint)
    • Line 1045: warning: exported type Test should have comment or be unexported (golint)
    • Line 1050: warning: exported method Connection.GetURL should have comment or be unexported (golint)
    • Line 1061: warning: exported method PlatformConfig.GetImagePath should have comment or be unexported (golint)
    • Line 1068: warning: exported method PlatformConfig.GetVMCount should have comment or be unexported (golint)
    • Line 1081: warning: exported type ConfigDirective should have comment or be unexported (golint)
    • Line 1087: warning: exported type LetsencryptIssuer should have comment or be unexported (golint)
    • karina/pkg/phases/opa/test.go
    • Line 21: warning: exported type Error should have comment or be unexported (golint)
    • Line 46: warning: exported function Test should have comment or be unexported (golint)
    • Line 58: warning: exported type Fixture should have comment or be unexported (golint)
    • Line 63: warning: exported type ViolationConfig should have comment or be unexported (golint)
    • Line 67: warning: exported type Violation should have comment or be unexported (golint)
    • Line 73: warning: exported type AuditResource should have comment or be unexported (golint)
    • Line 77: warning: exported type AuditResourceStatus should have comment or be unexported (golint)
    • Line 81: warning: exported type AuditResourceViolation should have comment or be unexported (golint)
    • karina/pkg/phases/platformoperator/test.go
    • Line 20: warning: exported function Test should have comment or be unexported (golint)
    • Line 40: warning: exported function TestPlatformOperatorAutoDeleteNamespace should have comment or be unexported (golint)
    • Line 68: warning: exported function TestPlatformOperatorPodAnnotations should have comment or be unexported (golint)
    • Line 134: warning: exported function TestPlatformOperatorClusterResourceQuota should have comment or be unexported (golint)
    • karina/pkg/api/consul.go
    • Line 14: warning: exported type Consul should have comment or be unexported (golint)
    • Line 19: warning: exported method Consul.GetMembers should have comment or be unexported (golint)
    • Line 41: warning: exported method Consul.RemoveMember should have comment or be unexported (golint)
    • karina/pkg/phases/nsx/nsx.go
    • Line 15: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/provision/vmware/session.go
    • Line 50: warning: exported function GetOrCreateCachedSession should have comment or be unexported (golint)
    • Line 139: warning: exported method Session.FindTemplate should have comment or be unexported (golint)
    • Line 214: warning: exported function LoadGovcEnvVars should have comment or be unexported (golint)
    • Line 236: warning: exported function GetSessionFromEnv should have comment or be unexported (golint)
    • karina/pkg/phases/dex/install.go
    • Line 10: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/api/elasticsearch/model.go
    • Line 18: warning: comment on exported type HealthString should be of the form "HealthString ..." (with optional leading article) (golint)
    • Line 52: warning: exported type ShardState should have comment or be unexported (golint)
    • Line 62: warning: exported type ShardType should have comment or be unexported (golint)
    • Line 65: warning: exported const Primary should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported method Nodes.Names should have comment or be unexported (golint)
    • Line 138: warning: exported type RoutingTable should have comment or be unexported (golint)
    • Line 155: warning: comment on exported method Shards.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 219: warning: exported type ClusterRoutingSettings should have comment or be unexported (golint)
    • Line 223: warning: exported type RoutingSettings should have comment or be unexported (golint)
    • Line 227: warning: exported type RoutingAllocationSettings should have comment or be unexported (golint)
    • Line 232: warning: exported type AllocationExclude should have comment or be unexported (golint)
    • Line 236: warning: exported method AllocationSettings.IsShardsAllocationEnabled should have comment or be unexported (golint)
    • Line 289: warning: comment on exported type RemoteCluster should be of the form "RemoteCluster ..." (with optional leading article) (golint)
    • karina/pkg/provision/rolling.go
    • Line 20: warning: exported type RollingOptions should have comment or be unexported (golint)
    • Line 99: warning: comment on exported function RollingUpdate should be of the form "RollingUpdate ..." (golint)
    • Line 231: warning: comment on exported function RollingRestart should be of the form "RollingRestart ..." (golint)
    • karina/cmd/common.go
    • Line 61: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 214: warning: exported function GlobalPreRun should have comment or be unexported (golint)
    • Line 226: warning: exported var Render should have comment or be unexported (golint)
    • karina/pkg/phases/vault/install.go
    • Line 10: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported function Deploy should have comment or be unexported (golint)
    • karina/pkg/phases/consul/tasks.go
    • Line 15: warning: exported type BackupRestore should have comment or be unexported (golint)
    • Line 22: warning: exported function NewBackupRestore should have comment or be unexported (golint)
    • Line 36: warning: exported method BackupRestore.Backup should have comment or be unexported (golint)
    • Line 48: warning: exported method BackupRestore.ScheduleBackup should have comment or be unexported (golint)
    • Line 55: warning: exported method BackupRestore.Restore should have comment or be unexported (golint)
    • Line 81: warning: exported method BackupRestore.GenerateBackupJob should have comment or be unexported (golint)
    • karina/pkg/client/postgres/tasks.go
    • Line 26: warning: exported const Namespace should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type PostgresDB should be of the form "PostgresDB ..." (with optional leading article) (golint)
    • Line 39: warning: exported function GetPostgresDB should have comment or be unexported (golint)
    • Line 85: warning: exported method PostgresDB.GetClusterName should have comment or be unexported (golint)
    • Line 89: warning: exported method PostgresDB.OpenDB should have comment or be unexported (golint)
    • Line 129: warning: exported method PostgresDB.WithConnection should have comment or be unexported (golint)
    • Line 142: warning: exported method PostgresDB.WaitFor should have comment or be unexported (golint)
    • Line 147: warning: exported method PostgresDB.Terminate should have comment or be unexported (golint)
    • Line 151: warning: exported method PostgresDB.Backup should have comment or be unexported (golint)
    • Line 165: warning: exported method PostgresDB.ScheduleBackup should have comment or be unexported (golint)
    • Line 170: warning: exported method PostgresDB.TriggerBackup should have comment or be unexported (golint)
    • Line 179: warning: exported method PostgresDB.ListBackups should have comment or be unexported (golint)
    • Line 307: warning: exported method PostgresDB.GenerateBackupJob should have comment or be unexported (golint)
    • karina/pkg/types/nsx.go
    • Line 3: warning: exported type NSX should have comment or be unexported (golint)
    • Line 49: warning: exported type NsxV3 should have comment or be unexported (golint)
    • Line 271: warning: exported type NsxHA should have comment or be unexported (golint)
    • Line 293: warning: exported type NsxCOE should have comment or be unexported (golint)
    • Line 326: warning: exported type NsxK8s should have comment or be unexported (golint)
    • Line 388: warning: exported type NsxNodeAgent should have comment or be unexported (golint)
    • karina/cmd/rolling.go
    • Line 12: warning: exported var Rolling should have comment or be unexported (golint)
    • Line 17: warning: exported var RollingRestart should have comment or be unexported (golint)
    • Line 28: warning: exported var RollingUpdate should have comment or be unexported (golint)
    • karina/pkg/phases/antrea/install.go
    • Line 10: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/api/kubeadm.go
    • Line 5: warning: exported type HostPathType should have comment or be unexported (golint)
    • Line 8: warning: comment on exported const HostPathUnset should be of the form "HostPathUnset ..." (golint)
    • Line 10: warning: comment on exported const HostPathDirectoryOrCreate should be of the form "HostPathDirectoryOrCreate ..." (golint)
    • Line 13: warning: comment on exported const HostPathDirectory should be of the form "HostPathDirectory ..." (golint)
    • Line 15: warning: comment on exported const HostPathFileOrCreate should be of the form "HostPathFileOrCreate ..." (golint)
    • Line 18: warning: comment on exported const HostPathFile should be of the form "HostPathFile ..." (golint)
    • Line 20: warning: comment on exported const HostPathSocket should be of the form "HostPathSocket ..." (golint)
    • Line 22: warning: comment on exported const HostPathCharDev should be of the form "HostPathCharDev ..." (golint)
    • Line 24: warning: comment on exported const HostPathBlockDev should be of the form "HostPathBlockDev ..." (golint)
    • Line 28: warning: exported type ClusterConfiguration should have comment or be unexported (golint)
    • Line 64: warning: exported type InitConfiguration should have comment or be unexported (golint)
    • Line 71: warning: exported type JoinConfiguration should have comment or be unexported (golint)
    • Line 84: warning: exported type JoinControlPlane should have comment or be unexported (golint)
    • Line 93: warning: comment on exported type APIEndpoint should be of the form "APIEndpoint ..." (with optional leading article) (golint)
    • Line 103: warning: exported type Discovery should have comment or be unexported (golint)
    • Line 112: warning: exported type BootstrapTokenDiscovery should have comment or be unexported (golint)
    • Line 135: warning: exported type BootstrapToken should have comment or be unexported (golint)
    • Line 142: warning: exported type NodeRegistration should have comment or be unexported (golint)
    • Line 147: warning: exported type HostPathMount should have comment or be unexported (golint)
    • karina/pkg/phases/harbor/install.go
    • Line 14: warning: exported const HaborRegistryUsername should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function Deploy should have comment or be unexported (golint)
    • karina/pkg/phases/monitoring/monitoring.go
    • Line 12: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported function Install should have comment or be unexported (golint)
    • Line 145: warning: exported function DeployDashboard should have comment or be unexported (golint)
    • karina/pkg/client/dns/dummy.go
    • Line 7: warning: exported type DummyDNSClient should have comment or be unexported (golint)
    • Line 12: warning: exported method DummyDNSClient.Append should have comment or be unexported (golint)
    • Line 17: warning: exported method DummyDNSClient.Get should have comment or be unexported (golint)
    • Line 18: warning: exported method DummyDNSClient.Update should have comment or be unexported (golint)
    • Line 23: warning: exported method DummyDNSClient.Delete should have comment or be unexported (golint)
    • karina/pkg/phases/velero/install.go
    • Line 13: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported function Install should have comment or be unexported (golint)
    • Line 58: warning: exported function CreateBackup should have comment or be unexported (golint)
    • karina/pkg/phases/kiosk/test.go
    • Line 33: warning: exported function Test should have comment or be unexported (golint)
    • Line 50: warning: exported function TestUserDirectNamespaceAccess should have comment or be unexported (golint)
    • Line 112: warning: exported function TestUserCreateSpace should have comment or be unexported (golint)
    • Line 194: warning: exported function TestAccountQuota should have comment or be unexported (golint)
    • karina/pkg/provision/etcd.go
    • Line 20: warning: exported type EtcdClient should have comment or be unexported (golint)
    • Line 27: warning: exported function GetEtcdClient should have comment or be unexported (golint)
    • Line 61: warning: exported method EtcdClient.GetHealth should have comment or be unexported (golint)
    • Line 70: warning: exported method EtcdClient.RemoveMember should have comment or be unexported (golint)
    • Line 87: warning: exported method EtcdClient.MoveLeader should have comment or be unexported (golint)
    • Line 106: warning: exported method EtcdClient.GetEtcdClient should have comment or be unexported (golint)
    • Line 113: warning: exported method EtcdClient.GetOrphans should have comment or be unexported (golint)
    • Line 118: warning: exported method EtcdClient.GetEtcdLeader should have comment or be unexported (golint)
    • Line 134: warning: exported method EtcdClient.PrintStatus should have comment or be unexported (golint)
    • karina/pkg/phases/argorollouts/test.go
    • Line 16: warning: exported const TestNamespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function Test should have comment or be unexported (golint)
    • Line 30: warning: exported function TestE2E should have comment or be unexported (golint)
    • karina/pkg/phases/quack/install.go
    • Line 8: warning: exported var EnabledLabels should have comment or be unexported (golint)
    • Line 13: warning: exported const EnabledLabel should have comment or be unexported (golint)
    • Line 14: warning: exported const Namespace should have comment or be unexported (golint)
    • Line 15: warning: exported const WebhookService should have comment or be unexported (golint)
    • Line 16: warning: exported const Certs should have comment or be unexported (golint)
    • Line 18: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/platform/kind.go
    • Line 7: warning: exported type KindProvider should have comment or be unexported (golint)
    • Line 10: warning: exported method KindProvider.BeforeProvision should have comment or be unexported (golint)
    • Line 14: warning: exported method KindProvider.AfterProvision should have comment or be unexported (golint)
    • Line 18: warning: exported method KindProvider.BeforeTerminate should have comment or be unexported (golint)
    • Line 22: warning: exported method KindProvider.AfterTerminate should have comment or be unexported (golint)
    • Line 26: warning: exported method KindProvider.GetControlPlaneEndpoint should have comment or be unexported (golint)
    • Line 30: warning: exported method KindProvider.GetExternalEndpoints should have comment or be unexported (golint)
    • karina/pkg/phases/argocdoperator/test.go
    • Line 14: warning: exported function NewArgoCDClusterConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function Test should have comment or be unexported (golint)
    • Line 35: warning: exported function TestE2E should have comment or be unexported (golint)
    • karina/cmd/terminate.go
    • Line 10: warning: exported var Terminate should have comment or be unexported (golint)
    • Line 21: warning: exported var TerminateNodes should have comment or be unexported (golint)
    • Line 32: warning: exported var TerminateOrphans should have comment or be unexported (golint)
    • karina/pkg/api/postgres/cluster_config.go
    • Line 3: warning: exported type ClusterConfig should have comment or be unexported (golint)
    • Line 17: warning: exported type CloneConfig should have comment or be unexported (golint)
    • Line 23: warning: exported function NewClusterConfig should have comment or be unexported (golint)
    • karina/pkg/phases/conformance.go
    • Line 11: warning: exported function ConformanceTest should have comment or be unexported (golint)
    • Line 35: warning: exported type ConformanceTestOptions should have comment or be unexported (golint)
    • karina/pkg/nsx/client.go
    • Line 24: warning: comment on exported type NSXClient should be of the form "NSXClient ..." (with optional leading article) (golint)
    • Line 33: warning: exported method NSXClient.Init should have comment or be unexported (golint)
    • Line 69: warning: exported type Error should have comment or be unexported (golint)
    • Line 95: warning: exported method NSXClient.GET should have comment or be unexported (golint)
    • Line 123: warning: exported method NSXClient.POST should have comment or be unexported (golint)
    • Line 158: warning: exported method NSXClient.Ping should have comment or be unexported (golint)
    • Line 182: warning: exported method NSXClient.GetLogicalPorts should have comment or be unexported (golint)
    • Line 211: warning: exported method NSXClient.TagLogicalPort should have comment or be unexported (golint)
    • Line 232: warning: comment on exported type LoadBalancer should be of the form "LoadBalancer ..." (with optional leading article) (golint)
    • Line 239: warning: comment on exported type NSGroup should be of the form "NSGroup ..." (with optional leading article) (golint)
    • Line 245: warning: exported method NSGroup.Add should have comment or be unexported (golint)
    • Line 249: warning: exported method NSGroup.Remove should have comment or be unexported (golint)
    • Line 252: warning: exported method NSGroup.List should have comment or be unexported (golint)
    • Line 256: warning: exported method NSXClient.CreateOrUpdateNSGroup should have comment or be unexported (golint)
    • Line 301: warning: exported method NSXClient.AllocateIP should have comment or be unexported (golint)
    • Line 310: warning: exported method NSXClient.GetLoadBalancerPool should have comment or be unexported (golint)
    • Line 331: warning: exported method NSXClient.GetLoadBalancer should have comment or be unexported (golint)
    • Line 358: warning: exported method NSXClient.DrainLoadBalancerMember should have comment or be unexported (golint)
    • Line 518: warning: exported method NSXClient.UpdateLoadBalancer should have comment or be unexported (golint)
    • Line 603: warning: exported method NSXClient.CreateOrUpdateHTTPHealthCheck should have comment or be unexported (golint)
    • Line 677: warning: exported method NSXClient.CreateOrUpdateTCPHealthCheck should have comment or be unexported (golint)
    • karina/pkg/types/config.go
    • Line 1: warning: package comment should be of the form "Package types ..." (golint)
    • Line 8: warning: comment on exported type PlatformConfig should be of the form "PlatformConfig ..." (with optional leading article) (golint)
    • karina/pkg/provision/cluster.go
    • Line 15: warning: exported type NodeMachine should have comment or be unexported (golint)
    • Line 24: warning: exported type NodeMachines should have comment or be unexported (golint)
    • Line 41: warning: exported method NodeMachines.Push should have comment or be unexported (golint)
    • Line 47: warning: exported method NodeMachines.Pop should have comment or be unexported (golint)
    • Line 55: warning: exported method NodeMachines.PopN should have comment or be unexported (golint)
    • Line 67: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 75: warning: exported function GetCluster should have comment or be unexported (golint)
    • Line 126: warning: exported method Cluster.Terminate should have comment or be unexported (golint)
    • Line 131: warning: exported method Cluster.GetHealth should have comment or be unexported (golint)
    • Line 135: warning: exported method Cluster.Cordon should have comment or be unexported (golint)
    • karina/pkg/test/dex_oauth.go
    • Line 18: warning: exported type DexOauth should have comment or be unexported (golint)
    • Line 27: warning: exported type DexAccessToken should have comment or be unexported (golint)
    • Line 33: warning: exported method DexOauth.GetAccessToken should have comment or be unexported (golint)
    • karina/pkg/phases/kubeadm/test.go
    • Line 16: warning: comment on exported function TestAudit should be of the form "TestAudit ..." (golint)
    • Line 59: warning: comment on exported function TestEncryption should be of the form "TestEncryption ..." (golint)
    • karina/pkg/operator/operator.go
    • Line 20: warning: exported type Operator should have comment or be unexported (golint)
    • Line 25: warning: exported type Config should have comment or be unexported (golint)
    • Line 33: warning: exported function New should have comment or be unexported (golint)
    • Line 67: warning: exported method Operator.Run should have comment or be unexported (golint)
    • karina/pkg/phases/calico/install.go
    • Line 10: warning: exported const Namespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported function Install should have comment or be unexported (golint)
    • karina/pkg/api/calico/bgppeer.go
    • Line 3: warning: package comment should be of the form "Package calico ..." (golint)
    • Line 19: warning: exported const KindBGPPeer should have comment (or a comment on this block) or be unexported (golint)
    • karina/pkg/phases/snapshot/snapshot.go
    • Line 22: warning: exported type Options should have comment or be unexported (golint)
    • Line 32: warning: comment on exported type SnapshotFetcher should be of the form "SnapshotFetcher ..." (with optional leading article) (golint)
    • Line 42: warning: exported function Take should have comment or be unexported (golint)
    • Line 77: warning: exported method SnapshotFetcher.Fetch should have comment or be unexported (golint)
    • karina/pkg/phases/monitoring/test.go
    • Line 28: warning: exported function Test should have comment or be unexported (golint)
    • Line 37: warning: exported function TestThanos should have comment or be unexported (golint)
    • Line 90: warning: exported function GetPrometheusClient should have comment or be unexported (golint)
    • Line 107: warning: exported function TestPrometheus should have comment or be unexported (golint)
    • karina/pkg/client/dns/dns.go
    • Line 19: warning: exported type Client should have comment or be unexported (golint)
    • Line 26: warning: exported type DynamicDNSClient should have comment or be unexported (golint)
    • Line 40: warning: exported method DynamicDNSClient.Append should have comment or be unexported (golint)
    • Line 56: warning: exported method DynamicDNSClient.Get should have comment or be unexported (golint)
    • Line 104: warning: exported method DynamicDNSClient.Update should have comment or be unexported (golint)
    • Line 126: warning: exported method DynamicDNSClient.Delete should have comment or be unexported (golint)
    • karina/pkg/api/certmanager/util.go
    • Line 12: warning: exported const APIVersion should have comment or be unexported (golint)
    • Line 13: warning: exported const DefaultIsser should have comment or be unexported (golint)
    • Line 15: warning: exported function NewCertificateForService should have comment or be unexported (golint)
    • karina/pkg/platform/hooks.go
    • Line 9: warning: exported type ProvisionHook should have comment or be unexported (golint)
    • Line 17: warning: exported type CompositeHook should have comment or be unexported (golint)
    • Line 21: warning: exported method CompositeHook.BeforeProvision should have comment or be unexported (golint)
    • Line 29: warning: exported method CompositeHook.AfterProvision should have comment or be unexported (golint)
    • Line 38: warning: exported method CompositeHook.BeforeTerminate should have comment or be unexported (golint)
    • Line 46: warning: exported method CompositeHook.AfterTerminate should have comment or be unexported (golint)
    • Line 60: warning: exported type MasterDiscovery should have comment or be unexported (golint)
    • karina/pkg/api/calico/ippool.go
    • Line 3: warning: package comment should be of the form "Package calico ..." (golint)
    • Line 19: warning: exported const KindIPPool should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported type VXLANMode should have comment or be unexported (golint)
    • Line 65: warning: exported const VXLANModeNever should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported type IPIPMode should have comment or be unexported (golint)
    • Line 73: warning: exported const IPIPModeNever should have comment (or a comment on this block) or be unexported (golint)
    • karina/pkg/api/postgres/types.go
    • Line 30: warning: exported function NewPostgresql should have comment or be unexported (golint)
    • Line 97: warning: exported method Postgresql.GetObjectKind should have comment or be unexported (golint)
    • Line 197: warning: exported type AdditionalVolume should have comment or be unexported (golint)
    • Line 236: warning: comment on exported type StandbyDescription should be of the form "StandbyDescription ..." (with optional leading article) (golint)
    • Line 241: warning: exported type TLSDescription should have comment or be unexported (golint)
    • Line 279: warning: comment on exported type ConnectionPooler should be of the form "ConnectionPooler ..." (with optional leading article) (golint)
    • Line 442: warning: comment on exported type ConnectionPoolerConfiguration should be of the form "ConnectionPoolerConfiguration ..." (with optional leading article) (golint)
    • karina/pkg/api/calico/bgpconfig.go
    • Line 3: warning: package comment should be of the form "Package calico ..." (golint)
    • Line 19: warning: exported const KindBGPConfiguration should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: comment on exported function NewBGPConfiguration should be of the form "NewBGPConfiguration ..." (golint)
    • karina/pkg/phases/harbor/client.go
    • Line 27: warning: exported type Client should have comment or be unexported (golint)
    • Line 35: warning: exported type IngressClient should have comment or be unexported (golint)
    • Line 121: warning: exported method Client.GetStatus should have comment or be unexported (golint)
    • Line 135: warning: exported method Client.ListReplicationPolicies should have comment or be unexported (golint)
    • Line 146: warning: exported method Client.TriggerReplication should have comment or be unexported (golint)
    • Line 165: warning: exported method Client.UpdateSettings should have comment or be unexported (golint)
    • Line 181: warning: exported method Client.ListMembers should have comment or be unexported (golint)
    • Line 185: warning: exported method IngressClient.ListProjects should have comment or be unexported (golint)
    • Line 218: warning: exported method IngressClient.ListImages should have comment or be unexported (golint)
    • Line 250: warning: exported method IngressClient.ListArtifacts should have comment or be unexported (golint)
    • Line 284: warning: exported method IngressClient.GetManifest should have comment or be unexported (golint)
    • Line 306: warning: exported method IngressClient.DeleteTag should have comment or be unexported (golint)
    • Line 328: warning: exported type Project should have comment or be unexported (golint)
    • Line 333: warning: exported type Replication should have comment or be unexported (golint)
    • Line 348: warning: exported type ReplicationRegistry should have comment or be unexported (golint)
    • Line 364: warning: exported type ReplicationPolicy should have comment or be unexported (golint)
    • Line 380: warning: exported type ReplicationTrigger should have comment or be unexported (golint)
    • Line 387: warning: exported type ReplicationFilter should have comment or be unexported (golint)
    • Line 392: warning: exported type ProjectMember should have comment or be unexported (golint)
    • Line 402: warning: exported type Status should have comment or be unexported (golint)
    • Line 410: warning: exported type Image should have comment or be unexported (golint)
    • Line 421: warning: exported type Artifact should have comment or be unexported (golint)
    • Line 433: warning: exported type ArtifactTag should have comment or be unexported (golint)
    • Line 437: warning: exported type Tag should have comment or be unexported (golint)
    • Line 444: warning: exported type Manifest should have comment or be unexported (golint)
    • Line 451: warning: exported type ManifestLayer should have comment or be unexported (golint)
    • Line 457: warning: exported type ErrorResponse should have comment or be unexported (golint)
    • Line 466: warning: exported type Error should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!