Documentation ¶
Overview ¶
Package filesys provides a file system abstraction, a subset of that provided by golang.org/pkg/os, with an on-disk and in-memory representation.
Deprecated: use sigs.k8s.io/kustomize/kyaml/filesys instead.
Index ¶
- Constants
- func InsertPathPart(path string, pos int, part string) string
- func NewTmpConfirmedDir() (filesys.ConfirmedDir, error)
- func PathJoin(incoming []string) string
- func PathSplit(incoming string) []string
- func RootedPath(elem ...string) string
- func StripLeadingSeps(s string) string
- func StripTrailingSeps(s string) string
- type ConfirmedDir
- type FileSystem
- type FileSystemOrOnDisk
Constants ¶
const ( // Separator is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.Separator. Separator = filesys.Separator // SelfDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.SelfDir. SelfDir = filesys.SelfDir // ParentDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.ParentDir. ParentDir = filesys.ParentDir )
Variables ¶
This section is empty.
Functions ¶
func InsertPathPart ¶
InsertPathPart is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.InsertPathPart.
func NewTmpConfirmedDir ¶
func NewTmpConfirmedDir() (filesys.ConfirmedDir, error)
NewTmpConfirmedDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.NewTmpConfirmedDir.
func RootedPath ¶
RootedPath is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.RootedPath.
func StripLeadingSeps ¶
StripLeadingSeps is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.StripLeadingSeps.
func StripTrailingSeps ¶
StripTrailingSeps is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.StripTrailingSeps.
Types ¶
type ConfirmedDir ¶
type ConfirmedDir = filesys.ConfirmedDir
ConfirmedDir is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.ConfirmedDir.
type FileSystem ¶
type FileSystem = filesys.FileSystem
FileSystem is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.FileSystem.
func MakeEmptyDirInMemory ¶
func MakeEmptyDirInMemory() FileSystem
MakeEmptyDirInMemory is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.MakeEmptyDirInMemory.
func MakeFsInMemory ¶
func MakeFsInMemory() FileSystem
MakeFsInMemory is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.MakeFsInMemory.
func MakeFsOnDisk ¶
func MakeFsOnDisk() FileSystem
MakeFsOnDisk is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.MakeFsOnDisk.
type FileSystemOrOnDisk ¶
type FileSystemOrOnDisk = filesys.FileSystemOrOnDisk
FileSystemOrOnDisk is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.FileSystemOrOnDisk.