Preparing report...

Report for github.com/kubicorn/kubicorn

A+    Excellent!    Found 96 issues across 161 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo91%

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.


golint44%

Golint is a linter for Go source code.

    • kubicorn/cloud/openstack/operator/generic/resources/router.go
    • Line 32: warning: exported type Router should have comment or be unexported (golint)
    • Line 36: warning: exported method Router.Actual should have comment or be unexported (golint)
    • Line 73: warning: exported method Router.Expected should have comment or be unexported (golint)
    • Line 85: warning: exported method Router.Apply should have comment or be unexported (golint)
    • Line 140: warning: exported method Router.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/kubeconfig/kubeconfig.go
    • Line 162: warning: exported function GetConfig should have comment or be unexported (golint)
    • Line 170: warning: exported function RetryGetConfig should have comment or be unexported (golint)
    • Line 227: warning: exported function GetKubeConfigPath should have comment or be unexported (golint)
    • kubicorn/cloud/azure/public/resources/virtualnetwork.go
    • Line 28: warning: exported type Vnet should have comment or be unexported (golint)
    • Line 32: warning: exported method Vnet.Actual should have comment or be unexported (golint)
    • Line 43: warning: exported method Vnet.Expected should have comment or be unexported (golint)
    • Line 52: warning: exported method Vnet.Apply should have comment or be unexported (golint)
    • Line 70: warning: exported method Vnet.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/task/task.go
    • Line 23: warning: exported type Task should have comment or be unexported (golint)
    • Line 26: warning: exported var DefaultTicker should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/awsSdkGo/sdk.go
    • Line 15: warning: don't use MixedCaps in package name; awsSdkGo should be awssdkgo (golint)
    • Line 27: warning: exported type Sdk should have comment or be unexported (golint)
    • Line 34: warning: exported function NewSdk should have comment or be unexported (golint)
    • kubicorn/apis/cluster/serverpool.go
    • Line 22: warning: exported const ServerPoolTypeMaster should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type ServerPool should have comment or be unexported (golint)
    • Line 45: warning: exported type AwsConfiguration should have comment or be unexported (golint)
    • kubicorn/cloud/openstack/operator/ovh/resources/instancegroup.go
    • Line 36: warning: exported const InstancePollingAttempts should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type InstanceGroup should have comment or be unexported (golint)
    • Line 52: warning: exported method InstanceGroup.Actual should have comment or be unexported (golint)
    • Line 86: warning: exported method InstanceGroup.Expected should have comment or be unexported (golint)
    • Line 102: warning: exported method InstanceGroup.Apply should have comment or be unexported (golint)
    • Line 224: warning: exported method InstanceGroup.Delete should have comment or be unexported (golint)
    • kubicorn/apis/cluster/network.go
    • Line 22: warning: exported const NetworkTypeLocal should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type Network should have comment or be unexported (golint)
    • kubicorn/cloud/atomic_reconciler.go
    • Line 32: warning: exported type AtomicReconciler should have comment or be unexported (golint)
    • Line 37: warning: exported function NewAtomicReconciler should have comment or be unexported (golint)
    • Line 44: warning: exported method AtomicReconciler.Actual should have comment or be unexported (golint)
    • Line 58: warning: exported method AtomicReconciler.Expected should have comment or be unexported (golint)
    • Line 95: warning: exported method AtomicReconciler.Reconcile should have comment or be unexported (golint)
    • Line 157: warning: exported method AtomicReconciler.Destroy should have comment or be unexported (golint)
    • kubicorn/cloud/openstack/operator/generic/resources/network.go
    • Line 30: warning: exported type Network should have comment or be unexported (golint)
    • Line 34: warning: exported method Network.Actual should have comment or be unexported (golint)
    • Line 69: warning: exported method Network.Expected should have comment or be unexported (golint)
    • Line 81: warning: exported method Network.Apply should have comment or be unexported (golint)
    • Line 112: warning: exported method Network.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/state/s3/impl.go
    • Line 30: warning: exported type JSONS3StoreOptions should have comment or be unexported (golint)
    • Line 37: warning: exported type S3BucketOptions should have comment or be unexported (golint)
    • Line 42: warning: comment on exported type JSONFS3Store should be of the form "JSONFS3Store ..." (with optional leading article) (golint)
    • Line 55: warning: exported function NewJSONFS3Store should have comment or be unexported (golint)
    • Line 66: warning: exported method JSONFS3Store.Exists should have comment or be unexported (golint)
    • Line 97: warning: exported method JSONFS3Store.ReadStore should have comment or be unexported (golint)
    • Line 101: warning: exported method JSONFS3Store.Commit should have comment or be unexported (golint)
    • Line 112: warning: exported method JSONFS3Store.Rename should have comment or be unexported (golint)
    • Line 132: warning: exported method JSONFS3Store.Destroy should have comment or be unexported (golint)
    • Line 154: warning: exported method JSONFS3Store.GetCluster should have comment or be unexported (golint)
    • Line 163: warning: exported method JSONFS3Store.BytesToCluster should have comment or be unexported (golint)
    • Line 172: warning: exported method JSONFS3Store.List should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/securitygroup.go
    • Line 31: warning: exported type Rule should have comment or be unexported (golint)
    • Line 37: warning: exported type SecurityGroup should have comment or be unexported (golint)
    • Line 45: warning: exported const KubicornAutoCreatedGroup should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported method SecurityGroup.Actual should have comment or be unexported (golint)
    • Line 71: warning: don't use underscores in Go names; var new_rule should be newRule (golint)
    • Line 121: warning: exported method SecurityGroup.Expected should have comment or be unexported (golint)
    • Line 168: warning: exported method SecurityGroup.Apply should have comment or be unexported (golint)
    • Line 241: warning: exported method SecurityGroup.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/digitalocean/droplet/resources/ssh.go
    • Line 31: warning: exported type SSH should have comment or be unexported (golint)
    • Line 39: warning: exported method SSH.Actual should have comment or be unexported (golint)
    • Line 93: warning: exported method SSH.Expected should have comment or be unexported (golint)
    • Line 109: warning: exported method SSH.Apply should have comment or be unexported (golint)
    • Line 152: warning: exported method SSH.Delete should have comment or be unexported (golint)
    • kubicorn/apis/cluster/instanceprofile.go
    • Line 21: warning: exported type IAMInstanceProfile should have comment or be unexported (golint)
    • Line 29: warning: exported type IAMRole should have comment or be unexported (golint)
    • Line 38: warning: exported type IAMPolicy should have comment or be unexported (golint)
    • kubicorn/pkg/kubeadm/token.go
    • Line 23: warning: exported function GetRandomToken should have comment or be unexported (golint)
    • Line 30: warning: exported function RandStringRunes should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/model.go
    • Line 23: warning: exported type Model should have comment or be unexported (golint)
    • Line 28: warning: exported function NewAmazonPublicModel should have comment or be unexported (golint)
    • Line 34: warning: exported method Model.Resources should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/instanceprofile.go
    • Line 30: warning: exported type InstanceProfile should have comment or be unexported (golint)
    • Line 36: warning: exported type IAMRole should have comment or be unexported (golint)
    • Line 42: warning: exported type IAMPolicy should have comment or be unexported (golint)
    • Line 47: warning: exported method InstanceProfile.Actual should have comment or be unexported (golint)
    • Line 137: warning: exported method InstanceProfile.Expected should have comment or be unexported (golint)
    • Line 180: warning: exported method InstanceProfile.Apply should have comment or be unexported (golint)
    • Line 206: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 327: warning: exported method InstanceProfile.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/version/version.go
    • Line 28: warning: comment on exported var GitSha should be of the form "GitSha ..." (golint)
    • Line 31: warning: comment on exported var KubicornVersion should be of the form "KubicornVersion ..." (golint)
    • kubicorn/cloud/openstack/operator/ecs/resources/instancegroup.go
    • Line 48: warning: exported type InstanceGroup should have comment or be unexported (golint)
    • Line 57: warning: exported method InstanceGroup.Actual should have comment or be unexported (golint)
    • Line 91: warning: exported method InstanceGroup.Expected should have comment or be unexported (golint)
    • Line 107: warning: exported method InstanceGroup.Apply should have comment or be unexported (golint)
    • Line 239: warning: exported method InstanceGroup.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/rand/cryptorand.go
    • Line 42: warning: comment on exported function GenerateRandomInt should be of the form "GenerateRandomInt ..." (golint)
    • Line 47: warning: comment on exported function GenerateRandomInt64 should be of the form "GenerateRandomInt64 ..." (golint)
    • kubicorn/cloud/azure/public/model.go
    • Line 23: warning: exported type Model should have comment or be unexported (golint)
    • Line 28: warning: exported function NewAzurePublicModel should have comment or be unexported (golint)
    • Line 34: warning: exported method Model.Resources should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/subnet.go
    • Line 30: warning: exported type Subnet should have comment or be unexported (golint)
    • Line 39: warning: exported method Subnet.Actual should have comment or be unexported (golint)
    • Line 83: warning: exported method Subnet.Expected should have comment or be unexported (golint)
    • Line 102: warning: exported method Subnet.Apply should have comment or be unexported (golint)
    • Line 140: warning: exported method Subnet.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/virtualprivatecloud.go
    • Line 29: warning: exported type Vpc should have comment or be unexported (golint)
    • Line 34: warning: exported method Vpc.Actual should have comment or be unexported (golint)
    • Line 72: warning: exported method Vpc.Expected should have comment or be unexported (golint)
    • Line 89: warning: exported method Vpc.Apply should have comment or be unexported (golint)
    • Line 152: warning: exported method Vpc.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/digitalocean/godoSdk/sdk.go
    • Line 15: warning: don't use MixedCaps in package name; godoSdk should be godosdk (golint)
    • Line 26: warning: exported type Sdk should have comment or be unexported (golint)
    • Line 30: warning: exported function NewSdk should have comment or be unexported (golint)
    • Line 45: warning: exported function GetToken should have comment or be unexported (golint)
    • Line 49: warning: exported type TokenSource should have comment or be unexported (golint)
    • Line 53: warning: exported method TokenSource.Token should have comment or be unexported (golint)
    • kubicorn/pkg/local/env.go
    • Line 26: warning: exported const TestHome should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported function Home should have comment or be unexported (golint)
    • Line 47: warning: exported function Expand should have comment or be unexported (golint)
    • kubicorn/pkg/state/jsonfs/impl.go
    • Line 32: warning: exported type JSONFileSystemStoreOptions should have comment or be unexported (golint)
    • Line 48: warning: exported function NewJSONFileSystemStore should have comment or be unexported (golint)
    • Line 57: warning: exported method JSONFileSystemStore.Exists should have comment or be unexported (golint)
    • Line 91: warning: exported method JSONFileSystemStore.ReadStore should have comment or be unexported (golint)
    • Line 95: warning: exported method JSONFileSystemStore.Commit should have comment or be unexported (golint)
    • Line 106: warning: exported method JSONFileSystemStore.Rename should have comment or be unexported (golint)
    • Line 110: warning: exported method JSONFileSystemStore.Destroy should have comment or be unexported (golint)
    • Line 115: warning: exported method JSONFileSystemStore.GetCluster should have comment or be unexported (golint)
    • Line 124: warning: exported method JSONFileSystemStore.BytesToCluster should have comment or be unexported (golint)
    • Line 133: warning: exported method JSONFileSystemStore.List should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/keypair.go
    • Line 31: warning: exported type KeyPair should have comment or be unexported (golint)
    • Line 39: warning: exported method KeyPair.Actual should have comment or be unexported (golint)
    • Line 76: warning: exported method KeyPair.Expected should have comment or be unexported (golint)
    • Line 96: warning: exported method KeyPair.Apply should have comment or be unexported (golint)
    • Line 133: warning: exported method KeyPair.Delete should have comment or be unexported (golint)
    • kubicorn/apis/cluster/cluster.go
    • Line 29: warning: exported const CloudAmazon should have comment (or a comment on this block) or be unexported (golint)
    • Line 116: warning: comment on exported method Cluster.SetMachineProviderConfigs should be of the form "SetMachineProviderConfigs ..." (golint)
    • Line 149: warning: exported method Cluster.ServerPools should have comment or be unexported (golint)
    • Line 158: warning: exported method Cluster.ControlPlaneMachineSet should have comment or be unexported (golint)
    • Line 171: warning: exported method Cluster.NewMachineSetsFromProviderConfigs should have comment or be unexported (golint)
    • Line 241: warning: comment on exported type MachineProviderConfig should be of the form "MachineProviderConfig ..." (with optional leading article) (golint)
    • kubicorn/cloud/packet/public/model.go
    • Line 26: warning: exported type Model should have comment or be unexported (golint)
    • Line 31: warning: exported function NewPacketPublicModel should have comment or be unexported (golint)
    • Line 37: warning: exported method Model.Resources should have comment or be unexported (golint)
    • kubicorn/pkg/state/git/impl.go
    • Line 35: warning: exported type JSONGitStoreOptions should have comment or be unexported (golint)
    • Line 41: warning: exported type JSONGitCommitConfig should have comment or be unexported (golint)
    • Line 55: warning: exported function NewJSONGitStore should have comment or be unexported (golint)
    • Line 64: warning: exported method JSONGitStore.Exists should have comment or be unexported (golint)
    • Line 117: warning: exported method JSONGitStore.ReadStore should have comment or be unexported (golint)
    • Line 121: warning: comment on exported method JSONGitStore.Commit should be of the form "Commit ..." (golint)
    • Line 152: warning: exported method JSONGitStore.Rename should have comment or be unexported (golint)
    • Line 156: warning: exported method JSONGitStore.Destroy should have comment or be unexported (golint)
    • Line 161: warning: exported method JSONGitStore.GetCluster should have comment or be unexported (golint)
    • Line 170: warning: exported method JSONGitStore.BytesToCluster should have comment or be unexported (golint)
    • Line 179: warning: exported method JSONGitStore.List should have comment or be unexported (golint)
    • kubicorn/pkg/hang/ratio.go
    • Line 19: warning: exported type Hanger should have comment or be unexported (golint)
    • Line 23: warning: exported method Hanger.Hang should have comment or be unexported (golint)
    • kubicorn/cloud/azure/azureSDK/sdk.go
    • Line 15: warning: don't use MixedCaps in package name; azureSDK should be azuresdk (golint)
    • Line 29: warning: exported type Sdk should have comment or be unexported (golint)
    • Line 36: warning: exported type ServicePrincipal should have comment or be unexported (golint)
    • Line 45: warning: exported function NewSdk should have comment or be unexported (golint)
    • kubicorn/pkg/cli/options.go
    • Line 31: warning: comment on exported type StateStoreOptions should be of the form "StateStoreOptions ..." (with optional leading article) (golint)
    • Line 37: warning: comment on exported type AwsOptions should be of the form "AwsOptions ..." (with optional leading article) (golint)
    • kubicorn/cloud/amazon/public/resources/autoscalegroup.go
    • Line 30: warning: exported type Asg should have comment or be unexported (golint)
    • Line 39: warning: exported method Asg.Actual should have comment or be unexported (golint)
    • Line 78: warning: exported method Asg.Expected should have comment or be unexported (golint)
    • Line 96: warning: exported method Asg.Apply should have comment or be unexported (golint)
    • Line 173: warning: exported method Asg.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/launchconfiguration.go
    • Line 37: warning: exported type Lc should have comment or be unexported (golint)
    • Line 49: warning: exported const MasterIPAttempts should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported method Lc.Actual should have comment or be unexported (golint)
    • Line 99: warning: exported method Lc.Expected should have comment or be unexported (golint)
    • Line 124: warning: exported method Lc.Apply should have comment or be unexported (golint)
    • Line 279: warning: exported method Lc.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/resource.go
    • Line 23: warning: exported type Shared should have comment or be unexported (golint)
    • Line 29: warning: exported function S should have comment or be unexported (golint)
    • Line 34: warning: exported function I64 should have comment or be unexported (golint)
    • Line 39: warning: exported function B should have comment or be unexported (golint)
    • Line 43: warning: exported var Sdk should have comment or be unexported (golint)
    • kubicorn/cloud/openstack/operator/generic/resources/keypair.go
    • Line 30: warning: exported type KeyPair should have comment or be unexported (golint)
    • Line 38: warning: exported method KeyPair.Actual should have comment or be unexported (golint)
    • Line 65: warning: exported method KeyPair.Expected should have comment or be unexported (golint)
    • Line 81: warning: exported method KeyPair.Apply should have comment or be unexported (golint)
    • Line 122: warning: exported method KeyPair.Delete should have comment or be unexported (golint)
    • Line 130: 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)
    • kubicorn/cloud/google/compute/model.go
    • Line 23: warning: exported type Model should have comment or be unexported (golint)
    • Line 28: warning: exported function NewGoogleComputeModel should have comment or be unexported (golint)
    • Line 34: warning: exported method Model.Resources should have comment or be unexported (golint)
    • kubicorn/cloud/digitalocean/droplet/resources/droplet.go
    • Line 33: warning: exported type Droplet should have comment or be unexported (golint)
    • Line 45: warning: exported const MasterIPAttempts should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported method Droplet.Actual should have comment or be unexported (golint)
    • Line 88: warning: exported method Droplet.Expected should have comment or be unexported (golint)
    • Line 107: warning: exported method Droplet.Apply should have comment or be unexported (golint)
    • Line 232: warning: exported method Droplet.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/scp/scp.go
    • Line 28: warning: exported type SecureCopier should have comment or be unexported (golint)
    • Line 36: warning: exported function NewSecureCopier should have comment or be unexported (golint)
    • Line 46: warning: exported method SecureCopier.ReadBytes should have comment or be unexported (golint)
    • Line 57: 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)
    • kubicorn/pkg/state/fs/impl.go
    • Line 31: warning: exported type FileSystemStoreOptions should have comment or be unexported (golint)
    • Line 36: warning: exported type FileSystemStore should have comment or be unexported (golint)
    • Line 43: warning: exported function NewFileSystemStore should have comment or be unexported (golint)
    • Line 52: warning: exported method FileSystemStore.Exists should have comment or be unexported (golint)
    • Line 83: warning: exported method FileSystemStore.ReadStore should have comment or be unexported (golint)
    • Line 87: warning: exported method FileSystemStore.Commit should have comment or be unexported (golint)
    • Line 99: warning: exported method FileSystemStore.Rename should have comment or be unexported (golint)
    • Line 103: warning: exported method FileSystemStore.Destroy should have comment or be unexported (golint)
    • Line 108: warning: exported method FileSystemStore.GetCluster should have comment or be unexported (golint)
    • Line 117: warning: exported method FileSystemStore.BytesToCluster should have comment or be unexported (golint)
    • Line 126: warning: exported method FileSystemStore.List should have comment or be unexported (golint)
    • kubicorn/test/ssh.go
    • Line 23: warning: exported var TestPrivateRsa should have comment or be unexported (golint)
    • Line 54: warning: exported function InitRsaTravis should have comment or be unexported (golint)
    • kubicorn/cloud/packet/public/resources/device.go
    • Line 30: warning: exported const MasterIPAttempts should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type Device should have comment or be unexported (golint)
    • Line 57: warning: exported method Device.Actual should have comment or be unexported (golint)
    • Line 110: warning: exported method Device.Expected should have comment or be unexported (golint)
    • Line 131: warning: exported method Device.Apply should have comment or be unexported (golint)
    • Line 250: warning: exported method Device.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/logger/logger.go
    • Line 29: warning: exported type Logger should have comment or be unexported (golint)
    • Line 32: warning: exported const AlwaysLabel should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported var Level should have comment or be unexported (golint)
    • Line 49: warning: exported function Log should have comment or be unexported (golint)
    • Line 54: warning: exported function Always should have comment or be unexported (golint)
    • Line 70: warning: exported function Critical should have comment or be unexported (golint)
    • Line 88: warning: exported function Info should have comment or be unexported (golint)
    • Line 106: warning: exported function Success should have comment or be unexported (golint)
    • Line 124: warning: exported function Debug should have comment or be unexported (golint)
    • Line 133: warning: exported function Warning should have comment or be unexported (golint)
    • kubicorn/cloud/digitalocean/droplet/model.go
    • Line 25: warning: exported type Model should have comment or be unexported (golint)
    • Line 30: warning: exported function NewDigitalOceanDropletModel should have comment or be unexported (golint)
    • Line 36: warning: comment on exported method Model.Resources should be of the form "Resources ..." (golint)
    • kubicorn/cloud/amazon/public/resources/internetgateway.go
    • Line 29: warning: exported type InternetGateway should have comment or be unexported (golint)
    • Line 33: warning: exported method InternetGateway.Actual should have comment or be unexported (golint)
    • Line 69: warning: exported method InternetGateway.Expected should have comment or be unexported (golint)
    • Line 86: warning: exported method InternetGateway.Apply should have comment or be unexported (golint)
    • Line 134: warning: exported method InternetGateway.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/resourcedeploy/clusterdeployment.go
    • Line 29: warning: exported const KubicornDefaultNamespace should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported function ClientSet should have comment or be unexported (golint)
    • Line 45: warning: exported function EnsureNamespace should have comment or be unexported (golint)
    • Line 60: warning: exported function DeployClusterControllerDeployment should have comment or be unexported (golint)
    • Line 77: warning: exported function DeployCloudManagerSecret should have comment or be unexported (golint)
    • kubicorn/cloud/packet/public/resources/ssh.go
    • Line 30: warning: exported type SSH should have comment or be unexported (golint)
    • Line 38: warning: exported method SSH.Actual should have comment or be unexported (golint)
    • Line 92: warning: exported method SSH.Expected should have comment or be unexported (golint)
    • Line 108: warning: exported method SSH.Apply should have comment or be unexported (golint)
    • Line 145: warning: exported method SSH.Delete should have comment or be unexported (golint)
    • kubicorn/pkg/state/crd/impl.go
    • Line 48: warning: exported const RetryAttempts should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type CRDStoreOptions should have comment or be unexported (golint)
    • Line 57: warning: exported type CRDStore should have comment or be unexported (golint)
    • Line 64: warning: exported function NewCRDStore should have comment or be unexported (golint)
    • Line 100: warning: exported method CRDStore.Commit should have comment or be unexported (golint)
    • Line 200: warning: exported method CRDStore.Exists should have comment or be unexported (golint)
    • Line 213: warning: exported method CRDStore.ReadStore should have comment or be unexported (golint)
    • Line 220: warning: exported method CRDStore.Rename should have comment or be unexported (golint)
    • Line 226: warning: exported method CRDStore.Destroy should have comment or be unexported (golint)
    • Line 232: warning: exported method CRDStore.GetCluster should have comment or be unexported (golint)
    • Line 238: warning: exported method CRDStore.BytesToCluster should have comment or be unexported (golint)
    • Line 247: warning: exported method CRDStore.List should have comment or be unexported (golint)
    • kubicorn/cloud/amazon/public/resources/routetable.go
    • Line 29: warning: exported type RouteTable should have comment or be unexported (golint)
    • Line 35: warning: exported method RouteTable.Actual should have comment or be unexported (golint)
    • Line 73: warning: exported method RouteTable.Expected should have comment or be unexported (golint)
    • Line 90: warning: exported method RouteTable.Apply should have comment or be unexported (golint)
    • Line 180: warning: exported method RouteTable.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/openstack/operator/generic/resources/securitygroup.go
    • Line 32: warning: exported type SecurityGroup should have comment or be unexported (golint)
    • Line 39: warning: exported type SecurityGroupRule should have comment or be unexported (golint)
    • Line 46: warning: exported method SecurityGroup.Actual should have comment or be unexported (golint)
    • Line 80: warning: exported method SecurityGroup.Expected should have comment or be unexported (golint)
    • Line 93: warning: exported method SecurityGroup.Apply should have comment or be unexported (golint)
    • Line 143: warning: exported method SecurityGroup.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/openstack/operator/generic/resources/subnet.go
    • Line 32: warning: exported type Subnet should have comment or be unexported (golint)
    • Line 40: warning: exported method Subnet.Actual should have comment or be unexported (golint)
    • Line 77: warning: exported method Subnet.Expected should have comment or be unexported (golint)
    • Line 91: warning: exported method Subnet.Apply should have comment or be unexported (golint)
    • Line 139: warning: exported method Subnet.Delete should have comment or be unexported (golint)
    • kubicorn/cloud/packet/public/resources/project.go
    • Line 30: warning: exported type Project should have comment or be unexported (golint)
    • Line 34: warning: exported method Project.Actual should have comment or be unexported (golint)
    • Line 61: warning: exported method Project.Expected should have comment or be unexported (golint)
    • Line 73: warning: exported method Project.Apply should have comment or be unexported (golint)
    • Line 107: warning: exported method Project.Delete should have comment or be unexported (golint)
    • Line 143: warning: exported function GetProjectByName should have comment or be unexported (golint)
    • kubicorn/pkg/agent/agent.go
    • Line 32: warning: exported type Keyring should have comment or be unexported (golint)
    • Line 51: warning: exported function NewAgent should have comment or be unexported (golint)
    • Line 63: warning: exported method Keyring.GetAgent should have comment or be unexported (golint)
    • Line 67: warning: exported method Keyring.CheckKey should have comment or be unexported (golint)
    • Line 93: warning: exported method Keyring.AddKey should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign94%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words