Merge pull request #3310 from monopole/nits

Spelling nits.
This commit is contained in:
Jeff Regan
2020-12-04 12:30:36 -08:00
committed by GitHub
5 changed files with 11 additions and 5 deletions

View File

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

View File

@@ -10,6 +10,10 @@ import (
// FieldValidator implements ifc.Validator to check // FieldValidator implements ifc.Validator to check
// the values of various KRM string fields, // the values of various KRM string fields,
// e.g. labels, annotations, names, namespaces. // 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 { 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. // Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Package resource implements representations of k8s API resources.
package resource package resource
import ( import (

View File

@@ -1031,7 +1031,7 @@ type testRecord struct {
// TestMultiplePatches checks that the patches are applied // TestMultiplePatches checks that the patches are applied
// properly, that the same result is obtained, // properly, that the same result is obtained,
// regardless of the order of the patches and regardless // 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) { func TestMultiplePatches(t *testing.T) {
tests := map[string]testRecord{ tests := map[string]testRecord{
"withschema-label-image-container": { "withschema-label-image-container": {