mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-09 13:39:58 +00:00
Move kv loader code to public package.
This commit is contained in:
@@ -182,12 +182,6 @@ type PluginConfig struct {
|
||||
Enabled bool
|
||||
}
|
||||
|
||||
// Pair is a key value pair.
|
||||
type Pair struct {
|
||||
Key string
|
||||
Value string
|
||||
}
|
||||
|
||||
type PluginType string
|
||||
|
||||
func (p PluginType) IsUndefined() bool {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
package types
|
||||
|
||||
// KvPairSources contains some generic sources for generators.
|
||||
// KvPairSources defines places to obtain key value pairs.
|
||||
type KvPairSources struct {
|
||||
// LiteralSources is a list of literal
|
||||
// pair sources. Each literal source should
|
||||
|
||||
10
pkg/types/pair.go
Normal file
10
pkg/types/pair.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2019 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package types
|
||||
|
||||
// Pair is a key value pair.
|
||||
type Pair struct {
|
||||
Key string
|
||||
Value string
|
||||
}
|
||||
Reference in New Issue
Block a user