Documentation ¶
Overview ¶
Parses golang code looking for github.com/hashicorp/consul/api.NewClient() being used in non-test code. If it finds this, it will error. The purpose of this lint is that we actually want to use our internal github.com/hashicorp/consul-k8s/consul.NewClient() function because that adds the consul-k8s version as a header.
Click to show internal directories.
Click to hide internal directories.