Documentation
¶
Index ¶
- func WriteFileIfChanged(path HostPath, content []byte, mode os.FileMode) error
- type HostPath
- func (p HostPath) Abs() string
- func (p HostPath) Chmod(mode os.FileMode) error
- func (p HostPath) CreateSymlink(target string) error
- func (p HostPath) EnsureDir(class filemode.StorageClass) error
- func (p HostPath) EnsureParentDir(class filemode.StorageClass) error
- func (p HostPath) Lstat() (os.FileInfo, error)
- func (p HostPath) ReadFile() ([]byte, error)
- func (p HostPath) Readlink() (string, error)
- func (p HostPath) Remove() error
- func (p HostPath) RemoveAll() error
- func (p HostPath) Stat() (os.FileInfo, error)
- func (p HostPath) WriteFile(data []byte, class filemode.StorageClass) error
- func (p HostPath) WriteFileMode(data []byte, mode os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostPath ¶
type HostPath struct {
// contains filtered or unexported fields
}
func NewHostPath ¶
func (HostPath) CreateSymlink ¶
func (HostPath) EnsureParentDir ¶
func (p HostPath) EnsureParentDir(class filemode.StorageClass) error
Click to show internal directories.
Click to hide internal directories.