Preparing report...

Report for github.com/flanksource/platform-cli

A    Great!    Found 215 issues across 244 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.

    • platform-cli/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)

golint13%

Golint is a linter for Go source code.

    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/pkg/client/postgres/tasks.go
    • Line 31: warning: exported const Namespace should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type PostgresDB should be of the form "PostgresDB ..." (with optional leading article) (golint)
    • Line 44: warning: exported type PostgresqlDB should have comment or be unexported (golint)
    • Line 56: warning: exported function GetPostgresDB should have comment or be unexported (golint)
    • Line 97: warning: exported function GetPostgresqlDB should have comment or be unexported (golint)
    • Line 131: warning: exported method PostgresDB.GetClusterName should have comment or be unexported (golint)
    • Line 135: warning: exported method PostgresDB.OpenDB should have comment or be unexported (golint)
    • Line 175: warning: exported method PostgresDB.WithConnection should have comment or be unexported (golint)
    • Line 188: warning: exported method PostgresDB.WaitFor should have comment or be unexported (golint)
    • Line 193: warning: exported method PostgresDB.Terminate should have comment or be unexported (golint)
    • Line 197: warning: exported method PostgresqlDB.Backup should have comment or be unexported (golint)
    • Line 211: warning: exported method PostgresDB.TriggerBackup should have comment or be unexported (golint)
    • Line 220: warning: exported method PostgresqlDB.ListBackups should have comment or be unexported (golint)
    • Line 228: warning: exported method PostgresqlDB.ListS3Backups should have comment or be unexported (golint)
    • Line 292: warning: exported method PostgresqlDB.ListResticBackups should have comment or be unexported (golint)
    • Line 385: warning: exported method PostgresqlDB.RestoreS3 should have comment or be unexported (golint)
    • Line 415: warning: exported method PostgresqlDB.RestoreRestic should have comment or be unexported (golint)
    • Line 455: warning: exported method PostgresqlDB.GenerateBackupJob should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/cmd/common.go
    • Line 98: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 248: warning: exported function MakeAbsolute should have comment or be unexported (golint)
    • Line 261: warning: exported function GlobalPreRun should have comment or be unexported (golint)
    • Line 273: warning: exported var Render should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/pkg/types/inline.go
    • Line 3: warning: exported type Boolean should have comment or be unexported (golint)
    • Line 5: warning: exported type XEnabled should have comment or be unexported (golint)
    • Line 10: warning: exported type XDisabled should have comment or be unexported (golint)
    • Line 17: warning: exported method XDisabled.IsDisabled should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/pkg/phases/flux/test.go
    • Line 16: warning: exported function Test should have comment or be unexported (golint)
    • Line 30: warning: exported function TestV1 should have comment or be unexported (golint)
    • Line 98: warning: exported function TestV2 should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/pkg/types/config.go
    • Line 1: warning: package comment should be of the form "Package types ..." (golint)
    • Line 10: warning: comment on exported type PlatformConfig should be of the form "PlatformConfig ..." (with optional leading article) (golint)
    • platform-cli/pkg/types/types.go
    • Line 17: warning: exported type AWS should have comment or be unexported (golint)
    • Line 24: warning: exported type GCP should have comment or be unexported (golint)
    • Line 30: warning: exported type CertManager should have comment or be unexported (golint)
    • Line 40: warning: exported type VaultClient should have comment or be unexported (golint)
    • Line 81: warning: exported method VM.GetTags should have comment or be unexported (golint)
    • Line 100: warning: exported type LoadBalancerConfig should have comment or be unexported (golint)
    • Line 105: warning: exported type MonitorPort should have comment or be unexported (golint)
    • Line 113: warning: exported type Calico should have comment or be unexported (golint)
    • Line 130: warning: exported type Antrea should have comment or be unexported (golint)
    • Line 137: warning: exported type Gatekeeper should have comment or be unexported (golint)
    • Line 148: warning: exported type GatekeeperE2E should have comment or be unexported (golint)
    • Line 152: warning: exported type Harbor should have comment or be unexported (golint)
    • Line 174: warning: exported type HarborSettings should have comment or be unexported (golint)
    • Line 212: warning: exported type HarborProject should have comment or be unexported (golint)
    • Line 217: warning: exported type DB should have comment or be unexported (golint)
    • Line 224: warning: exported method DB.GetConnectionURL should have comment or be unexported (golint)
    • Line 228: warning: exported type PostgresOperator should have comment or be unexported (golint)
    • Line 239: warning: exported type DefaultBackupRetention should have comment or be unexported (golint)
    • Line 248: warning: exported type ArgocdOperator should have comment or be unexported (golint)
    • Line 252: warning: exported type MongodbOperator should have comment or be unexported (golint)
    • Line 256: warning: exported type ArgoRollouts should have comment or be unexported (golint)
    • Line 260: warning: exported type Keptn should have comment or be unexported (golint)
    • Line 264: warning: exported type SMTP should have comment or be unexported (golint)
    • Line 272: warning: exported type S3 should have comment or be unexported (golint)
    • Line 280: warning: exported type S3Connection should have comment or be unexported (golint)
    • Line 294: warning: exported type Minio should have comment or be unexported (golint)
    • Line 303: warning: exported type S3E2E should have comment or be unexported (golint)
    • Line 307: warning: exported type NFS should have comment or be unexported (golint)
    • Line 312: warning: comment on exported type Nginx should be of the form "Nginx ..." (with optional leading article) (golint)
    • Line 326: warning: exported type OAuth2Proxy should have comment or be unexported (golint)
    • Line 332: warning: exported type Redis should have comment or be unexported (golint)
    • Line 339: warning: exported type Ldap should have comment or be unexported (golint)
    • Line 358: warning: exported type LdapE2E should have comment or be unexported (golint)
    • Line 367: warning: exported method Ldap.GetConnectionURL should have comment or be unexported (golint)
    • Line 371: warning: exported type Kubernetes should have comment or be unexported (golint)
    • Line 394: warning: exported type Kind should have comment or be unexported (golint)
    • Line 423: warning: comment on exported type CanaryChecker should be of the form "CanaryChecker ..." (with optional leading article) (golint)
    • Line 432: warning: exported type Dashboard should have comment or be unexported (golint)
    • Line 436: warning: exported type Dex should have comment or be unexported (golint)
    • Line 441: warning: exported type GoogleOIDC should have comment or be unexported (golint)
    • Line 447: warning: exported type Kpack should have comment or be unexported (golint)
    • Line 452: warning: exported type Image should have comment or be unexported (golint)
    • Line 463: warning: exported method Kpack.IsDisabled should have comment or be unexported (golint)
    • Line 470: warning: exported method Kpack.SetDefaultImageValues should have comment or be unexported (golint)
    • Line 497: warning: exported type DynamicDNS should have comment or be unexported (golint)
    • Line 519: warning: exported method DynamicDNS.IsEnabled should have comment or be unexported (golint)
    • Line 523: warning: exported type Monitoring should have comment or be unexported (golint)
    • Line 539: warning: exported method Monitoring.IsDisabled should have comment or be unexported (golint)
    • Line 557: warning: comment on exported type KubeWebView should be of the form "KubeWebView ..." (with optional leading article) (golint)
    • Line 574: warning: comment on exported type Karma should be of the form "Karma ..." (with optional leading article) (golint)
    • Line 580: warning: comment on exported type KubeResourceReport should be of the form "KubeResourceReport ..." (with optional leading article) (golint)
    • Line 614: warning: exported type MonitoringE2E should have comment or be unexported (golint)
    • Line 620: warning: exported type Prometheus should have comment or be unexported (golint)
    • Line 626: warning: exported type AlertManager should have comment or be unexported (golint)
    • Line 633: warning: exported type Persistence should have comment or be unexported (golint)
    • Line 642: warning: exported type Memory should have comment or be unexported (golint)
    • Line 647: warning: exported type Grafana should have comment or be unexported (golint)
    • Line 652: warning: exported type Brand should have comment or be unexported (golint)
    • Line 658: warning: exported type Kiosk should have comment or be unexported (golint)
    • Line 662: warning: exported type GitOperator should have comment or be unexported (golint)
    • Line 666: warning: exported type ExternalDNS should have comment or be unexported (golint)
    • Line 671: warning: exported type TemplateOperator should have comment or be unexported (golint)
    • Line 676: warning: exported type KarinaOperator should have comment or be unexported (golint)
    • Line 681: warning: exported type IstioOperator should have comment or be unexported (golint)
    • Line 685: warning: exported type LocalPath should have comment or be unexported (golint)
    • Line 689: warning: exported type NamespaceConfigurator should have comment or be unexported (golint)
    • Line 693: warning: exported type Quack 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 Flux should have comment or be unexported (golint)
    • Line 749: warning: exported type Velero should have comment or be unexported (golint)
    • Line 757: warning: exported type CA should have comment or be unexported (golint)
    • Line 763: warning: exported type Thanos should have comment or be unexported (golint)
    • Line 778: warning: exported type ThanosE2E should have comment or be unexported (golint)
    • Line 782: warning: exported type Filebeat should have comment or be unexported (golint)
    • Line 793: warning: exported type Journalbeat should have comment or be unexported (golint)
    • Line 798: warning: exported type Auditbeat should have comment or be unexported (golint)
    • Line 803: warning: exported type Packetbeat should have comment or be unexported (golint)
    • Line 809: warning: exported type LogsExporter should have comment or be unexported (golint)
    • Line 814: warning: exported type EventRouter should have comment or be unexported (golint)
    • Line 818: warning: exported type RedisOperator should have comment or be unexported (golint)
    • Line 822: warning: exported type RabbitmqOperator should have comment or be unexported (golint)
    • Line 826: warning: exported type Consul should have comment or be unexported (golint)
    • Line 834: warning: exported type Vault should have comment or be unexported (golint)
    • Line 848: warning: exported type VaultPolicy should have comment or be unexported (golint)
    • Line 850: warning: exported type VaultPolicyPath should have comment or be unexported (golint)
    • Line 896: warning: exported type ECK should have comment or be unexported (golint)
    • Line 900: warning: exported type NodeLocalDNS should have comment or be unexported (golint)
    • Line 907: warning: exported type SealedSecrets should have comment or be unexported (golint)
    • Line 913: warning: exported type S3UploadCleaner should have comment or be unexported (golint)
    • Line 921: warning: exported type RegistryCredentials should have comment or be unexported (golint)
    • Line 931: warning: exported type RegistryCredentialsECR should have comment or be unexported (golint)
    • Line 941: warning: exported type RegistryCredentialsDPR should have comment or be unexported (golint)
    • Line 948: warning: exported type RegistryCredentialsGCR should have comment or be unexported (golint)
    • Line 954: warning: exported type RegistryCredentialsACR should have comment or be unexported (golint)
    • Line 961: warning: exported type PlatformOperator should have comment or be unexported (golint)
    • Line 971: warning: exported type Vsphere should have comment or be unexported (golint)
    • Line 1000: warning: exported method Vsphere.GetSecret should have comment or be unexported (golint)
    • Line 1007: warning: exported type Connection should have comment or be unexported (golint)
    • Line 1023: warning: comment on exported type EncryptionConfig should be of the form "EncryptionConfig ..." (with optional leading article) (golint)
    • Line 1029: warning: exported type ConfigMapReloader should have comment or be unexported (golint)
    • Line 1034: warning: exported type Elasticsearch should have comment or be unexported (golint)
    • Line 1042: warning: exported type Tekton should have comment or be unexported (golint)
    • Line 1050: warning: exported type VPA should have comment or be unexported (golint)
    • Line 1054: warning: exported type Test should have comment or be unexported (golint)
    • Line 1059: warning: exported method Connection.GetURL should have comment or be unexported (golint)
    • Line 1070: warning: exported method PlatformConfig.GetImagePath should have comment or be unexported (golint)
    • Line 1077: warning: exported method PlatformConfig.GetVMCount should have comment or be unexported (golint)
    • Line 1090: warning: exported type ConfigDirective should have comment or be unexported (golint)
    • Line 1096: warning: exported type LetsencryptIssuer should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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 161: warning: exported method KarinaConfigReconciler.SetupWithManager should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/pkg/elastic/export.go
    • Line 18: warning: exported type Query should have comment or be unexported (golint)
    • Line 29: warning: exported type Fields should have comment or be unexported (golint)
    • Line 33: warning: exported type Kubernetes should have comment or be unexported (golint)
    • Line 39: warning: exported type Message should have comment or be unexported (golint)
    • Line 46: warning: exported type Name should have comment or be unexported (golint)
    • Line 54: warning: exported method Query.ToQuery should have comment or be unexported (golint)
    • Line 77: warning: exported function ExportLogs should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/pkg/platform/platform.go
    • Line 52: warning: exported type Platform should have comment or be unexported (golint)
    • Line 71: warning: exported method Platform.Init should have comment or be unexported (golint)
    • Line 165: warning: exported method Platform.WithField should have comment or be unexported (golint)
    • Line 173: warning: exported method Platform.WithLogOutput should have comment or be unexported (golint)
    • Line 187: warning: exported method Platform.ResetMasterConnection should have comment or be unexported (golint)
    • Line 239: warning: exported method Platform.GetKubeConfigBytes should have comment or be unexported (golint)
    • Line 279: warning: exported method Platform.ReadIngressCACertString should have comment or be unexported (golint)
    • Line 284: warning: exported method Platform.GetIngressCA should have comment or be unexported (golint)
    • Line 305: warning: comment on exported method Platform.WaitForAPIServer should be of the form "WaitForAPIServer ..." (golint)
    • Line 320: warning: exported method Platform.GetDNSClient should have comment or be unexported (golint)
    • Line 349: warning: exported method Platform.Clone should have comment or be unexported (golint)
    • Line 398: warning: exported method Platform.DeleteNode should have comment or be unexported (golint)
    • Line 416: warning: exported method Platform.GetConsulClient should have comment or be unexported (golint)
    • Line 424: warning: exported method Platform.GetNodeNames should have comment or be unexported (golint)
    • Line 460: warning: exported method Platform.GetBinaryWithKubeConfig should have comment or be unexported (golint)
    • Line 477: warning: exported method Platform.GetKubectl should have comment or be unexported (golint)
    • Line 495: warning: exported method Platform.CreateTLSSecret should have comment or be unexported (golint)
    • Line 523: warning: exported method Platform.CreateIngressCertificate should have comment or be unexported (golint)
    • Line 529: warning: exported method Platform.NewSelfSigned should have comment or be unexported (golint)
    • Line 536: warning: exported method Platform.CreateInternalCertificate should have comment or be unexported (golint)
    • Line 543: warning: exported method Platform.GetResourceByName should have comment or be unexported (golint)
    • Line 554: warning: exported method Platform.Template should have comment or be unexported (golint)
    • Line 572: warning: exported method Platform.TemplateText should have comment or be unexported (golint)
    • Line 582: warning: exported method Platform.GetResourcesByDir should have comment or be unexported (golint)
    • Line 601: warning: exported method Platform.ExposeIngress should have comment or be unexported (golint)
    • Line 605: warning: exported method Platform.ApplyCRD should have comment or be unexported (golint)
    • Line 619: warning: exported method Platform.DeleteSpecs should have comment or be unexported (golint)
    • Line 655: warning: exported method Platform.ApplySpecs should have comment or be unexported (golint)
    • Line 670: warning: exported method Platform.GetBinaryWithEnv should have comment or be unexported (golint)
    • Line 680: warning: exported method Platform.GetBinary should have comment or be unexported (golint)
    • Line 691: warning: exported method Platform.GetOrCreateBucket should have comment or be unexported (golint)
    • Line 714: warning: exported method Platform.GetOrCreateBucketFor should have comment or be unexported (golint)
    • Line 737: warning: exported method Platform.GetProxyTransport should have comment or be unexported (golint)
    • Line 772: warning: exported method Platform.GetS3ClientFor should have comment or be unexported (golint)
    • Line 799: warning: exported method Platform.GetS3Client should have comment or be unexported (golint)
    • Line 803: warning: exported method Platform.CreateOrUpdateNamespace should have comment or be unexported (golint)
    • Line 828: warning: exported method Platform.CreateOrUpdateWorkloadNamespace should have comment or be unexported (golint)
    • Line 832: warning: exported method Platform.CreateWebhookBuilder should have comment or be unexported (golint)
    • Line 850: warning: exported method Platform.DeleteMutatingWebhook should have comment or be unexported (golint)
    • Line 860: warning: exported method Platform.DeleteValidatingWebhook should have comment or be unexported (golint)
    • Line 870: warning: exported method Platform.CreateOrGetWebhookCertificate should have comment or be unexported (golint)
    • Line 886: warning: exported method Platform.GetDefaultIssuerCA should have comment or be unexported (golint)
    • Line 898: warning: exported method Platform.GetSecretValue should have comment or be unexported (golint)
    • Line 910: warning: exported function NewCertificateForService should have comment or be unexported (golint)
    • Line 942: warning: exported method Platform.DefaultNamespaceLabels should have comment or be unexported (golint)
    • Line 949: warning: exported method Platform.DefaultNamespaceAnnotations should have comment or be unexported (golint)
    • Line 956: warning: exported method Platform.IsMaster should have comment or be unexported (golint)
    • Line 960: warning: exported method Platform.ImportSecret should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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 144: warning: exported function DeployDashboard should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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 103: warning: exported var PhaseOrder should have comment or be unexported (golint)
    • Line 104: warning: exported var Bootstrap should have comment or be unexported (golint)
    • Line 105: warning: exported var BootstrapPhases should have comment or be unexported (golint)
    • Line 106: warning: exported var CSI should have comment or be unexported (golint)
    • Line 107: warning: exported var CNI should have comment or be unexported (golint)
    • Line 108: warning: exported var Cloud should have comment or be unexported (golint)
    • Line 109: warning: exported var Platform should have comment or be unexported (golint)
    • Line 110: warning: exported var Stubs should have comment or be unexported (golint)
    • Line 123: warning: exported var PhasesExtra should have comment or be unexported (golint)
    • Line 150: warning: exported function GetAllPhases should have comment or be unexported (golint)
    • Line 161: warning: exported function GetPhases should have comment or be unexported (golint)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)
    • platform-cli/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)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (exit status 2)


misspell0%

Misspell Finds commonly misspelled English words

An error occurred while running this test (exit status 2)