Remove test/integration/* from hack/.golint_failures

This commit is contained in:
Eric Walker
2018-11-13 20:28:00 -07:00
parent 9fd7a4c2dc
commit 75df4dc04c
19 changed files with 115 additions and 105 deletions

View File

@@ -46,7 +46,7 @@ type base64Plugin struct {
encryptRequest chan *kmsapi.EncryptRequest
}
func NewBase64Plugin() (*base64Plugin, error) {
func newBase64Plugin() (*base64Plugin, error) {
listener, err := net.Listen(unixProtocol, sockFile)
if err != nil {
return nil, fmt.Errorf("failed to listen on the unix socket, error: %v", err)

View File

@@ -80,7 +80,7 @@ func (r rawDEKKEKSecret) getPayload() []byte {
// 4. The payload (ex. Secret) should be encrypted via AES CBC transform
// 5. Prefix-EncryptedDEK-EncryptedPayload structure should be deposited to ETCD
func TestKMSProvider(t *testing.T) {
pluginMock, err := NewBase64Plugin()
pluginMock, err := newBase64Plugin()
if err != nil {
t.Fatalf("failed to create mock of KMS Plugin: %v", err)
}

View File

@@ -353,7 +353,7 @@ func TestWatchSucceedsWithoutArgs(t *testing.T) {
resp.Body.Close()
}
var hpaV1 string = `
var hpaV1 = `
{
"apiVersion": "autoscaling/v1",
"kind": "HorizontalPodAutoscaler",
@@ -374,7 +374,7 @@ var hpaV1 string = `
}
`
var deploymentExtensions string = `
var deploymentExtensions = `
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
@@ -401,7 +401,7 @@ var deploymentExtensions string = `
}
`
var deploymentApps string = `
var deploymentApps = `
{
"apiVersion": "apps/v1",
"kind": "Deployment",