Spelling nits.

This commit is contained in:
jregan
2020-12-04 12:29:39 -08:00
parent 1583cef8d9
commit 1a5aa63d54
5 changed files with 11 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
// Code generated by pluginator on HelmChartInflationGenerator; DO NOT EDIT.
// pluginator {unknown 1970-01-01T00:00:00Z }
package builtins
import (
@@ -177,5 +175,5 @@ func (p *HelmChartInflationGeneratorPlugin) checkHelmVersion() error {
}
func NewHelmChartInflationGeneratorPlugin() resmap.GeneratorPlugin {
return &HelmChartInflationGeneratorPlugin{}
return &HelmChartInflationGeneratorPlugin{}
}

View File

@@ -10,6 +10,10 @@ import (
// FieldValidator implements ifc.Validator to check
// the values of various KRM string fields,
// e.g. labels, annotations, names, namespaces.
//
// TODO: Have this use kyaml/yaml/internal/k8sgen/pkg/labels
// which has label and annotation validation code, but is internal
// so this impl would need to move to kyaml (a fine idea).
type FieldValidator struct {
}

5
api/resource/doc.go Normal file
View File

@@ -0,0 +1,5 @@
// Copyright 2020 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
// Package resource implements representations of k8s API resources.
package resource

View File

@@ -1,7 +1,6 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
// Package resource implements representations of k8s API resources.
package resource
import (

View File

@@ -1031,7 +1031,7 @@ type testRecord struct {
// TestMultiplePatches checks that the patches are applied
// properly, that the same result is obtained,
// regardless of the order of the patches and regardless
// of the schema availibility (SMP vs JSON)
// of the schema availability (SMP vs JSON)
func TestMultiplePatches(t *testing.T) {
tests := map[string]testRecord{
"withschema-label-image-container": {