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 ¶ added in v0.3.3
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 PathJoin ¶ added in v0.3.3
PathJoin is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.PathJoin.
func PathSplit ¶ added in v0.3.3
PathSplit is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.PathSplit.
func RootedPath ¶
RootedPath is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.RootedPath.
func StripLeadingSeps ¶ added in v0.3.0
StripLeadingSeps is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.StripLeadingSeps.
func StripTrailingSeps ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.8.11
type FileSystemOrOnDisk = filesys.FileSystemOrOnDisk
FileSystemOrOnDisk is deprecated, use sigs.k8s.io/kustomize/kyaml/filesys.FileSystemOrOnDisk.