Move api/filesys to kyaml/filesys (#3997)

* Move api/filesys to kyaml/filesys

* Add deprecated version of api/filesys with aliases to new code

* Use new kyaml/filesys package and update dependencies

* Migrate to kyaml/filesys and update dependencies

* Skip tests that break on Windows
This commit is contained in:
Francesc Campoy
2021-06-16 11:42:00 -07:00
committed by GitHub
parent d39d7db9ed
commit 7fae7d1bd6
105 changed files with 164 additions and 99 deletions

15
kyaml/filesys/file.go Normal file
View File

@@ -0,0 +1,15 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
package filesys
import (
"io"
"os"
)
// File groups the basic os.File methods.
type File interface {
io.ReadWriteCloser
Stat() (os.FileInfo, error)
}