mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
remove decoder interface since it is only used inside k8sdeps
This commit is contained in:
@@ -23,14 +23,6 @@ import (
|
||||
"sigs.k8s.io/kustomize/pkg/types"
|
||||
)
|
||||
|
||||
// Decoder unmarshalls byte input into an object.
|
||||
type Decoder interface {
|
||||
// SetInput accepts new input.
|
||||
SetInput([]byte)
|
||||
// Decode yields the next object from the input, else io.EOF
|
||||
Decode(interface{}) error
|
||||
}
|
||||
|
||||
// Validator provides functions to validate annotations and labels
|
||||
type Validator interface {
|
||||
MakeAnnotationValidator() func(map[string]string) error
|
||||
|
||||
Reference in New Issue
Block a user