Preparing report...

Report for github.com/kubernetes-incubator/kube-aws

A    Great!    Found 159 issues across 210 files

Tweet

gofmt93%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo92%

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.

    • kube-aws/core/root/cluster.go
    • Line 332: warning: cyclomatic complexity 33 of function (*Cluster).Diff() is high (> 15) (gocyclo)
    • Line 510: warning: cyclomatic complexity 16 of function (*Cluster).generateAssets() is high (> 15) (gocyclo)
    • kube-aws/pkg/api/cluster.go
    • Line 706: warning: cyclomatic complexity 35 of function (Cluster).validate() is high (> 15) (gocyclo)
    • Line 367: warning: cyclomatic complexity 19 of function (*Cluster).SetDefaults() is high (> 15) (gocyclo)
    • kube-aws/hack/relnote.go
    • Line 176: warning: cyclomatic complexity 43 of function collectIssuesForMilestoneNamed() is high (> 15) (gocyclo)
    • Line 312: warning: cyclomatic complexity 26 of function generateNote() is high (> 15) (gocyclo)

golint27%

Golint is a linter for Go source code.

    • kube-aws/cfnresource/naming.go
    • Line 7: warning: exported function ValidateUnstableRoleNameLength should have comment or be unexported (golint)
    • Line 23: warning: exported function ValidateStableRoleNameLength should have comment or be unexported (golint)
    • kube-aws/core/root/cluster.go
    • Line 32: warning: exported const LOCAL_ROOT_STACK_TEMPLATE_PATH should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported method Cluster.Export should have comment or be unexported (golint)
    • Line 60: warning: exported method Cluster.EstimateCost should have comment or be unexported (golint)
    • Line 104: warning: exported type DiffResult should have comment or be unexported (golint)
    • Line 113: warning: exported type Cluster should have comment or be unexported (golint)
    • Line 132: warning: exported function LoadClusterFromFile should have comment or be unexported (golint)
    • Line 140: warning: exported function CompileClusterFromFile should have comment or be unexported (golint)
    • Line 148: warning: exported function CompileClusterFromConfig should have comment or be unexported (golint)
    • Line 260: warning: exported method Cluster.GenerateAssetsOnDisk should have comment or be unexported (golint)
    • Line 275: warning: exported method Cluster.ControlPlane should have comment or be unexported (golint)
    • Line 279: warning: exported method Cluster.Etcd should have comment or be unexported (golint)
    • Line 283: warning: exported method Cluster.Network should have comment or be unexported (golint)
    • Line 299: warning: exported method Cluster.NodePools should have comment or be unexported (golint)
    • Line 332: warning: exported method Cluster.Diff should have comment or be unexported (golint)
    • Line 462: warning: comment on exported method Cluster.LegacyCreate should be of the form "LegacyCreate ..." (golint)
    • Line 501: warning: exported method Cluster.Info should have comment or be unexported (golint)
    • Line 632: warning: exported method Cluster.EnsureAllAssetsGenerated should have comment or be unexported (golint)
    • Line 649: warning: exported method Cluster.RenderStackTemplateAsString should have comment or be unexported (golint)
    • Line 696: warning: exported method Cluster.Apply should have comment or be unexported (golint)
    • Line 718: warning: comment on exported method Cluster.LegacyUpdate should be of the form "LegacyUpdate ..." (golint)
    • Line 757: warning: exported method Cluster.ValidateTemplates should have comment or be unexported (golint)
    • kube-aws/pki/pki.go
    • Line 19: warning: exported type PKI should have comment or be unexported (golint)
    • Line 22: warning: exported function NewPKI should have comment or be unexported (golint)
    • Line 26: warning: exported method PKI.GenerateKeyPair should have comment or be unexported (golint)
    • kube-aws/pkg/api/bash_prompt.go
    • Line 3: warning: exported type BashPrompt should have comment or be unexported (golint)
    • Line 22: warning: exported function NewDefaultBashPrompt should have comment or be unexported (golint)
    • kube-aws/pkg/api/plugin.go
    • Line 11: warning: comment on exported type Plugin should be of the form "Plugin ..." (with optional leading article) (golint)
    • Line 17: warning: exported method Plugin.EnabledIn should have comment or be unexported (golint)
    • Line 26: warning: exported method Plugin.Validate should have comment or be unexported (golint)
    • Line 33: warning: exported method Plugin.SettingKey should have comment or be unexported (golint)
    • Line 35: warning: should omit 2nd value from range; this loop is equivalent to `for i := range ...` (golint)
    • Line 55: warning: exported method Metadata.Validate should have comment or be unexported (golint)
    • Line 72: warning: comment on exported type ClusterSpec should be of the form "ClusterSpec ..." (with optional leading article) (golint)
    • Line 88: warning: comment on exported type CloudFormationSpec should be of the form "CloudFormationSpec ..." (with optional leading article) (golint)
    • Line 93: warning: exported type Stacks should have comment or be unexported (golint)
    • Line 110: warning: exported type Resources should have comment or be unexported (golint)
    • Line 114: warning: exported type Outputs should have comment or be unexported (golint)
    • Line 118: warning: exported type Tags should have comment or be unexported (golint)
    • Line 122: warning: exported type Helm should have comment or be unexported (golint)
    • Line 128: warning: comment on exported type HelmReleases should be of the form "HelmReleases ..." (with optional leading article) (golint)
    • Line 143: warning: exported type HelmRelease should have comment or be unexported (golint)
    • Line 150: warning: exported type KubernetesAPIServer should have comment or be unexported (golint)
    • Line 155: warning: exported type CommandLineFlags should have comment or be unexported (golint)
    • Line 157: warning: exported type CommandLineFlag should have comment or be unexported (golint)
    • Line 165: warning: exported type APIServerVolumes should have comment or be unexported (golint)
    • Line 167: warning: exported type APIServerVolume should have comment or be unexported (golint)
    • Line 175: warning: exported type KubernetesManifests should have comment or be unexported (golint)
    • Line 177: warning: exported type KubernetesManifest should have comment or be unexported (golint)
    • Line 182: warning: exported type Contents should have comment or be unexported (golint)
    • Line 188: warning: exported type Source should have comment or be unexported (golint)
    • Line 192: warning: exported type Machine should have comment or be unexported (golint)
    • Line 196: warning: exported type MachineRoles should have comment or be unexported (golint)
    • Line 208: warning: exported type MachineSpec should have comment or be unexported (golint)
    • Line 214: warning: exported type Files should have comment or be unexported (golint)
    • Line 216: warning: exported type IAM should have comment or be unexported (golint)
    • Line 220: warning: exported type Systemd should have comment or be unexported (golint)
    • Line 225: warning: exported type SystemdUnits should have comment or be unexported (golint)
    • Line 227: warning: exported type SystemdUnit should have comment or be unexported (golint)
    • Line 233: warning: comment on exported type KubeletSpec should be of the form "KubeletSpec ..." (with optional leading article) (golint)
    • Line 243: warning: exported type ContainerVolumeMount should have comment or be unexported (golint)
    • Line 245: warning: exported method ContainerVolumeMount.ToRktRunArgs should have comment or be unexported (golint)
    • Line 257: warning: exported method ContainerVolumeMount.MountDockerRW should have comment or be unexported (golint)
    • Line 261: warning: exported type Values should have comment or be unexported (golint)
    • kube-aws/pkg/model/context.go
    • Line 52: warning: exported method Context.InspectEtcdExistingState should have comment or be unexported (golint)
    • Line 186: warning: comment on exported method Context.ValidateNodePoolStack should be of the form "ValidateNodePoolStack ..." (golint)
    • kube-aws/plugin/loader.go
    • Line 12: warning: exported type Loader should have comment or be unexported (golint)
    • Line 15: warning: exported function NewLoader should have comment or be unexported (golint)
    • Line 19: warning: exported method Loader.Load should have comment or be unexported (golint)
    • Line 35: warning: exported method Loader.TryToLoadPluginFromDir should have comment or be unexported (golint)
    • Line 43: warning: exported function PluginFromFile should have comment or be unexported (golint)
    • Line 57: warning: exported function PluginFromBytes should have comment or be unexported (golint)
    • Line 68: warning: exported function LoadAll should have comment or be unexported (golint)
    • kube-aws/cfnstack/s3_uri.go
    • Line 9: warning: exported type S3URI should have comment or be unexported (golint)
    • Line 46: warning: exported function S3URIFromString should have comment or be unexported (golint)
    • kube-aws/flatcar/amiregistry/amiregistry.go
    • Line 8: warning: exported function GetAMI should have comment or be unexported (golint)
    • Line 22: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 30: warning: exported function GetAMIData should have comment or be unexported (golint)
    • kube-aws/core/root/template_params.go
    • Line 15: warning: exported method TemplateParams.ExtraCfnResources should have comment or be unexported (golint)
    • Line 19: warning: exported method TemplateParams.ExtraCfnOutputs should have comment or be unexported (golint)
    • Line 23: warning: exported method TemplateParams.ExtraCfnTags should have comment or be unexported (golint)
    • Line 27: warning: exported method TemplateParams.ClusterName should have comment or be unexported (golint)
    • Line 31: warning: exported method TemplateParams.KubeAwsVersion should have comment or be unexported (golint)
    • Line 35: warning: exported method TemplateParams.CloudWatchLogging should have comment or be unexported (golint)
    • Line 39: warning: exported method TemplateParams.KubeDnsMasq should have comment or be unexported (golint)
    • Line 43: warning: exported method TemplateParams.EtcdNodes should have comment or be unexported (golint)
    • Line 53: warning: exported type NestedStack should have comment or be unexported (golint)
    • Line 180: warning: exported method TemplateParams.ControlPlane should have comment or be unexported (golint)
    • Line 186: warning: exported method TemplateParams.Etcd should have comment or be unexported (golint)
    • Line 192: warning: exported method TemplateParams.Network should have comment or be unexported (golint)
    • Line 198: warning: exported method TemplateParams.NodePools should have comment or be unexported (golint)
    • Line 208: warning: exported method TemplateParams.Subnets should have comment or be unexported (golint)
    • Line 212: warning: exported method TemplateParams.NodePoolAvailabilityZoneDependencies should have comment or be unexported (golint)
    • kube-aws/credential/credential.go
    • Line 12: warning: exported const CacheFileExtension should have comment or be unexported (golint)
    • Line 13: warning: exported const FingerprintFileExtension should have comment or be unexported (golint)
    • Line 15: warning: exported function CreateEncryptedFile should have comment or be unexported (golint)
    • Line 32: warning: exported function EncryptedCredentialCacheFromRawCredential should have comment or be unexported (golint)
    • Line 36: warning: exported function RawCredentialFileFromPath should have comment or be unexported (golint)
    • Line 80: warning: exported function EncryptedCredentialCacheFromPath should have comment or be unexported (golint)
    • kube-aws/pkg/api/custom_file.go
    • Line 13: warning: exported type CustomFile should have comment or be unexported (golint)
    • Line 22: warning: exported method CustomFile.Encrypted should have comment or be unexported (golint)
    • Line 26: warning: exported method CustomFile.PermissionsString should have comment or be unexported (golint)
    • Line 31: warning: exported method CustomFile.GzippedBase64Content should have comment or be unexported (golint)
    • Line 39: warning: exported method CustomFile.RenderContent should have comment or be unexported (golint)
    • Line 50: warning: exported method CustomFile.RenderGzippedBase64Content should have comment or be unexported (golint)
    • kube-aws/pkg/model/node_pool_stack_ref.go
    • Line 20: warning: exported type NodePoolStackRef should have comment or be unexported (golint)
    • Line 95: warning: exported method NodePoolStackRef.Info should have comment or be unexported (golint)
    • Line 103: warning: exported method NodePoolStackRef.Destroy should have comment or be unexported (golint)
    • kube-aws/plugin/plugincontents/template.go
    • Line 22: warning: exported function RenderStringFromTemplateWithValues should have comment or be unexported (golint)
    • Line 42: warning: exported type TemplateRenderer should have comment or be unexported (golint)
    • Line 49: warning: exported function NewTemplateRenderer should have comment or be unexported (golint)
    • Line 58: warning: exported method TemplateRenderer.File should have comment or be unexported (golint)
    • Line 74: warning: exported method TemplateRenderer.MapFromJsonContents should have comment or be unexported (golint)
    • Line 92: warning: exported function LooksLikeATemplate should have comment or be unexported (golint)
    • kube-aws/provisioner/types.go
    • Line 57: warning: exported type Source should have comment or be unexported (golint)
    • Line 71: warning: exported type Content should have comment or be unexported (golint)
    • Line 85: warning: exported type TransferredFile should have comment or be unexported (golint)
    • Line 90: warning: exported type Provisioner should have comment or be unexported (golint)
    • kube-aws/pkg/api/kubernetes.go
    • Line 3: warning: exported type Kubernetes should have comment or be unexported (golint)
    • Line 20: warning: exported type KubeApiServer should have comment or be unexported (golint)
    • Line 25: warning: exported type ControllerManager should have comment or be unexported (golint)
    • Line 30: warning: exported type KubeScheduler should have comment or be unexported (golint)
    • Line 35: warning: exported type ComputeResources should have comment or be unexported (golint)
    • Line 40: warning: exported type ResourceQuota should have comment or be unexported (golint)
    • kube-aws/pkg/api/networking.go
    • Line 3: warning: exported type Networking should have comment or be unexported (golint)
    • Line 8: warning: exported type SelfHosting should have comment or be unexported (golint)
    • Line 20: warning: exported type FlannelConfig should have comment or be unexported (golint)
    • kube-aws/pkg/api/region.go
    • Line 8: warning: exported type Region should have comment or be unexported (golint)
    • Line 12: warning: exported function RegionForName should have comment or be unexported (golint)
    • Line 18: warning: exported method Region.PrivateDomainName should have comment or be unexported (golint)
    • Line 25: warning: exported method Region.PublicComputeDomainName should have comment or be unexported (golint)
    • Line 34: warning: exported method Region.PublicDomainName should have comment or be unexported (golint)
    • Line 45: warning: exported method Region.S3Endpoint should have comment or be unexported (golint)
    • Line 55: warning: exported method Region.Partition should have comment or be unexported (golint)
    • Line 65: warning: exported method Region.IsChina should have comment or be unexported (golint)
    • Line 69: warning: exported method Region.IsGovcloud should have comment or be unexported (golint)
    • Line 73: warning: exported method Region.IsEmpty should have comment or be unexported (golint)
    • Line 77: warning: exported method Region.SupportsKMS should have comment or be unexported (golint)
    • Line 81: warning: exported method Region.SupportsNetworkLoadBalancers should have comment or be unexported (golint)
    • kube-aws/pkg/api/unknown_keys.go
    • Line 9: warning: exported type UnknownKeys should have comment or be unexported (golint)
    • Line 11: warning: exported method UnknownKeys.FailWhenUnknownKeysFound should have comment or be unexported (golint)
    • Line 14: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • kube-aws/pkg/model/config.go
    • Line 41: warning: exported method Config.EtcdCluster should have comment or be unexported (golint)
    • Line 51: warning: exported method Config.APIEndpointURLPort should have comment or be unexported (golint)
    • Line 55: warning: exported method Config.AWSIAMAuthenticatorClusterIDRef should have comment or be unexported (golint)
    • Line 65: warning: exported method Config.IAMRoleARNs should have comment or be unexported (golint)
    • Line 77: warning: exported method Config.VPCLogicalName should have comment or be unexported (golint)
    • Line 84: warning: exported method Config.VPCID should have comment or be unexported (golint)
    • Line 92: warning: exported method Config.VPCManaged should have comment or be unexported (golint)
    • Line 96: warning: exported method Config.VPCRef should have comment or be unexported (golint)
    • Line 100: warning: exported method Config.VPCRefFromNetworkStack should have comment or be unexported (golint)
    • Line 115: warning: exported method Config.InternetGatewayLogicalName should have comment or be unexported (golint)
    • Line 119: warning: exported method Config.InternetGatewayRef should have comment or be unexported (golint)
    • Line 128: warning: comment on exported method Config.ManagedELBLogicalNames should be of the form "ManagedELBLogicalNames ..." (golint)
    • Line 175: warning: exported method Config.KubernetesManifestPlugin should have comment or be unexported (golint)
    • Line 182: warning: exported method Config.HelmReleasePlugin should have comment or be unexported (golint)
    • Line 189: warning: exported function WithTrailingDot should have comment or be unexported (golint)
    • Line 200: warning: exported method Config.NetworkStackName should have comment or be unexported (golint)
    • Line 207: warning: exported method Config.EtcdStackName should have comment or be unexported (golint)
    • kube-aws/pkg/model/types.go
    • Line 15: warning: exported type Stack should have comment or be unexported (golint)
    • Line 47: warning: exported type StackTemplateGetter should have comment or be unexported (golint)
    • Line 51: warning: exported type Context should have comment or be unexported (golint)
    • Line 83: warning: exported type NetworkTmplCtx should have comment or be unexported (golint)
    • kube-aws/netutil/netutil.go
    • Line 5: warning: comment on exported function CidrOverlap should be of the form "CidrOverlap ..." (golint)
    • Line 10: warning: comment on exported function IncrementIP should be of the form "IncrementIP ..." (golint)
    • kube-aws/provisioner/remote_file.go
    • Line 13: warning: exported function NewRemoteFile should have comment or be unexported (golint)
    • Line 28: warning: exported function NewRemoteFileWithContent should have comment or be unexported (golint)
    • Line 37: warning: exported function NewRemoteFileAtPath should have comment or be unexported (golint)
    • Line 44: warning: exported method RemoteFile.PermissionsString should have comment or be unexported (golint)
    • Line 49: warning: exported method RemoteFile.GzippedBase64Content should have comment or be unexported (golint)
    • Line 53: warning: exported method RemoteFile.RenderContent should have comment or be unexported (golint)
    • Line 64: warning: exported method RemoteFile.RenderGzippedBase64Content should have comment or be unexported (golint)
    • kube-aws/credential/pki.go
    • Line 13: warning: exported type ProtectedPKI should have comment or be unexported (golint)
    • Line 18: warning: exported function NewProtectedPKI should have comment or be unexported (golint)
    • Line 25: warning: exported method ProtectedPKI.CreateKeyaPair should have comment or be unexported (golint)
    • Line 60: warning: exported method ProtectedPKI.EnsureKeyPairsCreated should have comment or be unexported (golint)
    • kube-aws/pkg/api/image.go
    • Line 7: warning: exported type Image should have comment or be unexported (golint)
    • Line 13: warning: exported method Image.MergeIfEmpty should have comment or be unexported (golint)
    • Line 21: warning: exported method Image.Options should have comment or be unexported (golint)
    • Line 28: warning: exported method Image.RktRepo should have comment or be unexported (golint)
    • Line 35: warning: exported method Image.RktRepoWithoutTag should have comment or be unexported (golint)
    • Line 42: warning: exported method Image.RepoWithTag should have comment or be unexported (golint)
    • kube-aws/provisioner/prepare.go
    • Line 7: warning: exported function NewTarballingProvisioner should have comment or be unexported (golint)
    • Line 19: warning: exported method Provisioner.GetTransferredFile should have comment or be unexported (golint)
    • Line 35: warning: exported method Provisioner.EntrypointRemotePath should have comment or be unexported (golint)
    • Line 39: warning: exported method Provisioner.CreateTransferredFile should have comment or be unexported (golint)
    • Line 64: warning: exported method Provisioner.Send should have comment or be unexported (golint)
    • Line 72: warning: exported method Provisioner.RemoteCommand should have comment or be unexported (golint)
    • kube-aws/pkg/api/cluster.go
    • Line 18: warning: comment on exported var KUBERNETES_VERSION should be of the form "KUBERNETES_VERSION ..." (golint)
    • Line 29: warning: comment on exported const CSIDefaultProvisionerImageTag should be of the form "CSIDefaultProvisionerImageTag ..." (golint)
    • Line 31: warning: exported const CSIDefaultAttacherImageTag should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported function NewDefaultCluster should have comment or be unexported (golint)
    • Line 324: warning: exported method Cluster.ControlPlaneStackName should have comment or be unexported (golint)
    • Line 331: warning: exported method Cluster.Load should have comment or be unexported (golint)
    • Line 354: warning: exported method Cluster.ConsumeDeprecatedKeys should have comment or be unexported (golint)
    • Line 367: warning: exported method Cluster.SetDefaults should have comment or be unexported (golint)
    • Line 453: warning: comment on exported type KubeClusterSettings should be of the form "KubeClusterSettings ..." (with optional leading article) (golint)
    • Line 465: warning: comment on exported type ComputedDeploymentSettings should be of the form "ComputedDeploymentSettings ..." (with optional leading article) (golint)
    • Line 470: warning: comment on exported type DeploymentSettings should be of the form "DeploymentSettings ..." (with optional leading article) (golint)
    • Line 539: warning: comment on exported type DefaultWorkerSettings should be of the form "DefaultWorkerSettings ..." (with optional leading article) (golint)
    • Line 552: warning: comment on exported type EtcdSettings should be of the form "EtcdSettings ..." (with optional leading article) (golint)
    • Line 557: warning: exported type CustomApiServerSettings should have comment or be unexported (golint)
    • Line 584: warning: exported type WaitSignal should have comment or be unexported (golint)
    • Line 591: warning: exported method WaitSignal.Enabled should have comment or be unexported (golint)
    • Line 612: warning: exported method DeploymentSettings.ApiServerLeaseEndpointReconciler should have comment or be unexported (golint)
    • Line 621: warning: comment on exported method KubeClusterSettings.K8sNetworkPlugin should be of the form "K8sNetworkPlugin ..." (golint)
    • Line 626: warning: exported type StackTemplateOptions should have comment or be unexported (golint)
    • Line 637: warning: exported type ClusterOptions should have comment or be unexported (golint)
    • Line 642: warning: exported method Cluster.StackNameEnvFileName should have comment or be unexported (golint)
    • Line 646: warning: exported method Cluster.StackNameEnvVarName should have comment or be unexported (golint)
    • Line 650: warning: exported method Cluster.EtcdNodeEnvFileName should have comment or be unexported (golint)
    • Line 654: warning: exported method Cluster.EtcdIndexEnvVarName should have comment or be unexported (golint)
    • Line 702: warning: exported method Cluster.NodeLabels should have comment or be unexported (golint)
    • Line 716: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 724: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 822: warning: exported type InfrastructureValidationResult should have comment or be unexported (golint)
    • Line 826: warning: exported method KubeClusterSettings.Validate should have comment or be unexported (golint)
    • Line 843: warning: exported method DefaultWorkerSettings.Validate should have comment or be unexported (golint)
    • Line 861: warning: comment on exported method EtcdSettings.Validate should be of the form "Validate ..." (golint)
    • Line 882: warning: comment on exported method Cluster.AvailabilityZones should be of the form "AvailabilityZones ..." (golint)
    • Line 902: warning: exported method Cluster.ControllerFeatureGates should have comment or be unexported (golint)
    • Line 918: warning: comment on exported method Cluster.ValidateExistingVPC should be of the form "ValidateExistingVPC ..." (golint)
    • kube-aws/pkg/api/custom_systemd_unit.go
    • Line 8: warning: exported type CustomSystemdUnit should have comment or be unexported (golint)
    • Line 18: warning: exported method CustomSystemdUnit.ContentPresent should have comment or be unexported (golint)
    • Line 25: warning: exported method CustomSystemdUnit.DropInsPresent should have comment or be unexported (golint)
    • Line 32: warning: exported method CustomSystemdUnit.ContentArray should have comment or be unexported (golint)
    • Line 37: warning: exported method CustomSystemdUnit.EnableString should have comment or be unexported (golint)
    • Line 41: warning: exported method CustomSystemdUnit.RuntimeString should have comment or be unexported (golint)
    • kube-aws/pkg/api/nat_gateway.go
    • Line 7: warning: exported type NATGatewayConfig should have comment or be unexported (golint)
    • Line 12: warning: exported method NATGatewayConfig.Validate should have comment or be unexported (golint)
    • Line 22: warning: comment on exported type NATGateway should be of the form "NATGateway ..." (with optional leading article) (golint)
    • Line 43: warning: exported function NewManagedNATGateway should have comment or be unexported (golint)
    • Line 51: warning: exported function NewUnmanagedNATGateway should have comment or be unexported (golint)
    • kube-aws/pkg/model/etcd_node.go
    • Line 9: warning: exported type EtcdNode should have comment or be unexported (golint)
    • Line 17: warning: exported function NewEtcdNodeDependsOnManagedNGW should have comment or be unexported (golint)
    • Line 27: warning: exported function NewEtcdNode should have comment or be unexported (golint)
    • Line 36: warning: exported method EtcdNode.Name should have comment or be unexported (golint)
    • Line 95: warning: exported method EtcdNode.AdvertisedFQDNRef should have comment or be unexported (golint)
    • Line 102: warning: exported method EtcdNode.AdvertisedFQDN should have comment or be unexported (golint)
    • Line 109: warning: exported method EtcdNode.SubnetRef should have comment or be unexported (golint)
    • Line 113: warning: exported method EtcdNode.SubnetAvailabilityZone should have comment or be unexported (golint)
    • Line 117: warning: exported method EtcdNode.DependencyExists should have comment or be unexported (golint)
    • Line 121: warning: exported method EtcdNode.DependencyRef should have comment or be unexported (golint)
    • Line 130: warning: exported method EtcdNode.EBSLogicalName should have comment or be unexported (golint)
    • Line 134: warning: exported method EtcdNode.EBSRef should have comment or be unexported (golint)
    • Line 138: warning: exported method EtcdNode.EIPAllocationIDRef should have comment or be unexported (golint)
    • Line 146: warning: exported method EtcdNode.EIPLogicalName should have comment or be unexported (golint)
    • Line 153: warning: exported method EtcdNode.EIPManaged should have comment or be unexported (golint)
    • Line 157: warning: exported method EtcdNode.EIPRef should have comment or be unexported (golint)
    • Line 165: warning: exported method EtcdNode.NetworkInterfaceIDRef should have comment or be unexported (golint)
    • Line 169: warning: exported method EtcdNode.NetworkInterfaceLogicalName should have comment or be unexported (golint)
    • Line 173: warning: exported method EtcdNode.NetworkInterfaceManaged should have comment or be unexported (golint)
    • Line 177: warning: exported method EtcdNode.NetworkInterfacePrivateIPRef should have comment or be unexported (golint)
    • Line 191: warning: exported method EtcdNode.LogicalName should have comment or be unexported (golint)
    • Line 195: warning: exported method EtcdNode.LogicalNameForIndex should have comment or be unexported (golint)
    • Line 199: warning: exported method EtcdNode.MajorMinorVersion should have comment or be unexported (golint)
    • Line 203: warning: exported method EtcdNode.RecordSetManaged should have comment or be unexported (golint)
    • Line 207: warning: exported method EtcdNode.RecordSetLogicalName should have comment or be unexported (golint)
    • kube-aws/pkg/api/aws_iam.go
    • Line 3: warning: exported type KubernetesAuthentication should have comment or be unexported (golint)
    • Line 7: warning: exported type AWSIAM should have comment or be unexported (golint)
    • Line 13: warning: exported method AWSIAM.BinaryStorePathes should have comment or be unexported (golint)
    • kube-aws/cfnstack/assets.go
    • Line 12: warning: exported type Assets should have comment or be unexported (golint)
    • Line 19: warning: exported function EmptyAssets should have comment or be unexported (golint)
    • Line 58: warning: should omit 2nd value from range; this loop is equivalent to `for id := range ...` (golint)
    • Line 72: warning: exported type AssetsBuilder should have comment or be unexported (golint)
    • Line 78: warning: exported type AssetsBuilderImpl should have comment or be unexported (golint)
    • Line 83: warning: exported method AssetsBuilderImpl.Add should have comment or be unexported (golint)
    • Line 98: warning: exported method AssetsBuilderImpl.AddUserDataPart should have comment or be unexported (golint)
    • Line 115: warning: exported method AssetsBuilderImpl.Build should have comment or be unexported (golint)
    • Line 122: warning: exported function NewAssetsBuilder should have comment or be unexported (golint)
    • Line 139: warning: exported type AssetLocationProvider should have comment or be unexported (golint)
    • Line 145: warning: exported method AssetLocationProvider.S3DirURI should have comment or be unexported (golint)
    • Line 149: warning: exported method AssetLocationProvider.Locate should have comment or be unexported (golint)
    • kube-aws/pkg/api/spot_fleet.go
    • Line 7: warning: comment on exported type SpotFleet should be of the form "SpotFleet ..." (with optional leading article) (golint)
    • Line 21: warning: exported method SpotFleet.Enabled should have comment or be unexported (golint)
    • Line 25: warning: exported method SpotFleet.Validate should have comment or be unexported (golint)
    • Line 25: warning: receiver name c should be consistent with previous receiver name f for SpotFleet (golint)
    • Line 35: warning: exported method SpotFleet.UnmarshalYAML should have comment or be unexported (golint)
    • Line 61: warning: exported method SpotFleet.IAMFleetRoleRef should have comment or be unexported (golint)
    • Line 64: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • kube-aws/pki/keypair.go
    • Line 9: warning: exported function KeyPairFromPEMs should have comment or be unexported (golint)
    • Line 29: warning: exported method KeyPair.KeyInPEM should have comment or be unexported (golint)
    • Line 36: warning: exported method KeyPair.CertInPEM should have comment or be unexported (golint)
    • kube-aws/pkg/api/arn.go
    • Line 8: warning: exported type ARN should have comment or be unexported (golint)
    • Line 19: warning: exported method ARN.Validate should have comment or be unexported (golint)
    • Line 29: warning: exported method ARN.OrGetAttArn should have comment or be unexported (golint)
    • Line 41: warning: exported method ARN.OrRef should have comment or be unexported (golint)
    • Line 53: warning: exported method ARN.OrExpr should have comment or be unexported (golint)
    • kube-aws/pkg/api/node_volume_mount.go
    • Line 9: warning: exported type NodeVolumeMount should have comment or be unexported (golint)
    • Line 19: warning: exported method NodeVolumeMount.SystemdMountName should have comment or be unexported (golint)
    • Line 23: warning: exported method NodeVolumeMount.FilesystemType should have comment or be unexported (golint)
    • Line 30: warning: exported method NodeVolumeMount.Validate should have comment or be unexported (golint)
    • Line 67: warning: exported function ValidateVolumeMounts should have comment or be unexported (golint)
    • kube-aws/pkg/model/api_endpoints.go
    • Line 113: warning: comment on exported method APIEndpoints.ManagedELBLogicalNames should be of the form "ManagedELBLogicalNames ..." (golint)
    • Line 132: warning: should omit 2nd value from range; this loop is equivalent to `for n := range ...` (golint)
    • kube-aws/pkg/model/describer.go
    • Line 14: warning: exported type ClusterDescriber should have comment or be unexported (golint)
    • Line 25: warning: exported function NewClusterDescriber should have comment or be unexported (golint)
    • kube-aws/credential/types.go
    • Line 5: warning: exported type PlaintextFile should have comment or be unexported (golint)
    • Line 10: warning: comment on exported type EncryptedFile should be of the form "EncryptedFile ..." (with optional leading article) (golint)
    • Line 20: warning: exported type Store should have comment or be unexported (golint)
    • Line 24: warning: exported type KMSEncryptionService should have comment or be unexported (golint)
    • Line 28: warning: exported type Encryptor should have comment or be unexported (golint)
    • Line 32: warning: exported type KMSEncryptor should have comment or be unexported (golint)
    • kube-aws/pkg/model/stack_new.go
    • Line 122: warning: exported function NewNetworkStack should have comment or be unexported (golint)
    • Line 153: warning: exported function NewEtcdStack should have comment or be unexported (golint)
    • Line 225: warning: exported function NewWorkerStack should have comment or be unexported (golint)
    • kube-aws/credential/encrypted_file.go
    • Line 5: warning: exported method EncryptedFile.Fingerprint should have comment or be unexported (golint)
    • Line 9: warning: exported method EncryptedFile.Persist should have comment or be unexported (golint)
    • Line 23: warning: exported method EncryptedFile.Bytes should have comment or be unexported (golint)
    • Line 27: warning: exported method EncryptedFile.SetBytes should have comment or be unexported (golint)
    • kube-aws/pkg/api/node_labels.go
    • Line 9: warning: exported type NodeLabels should have comment or be unexported (golint)
    • Line 11: warning: exported method NodeLabels.Enabled should have comment or be unexported (golint)
    • Line 19: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • kube-aws/test/helper/s3.go
    • Line 9: warning: exported type DummyS3ObjectPutterService should have comment or be unexported (golint)
    • Line 17: warning: exported method DummyS3ObjectPutterService.PutObject should have comment or be unexported (golint)
    • kube-aws/provisioner/package.go
    • Line 15: warning: exported method TarGzArchiver.Name should have comment or be unexported (golint)
    • Line 19: warning: exported function CreateTarGzArchive should have comment or be unexported (golint)
    • kube-aws/core/root/operation_targets.go
    • Line 6: warning: exported const OperationTargetAll should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type OperationTargets should have comment or be unexported (golint)
    • Line 11: warning: exported function AllOperationTargetsAsStringSlice should have comment or be unexported (golint)
    • Line 15: warning: exported function AllOperationTargetsWith should have comment or be unexported (golint)
    • Line 22: warning: exported function OperationTargetsFromStringSlice should have comment or be unexported (golint)
    • Line 26: warning: exported method OperationTargets.IncludeWorker should have comment or be unexported (golint)
    • Line 35: warning: exported method OperationTargets.IncludeNetwork should have comment or be unexported (golint)
    • Line 44: warning: exported method OperationTargets.IncludeControlPlane should have comment or be unexported (golint)
    • Line 53: warning: exported method OperationTargets.IncludeEtcd should have comment or be unexported (golint)
    • Line 61: warning: exported method OperationTargets.IncludeAll should have comment or be unexported (golint)
    • Line 67: warning: exported method OperationTargets.IsAll should have comment or be unexported (golint)
    • kube-aws/pkg/api/iamconfig.go
    • Line 9: warning: exported type IAMConfig should have comment or be unexported (golint)
    • Line 16: warning: exported type IAMRole should have comment or be unexported (golint)
    • Line 24: warning: exported type IAMManagedPolicy should have comment or be unexported (golint)
    • Line 28: warning: exported type IAMInstanceProfile should have comment or be unexported (golint)
    • Line 32: warning: exported type IAMPolicy should have comment or be unexported (golint)
    • Line 38: warning: exported type IAMPolicyStatements should have comment or be unexported (golint)
    • Line 40: warning: exported type IAMPolicyStatement should have comment or be unexported (golint)
    • Line 46: warning: exported method IAMConfig.Validate should have comment or be unexported (golint)
    • kube-aws/pkg/api/lauch_specification.go
    • Line 7: warning: exported type LaunchSpecification should have comment or be unexported (golint)
    • Line 14: warning: exported function NewLaunchSpecification should have comment or be unexported (golint)
    • Line 21: warning: exported method LaunchSpecification.UnmarshalYAML should have comment or be unexported (golint)
    • Line 32: warning: exported method LaunchSpecification.Validate should have comment or be unexported (golint)
    • Line 32: warning: receiver name c should be consistent with previous receiver name s for LaunchSpecification (golint)
    • kube-aws/pkg/model/stack.go
    • Line 27: warning: exported const STACK_TEMPLATE_FILENAME should have comment or be unexported (golint)
    • Line 49: warning: exported method Stack.RenderAddControllerUserdata should have comment or be unexported (golint)
    • Line 49: warning: receiver name p should be consistent with previous receiver name s for Stack (golint)
    • Line 56: warning: exported method Stack.RenderAddEtcdUserdata should have comment or be unexported (golint)
    • Line 56: warning: receiver name p should be consistent with previous receiver name s for Stack (golint)
    • Line 63: warning: exported method Stack.RenderAddWorkerUserdata should have comment or be unexported (golint)
    • Line 63: warning: receiver name p should be consistent with previous receiver name s for Stack (golint)
    • Line 70: warning: exported method Stack.Assets should have comment or be unexported (golint)
    • Line 70: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 77: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 91: warning: should omit 2nd value from range; this loop is equivalent to `for id := range ...` (golint)
    • Line 148: warning: exported method Stack.TemplateURL should have comment or be unexported (golint)
    • Line 148: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 157: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 161: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 168: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 203: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 207: warning: exported method Stack.ClusterS3URI should have comment or be unexported (golint)
    • Line 207: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 211: warning: exported method Stack.ClusterExportedStacksS3URI should have comment or be unexported (golint)
    • Line 211: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 215: warning: comment on exported method Stack.EtcdSnapshotsS3PathRef should be of the form "EtcdSnapshotsS3PathRef ..." (golint)
    • Line 216: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 224: warning: exported method Stack.EtcdSnapshotsS3Bucket should have comment or be unexported (golint)
    • Line 224: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 232: warning: exported method Stack.EtcdSnapshotsS3PrefixRef should have comment or be unexported (golint)
    • Line 232: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 241: warning: exported method Stack.RenderStackTemplateAsBytes should have comment or be unexported (golint)
    • Line 241: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 246: warning: exported method Stack.RenderStackTemplateAsString should have comment or be unexported (golint)
    • Line 246: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • Line 252: warning: exported method Stack.GetUserData should have comment or be unexported (golint)
    • Line 252: warning: receiver name c should be consistent with previous receiver name s for Stack (golint)
    • kube-aws/logger/logger.go
    • Line 13: warning: exported var Silent should have comment or be unexported (golint)
    • Line 21: warning: exported function StdErrOutput should have comment or be unexported (golint)
    • Line 29: warning: comment on exported type Writer should be of the form "Writer ..." (with optional leading article) (golint)
    • Line 37: warning: exported function Error should have comment or be unexported (golint)
    • Line 41: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 45: warning: exported function Warn should have comment or be unexported (golint)
    • Line 49: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 53: warning: exported function Heading should have comment or be unexported (golint)
    • Line 59: warning: exported function Headingf should have comment or be unexported (golint)
    • Line 65: warning: exported function Info should have comment or be unexported (golint)
    • Line 71: warning: exported function Infof should have comment or be unexported (golint)
    • Line 77: warning: exported function Debug should have comment or be unexported (golint)
    • Line 83: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 89: warning: exported function Log should have comment or be unexported (golint)
    • Line 97: warning: exported function Logf should have comment or be unexported (golint)
    • kube-aws/provisioner/remote_file_spec.go
    • Line 8: warning: exported method RemoteFileSpec.Load should have comment or be unexported (golint)
    • Line 12: warning: exported method RemoteFileSpec.BaseName should have comment or be unexported (golint)
    • Line 16: warning: exported method RemoteFileSpec.FileMode should have comment or be unexported (golint)
    • Line 24: warning: exported method RemoteFileSpec.IsBinary should have comment or be unexported (golint)
    • kube-aws/pkg/api/types.go
    • Line 3: warning: exported type Worker should have comment or be unexported (golint)
    • Line 19: warning: exported type Experimental should have comment or be unexported (golint)
    • Line 40: warning: exported type CloudControllerManager should have comment or be unexported (golint)
    • Line 44: warning: exported type ContainerStorageInterface should have comment or be unexported (golint)
    • Line 54: warning: exported method Experimental.Validate should have comment or be unexported (golint)
    • Line 62: warning: exported type Admission should have comment or be unexported (golint)
    • Line 68: warning: exported type AlwaysPullImages should have comment or be unexported (golint)
    • Line 72: warning: exported type OwnerReferencesPermissionEnforcement should have comment or be unexported (golint)
    • Line 76: warning: exported type PersistentVolumeClaimResize should have comment or be unexported (golint)
    • Line 80: warning: exported type EventRateLimit should have comment or be unexported (golint)
    • Line 85: warning: exported type AuditLog should have comment or be unexported (golint)
    • Line 93: warning: exported type Authentication should have comment or be unexported (golint)
    • Line 97: warning: exported type Webhook should have comment or be unexported (golint)
    • Line 103: warning: exported type AwsEnvironment should have comment or be unexported (golint)
    • Line 108: warning: exported type AwsNodeLabels should have comment or be unexported (golint)
    • Line 112: warning: exported type EncryptionAtRest should have comment or be unexported (golint)
    • Line 116: warning: exported type PodAutoscalerUseRestClient should have comment or be unexported (golint)
    • Line 120: warning: exported type EphemeralImageStorage should have comment or be unexported (golint)
    • Line 126: warning: exported type GpuSupport should have comment or be unexported (golint)
    • Line 132: warning: exported type KubeResourcesAutosave should have comment or be unexported (golint)
    • Line 137: warning: exported type AmazonSsmAgent should have comment or be unexported (golint)
    • Line 143: warning: exported type CloudWatchLogging should have comment or be unexported (golint)
    • Line 149: warning: exported type LocalStreaming should have comment or be unexported (golint)
    • Line 155: warning: exported type HostOS should have comment or be unexported (golint)
    • Line 160: warning: exported method LocalStreaming.IntervalSec should have comment or be unexported (golint)
    • Line 165: warning: exported method CloudWatchLogging.MergeIfEmpty should have comment or be unexported (golint)
    • Line 172: warning: exported type LoadBalancer should have comment or be unexported (golint)
    • Line 178: warning: exported type TargetGroup should have comment or be unexported (golint)
    • Line 184: warning: exported type KubeProxy should have comment or be unexported (golint)
    • Line 190: warning: exported type IPVSMode should have comment or be unexported (golint)
    • Line 197: warning: exported type CoreDNSLocal should have comment or be unexported (golint)
    • Line 202: warning: exported type DNSMasq should have comment or be unexported (golint)
    • Line 209: warning: exported type KubeDnsAutoscaler should have comment or be unexported (golint)
    • Line 215: warning: exported type KubeDns should have comment or be unexported (golint)
    • Line 229: warning: exported method KubeDns.MergeIfEmpty should have comment or be unexported (golint)
    • kube-aws/pkg/model/node_pool_deployment_settings.go
    • Line 8: warning: exported type NodePoolDeploymentSettings should have comment or be unexported (golint)
    • Line 14: warning: exported method NodePoolDeploymentSettings.WorkerSecurityGroupRefs should have comment or be unexported (golint)
    • Line 36: warning: exported method NodePoolDeploymentSettings.StackTags should have comment or be unexported (golint)
    • Line 46: warning: exported method NodePoolDeploymentSettings.Validate should have comment or be unexported (golint)
    • kube-aws/gzipcompressor/gzipcompressor.go
    • Line 11: warning: exported function BytesToGzippedBytes should have comment or be unexported (golint)
    • Line 23: warning: exported function BytesToGzippedBase64String should have comment or be unexported (golint)
    • Line 31: warning: exported function StringToGzippedBase64String should have comment or be unexported (golint)
    • Line 36: warning: exported function GzippedBase64StringToString should have comment or be unexported (golint)
    • kube-aws/pkg/api/ec2_instance.go
    • Line 5: warning: exported type EC2Instance should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method EC2Instance.HasNvmeDevices should be of the form "HasNvmeDevices ..." (golint)
    • kube-aws/pkg/api/raid0_mount.go
    • Line 9: warning: exported type Raid0Mount should have comment or be unexported (golint)
    • Line 18: warning: exported method Raid0Mount.SystemdMountName should have comment or be unexported (golint)
    • Line 22: warning: exported method Raid0Mount.DeviceList should have comment or be unexported (golint)
    • Line 26: warning: exported method Raid0Mount.NumDevices should have comment or be unexported (golint)
    • Line 30: warning: exported method Raid0Mount.Validate should have comment or be unexported (golint)
    • Line 64: warning: exported function ValidateRaid0Mounts should have comment or be unexported (golint)
    • kube-aws/pkg/api/taint.go
    • Line 32: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • kube-aws/pkg/api/worker_node_pool.go
    • Line 10: warning: exported type WorkerNodePool should have comment or be unexported (golint)
    • Line 39: warning: exported method WorkerNodePool.UnmarshalYAML should have comment or be unexported (golint)
    • Line 50: warning: exported function NewDefaultNodePoolConfig should have comment or be unexported (golint)
    • Line 82: warning: exported method WorkerNodePool.LogicalName should have comment or be unexported (golint)
    • Line 86: warning: exported method WorkerNodePool.LaunchConfigurationLogicalName should have comment or be unexported (golint)
    • Line 90: warning: exported method WorkerNodePool.LaunchTemplateLogicalName should have comment or be unexported (golint)
    • Line 191: warning: exported method WorkerNodePool.MinCount should have comment or be unexported (golint)
    • Line 198: warning: exported method WorkerNodePool.MaxCount should have comment or be unexported (golint)
    • Line 205: warning: exported method WorkerNodePool.RollingUpdateMinInstancesInService should have comment or be unexported (golint)
    • Line 218: warning: exported method WorkerNodePool.Validate should have comment or be unexported (golint)
    • Line 222: warning: exported method WorkerNodePool.WithDefaultsFrom should have comment or be unexported (golint)
    • kube-aws/pkg/model/etcd_cluster.go
    • Line 10: warning: exported type EtcdCluster should have comment or be unexported (golint)
    • Line 17: warning: exported function NewEtcdCluster should have comment or be unexported (golint)
    • Line 26: warning: exported method EtcdCluster.Region should have comment or be unexported (golint)
    • Line 30: warning: exported method EtcdCluster.NodeCount should have comment or be unexported (golint)
    • Line 34: warning: exported method EtcdCluster.DNSNames should have comment or be unexported (golint)
    • Line 51: warning: exported method EtcdCluster.LogicalName should have comment or be unexported (golint)
    • kube-aws/filereader/texttemplate/texttemplate.go
    • Line 19: warning: exported function ParseFile should have comment or be unexported (golint)
    • Line 84: warning: exported function Parse should have comment or be unexported (golint)
    • Line 101: warning: exported function GetBytesBuffer should have comment or be unexported (golint)
    • Line 115: warning: exported function GetString should have comment or be unexported (golint)
    • kube-aws/tmpl/tmpl.go
    • Line 12: warning: exported type Context should have comment or be unexported (golint)
    • Line 17: warning: exported function New should have comment or be unexported (golint)
    • Line 28: warning: exported method Context.CreateFuncMap should have comment or be unexported (golint)
    • Line 36: warning: exported method Context.ReadFile should have comment or be unexported (golint)
    • kube-aws/pkg/api/amazon_vpc.go
    • Line 9: warning: exported type AmazonVPC should have comment or be unexported (golint)
    • Line 13: warning: exported method AmazonVPC.MaxPodsScript should have comment or be unexported (golint)
    • kube-aws/provisioner/transfer.go
    • Line 11: warning: exported type S3ObjectPutter should have comment or be unexported (golint)
    • Line 15: warning: exported method TransferredFile.S3URI should have comment or be unexported (golint)
    • Line 19: warning: exported method TransferredFile.ReceiveCommand should have comment or be unexported (golint)
    • Line 23: warning: exported method TransferredFile.Send should have comment or be unexported (golint)
    • kube-aws/pkg/api/asg.go
    • Line 7: warning: comment on exported type AutoScalingGroup should be of the form "AutoScalingGroup ..." (with optional leading article) (golint)
    • Line 16: warning: exported method AutoScalingGroup.Validate should have comment or be unexported (golint)
    • kube-aws/pkg/api/cidr_range.go
    • Line 17: warning: exported function DefaultCIDRRanges should have comment or be unexported (golint)
    • Line 23: warning: exported method CIDRRange.UnmarshalYAML should have comment or be unexported (golint)
    • kube-aws/pkg/api/internet_gateway.go
    • Line 3: warning: exported type InternetGateway should have comment or be unexported (golint)
    • Line 7: warning: exported method InternetGateway.ManageInternetGateway should have comment or be unexported (golint)
    • kube-aws/pkg/api/motd_banner.go
    • Line 3: warning: exported type MOTDBanner should have comment or be unexported (golint)
    • Line 10: warning: exported function NewDefaultMOTDBanner should have comment or be unexported (golint)
    • kube-aws/pkg/api/feature_gates.go
    • Line 12: warning: exported type FeatureGates should have comment or be unexported (golint)
    • Line 14: warning: exported method FeatureGates.Enabled should have comment or be unexported (golint)
    • Line 22: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • Line 37: warning: comment on exported method FeatureGates.Yaml should be of the form "Yaml ..." (golint)
    • kube-aws/pki/pem.go
    • Line 16: warning: exported function EncodePrivateKeyPEM should have comment or be unexported (golint)
    • Line 31: warning: exported function DecodePrivateKeyPEM should have comment or be unexported (golint)
    • Line 37: warning: don't use underscores in Go names; var passphrase_env should be passphraseEnv (golint)
    • Line 56: warning: exported function EncodeCertificatePEM should have comment or be unexported (golint)
    • Line 64: warning: exported function DecodeCertificatePEM should have comment or be unexported (golint)
    • Line 69: warning: exported function DecodeCertificatesPEM should have comment or be unexported (golint)
    • Line 88: warning: exported function IsCertificatePEM should have comment or be unexported (golint)
    • kube-aws/pkg/api/identifier.go
    • Line 8: warning: exported type Identifier should have comment or be unexported (golint)
    • Line 19: warning: exported method Identifier.Validate should have comment or be unexported (golint)
    • Line 29: warning: exported method Identifier.Ref should have comment or be unexported (golint)
    • kube-aws/pkg/api/keypair_spec.go
    • Line 9: warning: exported type KeyPairSpec should have comment or be unexported (golint)
    • Line 21: warning: exported method KeyPairSpec.EncryptedKeyPath should have comment or be unexported (golint)
    • Line 25: warning: exported method KeyPairSpec.KeyPath should have comment or be unexported (golint)
    • Line 29: warning: exported method KeyPairSpec.CertPath should have comment or be unexported (golint)
    • Line 33: warning: exported method KeyPairSpec.SignerCertPath should have comment or be unexported (golint)
    • Line 37: warning: exported method KeyPairSpec.SignerKeyPath should have comment or be unexported (golint)
    • kube-aws/pkg/api/root_volume.go
    • Line 8: warning: exported type RootVolume should have comment or be unexported (golint)
    • Line 15: warning: exported function NewGp2RootVolume should have comment or be unexported (golint)
    • Line 23: warning: exported function NewIo1RootVolume should have comment or be unexported (golint)
    • Line 31: warning: exported method RootVolume.Validate should have comment or be unexported (golint)
    • Line 48: warning: exported method RootVolume.RootVolumeIOPS should have comment or be unexported (golint)
    • Line 53: warning: exported method RootVolume.RootVolumeType should have comment or be unexported (golint)
    • Line 58: warning: exported method RootVolume.RootVolumeSize should have comment or be unexported (golint)
    • kube-aws/builtin/packrbox.go
    • Line 8: warning: exported const AssetsDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported function Box should have comment or be unexported (golint)
    • Line 27: warning: exported function Bytes should have comment or be unexported (golint)
    • Line 35: warning: exported function MustBytes should have comment or be unexported (golint)
    • Line 39: warning: exported function String should have comment or be unexported (golint)
    • kube-aws/pkg/api/shell_colour.go
    • Line 5: warning: exported type ShellColour should have comment or be unexported (golint)
    • Line 8: warning: exported const DefaultColour should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported var ShellColourCodeMap should have comment or be unexported (golint)
    • Line 47: warning: exported method ShellColour.PCOn should have comment or be unexported (golint)
    • Line 51: warning: exported method ShellColour.PCOff should have comment or be unexported (golint)
    • Line 55: warning: exported method ShellColour.On should have comment or be unexported (golint)
    • Line 58: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 63: warning: exported method ShellColour.Off should have comment or be unexported (golint)
    • kube-aws/pkg/api/userdata.go
    • Line 22: warning: exported const USERDATA_S3 should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type UserDataPart should have comment or be unexported (golint)
    • Line 41: warning: exported type PartDesc should have comment or be unexported (golint)
    • Line 57: warning: exported type UserDataOption should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function UserDataPartsOpt should be of the form "UserDataPartsOpt ..." (golint)
    • Line 110: warning: exported method UserDataPart.Base64 should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 122: warning: exported method UserDataPart.Template should have comment or be unexported (golint)
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kube-aws/core/root/config/config.go
    • Line 15: warning: exported type InitialConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type UnmarshalledConfig should have comment or be unexported (golint)
    • Line 33: warning: exported type Config should have comment or be unexported (golint)
    • Line 67: warning: exported function ConfigFromBytes should have comment or be unexported (golint)
    • Line 157: warning: exported function ConfigFromFile should have comment or be unexported (golint)
    • Line 176: warning: exported method Config.RootStackName should have comment or be unexported (golint)
    • kube-aws/cfnstack/cfnstack.go
    • Line 13: warning: exported var CFN_TEMPLATE_SIZE_LIMIT should have comment or be unexported (golint)
    • Line 15: warning: exported type CreationService should have comment or be unexported (golint)
    • Line 19: warning: exported type UpdateService should have comment or be unexported (golint)
    • Line 23: warning: exported type CRUDService should have comment or be unexported (golint)
    • Line 31: warning: exported type S3ObjectPutterService should have comment or be unexported (golint)
    • Line 35: warning: comment on exported type CFInterrogator should be of the form "CFInterrogator ..." (with optional leading article) (golint)
    • Line 41: warning: exported function StackEventErrMsgs should have comment or be unexported (golint)
    • Line 63: warning: exported function NestedStackExists should have comment or be unexported (golint)
    • Line 94: warning: exported function StackExists should have comment or be unexported (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • kube-aws/test/helper/helper.go
    • Line 28: warning: exported function WithTempDir should have comment or be unexported (golint)
    • Line 40: warning: exported function WithDummyCredentials should have comment or be unexported (golint)
    • Line 44: warning: exported function WithDummyCredentialsButCAKey should have comment or be unexported (golint)
    • kube-aws/pkg/api/etcd.go
    • Line 11: warning: exported const MaxQuotaBackendBytes should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type Etcd should have comment or be unexported (golint)
    • Line 33: warning: exported var ETCD_VERSION should have comment or be unexported (golint)
    • Line 35: warning: exported type EtcdDisasterRecovery should have comment or be unexported (golint)
    • Line 39: warning: exported type UserSuppliedArgs should have comment or be unexported (golint)
    • Line 44: warning: exported type EtcdSnapshot should have comment or be unexported (golint)
    • Line 48: warning: exported function NewDefaultEtcd should have comment or be unexported (golint)
    • Line 75: warning: exported method Etcd.LogicalName should have comment or be unexported (golint)
    • Line 105: warning: exported method Etcd.NodeShouldHaveEIP should have comment or be unexported (golint)
    • Line 109: warning: exported method Etcd.NodeShouldHaveSecondaryENI should have comment or be unexported (golint)
    • Line 113: warning: exported method Etcd.HostedZoneManaged should have comment or be unexported (golint)
    • Line 117: warning: exported method Etcd.HostedZoneRef should have comment or be unexported (golint)
    • Line 123: warning: exported method Etcd.InternalDomainName should have comment or be unexported (golint)
    • Line 127: warning: exported method Etcd.HostedZoneLogicalName should have comment or be unexported (golint)
    • Line 134: warning: exported method Etcd.KMSKeyARN should have comment or be unexported (golint)
    • Line 138: warning: exported method Etcd.SecurityGroupRefs should have comment or be unexported (golint)
    • Line 153: warning: exported function ValidateQuotaBackendBytes should have comment or be unexported (golint)
    • Line 160: warning: exported method Etcd.Validate should have comment or be unexported (golint)
    • Line 172: warning: exported method Etcd.FormatOpts should have comment or be unexported (golint)
    • kube-aws/pkg/api/plugin_config.go
    • Line 8: warning: exported type PluginConfigs should have comment or be unexported (golint)
    • Line 10: warning: exported method PluginConfigs.Merge should have comment or be unexported (golint)
    • Line 26: warning: exported method PluginConfigs.PluginIsEnabled should have comment or be unexported (golint)
    • Line 35: warning: exported method PluginConfigs.PluginExists should have comment or be unexported (golint)
    • Line 40: warning: exported type PluginConfig should have comment or be unexported (golint)
    • Line 45: warning: exported method PluginConfig.Merge should have comment or be unexported (golint)
    • kube-aws/pkg/api/vpc.go
    • Line 3: warning: comment on exported type VPC should be of the form "VPC ..." (with optional leading article) (golint)
    • Line 14: warning: exported method VPC.ImportFromNetworkStack should have comment or be unexported (golint)
    • kube-aws/plugin/clusterextension/extras.go
    • Line 20: warning: exported type ClusterExtension should have comment or be unexported (golint)
    • Line 25: warning: exported function NewExtrasFromPlugins should have comment or be unexported (golint)
    • Line 32: warning: exported function NewExtras should have comment or be unexported (golint)
    • Line 108: warning: exported method ClusterExtension.RootStack should have comment or be unexported (golint)
    • Line 114: warning: exported method ClusterExtension.NetworkStack should have comment or be unexported (golint)
    • Line 240: warning: exported method ClusterExtension.NodePoolStack should have comment or be unexported (golint)
    • Line 361: warning: exported method ClusterExtension.Worker should have comment or be unexported (golint)
    • Line 469: warning: exported method ClusterExtension.ControlPlaneStack should have comment or be unexported (golint)
    • Line 475: warning: exported method ClusterExtension.EtcdStack should have comment or be unexported (golint)
    • Line 579: warning: exported method ClusterExtension.Controller should have comment or be unexported (golint)
    • Line 751: warning: exported method ClusterExtension.Etcd should have comment or be unexported (golint)
    • kube-aws/provisioner/content.go
    • Line 16: warning: exported method Content.UnmarshalYAML should have comment or be unexported (golint)
    • Line 25: warning: exported method Content.MarshalYAML should have comment or be unexported (golint)
    • Line 29: warning: exported function NewStringContent should have comment or be unexported (golint)
    • Line 36: warning: exported function NewBinaryContent should have comment or be unexported (golint)
    • Line 42: warning: exported method Content.ToBase64 should have comment or be unexported (golint)
    • Line 49: warning: exported method Content.ToGzip should have comment or be unexported (golint)
    • Line 59: warning: exported method Content.GzippedBase64Content should have comment or be unexported (golint)
    • kube-aws/pki/x509.go
    • Line 16: warning: exported var Duration365d should have comment or be unexported (golint)
    • Line 19: warning: exported type CACertConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type ServerCertConfig should have comment or be unexported (golint)
    • Line 32: warning: exported type ClientCertConfig should have comment or be unexported (golint)
    • Line 40: warning: exported function NewSelfSignedCACertificate should have comment or be unexported (golint)
    • Line 65: warning: exported function NewSignedServerCertificate should have comment or be unexported (golint)
    • Line 100: warning: exported function NewSignedClientCertificate should have comment or be unexported (golint)
    • kube-aws/credential/generator.go
    • Line 16: warning: exported type Generator should have comment or be unexported (golint)
    • Line 29: warning: exported type GeneratorOptions should have comment or be unexported (golint)
    • Line 47: warning: exported method Generator.GenerateAssetsOnDisk should have comment or be unexported (golint)
    • Line 62: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 69: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 118: warning: exported method Generator.GenerateAssetsOnMemory should have comment or be unexported (golint)
    • kube-aws/pkg/api/controller.go
    • Line 8: warning: comment on exported type Controller should be of the form "Controller ..." (with optional leading article) (golint)
    • Line 23: warning: exported const DefaultControllerCount should have comment or be unexported (golint)
    • Line 25: warning: exported function NewDefaultController should have comment or be unexported (golint)
    • Line 42: warning: exported method Controller.LogicalName should have comment or be unexported (golint)
    • Line 46: warning: exported method Controller.LaunchConfigurationLogicalName should have comment or be unexported (golint)
    • Line 50: warning: exported method Controller.SecurityGroupRefs should have comment or be unexported (golint)
    • Line 65: warning: exported method Controller.Validate should have comment or be unexported (golint)
    • Line 107: warning: exported method Controller.InstanceProfileRoles should have comment or be unexported (golint)
    • Line 111: warning: exported method Controller.InstanceProfileRole should have comment or be unexported (golint)
    • Line 114: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 119: warning: exported method Controller.MinControllerCount should have comment or be unexported (golint)
    • Line 126: warning: exported method Controller.MaxControllerCount should have comment or be unexported (golint)
    • Line 133: warning: exported method Controller.ControllerRollingUpdateMinInstancesInService should have comment or be unexported (golint)
    • Line 140: warning: exported type ControllerElb should have comment or be unexported (golint)
    • kube-aws/pkg/api/deployment.go
    • Line 13: warning: exported method DeploymentSettings.ValidateNodePool should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method DeploymentSettings.WithDefaultsFrom should be of the form "WithDefaultsFrom ..." (golint)
    • Line 21: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 89: warning: exported type DeploymentValidationResult should have comment or be unexported (golint)
    • Line 93: warning: exported method DeploymentSettings.Validate should have comment or be unexported (golint)
    • Line 93: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 230: warning: exported method DeploymentSettings.AssetsEncryptionEnabled should have comment or be unexported (golint)
    • Line 230: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 234: warning: exported method DeploymentSettings.AllSubnets should have comment or be unexported (golint)
    • Line 239: warning: exported method DeploymentSettings.FindSubnetMatching should have comment or be unexported (golint)
    • Line 239: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 252: warning: exported method DeploymentSettings.PrivateSubnets should have comment or be unexported (golint)
    • Line 252: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 262: warning: exported method DeploymentSettings.PublicSubnets should have comment or be unexported (golint)
    • Line 262: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 272: warning: exported method DeploymentSettings.FindNATGatewayForPrivateSubnet should have comment or be unexported (golint)
    • Line 272: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • Line 281: warning: exported method DeploymentSettings.NATGateways should have comment or be unexported (golint)
    • Line 281: warning: receiver name c should be consistent with previous receiver name s for DeploymentSettings (golint)
    • kube-aws/pki/cert.go
    • Line 11: warning: comment on exported var ValidityFormat should be of the form "ValidityFormat ..." (golint)
    • Line 14: warning: exported type Certificates should have comment or be unexported (golint)
    • Line 16: warning: comment on exported method Certificates.GetBySubjectCommonNamePattern should be of the form "GetBySubjectCommonNamePattern ..." (golint)
    • Line 28: warning: exported type Certificate should have comment or be unexported (golint)
    • Line 37: warning: exported method Certificate.IsExpired should have comment or be unexported (golint)
    • Line 41: warning: exported method Certificate.ContainsDNSName should have comment or be unexported (golint)
    • Line 51: warning: exported method Certificate.ContainsIPAddress should have comment or be unexported (golint)
    • Line 78: warning: exported type DN should have comment or be unexported (golint)
    • Line 95: warning: comment on exported function CertificatesFromBytes should be of the form "CertificatesFromBytes ..." (golint)
    • kube-aws/pkg/api/etcd_cluster.go
    • Line 8: warning: exported type EtcdCluster should have comment or be unexported (golint)
    • Line 18: warning: exported const MemberIdentityProviderEIP should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported method EtcdCluster.EC2InternalDomainUsed should have comment or be unexported (golint)
    • Line 26: warning: exported method EtcdCluster.GetMemberIdentityProvider should have comment or be unexported (golint)
    • Line 38: warning: receiver name e should be consistent with previous receiver name c for EtcdCluster (golint)
    • Line 43: warning: comment on exported method EtcdCluster.RecordSetsManaged should be of the form "RecordSetsManaged ..." (golint)
    • Line 46: warning: receiver name e should be consistent with previous receiver name c for EtcdCluster (golint)
    • Line 61: warning: exported method EtcdCluster.MajorMinorVersion should have comment or be unexported (golint)
    • Line 69: warning: exported method EtcdCluster.LogicalName should have comment or be unexported (golint)
    • kube-aws/pkg/api/gpu.go
    • Line 10: warning: exported var GPUEnabledInstanceFamily should have comment or be unexported (golint)
    • Line 12: warning: exported type Gpu should have comment or be unexported (golint)
    • Line 16: warning: exported type NvidiaSetting should have comment or be unexported (golint)
    • Line 39: warning: comment on exported method NvidiaSetting.IsEnabledOn should be of the form "IsEnabledOn ..." (golint)
    • Line 44: warning: exported method Gpu.Validate should have comment or be unexported (golint)
    • Line 46: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • kube-aws/pkg/api/subnets.go
    • Line 9: warning: exported type Subnets should have comment or be unexported (golint)
    • Line 11: warning: exported method Subnets.ContainsBothPrivateAndPublic should have comment or be unexported (golint)
    • Line 21: warning: exported method Subnets.ImportFromNetworkStack should have comment or be unexported (golint)
    • Line 21: warning: receiver name ss should be consistent with previous receiver name s for Subnets (golint)
    • Line 46: warning: exported method Subnets.ImportFromNetworkStackRetainingNames should have comment or be unexported (golint)
    • Line 46: warning: receiver name ss should be consistent with previous receiver name s for Subnets (golint)
    • Line 58: warning: exported method Subnets.RefByName should have comment or be unexported (golint)
    • Line 58: warning: receiver name ss should be consistent with previous receiver name s for Subnets (golint)
    • kube-aws/pkg/model/node_pool_config.go
    • Line 13: warning: exported type Ref should have comment or be unexported (golint)
    • Line 17: warning: exported type NodePoolConfig should have comment or be unexported (golint)
    • Line 27: warning: exported type MainClusterSettings should have comment or be unexported (golint)
    • Line 39: warning: exported method NodePoolConfig.ExternalDNSName should have comment or be unexported (golint)
    • Line 50: warning: exported method NodePoolConfig.APIEndpointURLPort should have comment or be unexported (golint)
    • Line 54: warning: exported method NodePoolConfig.AWSIAMAuthenticatorClusterIDRef should have comment or be unexported (golint)
    • Line 64: warning: exported method NodePoolConfig.NodeLabels should have comment or be unexported (golint)
    • Line 68: warning: exported method NodePoolConfig.FeatureGates should have comment or be unexported (golint)
    • Line 89: warning: exported method NodePoolConfig.WorkerDeploymentSettings should have comment or be unexported (golint)
    • Line 97: warning: exported method NodePoolConfig.Validate should have comment or be unexported (golint)
    • Line 148: warning: exported method NodePoolConfig.StackNameEnvFileName should have comment or be unexported (golint)
    • Line 152: warning: exported method NodePoolConfig.StackNameEnvVarName should have comment or be unexported (golint)
    • Line 156: warning: exported method NodePoolConfig.VPCRef should have comment or be unexported (golint)
    • Line 168: warning: exported method NodePoolConfig.SecurityGroupRefs should have comment or be unexported (golint)
    • kube-aws/cfnstack/provisioner.go
    • Line 17: warning: exported type Provisioner should have comment or be unexported (golint)
    • Line 27: warning: exported function NewProvisioner should have comment or be unexported (golint)
    • Line 63: warning: exported method Provisioner.UploadAssets should have comment or be unexported (golint)
    • Line 73: warning: exported method Provisioner.EstimateTemplateCost should have comment or be unexported (golint)
    • Line 83: warning: exported method Provisioner.CreateStackAtURLAndWait should have comment or be unexported (golint)
    • Line 188: warning: exported method Provisioner.UpdateStackAtURLAndWait should have comment or be unexported (golint)
    • Line 224: warning: exported method Provisioner.ValidateStackAtURL should have comment or be unexported (golint)
    • Line 242: warning: exported type Destroyer should have comment or be unexported (golint)
    • Line 248: warning: exported function NewDestroyer should have comment or be unexported (golint)
    • Line 256: warning: exported method Destroyer.Destroy should have comment or be unexported (golint)
    • Line 268: warning: exported method Provisioner.StreamEventsNested should have comment or be unexported (golint)
    • kube-aws/pkg/api/s3_folders.go
    • Line 8: warning: exported type S3Folders should have comment or be unexported (golint)
    • Line 13: warning: exported function NewS3Folders should have comment or be unexported (golint)
    • Line 24: warning: exported method S3Folders.Cluster should have comment or be unexported (golint)
    • Line 28: warning: exported method S3Folders.ClusterBackups should have comment or be unexported (golint)
    • Line 32: warning: exported method S3Folders.ClusterExportedStacks should have comment or be unexported (golint)
    • Line 36: warning: exported type S3Folder should have comment or be unexported (golint)
    • Line 46: warning: exported method S3Folder.Path should have comment or be unexported (golint)
    • Line 51: warning: exported method S3Folder.URI should have comment or be unexported (golint)
    • kube-aws/pkg/api/addons.go
    • Line 3: warning: exported type Addons should have comment or be unexported (golint)
    • Line 11: warning: exported type Rescheduler should have comment or be unexported (golint)
    • Line 16: warning: exported type MetricsServer should have comment or be unexported (golint)
    • Line 21: warning: exported type Prometheus should have comment or be unexported (golint)
    • Line 26: warning: exported type APIServerAggregator should have comment or be unexported (golint)
    • kube-aws/pkg/model/credentials.go
    • Line 9: warning: exported function LoadCredentials should have comment or be unexported (golint)
    • Line 14: warning: exported method Context.LoadCredentials should have comment or be unexported (golint)
    • Line 23: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 33: warning: exported function NewCredentialGenerator should have comment or be unexported (golint)
    • Line 49: warning: exported function GenerateAssetsOnDisk should have comment or be unexported (golint)
    • Line 54: warning: exported method Context.GenerateAssetsOnDisk should have comment or be unexported (golint)
    • kube-aws/credential/plaintext_file.go
    • Line 8: warning: exported method PlaintextFile.Fingerprint should have comment or be unexported (golint)
    • Line 12: warning: exported method PlaintextFile.Persist should have comment or be unexported (golint)
    • Line 26: warning: exported method PlaintextFile.Bytes should have comment or be unexported (golint)
    • kube-aws/test/helper/cfn.go
    • Line 10: warning: exported type DummyCloudformationService should have comment or be unexported (golint)
    • Line 22: warning: exported method DummyCFInterrogator.ListStackResources should have comment or be unexported (golint)
    • Line 26: warning: exported method DummyCFInterrogator.DescribeStacks should have comment or be unexported (golint)
    • Line 30: warning: exported type DummyEC2Interrogator should have comment or be unexported (golint)
    • Line 34: warning: exported method DummyEC2Interrogator.DescribeInstances should have comment or be unexported (golint)
    • Line 38: warning: exported method DummyCloudformationService.CreateStack should have comment or be unexported (golint)
    • Line 73: warning: exported type DummyStackTemplateGetter should have comment or be unexported (golint)
    • Line 77: warning: exported method DummyStackTemplateGetter.GetTemplate should have comment or be unexported (golint)
    • kube-aws/credential/encrypted_assets.go
    • Line 18: warning: exported type RawAssetsOnMemory should have comment or be unexported (golint)
    • Line 49: warning: exported type RawAssetsOnDisk should have comment or be unexported (golint)
    • Line 80: warning: exported type EncryptedAssetsOnDisk should have comment or be unexported (golint)
    • Line 111: warning: exported type CompactAssets should have comment or be unexported (golint)
    • Line 144: warning: exported function ReadRawAssets should have comment or be unexported (golint)
    • Line 228: warning: exported function ReadOrEncryptAssets should have comment or be unexported (golint)
    • Line 320: warning: exported method RawAssetsOnMemory.WriteToDir should have comment or be unexported (golint)
    • Line 439: warning: exported method EncryptedAssetsOnDisk.WriteToDir should have comment or be unexported (golint)
    • Line 482: warning: exported method RawAssetsOnDisk.Compact should have comment or be unexported (golint)
    • Line 533: warning: exported method EncryptedAssetsOnDisk.Compact should have comment or be unexported (golint)
    • Line 585: warning: exported type KMSConfig should have comment or be unexported (golint)
    • Line 590: warning: exported method KMSConfig.Encryptor should have comment or be unexported (golint)
    • Line 597: warning: exported method KMSConfig.Store should have comment or be unexported (golint)
    • Line 603: warning: exported function NewKMSConfig should have comment or be unexported (golint)
    • Line 616: warning: exported function ReadOrCreateEncryptedAssets should have comment or be unexported (golint)
    • Line 622: warning: exported function ReadOrCreateCompactAssets should have comment or be unexported (golint)
    • Line 636: warning: exported function ReadOrCreateUnencryptedCompactAssets should have comment or be unexported (golint)
    • Line 650: warning: exported function RandomTokenString should have comment or be unexported (golint)
    • Line 659: warning: exported function EncryptionConfig should have comment or be unexported (golint)
    • Line 680: warning: exported method CompactAssets.HasAuthTokens should have comment or be unexported (golint)
    • Line 684: warning: exported method CompactAssets.HasTLSBootstrapToken should have comment or be unexported (golint)
    • kube-aws/pkg/api/node_drainer.go
    • Line 8: warning: exported type NodeDrainer should have comment or be unexported (golint)
    • Line 14: warning: exported method NodeDrainer.DrainTimeoutInSeconds should have comment or be unexported (golint)
    • Line 18: warning: exported method NodeDrainer.Validate should have comment or be unexported (golint)
    • kube-aws/hack/relnote.go
    • Line 18: warning: exported type Item should have comment or be unexported (golint)
    • Line 32: warning: exported function Info should have comment or be unexported (golint)
    • Line 36: warning: exported function Title should have comment or be unexported (golint)
    • Line 40: warning: exported function Header should have comment or be unexported (golint)
    • Line 44: warning: exported function PanicIfError should have comment or be unexported (golint)
    • Line 132: warning: exported type Labels should have comment or be unexported (golint)
    • Line 134: warning: exported method Labels.Contains should have comment or be unexported (golint)
    • Line 168: warning: exported type Config should have comment or be unexported (golint)
    • kube-aws/pkg/api/subnet.go
    • Line 10: warning: exported type Subnet should have comment or be unexported (golint)
    • Line 21: warning: exported function NewPublicSubnet should have comment or be unexported (golint)
    • Line 29: warning: exported function NewPrivateSubnet should have comment or be unexported (golint)
    • Line 37: warning: exported function NewExistingPrivateSubnet should have comment or be unexported (golint)
    • Line 47: warning: exported function NewPublicSubnetWithPreconfiguredRouteTable should have comment or be unexported (golint)
    • Line 61: warning: exported function NewPrivateSubnetWithPreconfiguredRouteTable should have comment or be unexported (golint)
    • Line 75: warning: exported function NewPrivateSubnetWithPreconfiguredNATGateway should have comment or be unexported (golint)
    • Line 89: warning: exported function NewPrivateSubnetWithPreconfiguredNATGatewayEIP should have comment or be unexported (golint)
    • Line 101: warning: exported function NewImportedPrivateSubnet should have comment or be unexported (golint)
    • Line 111: warning: exported function NewExistingPublicSubnet should have comment or be unexported (golint)
    • Line 121: warning: exported function NewImportedPublicSubnet should have comment or be unexported (golint)
    • Line 131: warning: exported function NewPublicSubnetFromFn should have comment or be unexported (golint)
    • Line 141: warning: exported function NewPrivateSubnetFromFn should have comment or be unexported (golint)
    • Line 151: warning: exported method Subnet.Public should have comment or be unexported (golint)
    • Line 155: warning: exported method Subnet.Validate should have comment or be unexported (golint)
    • Line 168: warning: exported method Subnet.MapPublicIPs should have comment or be unexported (golint)
    • Line 172: warning: exported method Subnet.LogicalName should have comment or be unexported (golint)
    • Line 182: warning: exported method Subnet.LogicalNameOrErr should have comment or be unexported (golint)
    • Line 189: warning: exported method Subnet.RouteTableID should have comment or be unexported (golint)
    • Line 257: warning: exported method Subnet.InternetGatewayRouteLogicalName should have comment or be unexported (golint)
    • Line 261: warning: exported method Subnet.NATGatewayRouteLogicalName should have comment or be unexported (golint)
    • Line 269: warning: exported method Subnet.RouteTableRef should have comment or be unexported (golint)
    • Line 273: warning: comment on exported type RouteTable should be of the form "RouteTable ..." (with optional leading article) (golint)
    • kube-aws/core/root/describer.go
    • Line 14: warning: exported type Info should have comment or be unexported (golint)
    • Line 22: warning: exported type ClusterDescriber should have comment or be unexported (golint)
    • Line 33: warning: exported function ClusterDescriberFromFile should have comment or be unexported (golint)
    • Line 47: warning: exported function NewClusterDescriber should have comment or be unexported (golint)
    • kube-aws/core/root/destroyer.go
    • Line 11: warning: exported type DestroyOptions should have comment or be unexported (golint)
    • Line 17: warning: exported type ClusterDestroyer should have comment or be unexported (golint)
    • Line 25: warning: exported function ClusterDestroyerFromFile should have comment or be unexported (golint)
    • kube-aws/pki/rsa.go
    • Line 9: warning: exported const RSAKeySize should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported function NewPrivateKey should have comment or be unexported (golint)
    • kube-aws/pkg/api/assets.go
    • Line 9: warning: exported type AssetID should have comment or be unexported (golint)
    • Line 14: warning: exported type Asset should have comment or be unexported (golint)
    • Line 19: warning: exported type AssetLocation should have comment or be unexported (golint)
    • Line 27: warning: exported function NewAssetID should have comment or be unexported (golint)
    • Line 34: warning: exported method AssetLocation.URL should have comment or be unexported (golint)
    • Line 41: warning: exported method AssetLocation.S3URL should have comment or be unexported (golint)
    • Line 48: warning: exported method Asset.S3Prefix should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!